Use of submit as directory name for the Pegasus submit dir. conflicts with the submit executable file. Use dags as the name for submit directory.