A Glasgow killer torched his prison cell after a series of rows with jail bosses over healthcare provision.
Peter Connelly, 52, set fire to bedding and paper causing smoke to billow from his cell in Shotts prison.
Guards called the emergency services and tried to extinguish the blaze with a hose.
Connelly was dragged to safety once the blaze had been brought under control.
An investigation confirmed the fire had been started deliberately.
Connelly appeared via video link from the prison at Hamilton Sheriff Court and admitted wilful fire raising in March last year.
Sheriff John Speir handed him a 15 month sentence but told him it will run alongside his life sentence for murdering a former monk in 1989.
He has been in jail for the last 33 years.
Depute fiscal Jennifer McCabe said: "Prison officers observed a large amount of smoke coming from the cell occupied by the accused and as such activated the fire alarm.
"They contacted the fire service and tried to extinguish the fire with a hose through a hatch in the door.
"The accused was still in the cell and eventually allowed out once the smoke had died back.
"He did not require medical treatment.
"An examination of the locus was carried out which found that the fire had likely been started deliberately.
"Paper and bedding had been deliberately set alight in the cell and there was also no other source of ignition present."
The prosecutor added: "He blamed the reasons for his actions on being thrown out of a medical meeting that day and wanted to come off methadone.
"He also said he was not seeing a medical manager when he requested to see one
His lawyer said: "His main concern is a complete lack of care and management of his mental health which has caused him considerable stress over the years.
"This setting fire to his cell was not done to cause damage rather to end his own life."
Sheriff Speir said: "There is no alternative to a custodial sentence."
Connelly, of Cranhill, battered former Walter Webb, 34, to death with a hammer in the victim's flat.
He denied any wrongdoing and claimed self-defence after he said Webb had attacked him and made sexual advances.
Webb suffered 28 injuries to his head and face and was struck 10 times with the hammer.