You don't put the thermostat probe inside the cage. It's supposed to be OUTSIDE ontop of the heat pad.
By having it inside the tank, you're basically setting the heat pad to heat the probe up to 98. So your snake has been sitting on WAY too hot of temperatures.