Preheat oven to 450 degrees. On a rimmed baking sheet, toss carrots, shallots, and 1 tablespoon rosemary with 1 tablespoon oil; season with salt and pepper. Roast for 10 to 12 minutes.
Meanwhile, season pork with salt and pepper. In a large skillet, heat 1 tablespoon oil over medium. Add pork; cook, turning occasionally, until golden brown on all sides, 10 to 12 minutes. Transfer pork to a plate, and reserve skillet.
Remove baking sheet from oven; push vegetables to sides. Place pork in center; return sheet to oven. Roast, tossing vegetables occasionally, until an instant-read thermometer inserted in thickest part of pork registers 145 degrees, 30 to 40 minutes. Loosely tent pork with foil. Let rest 10 minutes before slicing.
While pork rests, pour off almost all of the fat from skillet. Add wine, and cook over medium-high, scraping up browned bits, until syrupy, 4 to 5 minutes. Add flour, and cook, whisking constantly, 30 seconds. Gradually add 1 cup water, whisking constantly. Add 1 tablespoon rosemary. Bring to a simmer. Remove from heat. Whisk in mustard, and season gravy with salt and pepper. Serve pork with carrots and gravy.