Mathematical modeling of endocrine regulation subject to circadian rhythm