Purana Jyotisha Sangraha · by Vyasa
Chapter 4 · Moon at Prabhasa, Mars at Kashi
शिवपुराणम् : कालज्ञानम् उत्पाताः ग्रहक्षेत्राणि च
आवाह्य तीर्थवर्याणि सरस्वत्यादिकानि च ।पार्थिवेन तदा पूजां मृत्युंजयविधानतः ॥ ३७ ॥
From the Shiva Purana, print Kotirudra Samhita ch 14, verse 37.
They called on the best tirthas (holy bathing places), Sarasvati and the others. Then they did worship with an earthen linga, by the Mrityunjaya method.
Simple meaning: The text says the gods called the holy waters and worshipped with an earthen linga.
ते देवाश्च तदा सर्वे ऋषयो निर्मलाशयाः ।
The text says the gods and sages left the Moon at Prabhasa and went home.
चन्द्रेण च तपस्तप्तं षण्मासं च निरंतरम् ।
The text says the Moon did penance for six months with the Mrityunjaya mantra.
दशकोटिमितं मंत्रं समावृत्य शशी च तम् ।
The text says the Moon repeated the mantra ten crore times with a steady mind.