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


Performing analysis on: 4FGL_J2037.0-2826_daily_bin1636
RA = 309.252, Dec = -28.4383
tmin = 663379201, tmax = 663638401
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='952818', job_status='RUN', time_executed='2022-01-12 01:24:00.037711', time_epoch_executed='1641979440.04' WHERE source_name='4FGL J2037.0-2826' and cadence='daily' and bin_id='1636'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/952818

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/952818/ft1_4FGL_J2037.0-2826_daily_bin1636.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/952818/ft2_4FGL_J2037.0-2826_daily_bin1636.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/952818/ft1_4FGL_J2037.0-2826_daily_bin1636.fits outfile=/scratch/kocevski/952818/ft1_filteredMKT_4FGL_J2037.0-2826_daily_bin1636.fits ra=309.252 dec=-28.4383 rad=12.0 tmin=663379201.0 tmax=663638401.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 2.60
user 2.35
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/952818/ft1_filtered_4FGL_J2037.0-2826_daily_bin1636.fits" evtable="EVENTS" scfile=/scratch/kocevski/952818/ft2_4FGL_J2037.0-2826_daily_bin1636.fits sctable="SC_DATA" outfile=/scratch/kocevski/952818/ltcube_663379201_663638401_4FGL_J2037.0-2826_daily_bin1636.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/952818/ft2_4FGL_J2037.0-2826_daily_bin1636.fits
.....................!
real 13.79
user 13.42
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/952818/ft1_filtered_4FGL_J2037.0-2826_daily_bin1636.fits evtable="EVENTS" scfile=/scratch/kocevski/952818/ft2_4FGL_J2037.0-2826_daily_bin1636.fits sctable="SC_DATA" expcube=/scratch/kocevski/952818/ltcube_663379201_663638401_4FGL_J2037.0-2826_daily_bin1636.fits outfile=/scratch/kocevski/952818/expmap_663379201_663638401_4FGL_J2037.0-2826_daily_bin1636.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/952818/ltcube_663379201_663638401_4FGL_J2037.0-2826_daily_bin1636.fits
.....................!
real 191.74
user 186.25
sys 4.94

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/952818/ft1_filtered_4FGL_J2037.0-2826_daily_bin1636.fits scfile=/scratch/kocevski/952818/ft2_4FGL_J2037.0-2826_daily_bin1636.fits outfile=/scratch/kocevski/952818/cmap_663379201_663638401_4FGL_J2037.0-2826_daily_bin1636.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/952818/ft1_filtered_4FGL_J2037.0-2826_daily_bin1636.fits scfile=/scratch/kocevski/952818/ft2_4FGL_J2037.0-2826_daily_bin1636.fits outfile=/scratch/kocevski/952818/cmap_HighResolution_663379201_663638401_4FGL_J2037.0-2826_daily_bin1636.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.54
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/952818/ft1_filtered_4FGL_J2037.0-2826_daily_bin1636.fits evtable="EVENTS" scfile=/scratch/kocevski/952818/ft2_4FGL_J2037.0-2826_daily_bin1636.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/952818/Model_4FGL_J2037.0-2826_daily_bin1636.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/952818/ft1_filtered_4FGL_J2037.0-2826_daily_bin1636.fits......................!
real 30.40
user 29.09
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10316E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .25177E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    101.01       1.0000         .10000E-03   10000.    
     5 'norm      '    .11214E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    46.380       1.0000         .10000E-03   10000.    
     7 'Prefactor '    24.295       1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.024       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .17216E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11028E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    53.751       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.9338       1.0000         .10000E-03   10000.    
    14 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .91797       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.2528       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=   2214.894     FROM MIGRAD    STATUS=CONVERGED    282 CALLS     1412 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    51.371        .87699E-06** at limit **
   2  Prefactor     .10000E-03    211.65       -.10445E-06** at limit **
   3  norm          .10000E-03    158.01        .95527E-06** at limit **
   4  Prefactor     101.07        172.86        .38407E-05    .64448E-05
   5  norm          .10000E-03    32.037        .16706E-05** at limit **
   6  Prefactor     46.940        194.84        .82575E-06    .51102E-04
   7  Prefactor     24.263        31.989        .16244E-05   -.51400E-04
   8  Prefactor     16.023        15.655        .54253E-06   -.29427E-04
   9  Prefactor     .10000E-03    186.50       -.55059E-06** at limit **
  10  norm          .10000E-03    40.675       -.45554E-06** at limit **
  11  Prefactor     .10000E-03    69.442       -.71906E-06** at limit **
  12  Prefactor     53.665        47.095        .93930E-06   -.76029E-04
  13  Prefactor     2.9242        29.425        .23234E-04   -.44747E-04
  14  norm          .10000E-03    11.613       -.48507E-07** at limit **
  15  Normalizat    .91920        .56811       -.29078E-05   -.86791E-04
  16  Prefactor     1.2522        .23715       -.39530E-05   -.73754E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 101.068
  norm       = 0.0001
  Prefactor  = 46.9398
  Prefactor  = 24.263
  Prefactor  = 16.023
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 53.6649
  Prefactor  = 2.92415
  norm       = 0.0001
  Normalizat = 0.919203
  Prefactor  = 1.25223
 **********
 **   18 **HESSE 
 **********

 FCN=   2214.894     FROM HESSE     STATUS=OK           199 CALLS     1611 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    51.596        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    211.76        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    158.19        .21462E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     101.07        172.91        .20002E-03   -1.3694    
   5  norm          .10000E-03    32.108        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     46.940        191.52        .29438E-03   -1.4337    
   7  Prefactor     24.263        31.976        .81268E-04   -1.4722    
   8  Prefactor     16.023        15.654        .10005E-03   -1.4907    
   9  Prefactor     .10000E-03    186.61        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    40.698        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    69.761        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     53.665        47.137        .27354E-03   -1.4242    
  13  Prefactor     2.9242        30.350        .11857E-02   -1.5366    
  14  norm          .10000E-03    11.627        .15666E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .91920        .62635        .47037E-03   -.95789    
  16  Prefactor     1.2522        .26296        .18309E-03   -.84739    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.11784e-10
