Purana Jyotisha Sangraha · by Vyasa
Chapter 4 · Moon at Prabhasa, Mars at Kashi
शिवपुराणम् : कालज्ञानम् उत्पाताः ग्रहक्षेत्राणि च
एवं सति तदा देवा हर्षनिर्भरमानसाः ।ऋषयश्च तथा सर्वे समाजग्मुर्द्रुतं द्विजाः ॥ ४६ ॥
From the Shiva Purana, print Kotirudra Samhita ch 14, verse 46.
When this was so, the gods, their minds full of joy, and all the sages came quickly, O Brahmins.
Simple meaning: The text says the gods and sages came quickly, full of joy.
आगत्य च तदा सर्वे चन्द्रायाशिषमब्रुवन् ।
The text says the gods blessed the Moon and respectfully asked Shiva.
देवदेव महादेव परमेश नमोऽस्तु ते ।
The text says the gods asked Shiva to stay there with Uma.
ततश्चन्द्रेण सद्भक्त्या संस्तुतश्शंकरः पुरा ।
The text says Shiva, though formless, took a form for the Moon's devotion.