These recommendations are because you appear to be on a budget.
1. - Put your UTH on a thermostat - hydrofarm 30$ from amazon
2. - Get an Acu-rite thermometer with probe from walmart or amazon 10-12$
3. Insulate your cage back and sides - Anything thick will work (cardboard, foamboard, cloth, etc.)
4. Seal off the screen lid. cover 3/4 of it with 3 layers of tin foil and fasten it down with duct tape.
5. Identical hides for both sides of the cage(since its large put the cool one on a spot thats 80degrees until you can get the cage temps right!) - this may be closer to the middle if the far cool side is 70.
6.Get a room heater(and raise the temps in your room to 78degrees until you can get this sorted out or have more money to spend on the equiptment to heat that 40 gal.