February 19, 2025 Removal of Galactic foregrounds for the Simons Observatory primordialgravitational wave search