The quake struck northeast of San Francisco, California, at approximately 4:45am local time.