For top medicine programs, which do you think a program director from top programs would give more consideration (all other credentials equal): an AOA student without honors in medicine, or a student who honored medicine but did not achieve AOA?
(and what I really want to know: could AOA ever make up for a lack of honors in medicine at a program like UCSF?)
The short answer to your question is "no".
But here's a longer answer:
I had a PhD, was AOA, crap school, Step 1 was pretty good for the year I took it (but the median rose by almost 15 points by the time I applied so was straight up mediocre by the time I applied), got HP in IM clerkship and SubI.
Got interviews at: MGH, Cornell, UW (both of them), WashU, UChicago, UCLA, blah, blah, blah
Didn't get interviews at: Stanford, UCSF, BWH, Duke, Northwestern, NYU (whatever), Columbia.
So, if you rock a 260 and honor your SubI (and are from a good school and have research or something else amazing on your CV) then you stand a chance. Otherwise...meh.
But here's the good news.
1. You will (probably) not be a shi**y doctor if you do your residency somewhere other than UCSF. If you do turn out to be a shi**y doctor, it will have little or nothing to do with your residency program.
2. You also (probably) get a fellowship somewhere good, even if you don't do your residency at UCSF. If you don't score a good fellowship, again...that's on you, not your residency.
3. With the exception of the NYC programs, essentially every other IM program in the country has a better COL and QOL than UCSF.
4. Your grandma hasn't heard of UCSF and will constantly ask you why you didn't go to a real program like Stanford.