lucubrate

verb
  1. to study or work late into the night; to burn the midnight oil
  2. Usage: formal; literary
  3. to write or compose with great care and effort, especially at night
  4. Usage: formal; literary

Examples