So this might explain why I started sleeping better when I installed f.lux[1] which starts eliminating blue light from your screen as soon as the sun sets.
debian/ubuntu users can `apt-get install redshift`. you can add it to your ~/.xsession if you're a luddite like me, or find some other way to make sure it's always running when X is running.
[1] https://justgetflux.com/