I could be wrong, but I think you might be confusing attentiveness with focus. I don't believe the author is saying that the best ideas are guaranteed to occur when you are at a peak focus on the problem, but rather when your mind is most attentive, in general.
That is simply my interpretation, though.