At least 44 people have been killed in the fire, which took local authorities 18 hours to bring under control.