The market climbed more than 1% and closed at a new record high. While all sectors end in the green, here’s a look at what gained the most and why the market mood is upbeat.