We can all discuss this case until blue in the face, but the reality is we are a bunch of armchair quarterbacks, having no idea the specifics of the case. The judge probably had his reasons; all we know is the surfacy stuff released to the media.
Rehabilitation isn't offered to anyone in jail, whether they are 12 or 42. It is sad, but with the amount of money the federal prison system spends each year ($40,000 per inmate per year), I doubt they can scrape together any additional funds for rehabilitation programs.
The latest stats I could find, from 2010, show 211, 108 inmates in the federal prison system. That's $8.5 billion a year, just in incarceration costs.