The definition of lucubrate is to write or study very hard or to write in an intelligent and learned manner.(verb)
When you write and study hard at night, this is an example of a situation where you lucubrate.
See lucubrate in Webster's New World College Dictionary
See lucubrate in American Heritage Dictionary 4
intransitive verb lu·cu·brat·ed, lu·cu·brat·ing, lu·cu·brates
Origin: Latin lūcubrāre, lūcubrāt-, to work at night by lamplight; see leuk- in Indo-European roots.
Learn more about lucubrate