Analyticity of the total ancestor potential in singularity theory