I think it is federal law, that one goes to jail for contempt of court;
just as one does for perjury.
Jail seems reasonable, and she is certainly not the only one to go for official misconduct.
She did not go to jail for "official misconduct". She is not in jail because she committed a crime, such as perjury, or an official misconduct. She is in the pokey because she disobeyed a direct court order, she thumbed her nose at the court, she gave the court the finger. She did it openly and publicly. Contempt of court is not a Federal issue. In general any judge can find someone in contempt and one of the remedies is to put the offender in jail until they do what they are supposed to do.