A federal judge who was disciplined after an investigation found she engaged in sexual activity with a police officer in her chambers and then lied about it has issued an apology to a former law clerk for her "harmful, offensive, and unprofessional behavior."