/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 49 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)

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

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


Performing analysis on: 4FGL_J2037.0-2826_daily_bin1545
RA = 309.252, Dec = -28.4383
tmin = 639792001, tmax = 640051201
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='78203', job_status='RUN', time_executed='2021-09-25 14:02:38.355883', time_epoch_executed='1632603758.36' WHERE source_name='4FGL J2037.0-2826' and cadence='daily' and bin_id='1545'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/78203

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/78203/ft1_4FGL_J2037.0-2826_daily_bin1545.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/78203/ft2_4FGL_J2037.0-2826_daily_bin1545.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/78203/ft1_4FGL_J2037.0-2826_daily_bin1545.fits outfile=/scratch/kocevski/78203/ft1_filteredMKT_4FGL_J2037.0-2826_daily_bin1545.fits ra=309.252 dec=-28.4383 rad=12.0 tmin=639792001.0 tmax=640051201.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.57
user 3.30
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/78203/ft2_4FGL_J2037.0-2826_daily_bin1545.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/78203/ft2_4FGL_J2037.0-2826_daily_bin1545.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/78203/ft1_filteredMKT_4FGL_J2037.0-2826_daily_bin1545.fits evtable="EVENTS" outfile="/scratch/kocevski/78203/ft1_filtered_4FGL_J2037.0-2826_daily_bin1545.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.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/78203/ft1_filtered_4FGL_J2037.0-2826_daily_bin1545.fits" evtable="EVENTS" scfile=/scratch/kocevski/78203/ft2_4FGL_J2037.0-2826_daily_bin1545.fits sctable="SC_DATA" outfile=/scratch/kocevski/78203/ltcube_639792001_640051201_4FGL_J2037.0-2826_daily_bin1545.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/78203/ft2_4FGL_J2037.0-2826_daily_bin1545.fits
.....................!
real 14.65
user 14.28
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/78203/ft1_filtered_4FGL_J2037.0-2826_daily_bin1545.fits evtable="EVENTS" scfile=/scratch/kocevski/78203/ft2_4FGL_J2037.0-2826_daily_bin1545.fits sctable="SC_DATA" expcube=/scratch/kocevski/78203/ltcube_639792001_640051201_4FGL_J2037.0-2826_daily_bin1545.fits outfile=/scratch/kocevski/78203/expmap_639792001_640051201_4FGL_J2037.0-2826_daily_bin1545.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/78203/ltcube_639792001_640051201_4FGL_J2037.0-2826_daily_bin1545.fits
.....................!
real 191.71
user 186.75
sys 4.39

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
Added 175 point sources and 0 extended sources

