/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 113 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 = 7461
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2037.0-2826_daily_bin1003
RA = 309.252, Dec = -28.4383
tmin = 499305601, tmax = 499564801
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='75014', job_status='RUN', time_executed='2021-09-25 13:53:45.901975', time_epoch_executed='1632603225.9' WHERE source_name='4FGL J2037.0-2826' and cadence='daily' and bin_id='1003'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/75014

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/75014/ft1_4FGL_J2037.0-2826_daily_bin1003.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/75014/ft2_4FGL_J2037.0-2826_daily_bin1003.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/75014/ft1_4FGL_J2037.0-2826_daily_bin1003.fits outfile=/scratch/kocevski/75014/ft1_filteredMKT_4FGL_J2037.0-2826_daily_bin1003.fits ra=309.252 dec=-28.4383 rad=12.0 tmin=499305601.0 tmax=499564801.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 5.45
user 5.19
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/75014/ft2_4FGL_J2037.0-2826_daily_bin1003.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/75014/ft1_filteredMKT_4FGL_J2037.0-2826_daily_bin1003.fits evtable="EVENTS" outfile="/scratch/kocevski/75014/ft1_filtered_4FGL_J2037.0-2826_daily_bin1003.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.53
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/75014/ft1_filtered_4FGL_J2037.0-2826_daily_bin1003.fits" evtable="EVENTS" scfile=/scratch/kocevski/75014/ft2_4FGL_J2037.0-2826_daily_bin1003.fits sctable="SC_DATA" outfile=/scratch/kocevski/75014/ltcube_499305601_499564801_4FGL_J2037.0-2826_daily_bin1003.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/75014/ft2_4FGL_J2037.0-2826_daily_bin1003.fits
.....................!
real 13.44
user 13.04
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/75014/ft1_filtered_4FGL_J2037.0-2826_daily_bin1003.fits evtable="EVENTS" scfile=/scratch/kocevski/75014/ft2_4FGL_J2037.0-2826_daily_bin1003.fits sctable="SC_DATA" expcube=/scratch/kocevski/75014/ltcube_499305601_499564801_4FGL_J2037.0-2826_daily_bin1003.fits outfile=/scratch/kocevski/75014/expmap_499305601_499564801_4FGL_J2037.0-2826_daily_bin1003.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/75014/ltcube_499305601_499564801_4FGL_J2037.0-2826_daily_bin1003.fits
.....................!
real 192.55
user 187.18
sys 4.86

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/75014/ft1_filtered_4FGL_J2037.0-2826_daily_bin1003.fits scfile=/scratch/kocevski/75014/ft2_4FGL_J2037.0-2826_daily_bin1003.fits outfile=/scratch/kocevski/75014/cmap_499305601_499564801_4FGL_J2037.0-2826_daily_bin1003.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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/75014/ft1_filtered_4FGL_J2037.0-2826_daily_bin1003.fits scfile=/scratch/kocevski/75014/ft2_4FGL_J2037.0-2826_daily_bin1003.fits outfile=/scratch/kocevski/75014/cmap_HighResolution_499305601_499564801_4FGL_J2037.0-2826_daily_bin1003.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.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/75014/ft1_filtered_4FGL_J2037.0-2826_daily_bin1003.fits evtable="EVENTS" scfile=/scratch/kocevski/75014/ft2_4FGL_J2037.0-2826_daily_bin1003.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/75014/Model_4FGL_J2037.0-2826_daily_bin1003.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/75014/ft1_filtered_4FGL_J2037.0-2826_daily_bin1003.fits.....................!
real 110.29
user 108.68
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/75014/ft1_filtered_4FGL_J2037.0-2826_daily_bin1003.fits', '/scratch/kocevski/75014/ft2_4FGL_J2037.0-2826_daily_bin1003.fits', expMap='/scratch/kocevski/75014/expmap_499305601_499564801_4FGL_J2037.0-2826_daily_bin1003.fits', expCube='/scratch/kocevski/75014/ltcube_499305601_499564801_4FGL_J2037.0-2826_daily_bin1003.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/75014/Model_4FGL_J2037.0-2826_daily_bin1003.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/75014/ft1_filtered_4FGL_J2037.0-2826_daily_bin1003.fits
Spacecraft file(s): /scratch/kocevski/75014/ft2_4FGL_J2037.0-2826_daily_bin1003.fits
Exposure map: /scratch/kocevski/75014/expmap_499305601_499564801_4FGL_J2037.0-2826_daily_bin1003.fits
Exposure cube: /scratch/kocevski/75014/ltcube_499305601_499564801_4FGL_J2037.0-2826_daily_bin1003.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/75014/Model_4FGL_J2037.0-2826_daily_bin1003.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) = 14021.4839461

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.4259       1.0000         .10000E-03   10000.    
     2 'Prefactor '    25.590       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.8582       1.0000         .10000E-03   10000.    
     5 'norm      '    14.246       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    17.040       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.6520       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10457E-02   1.0000         .10000E-03   10000.    
    10 'norm      '    5.7765       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    22.290       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.5385       1.0000         .10000E-03   10000.    
    14 'norm      '    .10064E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .78954       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0978       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=   14020.77     FROM MIGRAD    STATUS=CONVERGED    314 CALLS     1307 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.4239        2.6825        .55705E-06   -.35294E-02
   2  Prefactor     25.594        16.477       -.12254E-05   -.12591E-03
   3  norm          .10000E-03    2.0245       -.32156E-07** at limit **
   4  Prefactor     2.8514        99.054       -.55597E-05   -.22169E-04
   5  norm          14.243        9.9188       -.29540E-05   -.52364E-03
   6  Prefactor     .10000E-03    40.816        .42948E-06** at limit **
   7  Prefactor     17.040        5.8968       -.80228E-07   -.57314E-04
   8  Prefactor     1.6514        2.3365        .10812E-07   -.45234E-03
   9  Prefactor     .10000E-03    210.06       -.53691E-05** at limit **
  10  norm          5.7750        12.119       -.12796E-05   -.67671E-04
  11  Prefactor     .10000E-03    9.2412       -.44519E-07** at limit **
  12  Prefactor     22.285        26.480        .44490E-06    .22184E-04
  13  Prefactor     4.5387        5.3890        .32267E-06   -.22152E-04
  14  norm          .10000E-03    12.426        .70320E-07** at limit **
  15  Normalizat    .78948        .20118        .55846E-06    .36319E-04
  16  Prefactor     1.0979        .76637E-01    .13450E-06    .58209E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.42393
  Prefactor  = 25.5936
  norm       = 0.0001
  Prefactor  = 2.85137
  norm       = 14.243
  Prefactor  = 0.0001
  Prefactor  = 17.0398
  Prefactor  = 1.65137
  Prefactor  = 0.000100001
  norm       = 5.77495
  Prefactor  = 0.0001
  Prefactor  = 22.2851
  Prefactor  = 4.53873
  norm       = 0.0001
  Normalizat = 0.789477
  Prefactor  = 1.09788
 **********
 **   18 **HESSE 
 **********

 FCN=   14020.77     FROM HESSE     STATUS=OK           207 CALLS     1514 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.4239        4.5779        .79165E-03   -1.5201    
   2  Prefactor     25.594        16.490        .79189E-04   -1.4696    
   3  norm          .10000E-03    6.5369        .32600E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.8514        99.644        .24047E-03   -1.5370    
   5  norm          14.243        10.056        .10612E-03   -1.4953    
   6  Prefactor     .10000E-03    41.011        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     17.040        5.8999        .97025E-04   -1.4882    
   8  Prefactor     1.6514        2.3372        .20916E-03   -1.5451    
   9  Prefactor     .10000E-03    212.69        .20733E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.7750        12.128        .16711E-03   -1.5227    
  11  Prefactor     .10000E-03    9.2790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     22.285        26.473        .84840E-04   -1.4763    
  13  Prefactor     4.5387        5.3952        .18897E-03   -1.5282    
  14  norm          .10000E-03    12.587        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .78948        .22537        .46167E-03   -1.0046    
  16  Prefactor     1.0979        .87001E-01    .15655E-03   -.89534    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.36562e-09
