I'm glad you're working out, but it's difficult to determine what the problem is for you. You didn't mention how much you're working out or at what intensity. Plus, you didn't mention the types of foods you eat. If you're working out at a high intensity for hours six days per week, this could be part of the problem if you're not eating enough calories. Regarding food, most everybody's diet is a mix of carbs, proteins, and fats. The types of foods you eat also matter even if you're eating the right macro ratio for your body type. I would recommend whole foods, especially with lots of greens and vegetables. Reduce sugars as much as possible. At 49- years-old, you most likely are having changes in your body - especially if you're a woman. The average age of menopause is 52, but you shouldn't be gaining weight. However, a standstill weight is possible during the year of menopause and the year after. Therefore, I would recommend that you check your level of fitness, the types of foods you eat, as well as getting a baseline of blood labs completed to see if there is anything else that could be contributing to your weight gain such as adrenal or thyroid function.