Purana Jyotisha Sangraha · by Vyasa
Chapter 13 · Kashi: Planet and Nakshatra Lingas
स्कन्दपुराणम् : काश्यां ग्रहनक्षत्रलिङ्गानि लोलार्कश्च
माहेय इत्यतः ख्यातिं परामेष गतः सदा ।ततस्तेपे तपोत्युग्रमुग्रपुर्यां पुरानघ ॥ ७ ॥
From the Skanda Purana, print Kashi Khanda (Purvardha) ch 17, verse 7.
From this he always gained the best fame as Maheya, son of Earth. Then, sinless one, he did very fierce austerity in Ugrapuri.
Simple meaning: The boy, called Maheya, did fierce austerity.
असिश्च वरणा चापि सरितौ यत्र शोभने ।
The Asi and Varana rivers meet the north-flowing Ganga there.
सर्वगोपि हि विश्वेशो यत्र नित्यं प्रकाशते ।
Shiva shines there always, for the liberation of all beings.
अमृतं हि भवंत्येव मृता यत्र शरीरिणः ।
Those who die there are said to become immortal by Shiva's favor.