Minuit parameter uncertainties:
  1  4.57811
  2  16.4927
  3  4.4114e-05
  4  33.7723
  5  10.0574
  6  8.50514e-05
  7  5.90009
  8  2.33733
  9  0.00103156
  10  12.1328
  11  6.70092e-06
  12  26.4869
  13  5.39579
  14  5.13999e-06
  15  0.225638
  16  0.0870119
Done.

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

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  1.704e+01  5.900e+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.098e+00  8.701e-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.895e-01  2.256e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 19.39
Ra Dec: 309.252 -28.438
Photon Index (Fixed Index): 2.57 +/- 0.00
Photon Flux (Fixed Index): 1.30e-07 +/- 4.50e-08
Energy Flux (Fixed Index): 3.52e-05 +/- 1.22e-05

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) = 14017.4845902
delta logL = 3.28755962776

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14017.4257335
delta logL = 3.34641629497

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.436       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8319       1.0000          .0000       10.000    
     3 'Normalizat'    .86372       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0806       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.

 FCN=   14017.43     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      222 TOTAL
                     EDM=   .74E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.441        7.0580        .22713E-02    .58664E-05
   2  Index         1.8322        .21847        .16089       -.11784E-03
   3  Normalizat    .86374        .19059        .99997E-01    .58423E-04
   4  Prefactor     1.0805        .74960E-01    .38377E-01   -.41260E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.4409
  Index      = 1.83223
  Normalizat = 0.863744
  Prefactor  = 1.08054
 **********
 **   18 **HESSE 
 **********

 FCN=   14017.43     FROM HESSE     STATUS=OK            33 CALLS      255 TOTAL
                     EDM=   .25E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.441        7.5925        .90851E-04   -1.4826    
   2  Index         1.8322        .25926        .64370E-02   -.68614    
   3  Normalizat    .86374        .21736        .44311E-03   -.97746    
   4  Prefactor     1.0805        .85706E-01    .15763E-03   -.90091    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.48441e-12
