It was fairly late at night, but Sam was wide awake.
Nightmares about giant crazy evil robots trying to kill you and/or your world would do that to a guy. Hence the pacing and muttering and general not-sleeping. He could call Mikaela? No, Mikaela was asleep and would swear at him.