Vishnudharmottara Purana (Jyotisha Selections) · by Vyasa
Chapter 4 · Ayana, Months, Tithis, Karanas, Muhurtas and the Lagna Vargas
अयनमासतिथिकरणमुहूर्ताः लग्नवर्गाश्च
श्रावणो विश्वदैवत्य आजो भाद्रपदस्तथा ।अश्वयुक्ताश्विनो मास आग्नेयः कार्त्तिकः स्मृतः ॥ ४ ॥
In the full Vishnudharmottara Purana this is Khanda 1, chapter 83, verse 4.
Shravana has the Vishvedevas as its gods. Likewise Bhadrapada is Aja's. Ashvayuj, the month Ashvina, belongs to the Ashvins. Kartika is remembered as Agni's.
Simple meaning: Shravana belongs to the Vishvedevas, Bhadrapada to Aja, Ashvina to the Ashvins and Kartika to Agni.
मार्गशीर्षस्तथा सौम्यः पौषस्याज्जीवदैवतः ।
Margashirsha belongs to Soma, Pausha to Jupiter, Magha to the ancestors and Phalguna to Bhaga.
मासेषु मासदैवत्या शुक्लपक्षाः प्रकीर्तिताः ।
The bright halves belong to the month's own god. Next, the gods of the dark halves are given.
चैत्रो याम्यस्स्मृतो राजन्नाग्नेयश्चाप्यनन्तरः ।
The dark half of Chaitra is Yama's, the next is Agni's, Jyeshtha's is Rudra's and Ashadha's belongs to the snakes.