Minuit parameter uncertainties:
  1  0.000128978
  2  0.000267113
  3  0.000409993
  4  173.784
  5  3.65391e-05
  6  190.699
  7  31.9984
  8  15.658
  9  0.00016186
  10  8.50432e-05
  11  0.000151292
  12  47.1697
  13  18.8533
  14  9.86871e-06
  15  0.631421
  16  0.26324
Done.

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

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  2.426e+01  3.200e+01  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.252e+00  2.632e-01  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:  9.192e-01  6.314e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.80
Ra Dec: 309.252 -28.438
Photon Flux Upper Limit: 6.59e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.15e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/952818/likelihoodResults_663379201_663638401_4FGL_J2037.0-2826_daily_bin1636.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) = 2214.68454982
delta logL = 0.209247739583

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2214.6726333
delta logL = 0.221164260723

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2214.673     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      303 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.025        40.075        .11095E-03   -.21067E-03
   2  Index         3.3797        2.0830        .53690E-02   -.48941E-04
   3  Normalizat    .83022        .59577        .49187E-03    .94337E-04
   4  Prefactor     1.2796        .26707        .18131E-03    .12603E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.0245
  Index      = 3.37974
  Normalizat = 0.83022
  Prefactor  = 1.27955
 **********
 **   18 **HESSE 
 **********

 FCN=   2214.673     FROM HESSE     STATUS=OK            25 CALLS      328 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.025        29.354        .44381E-05   -1.4986    
   2  Index         3.3797        1.5475        .21476E-03   -.33001    
   3  Normalizat    .83022        .59209        .19675E-04   -.98957    
   4  Prefactor     1.2796        .26338        .72523E-05   -.83917    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.4333e-10
Minuit parameter uncertainties:
  1  29.3861
  2  1.57655
  3  0.596786
  4  0.263654
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/952818': 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) = 2214.67262409
delta logL = 0.221173462433

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  1.302e+01  2.939e+01  1.000e-04  1.000e+04 ( 1.000e-12)
319        Index:  3.380e+00  1.577e+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.280e+00  2.637e-01  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.302e-01  5.968e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.29
Ra Dec: 309.252 -28.438
Photon Index (Free Index): 3.38 +/- 1.58
Photon Flux (Free Index): 2.98e-07 +/- 3.07e-07
Energy Flux (Free Index): 5.14e-05 +/- 5.26e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/952818/cmap_HighResolution_663379201_663638401_4FGL_J2037.0-2826_daily_bin1636.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.15e-02', comment='SUCCESS', energy_flux2='5.14e-05', dlogl='2.21e-01', photon_flux2='2.98e-07', job_status='DONE', time_completed='2022-01-12 01:30:27.944310', photon_index_error2='1.58', photon_index2='3.38', ts='0.80', fit_tolerance='1e-08', GAL='1.25', photon_index_error='0.00', photon_flux_upper_limit='6.59e-07', energy_flux_error2='5.26e-05', EG='0.92', time_epoch_completed='1641979827.94', return_code='0', job_id='952818', GAL2='1.28', EG2='0.83', return_code2='0', photon_flux_error2='3.07e-07', ts2='1.29', photon_index='2.57' WHERE bin_id='1636' AND source_name='4FGL J2037.0-2826' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 12 01:30:27 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 952818: <4FGL_J2037.0-2826_daily_bin1636> in cluster <slac> Done

Job <4FGL_J2037.0-2826_daily_bin1636> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Jan 12 01:20:20 2022
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 12 01:22:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 12 01:22:20 2022
Terminated at Wed Jan 12 01:30:28 2022
Results reported at Wed Jan 12 01:30:28 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2037.0-2826_daily_bin1636 309.252 -28.4383 663379201 663638401 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 :                                   390.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             289.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   490 sec.
    Turnaround time :                            608 sec.

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

