The 5.6 magnitude earthquake struck near Lima, Peru on Sunday morning, causing panic at the city's cathedral.