Air traffic controllers sounded the alarm and told both pilots to take evasive action.