As you phone is now, it will not work on AT&T. It will need to be unlocked and I would assume that the database knows that your phone is not currently unlocked, so it is not valid to be used on AT&T at this time.
Verizon may not unlock the phone until your contract is paid in full or if you decide to switch to Verizon, your Edge payments that are left, may become due in full.