Human heating pads are not the best choice for heat.
I would suggest getting an under the tank heater built specifically for Herps, and attach it to a thermostat.
A 40 gallon tank is also very large for a baby that you have, so make sure to put more stuff in there to "crowd" it up.
Good luck and welcome to the fold