Alright a few things here.
A thermostat is used to control temperatures of a heating device like an under tank heater.
A thermometer measures temperatures.
If you have a thermostat probe inside the cage, you should immediately remove it and place it directly on the controlled heating source with tape. If the probe was moved or water/urine was spilled on the probe it could fry your snake.
Get rid of the log hide. Log hides are terrible hides for ball pythons and they do not provide security that they desire.
Get two of these:
http://www.reptilebasics.com/hide-boxes/
Or something similar and place one on the warm side and one on the cool.
If you don't have a thermometer reading the temps, get a digital one with a probe.