elucubrate

/ɪˈluːkjʊbreɪt/
verb
  1. To work on something, especially writing or studying, late into the night.
    • During exam week, many students elucubrate over their textbooks.
    • He preferred to elucubrate in the quiet hours after midnight.
    • The writer would often elucubrate until dawn to finish her novel.
Synonyms