Closed-loop parameter optimization for patient-specific phrenic nerve stimulation uri icon