Meanwhile, heat 2 teaspoons oil in a large skillet over medium heat. Add shallots; cook, stirring often, until soft, 2 to 3 minutes. Add carrots, reduce the heat to low and cook, stirring often, until softened and the shallots are lightly browned, about 4 minutes. Remove from the heat. Preheat oven to 400°F.