Non-stop gain

Options
I've been back and forth to the doctor lately due to stomach pains (they think maybe my gallbladder). Part of the problem is even with logging everything and watching what I eat and exercise yet I've been gaining weight. They've tested my thyroid and it wasn't that. So frustrating. I've moved to smaller meals which is helping the pain. But still seeing the number go up. Even at only 1200 calories a day plus excerise!!! So frustrated.