Queue 15007 error

I have set a dedicated time, and I have tried to set up a queue to use this dedicated time window and run some tests, but i get the following error when submitting a job:
qsub: Unauthorized request

Looking at the logs I get:

12/10/2021 11:44:25;0400;Server@sdb;Hook;gw_job_setup;started
12/10/2021 11:44:25;0006;Server@sdb;Hook;Server@sdb;gw_job_setup as queuejob for ba-corourke@nid00004 for new job: started
12/10/2021 11:44:25;0006;Server@sdb;Hook;Server@sdb;set _job.sandbox = private
12/10/2021 11:44:25;0006;Server@sdb;Hook;Server@sdb;set _job.Account_Name = 'GW02'
12/10/2021 11:44:25;0006;Server@sdb;Hook;Server@sdb;set _job.project = GW02
12/10/2021 11:44:25;0006;Server@sdb;Hook;Server@sdb;set job.Resource_List[group_proportion] = -1.0
12/10/2021 11:44:25;0006;Server@sdb;Hook;Server@sdb;set _job.umask = 22L
12/10/2021 11:44:25;0006;Server@sdb;Hook;Server@sdb;gw_job_setup as queuejob for ba-corourke@nid00004 for new job: completed after 0.0015s
12/10/2021 11:44:25;0400;Server@sdb;Hook;gw_job_setup;finished
12/10/2021 11:44:25;0400;Server@sdb;Hook;job_default_coretype;started
12/10/2021 11:44:25;0006;Server@sdb;Hook;Server@sdb;job_default_coretype as queuejob for ba-corourke@nid00004 for new job: started
12/10/2021 11:44:25;0400;Server@sdb;Hook;Server@sdb;read 'xci00' from cache file '/var/spool/PBS/local_cache/cluster_name'
12/10/2021 11:44:25;0006;Server@sdb;Hook;Server@sdb;cluster is isambard
12/10/2021 11:44:25;0006;Server@sdb;Hook;Server@sdb;original select = 1
12/10/2021 11:44:25;0006;Server@sdb;Hook;Server@sdb;updated select = 1:coretype=arm
12/10/2021 11:44:25;0006;Server@sdb;Hook;Server@sdb;original select = 1:coretype=arm
12/10/2021 11:44:25;0006;Server@sdb;Hook;Server@sdb;updated select = 1:ncpus=64:coretype=arm:mpiprocs=64
12/10/2021 11:44:25;0006;Server@sdb;Hook;Server@sdb;job_default_coretype as queuejob for ba-corourke@nid00004 for new job: completed after 0.0006s
12/10/2021 11:44:25;0400;Server@sdb;Hook;job_default_coretype;finished
12/10/2021 11:44:25;0400;Server@sdb;Hook;extra_walltime_limits;started
12/10/2021 11:44:25;0006;Server@sdb;Hook;Server@sdb;extra_walltime_limits as queuejob for ba-corourke@nid00004 for new job: started
12/10/2021 11:44:25;0006;Server@sdb;Hook;Server@sdb;soft limits not defined for ded-test queue
12/10/2021 11:44:25;0006;Server@sdb;Hook;Server@sdb;no soft limit defined for job
12/10/2021 11:44:25;0006;Server@sdb;Hook;Server@sdb;extra_walltime_limits as queuejob for ba-corourke@nid00004 for new job: completed after 0.0031s
12/10/2021 11:44:25;0400;Server@sdb;Hook;extra_walltime_limits;finished
12/10/2021 11:44:25;0400;Server@sdb;Hook;accounting_checks;started
12/10/2021 11:44:25;0006;Server@sdb;Hook;Server@sdb;set _job.project = GW02
12/10/2021 11:44:25;0400;Server@sdb;Hook;accounting_checks;finished
12/10/2021 11:44:25;0400;Server@sdb;Hook;PBS_translate_mpp;started
12/10/2021 11:44:25;0400;Server@sdb;Hook;PBS_translate_mpp;finished
12/10/2021 11:44:25;0400;Server@sdb;Hook;print_svrattrl_list;pbs_populate_svrattrl_from_python_class==>
12/10/2021 11:44:25;0400;Server@sdb;Hook;print_svrattrl_list;al_name=umask al_resc=null al_value=22 al_flags=64
12/10/2021 11:44:25;0400;Server@sdb;Hook;print_svrattrl_list;al_name=Rerunable al_resc=null al_value=1 al_flags=0
12/10/2021 11:44:25;0400;Server@sdb;Hook;print_svrattrl_list;al_name=Variable_List al_resc=null al_value=PBS_O_SYSTEM=Linux,PBS_O_SHELL=/bin/bash,PBS_O_HOME=/home/ba-corourke,PBS_O_LOGNAME=ba-corourke,PBS_O_WORKDIR=/home/ba-corourke/Scratch/XCI,PBS_O_LANG=en_GB.UTF-8,PBS_O_PATH=/opt/cray/pe/mpt/7.7.17/gni/bin:/opt/cray/pe/perftools/21.05.0/bin:/opt/cray/pe/papi/6.0.0.7/bin:/opt/cray/rca/2.2.20-7.0.2.1_2.76__g8e3fb5b.ari/bin:/opt/cray/pe/craype/2.6.2/bin:/opt/cray/pe/cce/11.0.4/cce-clang/aarch64/bin:/opt/cray/pe/cce/11.0.4/binutils/aarch64/aarch64-unknown-linux-gnu/bin:/opt/cray/pe/cce/11.0.4/utils/aarch64/bin:/opt/cray/cfgutils/bin:/opt/cray/nodehealth/5.6.27-7.0.2.1_4.48__g20e015c.ari/bin:/opt/cray/llm/21.4.629-7.0.2.1_2.53__g8cae6ef.ari/bin:/opt/cray/sdb/3.3.812-7.0.2.1_2.74__gd6c4e58.ari/bin:/opt/cray/nodestat/2.3.89-7.0.2.1_2.53__g8645157.ari/bin:/opt/cray/alps/6.6.59-7.0.2.1_3.62__g872a8d62.ari/sbin:/opt/cray/alps/6.6.59-7.0.2.1_3.62__g872a8d62.ari/bin:/opt/cray/alps/default/bin:/opt/cray/pe/modules/3.2.11.4/bin:/home/ba-corourke/bin:/usr/local/bin:/usr/bin:/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/opt/pbs/bin:/opt/cray/pe/bin:/home/ba-corourke/bin/ctags/bin:/home/ba-corourke/bin/ctags/bin,PBS_O_MAIL=/var/mail/ba-corourke al_flags=0
12/10/2021 11:44:25;0400;Server@sdb;Hook;print_svrattrl_list;al_name=Priority al_resc=null al_value=0 al_flags=0
12/10/2021 11:44:25;0400;Server@sdb;Hook;print_svrattrl_list;al_name=Submit_arguments al_resc=null al_value=<jsdl-hpcpa:Argument>sub_job_hello.sh</jsdl-hpcpa:Argument> al_flags=0
12/10/2021 11:44:25;0400;Server@sdb;Hook;print_svrattrl_list;al_name=Job_Name al_resc=null al_value=sub_job_hello.sh al_flags=0
12/10/2021 11:44:25;0400;Server@sdb;Hook;print_svrattrl_list;al_name=Mail_Points al_resc=null al_value=a al_flags=0
12/10/2021 11:44:25;0400;Server@sdb;Hook;print_svrattrl_list;al_name=Checkpoint al_resc=null al_value=u al_flags=0
12/10/2021 11:44:25;0400;Server@sdb;Hook;print_svrattrl_list;al_name=project al_resc=null al_value=GW02 al_flags=64
12/10/2021 11:44:25;0400;Server@sdb;Hook;print_svrattrl_list;al_name=Hold_Types al_resc=null al_value=n al_flags=0
12/10/2021 11:44:25;0400;Server@sdb;Hook;print_svrattrl_list;al_name=Join_Path al_resc=null al_value=n al_flags=0
12/10/2021 11:44:25;0400;Server@sdb;Hook;print_svrattrl_list;al_name=Resource_List al_resc=select al_value=1:ncpus=64:coretype=arm:mpiprocs=64 al_flags=64
12/10/2021 11:44:25;0400;Server@sdb;Hook;print_svrattrl_list;al_name=Resource_List al_resc=group_proportion al_value=-1.0 al_flags=64
12/10/2021 11:44:25;0400;Server@sdb;Hook;print_svrattrl_list;al_name=Resource_List al_resc=walltime al_value=24:00:00 al_flags=0
12/10/2021 11:44:25;0400;Server@sdb;Hook;print_svrattrl_list;al_name=Keep_Files al_resc=null al_value=n al_flags=0
12/10/2021 11:44:25;0400;Server@sdb;Hook;print_svrattrl_list;al_name=Account_Name al_resc=null al_value=GW02 al_flags=64
12/10/2021 11:44:25;0400;Server@sdb;Hook;print_svrattrl_list;al_name=sandbox al_resc=null al_value=private al_flags=64
12/10/2021 11:44:25;0080;Server@sdb;Req;req_reject;Reject reply code=15007, aux=0, type=1, from ba-corourke@nid00004

Does any one know how to fix this problem?

I have enabled acl_groups and acl_users and added myself to both.

If I remove acl_groups and acl_users I can submit to the queue.

However it won’t run and I get

comment = Not Running: Job would cross dedicated time boundary

Quite confused, as the queue starts with the dedicated time prefix ded-test so I thought a job submitted to it would run?

Actually leaving acl_users True, and disabling ACL_GROUPS I can still submit. But the job wont start. Still with the job would cross dedicated time boundary message.