Man sentenced to 17 years in federal prison for carjacking