Emergency crews are urging nearby residents to shelter in place while officials investigate what the derailed freight cars were carrying in Pennsylvania.