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 40 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 = 7725
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2044.0+1036_daily_bin1735
RA = 311.002, Dec = 10.6079
tmin = 689040001, tmax = 689299201
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='865427', job_status='RUN', time_executed='2022-11-05 00:31:26.465555', time_epoch_executed='1667633486.47' WHERE source_name='4FGL J2044.0+1036' and cadence='daily' and bin_id='1735'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/865427

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/865427/ft1_4FGL_J2044.0+1036_daily_bin1735.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/865427/ft2_4FGL_J2044.0+1036_daily_bin1735.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/865427/ft1_4FGL_J2044.0+1036_daily_bin1735.fits outfile=/scratch/kocevski/865427/ft1_filteredMKT_4FGL_J2044.0+1036_daily_bin1735.fits ra=311.002 dec=10.6079 rad=12.0 tmin=689040001.0 tmax=689299201.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.67
user 3.45
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/865427/ft2_4FGL_J2044.0+1036_daily_bin1735.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/865427/ft1_filteredMKT_4FGL_J2044.0+1036_daily_bin1735.fits evtable="EVENTS" outfile="/scratch/kocevski/865427/ft1_filtered_4FGL_J2044.0+1036_daily_bin1735.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.52
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 959

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/865427/ft1_filtered_4FGL_J2044.0+1036_daily_bin1735.fits" evtable="EVENTS" scfile=/scratch/kocevski/865427/ft2_4FGL_J2044.0+1036_daily_bin1735.fits sctable="SC_DATA" outfile=/scratch/kocevski/865427/ltcube_689040001_689299201_4FGL_J2044.0+1036_daily_bin1735.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/865427/ft2_4FGL_J2044.0+1036_daily_bin1735.fits
.....................!
real 11.93
user 11.55
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/865427/ft1_filtered_4FGL_J2044.0+1036_daily_bin1735.fits evtable="EVENTS" scfile=/scratch/kocevski/865427/ft2_4FGL_J2044.0+1036_daily_bin1735.fits sctable="SC_DATA" expcube=/scratch/kocevski/865427/ltcube_689040001_689299201_4FGL_J2044.0+1036_daily_bin1735.fits outfile=/scratch/kocevski/865427/expmap_689040001_689299201_4FGL_J2044.0+1036_daily_bin1735.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/865427/ltcube_689040001_689299201_4FGL_J2044.0+1036_daily_bin1735.fits
.....................!
real 190.79
user 185.41
sys 5.07

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/865427/ft1_filtered_4FGL_J2044.0+1036_daily_bin1735.fits scfile=/scratch/kocevski/865427/ft2_4FGL_J2044.0+1036_daily_bin1735.fits outfile=/scratch/kocevski/865427/cmap_689040001_689299201_4FGL_J2044.0+1036_daily_bin1735.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/865427/ft1_filtered_4FGL_J2044.0+1036_daily_bin1735.fits scfile=/scratch/kocevski/865427/ft2_4FGL_J2044.0+1036_daily_bin1735.fits outfile=/scratch/kocevski/865427/cmap_HighResolution_689040001_689299201_4FGL_J2044.0+1036_daily_bin1735.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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/865427/ft1_filtered_4FGL_J2044.0+1036_daily_bin1735.fits evtable="EVENTS" scfile=/scratch/kocevski/865427/ft2_4FGL_J2044.0+1036_daily_bin1735.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/865427/Model_4FGL_J2044.0+1036_daily_bin1735.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/865427/ft1_filtered_4FGL_J2044.0+1036_daily_bin1735.fits.....................!
real 210.90
user 209.20
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/865427/ft1_filtered_4FGL_J2044.0+1036_daily_bin1735.fits', '/scratch/kocevski/865427/ft2_4FGL_J2044.0+1036_daily_bin1735.fits', expMap='/scratch/kocevski/865427/expmap_689040001_689299201_4FGL_J2044.0+1036_daily_bin1735.fits', expCube='/scratch/kocevski/865427/ltcube_689040001_689299201_4FGL_J2044.0+1036_daily_bin1735.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/865427/Model_4FGL_J2044.0+1036_daily_bin1735.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/865427/ft1_filtered_4FGL_J2044.0+1036_daily_bin1735.fits
Spacecraft file(s): /scratch/kocevski/865427/ft2_4FGL_J2044.0+1036_daily_bin1735.fits
Exposure map: /scratch/kocevski/865427/expmap_689040001_689299201_4FGL_J2044.0+1036_daily_bin1735.fits
Exposure cube: /scratch/kocevski/865427/ltcube_689040001_689299201_4FGL_J2044.0+1036_daily_bin1735.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/865427/Model_4FGL_J2044.0+1036_daily_bin1735.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) = 10569.0351002

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34664E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .13386E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .54123E-02   1.0000          .0000       .10000E+07
     4 'norm      '    .92390       1.0000          .0000       .10000E+07
     5 'Prefactor '    14.949       1.0000          .0000       .10000E+07
     6 'norm      '    12.701       1.0000          .0000       .10000E+07
     7 'Prefactor '    47.968       1.0000          .0000       .10000E+07
     8 'Prefactor '    5.8765       1.0000          .0000       .10000E+07
     9 'Prefactor '    6.3831       1.0000          .0000       .10000E+07
    10 'Prefactor '    9.8531       1.0000          .0000       .10000E+07
    11 'Prefactor '    .88924E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.2169       1.0000          .0000       .10000E+07
    13 'Normalizat'    .43757       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.1069       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=   10569.03     FROM MIGRAD    STATUS=CONVERGED    110 CALLS      905 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.9362       -.26223E-07** at limit **
   2  Prefactor      .0000        2.8915        .32352E-07** at limit **
   3  Prefactor     .55511E-10    8.1799        .90006E-07** at limit **
   4  norm          .92548        .63835        .16679E-07    .55035E-02
   5  Prefactor     14.136        32.038        .11324E-05   -.59939E-01
   6  norm          12.743        8.8097       -.38356E-07    .40457E-02
   7  Prefactor     47.801        16.552        .95718E-07    .16889    
   8  Prefactor     5.6799        13.430        .61635E-06   -.39944E-01
   9  Prefactor     5.2110        53.857        .27052E-05    .44644E-01
  10  Prefactor     10.750        32.802       -.11290E-05    .39078E-01
  11  Prefactor     .27756E-08    27.392        .99694E-07** at limit **
  12  Prefactor     3.2218        9.3941       -.25293E-06    .12231E-02
  13  Normalizat    .44108        .29730        .64102E-06    .43364E-04
  14  Prefactor     1.1063        .88968E-01   -.17396E-06    .13747E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  norm       = 0.925483
  Prefactor  = 14.1362
  norm       = 12.7434
  Prefactor  = 47.8012
  Prefactor  = 5.67987
  Prefactor  = 5.21102
  Prefactor  = 10.7496
  Prefactor  = 2.77556e-09
  Prefactor  = 3.22183
  Normalizat = 0.441082
  Prefactor  = 1.10629
 **********
 **   18 **HESSE 
 **********

 FCN=   10569.03     FROM HESSE     STATUS=OK           194 CALLS     1099 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.9418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        2.8952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    8.1660        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .92548        .64982        .44122E-03   -1.5689    
   5  Prefactor     14.136        39.705        .25878E-03   -1.5633    
   6  norm          12.743        8.9663        .28081E-03   -1.5637    
   7  Prefactor     47.801        26.890        .14440E-03   -1.5570    
   8  Prefactor     5.6799        18.516        .41403E-03   -1.5660    
   9  Prefactor     5.2110        76.158        .39704E-03   -1.5662    
  10  Prefactor     10.750        36.140        .31899E-03   -1.5642    
  11  Prefactor     .27756E-08    27.458        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.2218        9.6524        .56458E-03   -1.5672    
  13  Normalizat    .44108        .34306        .15153       -1.1523    
  14  Prefactor     1.1063        .96945E-01    .37330E-01   -.89266    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.19466e-06
