aklog: Couldn't determine realm of user:aklog: No credentials cache found  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

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


Waiting 66 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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)

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

number of points = 7381
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2044.0+1036_daily_bin1750
RA = 311.002, Dec = 10.6079
tmin = 692928001, tmax = 693187201
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='24752', job_status='RUN', time_executed='2022-12-20 01:41:35.151131', time_epoch_executed='1671529295.15' WHERE source_name='4FGL J2044.0+1036' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/24752

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/24752/ft1_4FGL_J2044.0+1036_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/24752/ft2_4FGL_J2044.0+1036_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/24752/ft1_4FGL_J2044.0+1036_daily_bin1750.fits outfile=/scratch/kocevski/24752/ft1_filteredMKT_4FGL_J2044.0+1036_daily_bin1750.fits ra=311.002 dec=10.6079 rad=12.0 tmin=692928001.0 tmax=693187201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.58
user 3.35
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/24752/ft2_4FGL_J2044.0+1036_daily_bin1750.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/24752/ft2_4FGL_J2044.0+1036_daily_bin1750.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/24752/ft1_filteredMKT_4FGL_J2044.0+1036_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/24752/ft1_filtered_4FGL_J2044.0+1036_daily_bin1750.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 881

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/24752/ft1_filtered_4FGL_J2044.0+1036_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/24752/ft2_4FGL_J2044.0+1036_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/24752/ltcube_692928001_693187201_4FGL_J2044.0+1036_daily_bin1750.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /scratch/kocevski/24752/ft2_4FGL_J2044.0+1036_daily_bin1750.fits
.....................!
real 11.79
user 11.42
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/24752/ft1_filtered_4FGL_J2044.0+1036_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/24752/ft2_4FGL_J2044.0+1036_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/24752/ltcube_692928001_693187201_4FGL_J2044.0+1036_daily_bin1750.fits outfile=/scratch/kocevski/24752/expmap_692928001_693187201_4FGL_J2044.0+1036_daily_bin1750.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/24752/ltcube_692928001_693187201_4FGL_J2044.0+1036_daily_bin1750.fits
.....................!
real 190.78
user 186.15
sys 4.18

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source W 51C in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W51C.fits is the correct path to the extended template.
Extended source Cygnus Loop in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template.
Added 213 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2044.0+1036 @ 311.002 10.6079

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/24752/ft1_filtered_4FGL_J2044.0+1036_daily_bin1750.fits scfile=/scratch/kocevski/24752/ft2_4FGL_J2044.0+1036_daily_bin1750.fits outfile=/scratch/kocevski/24752/cmap_692928001_693187201_4FGL_J2044.0+1036_daily_bin1750.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=311.002 yref=10.6079 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/24752/ft1_filtered_4FGL_J2044.0+1036_daily_bin1750.fits scfile=/scratch/kocevski/24752/ft2_4FGL_J2044.0+1036_daily_bin1750.fits outfile=/scratch/kocevski/24752/cmap_HighResolution_692928001_693187201_4FGL_J2044.0+1036_daily_bin1750.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=311.002 yref=10.6079 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/24752/ft1_filtered_4FGL_J2044.0+1036_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/24752/ft2_4FGL_J2044.0+1036_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/24752/Model_4FGL_J2044.0+1036_daily_bin1750.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source Cygnus Loop
adding source EG_v02
adding source GAL_V02
adding source W 51C
Working on...
/scratch/kocevski/24752/ft1_filtered_4FGL_J2044.0+1036_daily_bin1750.fits.....................!
real 193.04
user 191.46
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/24752/ft1_filtered_4FGL_J2044.0+1036_daily_bin1750.fits', '/scratch/kocevski/24752/ft2_4FGL_J2044.0+1036_daily_bin1750.fits', expMap='/scratch/kocevski/24752/expmap_692928001_693187201_4FGL_J2044.0+1036_daily_bin1750.fits', expCube='/scratch/kocevski/24752/ltcube_692928001_693187201_4FGL_J2044.0+1036_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/24752/Model_4FGL_J2044.0+1036_daily_bin1750.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2044.0+1036'

