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


Performing analysis on: 4FGL_J2037.0-2826_daily_bin1090
RA = 309.252, Dec = -28.4383
tmin = 521856001, tmax = 522115201
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='75152', job_status='RUN', time_executed='2021-09-25 13:55:25.811458', time_epoch_executed='1632603325.81' WHERE source_name='4FGL J2037.0-2826' and cadence='daily' and bin_id='1090'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/75152

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/75152/ft1_4FGL_J2037.0-2826_daily_bin1090.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/75152/ft2_4FGL_J2037.0-2826_daily_bin1090.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/75152/ft1_4FGL_J2037.0-2826_daily_bin1090.fits outfile=/scratch/kocevski/75152/ft1_filteredMKT_4FGL_J2037.0-2826_daily_bin1090.fits ra=309.252 dec=-28.4383 rad=12.0 tmin=521856001.0 tmax=522115201.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 4.02
user 3.77
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/75152/ft2_4FGL_J2037.0-2826_daily_bin1090.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/75152/ft1_filteredMKT_4FGL_J2037.0-2826_daily_bin1090.fits evtable="EVENTS" outfile="/scratch/kocevski/75152/ft1_filtered_4FGL_J2037.0-2826_daily_bin1090.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.59
user 0.40
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/75152/ft1_filtered_4FGL_J2037.0-2826_daily_bin1090.fits" evtable="EVENTS" scfile=/scratch/kocevski/75152/ft2_4FGL_J2037.0-2826_daily_bin1090.fits sctable="SC_DATA" outfile=/scratch/kocevski/75152/ltcube_521856001_522115201_4FGL_J2037.0-2826_daily_bin1090.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/75152/ft2_4FGL_J2037.0-2826_daily_bin1090.fits
.....................!
real 20.85
user 20.47
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/75152/ft1_filtered_4FGL_J2037.0-2826_daily_bin1090.fits evtable="EVENTS" scfile=/scratch/kocevski/75152/ft2_4FGL_J2037.0-2826_daily_bin1090.fits sctable="SC_DATA" expcube=/scratch/kocevski/75152/ltcube_521856001_522115201_4FGL_J2037.0-2826_daily_bin1090.fits outfile=/scratch/kocevski/75152/expmap_521856001_522115201_4FGL_J2037.0-2826_daily_bin1090.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/75152/ltcube_521856001_522115201_4FGL_J2037.0-2826_daily_bin1090.fits
.....................!
real 197.69
user 192.27
sys 4.91

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/75152/ft1_filtered_4FGL_J2037.0-2826_daily_bin1090.fits scfile=/scratch/kocevski/75152/ft2_4FGL_J2037.0-2826_daily_bin1090.fits outfile=/scratch/kocevski/75152/cmap_521856001_522115201_4FGL_J2037.0-2826_daily_bin1090.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.62
user 0.44
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/75152/ft1_filtered_4FGL_J2037.0-2826_daily_bin1090.fits scfile=/scratch/kocevski/75152/ft2_4FGL_J2037.0-2826_daily_bin1090.fits outfile=/scratch/kocevski/75152/cmap_HighResolution_521856001_522115201_4FGL_J2037.0-2826_daily_bin1090.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.59
user 0.43
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/75152/ft1_filtered_4FGL_J2037.0-2826_daily_bin1090.fits evtable="EVENTS" scfile=/scratch/kocevski/75152/ft2_4FGL_J2037.0-2826_daily_bin1090.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/75152/Model_4FGL_J2037.0-2826_daily_bin1090.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/75152/ft1_filtered_4FGL_J2037.0-2826_daily_bin1090.fits....................!
real 87.31
user 85.64
sys 1.45

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.241       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    11.284       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    15.387       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.9908       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.0049       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .93690       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0417       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=   10255.71     FROM MIGRAD    STATUS=CONVERGED    291 CALLS     1441 TOTAL
                     EDM=   .16E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.242        5.4145       -.12921E-06   -.18194E-03
   2  Prefactor     .10000E-03    8.1442       -.22616E-05** at limit **
   3  norm          11.284        9.4416       -.81579E-07   -.41332E-04
   4  Prefactor     .10000E-03    31.097        .43001E-04** at limit **
   5  norm          .10000E-03    4.7937       -.40813E-06** at limit **
   6  Prefactor     15.383        34.580       -.83464E-05   -.29998E-05
   7  Prefactor     .10000E-03    2.2762        .10351E-06** at limit **
   8  Prefactor     2.9908        2.7553       -.66040E-07   -.21011E-03
   9  Prefactor     .10000E-03    36.760       -.46695E-04** at limit **
  10  norm          5.0026        18.685       -.26634E-05    .30115E-05
  11  Prefactor     .10000E-03    7.9874        .31402E-05** at limit **
  12  Prefactor     .10000E-03    13.587       -.33713E-05** at limit **
  13  Prefactor     .10000E-03    1.5505       -.23337E-07** at limit **
  14  norm          .10000E-03    4.4020        .27343E-06** at limit **
  15  Normalizat    .93704        .20072        .56091E-06   -.46511E-04
  16  Prefactor     1.0417        .83586E-01    .13507E-06   -.59039E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.2416
  Prefactor  = 0.0001
  norm       = 11.2845
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 15.3826
  Prefactor  = 0.0001
  Prefactor  = 2.9908
  Prefactor  = 0.0001
  norm       = 5.00259
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.937042
  Prefactor  = 1.04169
 **********
 **   18 **HESSE 
 **********

 FCN=   10255.71     FROM HESSE     STATUS=OK           199 CALLS     1640 TOTAL
                     EDM=   .33E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.242        5.4189        .11008E-03   -1.4980    
   2  Prefactor     .10000E-03    8.1517        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          11.284        9.4489        .11926E-03   -1.5036    
   4  Prefactor     .10000E-03    31.124        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    4.8179        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     15.383        34.578        .10210E-03   -1.4923    
   7  Prefactor     .10000E-03    2.2973        .14910E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.9908        2.7498        .15695E-03   -1.5362    
   9  Prefactor     .10000E-03    36.773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.0026        18.687        .17975E-03   -1.5261    
  11  Prefactor     .10000E-03    8.0198        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    13.626        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.5558        .12313E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    4.4072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .93704        .23163        .39474E-03   -.95170    
  16  Prefactor     1.0417        .97305E-01    .15597E-03   -.91352    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.30008e-11
