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


Performing analysis on: 4FGL_J2037.0-2826_daily_bin1350
RA = 309.252, Dec = -28.4383
tmin = 589248001, tmax = 589507201
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='77893', job_status='RUN', time_executed='2021-09-25 14:03:02.199250', time_epoch_executed='1632603782.2' WHERE source_name='4FGL J2037.0-2826' and cadence='daily' and bin_id='1350'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/77893

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/77893/ft1_4FGL_J2037.0-2826_daily_bin1350.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/77893/ft2_4FGL_J2037.0-2826_daily_bin1350.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/77893/ft1_4FGL_J2037.0-2826_daily_bin1350.fits outfile=/scratch/kocevski/77893/ft1_filteredMKT_4FGL_J2037.0-2826_daily_bin1350.fits ra=309.252 dec=-28.4383 rad=12.0 tmin=589248001.0 tmax=589507201.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.17
user 2.95
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/77893/ft2_4FGL_J2037.0-2826_daily_bin1350.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/77893/ft1_filteredMKT_4FGL_J2037.0-2826_daily_bin1350.fits evtable="EVENTS" outfile="/scratch/kocevski/77893/ft1_filtered_4FGL_J2037.0-2826_daily_bin1350.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/77893/ft1_filtered_4FGL_J2037.0-2826_daily_bin1350.fits" evtable="EVENTS" scfile=/scratch/kocevski/77893/ft2_4FGL_J2037.0-2826_daily_bin1350.fits sctable="SC_DATA" outfile=/scratch/kocevski/77893/ltcube_589248001_589507201_4FGL_J2037.0-2826_daily_bin1350.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/77893/ft2_4FGL_J2037.0-2826_daily_bin1350.fits
.....................!
real 16.41
user 16.02
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/77893/ft1_filtered_4FGL_J2037.0-2826_daily_bin1350.fits evtable="EVENTS" scfile=/scratch/kocevski/77893/ft2_4FGL_J2037.0-2826_daily_bin1350.fits sctable="SC_DATA" expcube=/scratch/kocevski/77893/ltcube_589248001_589507201_4FGL_J2037.0-2826_daily_bin1350.fits outfile=/scratch/kocevski/77893/expmap_589248001_589507201_4FGL_J2037.0-2826_daily_bin1350.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/77893/ltcube_589248001_589507201_4FGL_J2037.0-2826_daily_bin1350.fits
.....................!
real 192.81
user 186.74
sys 5.59

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/77893/ft1_filtered_4FGL_J2037.0-2826_daily_bin1350.fits scfile=/scratch/kocevski/77893/ft2_4FGL_J2037.0-2826_daily_bin1350.fits outfile=/scratch/kocevski/77893/cmap_589248001_589507201_4FGL_J2037.0-2826_daily_bin1350.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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/77893/ft1_filtered_4FGL_J2037.0-2826_daily_bin1350.fits scfile=/scratch/kocevski/77893/ft2_4FGL_J2037.0-2826_daily_bin1350.fits outfile=/scratch/kocevski/77893/cmap_HighResolution_589248001_589507201_4FGL_J2037.0-2826_daily_bin1350.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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/77893/ft1_filtered_4FGL_J2037.0-2826_daily_bin1350.fits evtable="EVENTS" scfile=/scratch/kocevski/77893/ft2_4FGL_J2037.0-2826_daily_bin1350.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/77893/Model_4FGL_J2037.0-2826_daily_bin1350.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/77893/ft1_filtered_4FGL_J2037.0-2826_daily_bin1350.fits.....................!
real 35.08
user 33.81
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10765E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    84.024       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10755E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    42.031       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10634E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    247.90       1.0000         .10000E-03   10000.    
    10 'norm      '    .17768E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    64.172       1.0000         .10000E-03   10000.    
    12 'Prefactor '    38.636       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11971E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10427E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.7552       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .71255       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=   2751.929     FROM MIGRAD    STATUS=CONVERGED    286 CALLS     1634 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.3821       -.11141E-05** at limit **
   2  Prefactor     .10000E-03    70.760       -.23490E-05** at limit **
   3  norm          84.067        32.165        .30825E-06    .12568E-03
   4  Prefactor     .10000E-03    46.787       -.66789E-06** at limit **
   5  norm          42.033        26.767        .81320E-06    .76699E-04
   6  Prefactor     .10000E-03    65.444        .65229E-08** at limit **
   7  Prefactor     .10000E-03    5.5902        .41990E-06** at limit **
   8  Prefactor     .10000E-03    11.877       -.75395E-06** at limit **
   9  Prefactor     247.98        275.05        .26450E-05    .11682E-04
  10  norm          .10000E-03    41.352        .80078E-06** at limit **
  11  Prefactor     64.316        95.642        .25962E-05    .61115E-04
  12  Prefactor     38.706        127.01        .42719E-05    .23998E-04
  13  Prefactor     .10000E-03    18.974        .13759E-05** at limit **
  14  norm          .10000E-03    79.873        .28133E-07** at limit **
  15  Normalizat    1.7532        .60991       -.15498E-04    .85598E-04
  16  Prefactor     .71316        .19141        .72359E-05    .73074E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 84.0671
  Prefactor  = 0.0001
  norm       = 42.0333
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 247.983
  norm       = 0.0001
  Prefactor  = 64.3162
  Prefactor  = 38.7064
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.75324
  Prefactor  = 0.713158
 **********
 **   18 **HESSE 
 **********

 FCN=   2751.929     FROM HESSE     STATUS=OK           191 CALLS     1825 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.4871        .10806E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    71.810        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          84.067        32.221        .21911E-03   -1.3872    
   4  Prefactor     .10000E-03    46.838        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          42.033        26.795        .61833E-04   -1.4410    
   6  Prefactor     .10000E-03    65.490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.6048        .12127E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    12.076        .17679E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     247.98        274.96        .12863E-03   -1.2545    
  10  norm          .10000E-03    41.401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     64.316        95.893        .25048E-03   -1.4102    
  12  Prefactor     38.706        127.02        .64482E-04   -1.4463    
  13  Prefactor     .10000E-03    19.104        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    79.893        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.7532        .60885        .38280E-03   -.70890    
  16  Prefactor     .71316        .19249        .18560E-03   -1.0301    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.49505e-10
