The Judge, Mr Philip Richards, said the fire was a "very irresponsible act" with "consequences that were devastating". He acknowledged that Mr Goulding has considerable learning difficulties which is why he took so long to accept responsibility.
Mr Goulding has been remanded in custody and will be sentenced tomorrow at 2pm at Newport Crown Court.
More top news
Tesco has apologised for a mistake which meant employees facing redundancy in Cardiff didn't receive details on how to apply for other roles
Police are appealing for information after a rail staff member was almost pushed onto the tracks at Newport train station.
The mayor of Pembroke, Councillor David Boswell, has been charged with rape and indecent assault.