After you turn your lights off, cockroaches are active for four hours. If you keep your lights on, their brains will deactivate their 'light-off' signal. Eventually, they will learn, and become random in their activity regardless of the presence of light. So, they will turn up any time of day or night to get their water, food, and breeding done.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.