Sentence:  Believing the bones to belong to a cave bear, the quarry owner passed them on to a local schoolteacher, Johann Carl Fuhlrott, who <WSD>moonlighted</WSD> as a fossilist. 
Meaning of the word marked with <WSD> tags:  To work on the side (at a secondary job), often in the evening or during the night.