If you just want the basics for submitting jobs against Accounts and qos which you know about then simply add
-A
so your full command line might look like
sbatch \ -J test1 \ -p ICF-Research \ -A aa345678-7f11-432b-b329-3d092ebc3d7d \ --qos=0062cb3e-0dd0-420d-8211-c95d0463b492 \ test1.sh
Nomenclature
Slurm has a naming scheme which clashes a bit with Unix and conventional usage. In slurm an Account is a charging, allocation, or project entity.which agregates usage from a number of Users. Users are how slurm refers to the individual identities that unix calls users and the university refers to as UUNs. When you submit jobs the jobs details are recorded against your User and against an Account. For taught students this will normally be "teaching" and for research staff and students this will be "research". These accounts are set by default and will allow you to run jobs in the Teaching and ICF-Free partitions respectively.
Paid tier (ICF-Research) and other Partitions
For other partitions you will have to submit jobs against other accounts in order to get them scheduled. You can only submit jobs against Accounts which you have been registered with. You can tell which accounts these are by running
sacctmgr -p show user $USER withassoc
We're using the -p flag because otherwise slurm will truncate the fields. This should generate output like
hastings]test05: sacctmgr -p show user $USER withassoc User|Def Acct|Admin|Cluster|Account|Partition|Share|Priority|MaxJobs|MaxNodes|MaxCPUs|MaxSubmit|MaxWall|MaxCPUMins|QOS|Def QOS| test05|research|None|landoniacluster|research||1||20||||||research|research| test05|research|None|landoniacluster|f611cf93-7f88-447b-b349-30d92ebc3d7d|||1||20|||||| d6c3c781-e722-4896-96e3-2fe948171f57,8e4ccf4b-88b2-48d4-bc31-c4e7187279a0,research|research|
this will generate a line for each Account your User is associated with.
In this case the long UUID f611cf93-7f88-447b-b349-30d92ebc3d7d is the account name.
In order to access paid resources you also have to supply a valid Qos in this case it's d6c3c781-e722-4896-96e3-2fe948171f57,8e4ccf4b-88b2-48d4-bc31-c4e7187279a this esnures that your job is charged at the correct rate and against the correct account.