The central oscillator generates a self-sustaining rhythm and is driven by two interacting feedback loops that are active at different times of day