4FGL J2044.0+1036
   Spectrum: PowerLaw
460    Prefactor:  3.385e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
461        Index:  2.180e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
462        Scale:  2.453e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/24752/ft1_filtered_4FGL_J2044.0+1036_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/24752/ft2_4FGL_J2044.0+1036_daily_bin1750.fits
Exposure map: /scratch/kocevski/24752/expmap_692928001_693187201_4FGL_J2044.0+1036_daily_bin1750.fits
Exposure cube: /scratch/kocevski/24752/ltcube_692928001_693187201_4FGL_J2044.0+1036_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/24752/Model_4FGL_J2044.0+1036_daily_bin1750.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 9189.49868611

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 9189.42635801

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14063E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .79737E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .34966E-05   1.0000          .0000       .10000E+07
     4 'norm      '    .30682       1.0000          .0000       .10000E+07
     5 'Prefactor '    .14902E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .22202E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .64687E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .23727E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .70469E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .41241E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .20628E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .18613E-04   1.0000          .0000       .10000E+07
    13 'Normalizat'    1.1534       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .94776       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7480E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9189.425     FROM MIGRAD    STATUS=CONVERGED    125 CALLS      773 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19462E-06    4.0590       -.14021E-05** at limit **
   2  Prefactor     .34245E-06    2.9669        .26220E-05** at limit **
   3  Prefactor     .53846E-08    7.0886       -.85591E-06** at limit **
   4  norm          .30599        .55215        .27150E-07    .23525E-02
   5  Prefactor     .99920E-09    24.257       -.11420E-06** at limit **
   6  norm          .58231E-07    4.4197       -.17699E-05** at limit **
   7  Prefactor     .19429E-08    4.3818        .55724E-06** at limit **
   8  Prefactor     .21361E-06    9.3833       -.53699E-05** at limit **
   9  Prefactor     .11102E-09    35.939        .90567E-08** at limit **
  10  Prefactor     .22499E-06    8.8330        .60347E-05** at limit **
  11  Prefactor     .11657E-08    80.369       -.32920E-05** at limit **
  12  Prefactor     .44409E-09    2.9058       -.72914E-06** at limit **
  13  Normalizat    1.1531        .28418       -.30199E-05   -.27427E-03
  14  Prefactor     .94780        .91128E-01   -.26525E-05   -.83728E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.94622e-07
  Prefactor  = 3.42448e-07
  Prefactor  = 5.38458e-09
  norm       = 0.305992
  Prefactor  = 9.99201e-10
  norm       = 5.82312e-08
  Prefactor  = 1.94289e-09
  Prefactor  = 2.13607e-07
  Prefactor  = 1.11022e-10
  Prefactor  = 2.24987e-07
  Prefactor  = 1.16573e-09
  Prefactor  = 4.44089e-10
  Normalizat = 1.15314
  Prefactor  = 0.947801
 **********
 **   18 **HESSE 
 **********

 FCN=   9189.425     FROM HESSE     STATUS=OK           182 CALLS      955 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19462E-06    5.3227        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .34245E-06    5.1323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .53846E-08    7.1487        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .30599        .55388        .10119E-03   -1.5697    
   5  Prefactor     .99920E-09    24.309        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .58231E-07    4.7725        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .19429E-08    4.4088        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .21361E-06    10.630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .11102E-09    34.747        .14803E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .22499E-06    10.186        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11657E-08    79.581        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .44409E-09    2.9021        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Normalizat    1.1531        .24704        .94751E-01   -.88064    
  14  Prefactor     .94780        .78876E-01    .32916E-01   -.94490    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.59076e-07
