An earthquake of magnitude 4.0 and depth of 5.00 kilometers occurred 13.82 miles from Stanley, ID in Custer County at 04:38 AM.