His x-ray looks okay, it's very hard to see it that way but it's not terrible, but I don't see any pneumonia at all.
Can you please tell us what
UVB light(s) you have? List the brand name, the wattage, and what type they are, meaning are they a long tube that is at least 18" long and in a long florescent tube fixture, or are they a compact or coil bulb that fits into a regular lightbulb socket?
95% of the UVb lights made/sold are totally inadequate for a Bearded Dragon or any desert Reptile, they need very strong, intense
UVb light and a bright-white colored basking bulb, which is the correct wattage to get their temperature zones within the correct ranges, and they both need to be on for at least 13-14 hours every single day. They must have a long UVB tube, at least 18" long, as there is only one single compact
UVB bulb that is adequate for a Bearded Dragon, it's an Exo Terra 200 which is 26 watts, but it still must be mounted in a special nano hood with a reflector and be inside the tank to work. So this is why most all experienced dragon owners and breeders use the long UVB tubes that are the T5 strength, not the much weaker T8 strength.
The other issue is that his tank has to be set up correctly, with both the long UVB tube and the bright white basking bulb both right alongside each other, not end-to-end, but rather right alongside each other and over the Hot Side of the tank, with his Basking Spot moved to being directly underneath both lights, so he gets both at the same time while basking. You can't have the UVb tube not right alongside the bright-white Basking bulb, or either of them over the Cool Side of the tank. Dragons have very specific temperature zones that are needed, a Basking Spot Surface Temperature between 100-105, a Hot Side Ambient (air Temperature between 88-93, and a Cool Side Ambient (air) Temperature between 75-80. And both of these lights must be right alongside each other and over the Hot Side of the tank, with the Basking Spot/platform directly underneath them.
If your tank is properly set up for the lights and the temperature zones, you will only need one long UVB tube and one bright-white Basking bulb (sometimes people put a second bright white colored basking bulb of a much lower wattage over the Cool Side to get the Cool Side Ambient Temperature between 75-80 degrees and to brighten the Cool Side up). That's it. You shouldn't need multiple UVB bulbs and multiple basking/heat bulbs. And the other issue most people have is if their tank has a mesh lid, which most do, that mesh lid will block around 40% of the
UVB light if the
UVB bulb is sitting on top of the mesh lid. So if you are using either a very weak and inadequate compact or coil
UVB bulb or a weaker T8 strength UVB tube and any of these are sitting on top of the mesh lid, then your dragon is getting/has gotten zero
UVB light at all. ONLY a long, T5-strength UVB tube can sit on top of a mesh lid and still emit adequate
UVB light to your dragon. In addition, if you have a compact or coil
UVB bulb and it's not unobstructed by the mesh lid and then also within at least 3-4" of your dragon, he's not getting any
UVB light, and a weak T8 UVb tube must be within at least 6" of your dragon. And both a compact/coil UVB tube and a T8 strength UVb tube must be replaced every 6 months. So really, the only adequate
UVB light for a Bearded Dragon is a long, T5-rated UVB tube.
Most experienced Bearded Dragon owner/breeders and Reptile Vets use either a Reptisun 10.0 T5 High-Output UVb tube, usually either a 22" or a 34" tube in either a 24" or a 36" long, T5-rated tube fixture, or a 24" or 36" Arcadia 12% T5 UVB tube in a 24" or 36" T5-rated tube fixture. That's it.