Sale of Second Home

I unexpectedly sold a vacation home in September, 2025 for a net gain of ~$200k. I made two good-faith estimated payments (total $25k) and I still got hit with a penalty on my federal. Is there any way to avoid this penalty? I certainly didn't plan on the sale earlier and did my best guess at what I would owe.