Dow ends above 40,000 milestone, indexes notch up weekly gains

The benchmark S&P 500 edged higher after paring losses while the Nasdaq fell, but both chalked up a fourth straight week of gains. The Dow rose to end the fifth week of advances in a row.