Minuit parameter uncertainties:
  1  6.77109e-05
  2  0.000668985
  3  32.2279
  4  6.2881e-05
  5  26.8026
  6  0.000115003
  7  3.22102e-05
  8  7.05265e-05
  9  276.411
  10  9.21096e-05
  11  96.1248
  12  127.922
  13  0.000182432
  14  9.65763e-05
  15  0.611496
  16  0.192669
Done.

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

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  1.000e-04  3.221e-05  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:  7.132e-01  1.927e-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:  1.753e+00  6.115e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/77893/likelihoodResults_589248001_589507201_4FGL_J2037.0-2826_daily_bin1350.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): 102
logL (Free Index) = 2751.92999643
delta logL = -0.000836561683172

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2751.92915983
delta logL = 3.66826498066e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5566       1.0000          .0000       10.000    
     3 'Normalizat'    1.7532       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71317       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=   2751.929     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      253 TOTAL
                     EDM=   .98E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    38.242        .12186E-01** at limit **
   2  Index         2.1592        5.5314        .50000       -.58094E-08
   3  Normalizat    1.7532        .31647E-01    .38282E-03   -.10349E-04
   4  Prefactor     .71316        .10425E-01    .18559E-03   -.17979E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.15922
  Normalizat = 1.75324
  Prefactor  = 0.713159
 **********
 **   18 **HESSE 
 **********

 FCN=   2751.929     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      282 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    338.84        .12739E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1592        8.9178        .50000       -.60426    
   3  Normalizat    1.7532        .10033        .15313E-04   -.70891    
   4  Prefactor     .71316        .33052E-01    .74237E-05   -1.0301    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.78898e-10
Minuit parameter uncertainties:
  1  0.000346156
  2  1180.09
  3  0.100337
  4  0.0330527
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/77893': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2751.92915903
delta logL = 8.36223534861e-07

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  1.000e-04  3.462e-04  1.000e-04  1.000e+04 ( 1.000e-12)
319        Index:  2.159e+00  1.180e+03  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:  7.132e-01  3.305e-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:  1.753e+00  1.003e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/77893/cmap_HighResolution_589248001_589507201_4FGL_J2037.0-2826_daily_bin1350.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.76e-02', job_status='DONE', photon_flux_upper_limit='2.25e-07', time_completed='2021-09-25 14:10:13.158113', job_id='77893', GAL2='0.71', fit_tolerance='1e-08', EG2='1.75', EG='1.75', time_epoch_completed='1632604213.16', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='8.36e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1350' AND source_name='4FGL J2037.0-2826' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 14:10:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0298>
Subject: Job 77893: <4FGL_J2037.0-2826_daily_bin1350> in cluster <slac> Done

Job <4FGL_J2037.0-2826_daily_bin1350> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Sep 25 14:00:31 2021
Job was executed on host(s) <bullet0298>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 14:00:52 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:00:52 2021
Terminated at Sat Sep 25 14:10:13 2021
Results reported at Sat Sep 25 14:10:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2037.0-2826_daily_bin1350 309.252 -28.4383 589248001 589507201 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 :                                   424.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             272.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   561 sec.
    Turnaround time :                            582 sec.

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