Minuit parameter uncertainties:
  1  7.59283
  2  0.259457
  3  0.217578
  4  0.0857171
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/75014': 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) = 14017.4257327
delta logL = 3.34641706499

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  1.944e+01  7.593e+00  1.000e-04  1.000e+04 ( 1.000e-12)
319        Index:  1.832e+00  2.595e-01  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.081e+00  8.572e-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:  8.637e-01  2.176e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 25.98
Ra Dec: 309.252 -28.438
Photon Index (Free Index): 1.83 +/- 0.26
Photon Flux (Free Index): 7.08e-08 +/- 3.45e-08
Energy Flux (Free Index): 7.70e-05 +/- 4.34e-05

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/75014/cmap_HighResolution_499305601_499564801_4FGL_J2037.0-2826_daily_bin1003.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.30e-07', energy_flux2='7.70e-05', photon_flux_error='4.50e-08', dlogl='3.35e+00', energy_flux='3.52e-05', photon_flux2='7.08e-08', job_status='DONE', time_completed='2021-09-25 14:05:45.663360', photon_index_error2='0.26', photon_index2='1.83', ts='19.39', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', energy_flux_error2='4.34e-05', EG='0.79', time_epoch_completed='1632603945.66', return_code='0', job_id='75014', GAL2='1.08', EG2='0.86', return_code2='0', energy_flux_error='1.22e-05', photon_flux_error2='3.45e-08', ts2='25.98', photon_index='2.57' WHERE bin_id='1003' AND source_name='4FGL J2037.0-2826' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 14:05:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 75014: <4FGL_J2037.0-2826_daily_bin1003> in cluster <slac> Done

Job <4FGL_J2037.0-2826_daily_bin1003> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Sep 25 13:50:38 2021
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 13:51:43 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 25 13:51:43 2021
Terminated at Sat Sep 25 14:05:46 2021
Results reported at Sat Sep 25 14:05:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2037.0-2826_daily_bin1003 309.252 -28.4383 499305601 499564801 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 :                                   715.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             279.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   845 sec.
    Turnaround time :                            908 sec.

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