Minuit parameter uncertainties:
  1  2.04604e-06
  2  4.26201e-06
  3  4.15495e-05
  4  0.649824
  5  39.7053
  6  8.96635
  7  26.8905
  8  18.5162
  9  39.8433
  10  36.1412
  11  0.000550753
  12  9.65242
  13  0.344716
  14  0.0969604
Done.

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

Extracting fit parameters...

4FGL J2044.0+1036
   Spectrum: PowerLaw
460    Prefactor:  1.414e+01  3.971e+01  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:  1.106e+00  9.696e-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:  4.411e-01  3.447e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.16
Ra Dec: 311.002 10.608
Photon Flux Upper Limit: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.87e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/865427/likelihoodResults_689040001_689299201_4FGL_J2044.0+1036_daily_bin1735.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) = 10569.0221123
delta logL = 0.0076889374468

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10569.0189352
delta logL = 0.0108661003233

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.832       1.0000          .0000       .10000E+07
     2 'Index     '    2.0169       1.0000          .0000       10.000    
     3 'Normalizat'    .44318       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1059       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=   10569.02     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      240 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.832        1747.3        .23691E-03   -.35214E-03
   2  Index         2.0169        5.9986        .25693        .59524E-04
   3  Normalizat    .44323        .58388E-01    .15117        .92563E-04
   4  Prefactor     1.1059        .16799E-01    .37368E-01   -.15693E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.8318
  Index      = 2.01691
  Normalizat = 0.443231
  Prefactor  = 1.10586
 **********
 **   18 **HESSE 
 **********

 FCN=   10569.02     FROM HESSE     STATUS=OK            33 CALLS      273 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.832        51.006        .94763E-05   -1.5624    
   2  Index         2.0169        1.1031        .13059E-01   -.63928    
   3  Normalizat    .44323        .26953        .66986E-03   -1.1512    
   4  Prefactor     1.1059        .87089E-01    .13984E-03   -.89280    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.02695e-11
