Just an FYI, but this forum in prior years has had many, many rejected 4.0/1,600 type applicants and lots of rejected legacies too.
I remember a couple such applicants. One had a 4.0/1,600, deferred, then rejected, but ultimately went to his “fall back” admittance of Cal Tech.
Another had multiple family members (mom, dad, grandparents, etc.), plus a sibling, who went to Michigan, and was rejected with great stats.
I’m not sure what they’re looking for, but they obviously also do accept lots of high stat applicants too. Personally, I think you should be feeling somewhere in between “cautiously optimistic” and “panicking.”