Prosecutors say the man was on probation when he opened fire at a graduation party.