An earthquake of magnitude 4.2 and depth of 5.00 kilometers occurred 8.07 miles from Stanley, ID in Custer County at 05:11 AM.