Not eating could be a variety of things. Lack of heat to push the bowels, impaction, brumation, viral disease. Of course poop has bacteria. Was it parasites?
My reptile vet said that Uromastyx don't fully absorb antibiotics orally, they absorb the drugs better when injected. Did they give you a de-wormer?
Try getting bloodwork done, that might show a viral disease, white blood cell count, etc.
My Egyptian (I recently adopted a few weeks ago from a reptile expo) has been to the vet, as it's very dehydrated, skinny, and not eating much if at all. I had blood work done and still have to turn in a fecal.
My egyptian showed that it had a very high white blood cell count, it likely has a viral disease, and that treatment is hit or miss. There's apparently not much research done on various types of viral disease so they are unsure how to properly treat it. They wanted to do more bloodwork in two weeks to see how it's progressing in my care with proper husbandry (You could tell it was either neglected in it's previous home or wild-caught and just in poor health/sick).
Another idea they wanted to try was exploratory surgery to see what the organs and stuff looked like. Since I can't afford any of that right now, I'm supposed to give it great husbandry, good temps, good food, calcium, all of that. The vet said that these lizards have a way of healing injuries that are remarkable, and that it's body could recover from this sickness on its own. But if it continues to decline, I could of course euthanize it.
With Gordo, just in terms of what my vet told me, eliminating the parasites internally may not fix the lack of appetite. It might be the indications in the bloodwork taking it's toll on the Uro and not giving it that drive to eat for whatever reason.
My vet wants me to soak my Uro to help with the dehydration, but I'm wary of this. It just makes me nervous, because I was told that you may not be able to completely dry out the tail. If you do
bathe it, you need to get it completely dry afterwards. (Sticking it under the basking light helps).
Bathing is recommended for Beardies who won't poop. Uro's also are dry lizards and too much water can cause really mess up their lungs and cause respiratory infection. But if you want to try soaking your Uro to get it to poop, that's your call as it's your Uro.