Approximate factorization with source terms