Writing retrieved from the home of the suspected shooter offer the clearest picture yet of what inspired the attack.

The surviving detainees were in critical condition at a hospital, DHS officials said. No ICE agents were injured.

The gunman fired at an unmarked van near the detention facility, before taking his own life, officials say.