My car did the same thing. I had the Boone, NC Dealership (John Cook Subaru) check out a squealing or chirping noise I was experiencing at 3000 RPM's when my AC was on. I had a loose drive belt and was fixed in under 2 minutes for free.
I have a feeling that your chirping noise is the same as mine.
Bryan Rippy