The state and the federal Department of Justice agreed in separate court filings in U.S. District Court that Dr. Michael Hogan, the court-appointed special master, should be appointed as monitor to ensure the state's compliance with federal requirements on its treatment of the seriously mentally ill.