Oh you poor thing, a whole month of this must be so exhausting and worrying for you. I think it would be really good to bring her back to the PD and ask for a more thorough check, maybe even a stool test, just to rule out anything like a persistent gut infection or intolerance. Changing the formula is a good step you have already taken, so do let the doctor know about that too so they can see the full picture.