The court had heard how Mills bombarded his partner with texts and warned "I will burn your house down".
Kimberley, born 13 weeks premature, was at home for the first time after being discharged from hospital on the day of the fire.
Homeless Mills, the baby's father, was living in a tent in the front garden but had been banned from seeing the child unsupervised.
More top news
A dry night with lengthy clear skies and coastal mist. It'll feel uncomfortably mild in places!
Police say a suspicious package which was placed in the Quadrant Shopping Centre causing it to be evacuated earlier turned out to be a hoax.
A shopper who was evacuated from the Quadrant Shopping Centre in Swansea has told ITV Wales News the experience was 'frightening'.