They keep the bright lights on until midnight, and turn them back on at 4am (and require the inmates to get up).
It's one of several measures to keep the inmates docile. See also: feeding them low-quality food, and only enough for survival.
A hungry, sleep-deprived prisoner isn't going to revolt, and after release may think twice about going back.