Minuit parameter uncertainties:
  1  0.0020355
  2  0.00265141
  3  0.000391884
  4  0.553879
  5  0.000315407
  6  0.00105425
  7  0.000185116
  8  0.00301391
  9  0.000107843
  10  0.00302769
  11  0.000603523
  12  7.29011e-05
  13  0.247288
  14  0.078886
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 9189.42503225

Extracting fit parameters...

4FGL J2044.0+1036
   Spectrum: PowerLaw
460    Prefactor:  9.992e-10  3.154e-04  0.000e+00  1.000e+06 ( 1.000e-14)
461        Index:  2.180e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
462        Scale:  2.453e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
741    Prefactor:  9.478e-01  7.889e-02  0.000e+00  1.000e+01 ( 1.000e+00)
742        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
743        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
740   Normalization:  1.153e+00  2.473e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 311.002 10.608
Photon Flux Upper Limit: 7.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.66e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/24752/likelihoodResults_692928001_693187201_4FGL_J2044.0+1036_daily_bin1750.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9189.4448027
delta logL = -0.0197704506281

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9189.42503457
delta logL = -2.31938429351e-06

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38939E-04   1.0000          .0000       .10000E+07
     2 'Index     '    1.3368       1.0000          .0000       10.000    
     3 'Normalizat'    1.1536       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94765       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7480E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9189.425     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      271 TOTAL
                     EDM=   .34E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    .55724E-03    .42118E-03** at limit **
   2  Index         3.4253        7.2987        .50000        .22737E-09
   3  Normalizat    1.1531        .83036E-04    .94751E-01    .32319E-03
   4  Prefactor     .94780        .26501E-04    .32916E-01    .75292E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Index      = 3.42534
  Normalizat = 1.15314
  Prefactor  = 0.947802
 **********
 **   18 **HESSE 
 **********

 FCN=   9189.425     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      302 TOTAL
                     EDM=   .59E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    .96576E-02    .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.4253        6.3797        .50000       -.32038    
   3  Normalizat    1.1531        .34161E-03    .41974E-03   -.88064    
   4  Prefactor     .94780        .10931E-03    .14544E-03   -.94490    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.94779e-14
Minuit parameter uncertainties:
  1  1.83603e-06
  2  719.072
  3  0.000341607
  4  0.000109307
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/24752': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9189.42503225
delta logL = 3.63797880709e-12

Extracting fit parameters...

4FGL J2044.0+1036
   Spectrum: PowerLaw
460    Prefactor:  1.110e-10  1.836e-06  0.000e+00  1.000e+06 ( 1.000e-14)
461        Index:  3.425e+00  7.191e+02  0.000e+00  1.000e+01 (-1.000e+00)
462        Scale:  2.453e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
741    Prefactor:  9.478e-01  1.093e-04  0.000e+00  1.000e+01 ( 1.000e+00)
742        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
743        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
740   Normalization:  1.153e+00  3.416e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 311.002 10.608

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/24752/cmap_HighResolution_692928001_693187201_4FGL_J2044.0+1036_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.66e-03', job_status='DONE', photon_flux_upper_limit='7.44e-08', time_completed='2022-12-20 01:53:38.597517', job_id='24752', GAL2='0.95', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1671530018.6', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='3.64e-12', ts2='-0.00', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1750' AND source_name='4FGL J2044.0+1036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 01:53:38 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0087>
Subject: Job 24752: <4FGL_J2044.0+1036_daily_bin1750> in cluster <slac> Done

Job <4FGL_J2044.0+1036_daily_bin1750> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Dec 20 01:40:20 2022
Job was executed on host(s) <bullet0087>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 01:40:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 01:40:21 2022
Terminated at Tue Dec 20 01:53:38 2022
Results reported at Tue Dec 20 01:53:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2044.0+1036_daily_bin1750 311.002 10.6079 692928001 693187201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2044.0+1036 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   725.19 sec.
    Max Memory :                                 642 MB
    Average Memory :                             342.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2932 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   797 sec.
    Turnaround time :                            798 sec.

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

