Analytic Bertini theorem