ABERDEEN, Md. (AP) — The woman who killed three people and wounded others before shooting herself to death at a Maryland drugstore warehouse had been diagnosed with a mental illness and used a legally purchased gun in the rampage, a law enforcement official said Friday.