aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa
Error in <UnknownClass::WorkingDirectory>: getcwd() failed
Error in <UnknownClass::WorkingDirectory>: getcwd() failed
Error in <UnknownClass::WorkingDirectory>: getcwd() failed
Error in <UnknownClass::WorkingDirectory>: getcwd() failed
Error in <UnknownClass::WorkingDirectory>: getcwd() failed

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 212 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/107898': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.


Performing analysis on: 4FGL_J1351.3+1115_weekly_bin337
RA = 207.843, Dec = 11.2502
tmin = 442800001, tmax = 443404801
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository Job = True

LAT data Source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='107898', job_status='RUN', time_executed='2021-07-21 03:55:09.100432', time_epoch_executed='1626864909.1' WHERE source_name='4FGL J1351.3+1115' and cadence='weekly' and bin_id='337'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/107898

Creating custom pfile directory:
/scratch/kocevski/107898/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=442800001.0 && nMetStart<443404801.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=442800001.0 && nMetStart<443404801.0' /Data/Flight/Level1/LPA

No available data


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=442800001.0 && nMetStart<443404801.0' /Data/Flight/Level1/LPA

No available data


UPDATE lightcurve_data_v2 SET job_status='DONE', comment='No available data', time_epoch_completed='1626864909.35', time_completed='2021-07-21 03:55:09.348452', job_id='107898' WHERE bin_id='337' AND source_name='4FGL J1351.3+1115' AND cadence='weekly';

Database successfully updated.

Error: could not find cmap file: /scratch/kocevski/107898/cmap_HighResolution_442800001_443404801_4FGL_J1351.3+1115_weekly_bin337.fits
Continuing... 

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/107898


Analysis Complete.


Wed Jul 21 03:55:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0292>
Subject: Job 107898: <4FGL_J1351.3+1115_weekly_bin337> in cluster <slac> Done

Job <4FGL_J1351.3+1115_weekly_bin337> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Jul 21 03:50:30 2021
Job was executed on host(s) <bullet0292>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jul 21 03:51:25 2021
</u/ki/kocevski> was used as the home directory.
</tmp> was used as the working directory.
Started at Wed Jul 21 03:51:25 2021
Terminated at Wed Jul 21 03:55:10 2021
Results reported at Wed Jul 21 03:55:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1351.3+1115_weekly_bin337 207.843 11.2502 442800001 443404801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1351.3+1115 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   6.86 sec.
    Max Memory :                                 80 MB
    Average Memory :                             24.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              3
    Max Threads :                                4
    Run time :                                   224 sec.
    Turnaround time :                            280 sec.

The output (if any) is above this job summary.