Minuit parameter uncertainties:
  1  51.007
  2  1.11748
  3  0.270328
  4  0.0871003
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/865427': 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): 0
logL (Free Index) = 10569.0189351
delta logL = 0.0108661173508

Extracting fit parameters...

4FGL J2044.0+1036
   Spectrum: PowerLaw
460    Prefactor:  1.783e+01  5.101e+01  0.000e+00  1.000e+06 ( 1.000e-14)
461        Index:  2.017e+00  1.117e+00  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:  1.106e+00  8.710e-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:  4.432e-01  2.703e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.16
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/865427/cmap_HighResolution_689040001_689299201_4FGL_J2044.0+1036_daily_bin1735.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.87e-03', job_status='DONE', photon_flux_upper_limit='1.03e-07', time_completed='2022-11-05 00:44:40.731557', job_id='865427', GAL2='1.11', fit_tolerance='1e-08', EG2='0.44', EG='0.44', time_epoch_completed='1667634280.73', return_code2='0', ts='0.16', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='1.09e-02', ts2='0.18', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1735' AND source_name='4FGL J2044.0+1036' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Nov  5 00:44:40 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0194>
Subject: Job 865427: <4FGL_J2044.0+1036_daily_bin1735> in cluster <slac> Done

Job <4FGL_J2044.0+1036_daily_bin1735> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Nov  5 00:30:36 2022
Job was executed on host(s) <bullet0194>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Nov  5 00:30:37 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Nov  5 00:30:37 2022
Terminated at Sat Nov  5 00:44:41 2022
Results reported at Sat Nov  5 00:44:41 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2044.0+1036_daily_bin1735 311.002 10.6079 689040001 689299201 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 :                                   796.06 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             354.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   844 sec.
    Turnaround time :                            845 sec.

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

