The federal government ran a budget deficit of $512 billion from October 2012 through June 2013 (the first nine months of fiscal year 2013), according to CBO’s estimates.