The Southern California chemical emergency that threatened 50000 residents was declared under control.