Setting source of interest to:
4FGL J2037.0-2826 @ 309.252 -28.4383

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/78203/ft1_filtered_4FGL_J2037.0-2826_daily_bin1545.fits scfile=/scratch/kocevski/78203/ft2_4FGL_J2037.0-2826_daily_bin1545.fits outfile=/scratch/kocevski/78203/cmap_639792001_640051201_4FGL_J2037.0-2826_daily_bin1545.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=309.252 yref=-28.4383 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.55
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/78203/ft1_filtered_4FGL_J2037.0-2826_daily_bin1545.fits scfile=/scratch/kocevski/78203/ft2_4FGL_J2037.0-2826_daily_bin1545.fits outfile=/scratch/kocevski/78203/cmap_HighResolution_639792001_640051201_4FGL_J2037.0-2826_daily_bin1545.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=309.252 yref=-28.4383 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.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/78203/ft1_filtered_4FGL_J2037.0-2826_daily_bin1545.fits evtable="EVENTS" scfile=/scratch/kocevski/78203/ft2_4FGL_J2037.0-2826_daily_bin1545.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/78203/Model_4FGL_J2037.0-2826_daily_bin1545.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 EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/78203/ft1_filtered_4FGL_J2037.0-2826_daily_bin1545.fits.....................!
real 102.16
user 100.61
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/78203/ft1_filtered_4FGL_J2037.0-2826_daily_bin1545.fits', '/scratch/kocevski/78203/ft2_4FGL_J2037.0-2826_daily_bin1545.fits', expMap='/scratch/kocevski/78203/expmap_639792001_640051201_4FGL_J2037.0-2826_daily_bin1545.fits', expCube='/scratch/kocevski/78203/ltcube_639792001_640051201_4FGL_J2037.0-2826_daily_bin1545.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/78203/Model_4FGL_J2037.0-2826_daily_bin1545.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2037.0-2826'

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  1.729e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
319        Index:  2.567e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
320        Scale:  6.447e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/78203/ft1_filtered_4FGL_J2037.0-2826_daily_bin1545.fits
Spacecraft file(s): /scratch/kocevski/78203/ft2_4FGL_J2037.0-2826_daily_bin1545.fits
Exposure map: /scratch/kocevski/78203/expmap_639792001_640051201_4FGL_J2037.0-2826_daily_bin1545.fits
Exposure cube: /scratch/kocevski/78203/ltcube_639792001_640051201_4FGL_J2037.0-2826_daily_bin1545.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/78203/Model_4FGL_J2037.0-2826_daily_bin1545.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) = 13183.503112

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5001       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    14.896       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    5.8624       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.3420       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.7883       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .59088       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.2797       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .14772E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    4.5673       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .75287       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1011       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5860E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13182.46     FROM MIGRAD    STATUS=CONVERGED    313 CALLS     1303 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5006        4.2842        .52001E-06   -.16394E-03
   2  Prefactor     .10000E-03    7.6628        .20376E-06** at limit **
   3  norm          14.897        7.7896        .10113E-06    .53274E-05
   4  Prefactor     .10000E-03    25.418        .16939E-05** at limit **
   5  norm          5.8629        7.2040        .24856E-06   -.95602E-05
   6  Prefactor     4.3103        31.413       -.78493E-05   -.24033E-03
   7  Prefactor     2.7878        4.3538        .39432E-06   -.18072E-03
   8  Prefactor     .59104        2.1541        .40449E-06   -.27927E-03
   9  Prefactor     .10000E-03    21.907       -.12134E-05** at limit **
  10  norm          .10000E-03    6.3380        .11324E-07** at limit **
  11  Prefactor     5.2791        9.4068        .44476E-05   -.30137E-03
  12  Prefactor     .10000E-03    7.4488       -.14411E-06** at limit **
  13  Prefactor     .10000E-03    2.1900        .24368E-06** at limit **
  14  norm          4.5673        6.1581        .18267E-05   -.24359E-03
  15  Normalizat    .75283        .18454       -.15947E-05   -.76671E-04
  16  Prefactor     1.1011        .75493E-01    .14246E-07   -.21837E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.50059
  Prefactor  = 0.0001
  norm       = 14.8968
  Prefactor  = 0.000100001
  norm       = 5.8629
  Prefactor  = 4.31029
  Prefactor  = 2.78777
  Prefactor  = 0.591038
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 5.2791
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 4.56732
  Normalizat = 0.752828
  Prefactor  = 1.10108
 **********
 **   18 **HESSE 
 **********

 FCN=   13182.46     FROM HESSE     STATUS=OK           209 CALLS     1512 TOTAL
                     EDM=   .72E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5006        4.2850        .21611E-03   -1.5334    
   2  Prefactor     .10000E-03    7.6733        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          14.897        7.7902        .10377E-03   -1.4936    
   4  Prefactor     .10000E-03    25.626        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          5.8629        7.1929        .16586E-03   -1.5224    
   6  Prefactor     4.3103        35.050        .19331E-03   -1.5293    
   7  Prefactor     2.7878        4.3287        .24367E-03   -1.5374    
   8  Prefactor     .59104        4.1907        .30466E-02   -1.5554    
   9  Prefactor     .10000E-03    22.002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    6.3566        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.2791        9.5176        .87462E-03   -1.5248    
  12  Prefactor     .10000E-03    7.4688        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.0558        .32510E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.5673        6.1774        .94179E-03   -1.5281    
  15  Normalizat    .75283        .20460        .42397E-03   -1.0184    
  16  Prefactor     1.1011        .85868E-01    .15112E-03   -.89432    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.20436e-08
