Toronto emergency services say a fire has been extinguished after it started in a federal government building in the city. Police said a man is in custody.