The ratings agency’s fine is the second-largest ever paid to the federal government, after rival S&P’s similar settlement in 2015. Moody’s Investors Service and Moody’s Analytics , the credit rating and credit analysis businesses of Moody’s , will pay a fine totaling nearly $863.8 million to settle misconduct allegations regarding the company’s ratings during the buildup to the 2008 financial crisis.