Non-Hermitian gauged laser arrays with localized excitations: Anomalous threshold and generalized principle of selective pumping