Minuit parameter uncertainties:
  1  5.41914
  2  1.22612e-06
  3  9.45015
  4  7.60817e-05
  5  4.09251e-06
  6  34.6234
  7  1.30997e-05
  8  2.74996
  9  5.21041e-05
  10  18.7089
  11  3.34079e-06
  12  3.70897e-06
  13  9.58858e-08
  14  7.85207e-07
  15  0.231878
  16  0.0973212
Done.

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

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  1.000e-04  1.310e-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:  1.042e+00  9.732e-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:  9.370e-01  2.319e-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: 6.71e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.24e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/75152/likelihoodResults_521856001_522115201_4FGL_J2037.0-2826_daily_bin1090.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) = 10255.7101974
delta logL = -0.0020743432724

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10255.7081231
delta logL = -3.92465153709e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5679       1.0000          .0000       10.000    
     3 'Normalizat'    .93701       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0417       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=   10255.71     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      206 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    393.81        .90712E-02** at limit **
   2  Index         2.5682        6.1112        .50000       -.17111E-05
   3  Normalizat    .93704        .96693E-01    .89136E-01   -.24193E-04
   4  Prefactor     1.0417        .39563E-01    .40421E-01   -.11806E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.56823
  Normalizat = 0.937042
  Prefactor  = 1.04169
 **********
 **   18 **HESSE 
 **********

 FCN=   10255.71     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .96E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.8432        .14910E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5682        6.2810        .50000       -.50791    
   3  Normalizat    .93704        .22939        .39474E-03   -.95170    
   4  Prefactor     1.0417        .95906E-01    .15597E-03   -.91352    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.56097e-12
Minuit parameter uncertainties:
  1  1.99086e-06
  2  4.86262
  3  0.229634
  4  0.0959221
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/75152': 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) = 10255.7081231
delta logL = 2.65572452918e-10

Extracting fit parameters...

4FGL J2037.0-2826
   Spectrum: PowerLaw
318    Prefactor:  1.000e-04  1.991e-06  1.000e-04  1.000e+04 ( 1.000e-12)
319        Index:  2.568e+00  4.863e+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.042e+00  9.592e-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:  9.370e-01  2.296e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/75152/cmap_HighResolution_521856001_522115201_4FGL_J2037.0-2826_daily_bin1090.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.24e-03', job_status='DONE', photon_flux_upper_limit='6.71e-08', time_completed='2021-09-25 14:07:21.898310', job_id='75152', GAL2='1.04', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1632604041.9', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='2.66e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.57' WHERE bin_id='1090' AND source_name='4FGL J2037.0-2826' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 14:07:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 75152: <4FGL_J2037.0-2826_daily_bin1090> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2037.0-2826_daily_bin1090 309.252 -28.4383 521856001 522115201 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.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             283.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   911 sec.
    Turnaround time :                            992 sec.

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