Minuit parameter uncertainties:
  1  4.28534
  2  2.45392e-05
  3  7.79071
  4  0.000312426
  5  7.19393
  6  24.6019
  7  4.32915
  8  3.14765
  9  0.00022383
  10  5.6799e-07
  11  9.52031
  12  2.15929e-05
  13  0.000187824
  14  6.17831
  15  0.204804
  16  0.0858787
Done.

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

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  2.788e+00  4.329e+00  1.000e-04  1.000e+04 ( 1.000e-12)
319        Index:  2.567e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
320        Scale:  6.447e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
583    Prefactor:  1.101e+00  8.588e-02  0.000e+00  1.000e+01 ( 1.000e+00)
584        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
585        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
582   Normalization:  7.528e-01  2.048e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.51
Ra Dec: 309.252 -28.438
Photon Flux Upper Limit: 9.34e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.30e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/78203/likelihoodResults_639792001_640051201_4FGL_J2037.0-2826_daily_bin1545.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) = 13182.4509461
delta logL = 0.0105685985327

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13182.4496988
delta logL = 0.0118158243367

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5957       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7307       1.0000          .0000       10.000    
     3 'Normalizat'    .74881       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1020       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5860E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13182.45     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      275 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5928        4.6498        .12662E-02    .13655E-02
   2  Index         2.7314        1.1604        .10379E-01    .17671E-03
   3  Normalizat    .74889        .20269        .42499E-03    .42800E-06
   4  Prefactor     1.1020        .85402E-01    .15107E-03   -.45154E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.59279
  Index      = 2.73136
  Normalizat = 0.748885
  Prefactor  = 1.102
 **********
 **   18 **HESSE 
 **********

 FCN=   13182.45     FROM HESSE     STATUS=OK            27 CALLS      302 TOTAL
                     EDM=   .27E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5928        4.3443        .25324E-03   -1.5386    
   2  Index         2.7314        1.0859        .20757E-02   -.47095    
   3  Normalizat    .74889        .20286        .17000E-04   -1.0199    
   4  Prefactor     1.1020        .85432E-01    .60426E-05   -.89403    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.70952e-12
Minuit parameter uncertainties:
  1  4.34483
  2  1.09694
  3  0.203068
  4  0.0854428
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/78203': 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) = 13182.4496984
delta logL = 0.0118162655344

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  2.593e+00  4.345e+00  1.000e-04  1.000e+04 ( 1.000e-12)
319        Index:  2.731e+00  1.097e+00  0.000e+00  1.000e+01 (-1.000e+00)
320        Scale:  6.447e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
583    Prefactor:  1.102e+00  8.544e-02  0.000e+00  1.000e+01 ( 1.000e+00)
584        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
585        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
582   Normalization:  7.489e-01  2.031e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.51
Ra Dec: 309.252 -28.438

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/78203/cmap_HighResolution_639792001_640051201_4FGL_J2037.0-2826_daily_bin1545.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.30e-03', job_status='DONE', photon_flux_upper_limit='9.34e-08', time_completed='2021-09-25 14:15:29.725285', job_id='78203', GAL2='1.10', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1632604529.73', return_code2='0', ts='0.51', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='1.18e-02', ts2='0.54', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1545' AND source_name='4FGL J2037.0-2826' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 14:15:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 78203: <4FGL_J2037.0-2826_daily_bin1545> in cluster <slac> Done

Job <4FGL_J2037.0-2826_daily_bin1545> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Sep 25 14:00:57 2021
Job was executed on host(s) <bullet0283>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 14:01:41 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 25 14:01:41 2021
Terminated at Sat Sep 25 14:15:30 2021
Results reported at Sat Sep 25 14:15:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2037.0-2826_daily_bin1545 309.252 -28.4383 639792001 640051201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2037.0-2826 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   766.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             328.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   829 sec.
    Turnaround time :                            873 sec.

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

