The pineal gland is in charge of producing melatonin which regulates your body's rhythms (including your circadian rhythm, a rhythm that tells your body if it is night or daytime). This would cause your body to think it is earlier than it actually is, keeping you awake.