Provide a detailed explanation of why maintaining a consistent sleep schedule is important, and how it impacts physical and mental health. Your response should contain at least 500 words, and include the following keywords: *circadian rhythm*, *melatonin*, *insomnia*, *cognitive function*, *metabolism*. Additionally, your response must have 4 paragraphs separated by markdown dividers: ***.
user