Officials detected signs of an eruption only 40 minutes before fountains of lava burst from the ground