def batch_cmd_create_irf(
        cwd,
        mc_gamma,
        mc_proton,
        mc_electron,
        output_irf_file,
        dl3_config
):
    """Create batch command to create IRF file with sbatch."""
    return [
        "sbatch",
        "--parsable",
        "--mem=6GB",
        "--job-name=irf",
        "-D",
        cwd,
        "-o",
        "log/create_irf_%j.log",
        "lstchain_create_irf_files",
        "--point-like",
        f"--input-gamma-dl2={mc_gamma}",
        f"--input-proton-dl2={mc_proton}",
        f"--input-electron-dl2={mc_electron}",
        f"--output-irf-file={output_irf_file}",
        f"--config={dl3_config}",
        "--overwrite",
    ]