Hormone production is dependent on your sleep. For testosterone production, you need at least 3 hours of uninterrupted sleep, which is about the time of your first R.E.M. episode. Waking up throughout the night could affect hormone production.