The trick to keeping going is to break going into bursts: to stop, and otherwise occupy my brain for a spell, and then start going again. Nowadays I apply this to my whole day long. Each is a succession of shallow occupations, enforced intervals. Even my sleep is only ankle deep, interrupted.