A magnitude 4.6 earthquake was detected by the U.S. Geological Survey near Fiji.