(CNN) -- An earthquake with an initial magnitude of 5.1 has struck near Anza, California, the U.S. Geological Survey reports.