A person who violates Section 3660 or 3661 is guilty of a misdemeanor, and upon conviction shall be punished by a fine of not more than five thousand dollars ($5,000), or by imprisonment of not more than one year in a county jail, or by both that fine and imprisonment.