The judge/deep state are trying to provoke Trump into pardoning Flynn. That at least gives them another priceless Talking Point.
It seems more likely that the judge wants Trump to file an amicus curiae brief in this case.