A defendant who has been convicted of a crime may be sentenced to a term of probation unless:
(1) The crime is first or second degree murder or attempted first or second degree murder;
(2) The crime is a class A felony, except class A felonies defined in chapter 712, part IV, and by section 707‑702;
(3) The defendant is a repeat offender under section 706‑606.5;
(4) The defendant is a felony firearm offender as defined in section 706-660.1(2);
(5) The crime involved the death of or the infliction of serious or substantial bodily injury upon a child, an elder person, or a handicapped person under section 706-660.2; or
(6) The crime is cruelty to animals where ten or more pet animals were involved under section 711-1108.5 or 711‑1109.