I fell in love with the SD area after visiting 3 or 4 times. I think I could have lived there, but took a better offer (Hawaii.) However, I had a friend who joined Megacorp (that's where we met.) She LEFT SD 20 years ago because of the crime (primarily), the traffic and iffy schools. In the midwest, with her salary, she could send her kids to private school if need be and still afford a house, whereas in SD, she was stuck with the schools in an area she could barely afford the housing. She and DH probably earned north of 100K at the time (compare to near 200k now.)
Not suggesting that $4Mil would not do the job. It probably would. But if it were my $4Mil, I think I would keep looking - probably outside of Calif. Nothing personal. I do love Calif., but I don't think I could afford it. Why not find a cheaper spot and then, eventually move to SD or similar once the budget issues are more concrete (health insurance, skills, jobs, etc.).
If I were coming from another country, I think I would need a lot more time to look around this big country to find a place to eventually settle. YMMV