I'm 45, Bipolar type II. Ever since trying intermittent fasting I'm extremely tired after meals, and my caffeine tolerance is way up. I always drank half a cup at most, now I need 2.5 a day just to function. I have sleep apnea, but it's well controlled with a CPAP(AHI<5). I feel like I need a couple month sabbatical to reset myself but I don't see that happening anytime soon.
I'm managing the same insomnia with very low dose of mirtazepine (1mg per evening) and the occasional ambien when I wake up.
People use larger doses of melatonin as a hypnotic to make them fall asleep right away, but that's not the only use.
(Personally I get upset at the computer more easily, if I'm tired. Hmm maybe I should stop working now)