Nortriptyline
"For over 20 years I have had chronic facial nerve pain from a surgery that was messed up. I  also had 2 additional surgeries to 'correct' the problem but they were not successful. My only success with managing pain has been with morphine. Unfortunately it keeps me awake if taken close to bedtime. I was given Nortriptyline to try for sleep and pain relief (so as not to awaken in pain), but it was awful - the couple hours of interrupted sleep I had were with very bad nightmares. I stopped taking this medication as a result and will continue to look for a "real" sleeping pill that works & that I am not tolerant of. In the meantime I would rather not sleep!"