As I get older it gets harder to recover from late nights and too little sleep.

Sleep is one of those things that gets to be a habit. Your body gets used to being well rested and protests when its not. It may have been a better strategy for me to fight the impulse to rest when tired in order to reduce the backlash when its not available. But that horse has left the barn.