An unusually late Hurricane Otto swirled over the Caribbean just off Central America, heading toward a possible landfall in Costa Rica, which hasn't seen such a storm since reliable record-keeping began in 1851.

Heavy rains from the storm were blamed for three deaths in Panama on Tuesday, and officials in Costa Rica ordered the evacuation of 4,000 people from its Caribbean coast.

The U.S. National Hurricane Center said the westward-moving storm would likely make landfall Thursday in the border region of Nicaragua and Costa Rica. It said the Category 1 storm could strengthen slightly before coming ashore.

The storm caused heavy rains in Panama as it moved off that nation's northern coast.

Jose Donderis, Panama's civil defense director, said a landslide just west of Panama City early Tuesday trapped nine people. Seven were rescued but two were pulled from the mud dead. In the capital, a child was killed when a tree fell on a car outside a school.

The country "faces one of the worst meteorological situations, with imminent risk," Donderis said.

Panamanian authorities canceled school and began to release water from the locks and lakes feeding the Panama Canal.

Costa Rica's National Emergency Commission said it was evacuating 4,000 people from the area where the storm was expected to hit and where rivers could overflow. The effort was expected to involve evacuations by plane, boat and road in the low-lying coastal areas.

Costa Rican President Luis Guillermo Solis said Otto could damage the country's important coffee and agriculture sectors.

Late Tuesday, the hurricane had top sustained winds of 75 mph (120 kph) and was moving westward at 3 mph (6 kph), the U.S. hurricane center said. Otto was centered about 225 miles (360 kilometers) east of Limon, Costa Rica.