lmfit alternative for gaussian fitting (more bulletproof, less stable)