A federal judge admits to affair with a police officer during work, agrees to sanctions and to avoid leadership roles after a judicial panel review.