Purana Jyotisha Sangraha · by Vyasa
Chapter 4 · Moon at Prabhasa, Mars at Kashi
शिवपुराणम् : कालज्ञानम् उत्पाताः ग्रहक्षेत्राणि च
यद्यत्फलं समुद्दिश्य कुरुते तीर्थमुत्तमम् ।तत्तत्फलमवाप्नोति सर्वथा नात्र संशयः ॥ ५८ ॥
From the Shiva Purana, print Kotirudra Samhita ch 14, verse 58.
Whatever fruit a person aims at when he goes to this best tirtha (holy bathing place), he gets that fruit. This is so in every way, without doubt.
Simple meaning: The text says a visit here gives the fruit the visitor aims at.
इति ते ऋषयो देवाः फलं दृष्ट्वा तथाविधम् ।
The text says the gods and sages took the Moon away, free from waning.
परिक्रम्य च तत्तीर्थं प्रशसन्तश्च ते ययुः ।
The text says the gods left and the Moon went back to his work.
इति सर्वः समाख्यातः सोमेशस्य समुद्भवः ।
The text ends the story of the Someshvara linga.