An earthquake of magnitude 4.0 and depth of 5.00 kilometers occurred 15.35 miles from Stanley, ID in Custer County at 03:55 AM.