An earthquake of magnitude 4.0 and depth of 37.60 kilometers occurred 5.47 miles from Gateway, AK in Matanuska Susitna Borough at 10:01 AM.