U.S. stocks closed slightly lower Friday, as gains in utilities offset declines in financials after a sharp miss on the May jobs report. 

The major averages came well off session lows to close slightly lower on the day and narrowly mixed for the week. The Dow Jones industrial average closed about 31 points lower after earlier falling 148 points with Goldman Sachs contributing the most to declines.