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


Performing analysis on: 4FGL_J0800.4-2257_daily_bin924
RA = 120.111, Dec = -22.9572
tmin = 478828801, tmax = 479088001
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='34158', job_status='RUN', time_executed='2021-08-28 20:55:40.007068', time_epoch_executed='1630209340.01' WHERE source_name='4FGL J0800.4-2257' and cadence='daily' and bin_id='924'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/34158

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/34158/ft1_4FGL_J0800.4-2257_daily_bin924.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/34158/ft2_4FGL_J0800.4-2257_daily_bin924.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/34158/ft1_4FGL_J0800.4-2257_daily_bin924.fits outfile=/scratch/kocevski/34158/ft1_filteredMKT_4FGL_J0800.4-2257_daily_bin924.fits ra=120.111 dec=-22.9572 rad=12.0 tmin=478828801.0 tmax=479088001.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.74
user 3.25
sys 0.42

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/34158/ft2_4FGL_J0800.4-2257_daily_bin924.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/34158/ft2_4FGL_J0800.4-2257_daily_bin924.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/34158/ft1_filteredMKT_4FGL_J0800.4-2257_daily_bin924.fits evtable="EVENTS" outfile="/scratch/kocevski/34158/ft1_filtered_4FGL_J0800.4-2257_daily_bin924.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.79
user 0.34
sys 0.36

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/34158/ft1_filtered_4FGL_J0800.4-2257_daily_bin924.fits" evtable="EVENTS" scfile=/scratch/kocevski/34158/ft2_4FGL_J0800.4-2257_daily_bin924.fits sctable="SC_DATA" outfile=/scratch/kocevski/34158/ltcube_478828801_479088001_4FGL_J0800.4-2257_daily_bin924.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/34158/ft2_4FGL_J0800.4-2257_daily_bin924.fits
.....................!
real 12.39
user 11.77
sys 0.53

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/34158/ft1_filtered_4FGL_J0800.4-2257_daily_bin924.fits evtable="EVENTS" scfile=/scratch/kocevski/34158/ft2_4FGL_J0800.4-2257_daily_bin924.fits sctable="SC_DATA" expcube=/scratch/kocevski/34158/ltcube_478828801_479088001_4FGL_J0800.4-2257_daily_bin924.fits outfile=/scratch/kocevski/34158/expmap_478828801_479088001_4FGL_J0800.4-2257_daily_bin924.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/34158/ltcube_478828801_479088001_4FGL_J0800.4-2257_daily_bin924.fits
.....................!
real 190.71
user 185.13
sys 5.17

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
Extended source Puppis A in ROI with RadialDisk spatial model.
Added 161 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0800.4-2257 @ 120.111 -22.9572

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/34158/ft1_filtered_4FGL_J0800.4-2257_daily_bin924.fits scfile=/scratch/kocevski/34158/ft2_4FGL_J0800.4-2257_daily_bin924.fits outfile=/scratch/kocevski/34158/cmap_478828801_479088001_4FGL_J0800.4-2257_daily_bin924.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=120.111 yref=-22.9572 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.76
user 0.38
sys 0.36

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/34158/ft1_filtered_4FGL_J0800.4-2257_daily_bin924.fits scfile=/scratch/kocevski/34158/ft2_4FGL_J0800.4-2257_daily_bin924.fits outfile=/scratch/kocevski/34158/cmap_HighResolution_478828801_479088001_4FGL_J0800.4-2257_daily_bin924.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=120.111 yref=-22.9572 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.76
user 0.38
sys 0.36

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/34158/ft1_filtered_4FGL_J0800.4-2257_daily_bin924.fits evtable="EVENTS" scfile=/scratch/kocevski/34158/ft2_4FGL_J0800.4-2257_daily_bin924.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/34158/Model_4FGL_J0800.4-2257_daily_bin924.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
adding source Puppis A
Working on...
/scratch/kocevski/34158/ft1_filtered_4FGL_J0800.4-2257_daily_bin924.fits.....................!
real 256.16
user 254.18
sys 1.45

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/34158/ft1_filtered_4FGL_J0800.4-2257_daily_bin924.fits', '/scratch/kocevski/34158/ft2_4FGL_J0800.4-2257_daily_bin924.fits', expMap='/scratch/kocevski/34158/expmap_478828801_479088001_4FGL_J0800.4-2257_daily_bin924.fits', expCube='/scratch/kocevski/34158/ltcube_478828801_479088001_4FGL_J0800.4-2257_daily_bin924.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/34158/Model_4FGL_J0800.4-2257_daily_bin924.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0800.4-2257'

4FGL J0800.4-2257
   Spectrum: LogParabola
252         norm:  6.668e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
253        alpha:  2.315e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
254         beta:  4.024e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
255           Eb:  1.113e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/34158/ft1_filtered_4FGL_J0800.4-2257_daily_bin924.fits
Spacecraft file(s): /scratch/kocevski/34158/ft2_4FGL_J0800.4-2257_daily_bin924.fits
Exposure map: /scratch/kocevski/34158/expmap_478828801_479088001_4FGL_J0800.4-2257_daily_bin924.fits
Exposure cube: /scratch/kocevski/34158/ltcube_478828801_479088001_4FGL_J0800.4-2257_daily_bin924.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/34158/Model_4FGL_J0800.4-2257_daily_bin924.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) = 18609.8770445

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5630       1.0000         .10000E-03   10000.    
     2 'norm      '    .63663       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    6.4051       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.9672       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .34653       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    18.645       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Normalizat'    1.0609       1.0000         .10000E-01   10.000    
    12 'Prefactor '    1.0955       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5500E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   18609.85     FROM MIGRAD    STATUS=CONVERGED    206 CALLS      869 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5586        10.780       -.56113E-05    .17278E-05
   2  norm          .63282        3.3844        .81049E-06   -.57238E-03
   3  norm          .10000E-03    1.0927        .10506E-07** at limit **
   4  norm          6.4063        47.460        .41027E-05   -.10123E-05
   5  Prefactor     1.9675        5.4453        .78348E-06   -.25060E-04
   6  Prefactor     .36315        .52399       -.16900E-06   -.86484E-04
   7  norm          .10000E-03    14.179        .28402E-06** at limit **
   8  norm          .10000E-03    1.3796        .96381E-07** at limit **
   9  norm          18.645        16.697        .61625E-07    .39076E-05
  10  norm          .10000E-03    4.6235       -.44046E-07** at limit **
  11  Normalizat    1.0609        .24941       -.30942E-06   -.34407E-04
  12  Prefactor     1.0955        .43894E-01    .13534E-06   -.20620E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.55857
  norm       = 0.632818
  norm       = 0.0001
  norm       = 6.40627
  Prefactor  = 1.96754
  Prefactor  = 0.363145
  norm       = 0.0001
  norm       = 0.0001
  norm       = 18.645
  norm       = 0.0001
  Normalizat = 1.06087
  Prefactor  = 1.09553
 **********
 **   18 **HESSE 
 **********

 FCN=   18609.85     FROM HESSE     STATUS=OK           133 CALLS     1002 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5586        10.827        .21411E-03   -1.5331    
   2  norm          .63282        15.762        .46356E-02   -1.5549    
   3  norm          .10000E-03    1.0986        .13925E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.4063        47.463        .15859E-03   -1.5202    
   5  Prefactor     1.9675        5.4721        .14784E-02   -1.5427    
   6  Prefactor     .36315        5.1434        .21255E-02   -1.5587    
   7  norm          .10000E-03    14.208        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.3919        .15644E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          18.645        16.693        .92756E-04   -1.4844    
  10  norm          .10000E-03    4.6961        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.0609        .25330        .73325E-03   -.91018    
  12  Prefactor     1.0955        .45157E-01    .12745E-03   -.89610    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.04157e-08
Minuit parameter uncertainties:
  1  10.8333
  2  6.31782
  3  6.06062e-07
  4  34.9134
  5  5.47347
  6  2.73326
  7  3.48547e-06
  8  3.75853e-07
  9  16.6973
  10  2.17954e-07
  11  0.253586
  12  0.0451583
Done.

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

Extracting fit parameters...

4FGL J0800.4-2257
   Spectrum: LogParabola
252         norm:  6.406e+00  3.491e+01  1.000e-04  1.000e+04 ( 1.000e-13)
253        alpha:  2.315e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
254         beta:  4.024e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
255           Eb:  1.113e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
543    Prefactor:  1.096e+00  4.516e-02  0.000e+00  1.000e+01 ( 1.000e+00)
544        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
545        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  1.061e+00  2.536e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.04
Ra Dec: 120.111 -22.957
Photon Flux Upper Limit: 7.25e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.74e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/34158/likelihoodResults_478828801_479088001_4FGL_J0800.4-2257_daily_bin924.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) = 18609.5979479
delta logL = 0.253945810189

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 18609.5159544
delta logL = 0.335939346463

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1714       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.5406       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0122       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0978       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5500E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   18609.52     FROM MIGRAD    STATUS=FAILED       101 CALLS      288 TOTAL
                     EDM=   .15E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1461        156.56        .11943E-02   -.83102E-03
   2  alpha         4.5468        2.5863        .74320E-01    .60375E-03
   3  Normalizat    1.0123        .18688        .74812E-03   -.40483E-04
   4  Prefactor     1.0978        .32998E-01    .12731E-03   -.45006E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   18609.52     FROM SIMPLEX   STATUS=UNCHANGED     86 CALLS      374 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1461        156.56        .15894E-03   -.83102E-03
   2  alpha         4.5468        2.5863        .50929E-02    .60375E-03
   3  Normalizat    1.0123        .18688        .27649E-03   -.40483E-04
   4  Prefactor     1.0978        .32998E-01    .24182E-04   -.45006E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   18609.52     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      405 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1462        169.70        .47772E-04   -.79008E-03
   2  alpha         4.5468        2.5734        .14864E-01   -.31763E-04
   3  Normalizat    1.0123        .25887        .29925E-04   -.36167E-04
   4  Prefactor     1.0978        .45688E-01    .50925E-05   -.40184E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.14624
  alpha      = 4.54677
  Normalizat = 1.01229
  Prefactor  = 1.09782
 **********
 **   18 **HESSE 
 **********

 FCN=   18609.52     FROM HESSE     STATUS=OK            23 CALLS      428 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1462        9.5563        .19109E-05   -1.5415    
   2  alpha         4.5468        4.1758        .59456E-03    .95916    
   3  Normalizat    1.0123        .25613        .59850E-05   -.92620    
   4  Prefactor     1.0978        .44624E-01    .10185E-05   -.89536    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30424e-10
Minuit parameter uncertainties:
  1  9.0598
  2  2.16513
  3  0.256443
  4  0.0446254
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/34158': 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) = 18609.5159499
delta logL = 0.335943806265

Extracting fit parameters...

4FGL J0800.4-2257
   Spectrum: LogParabola
252         norm:  2.146e+00  9.060e+00  1.000e-04  1.000e+04 ( 1.000e-13)
253        alpha:  4.547e+00  2.165e+00  0.000e+00  5.000e+00 ( 1.000e+00)
254         beta:  4.024e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
255           Eb:  1.113e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
543    Prefactor:  1.098e+00  4.463e-02  0.000e+00  1.000e+01 ( 1.000e+00)
544        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
545        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  1.012e+00  2.564e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
Ra Dec: 120.111 -22.957

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/34158/cmap_HighResolution_478828801_479088001_4FGL_J0800.4-2257_daily_bin924.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.74e-05', job_status='DONE', photon_flux_upper_limit='7.25e-08', time_completed='2021-08-28 21:11:03.704475', job_id='34158', GAL2='1.10', fit_tolerance='1e-08', EG2='1.01', EG='1.06', time_epoch_completed='1630210263.7', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='3.36e-01', ts2='0.74', photon_index_error='0.00', photon_index='2.31' WHERE bin_id='924' AND source_name='4FGL J0800.4-2257' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 28 21:11:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 34158: <4FGL_J0800.4-2257_daily_bin924> in cluster <slac> Done

Job <4FGL_J0800.4-2257_daily_bin924> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 28 20:55:19 2021
Job was executed on host(s) <bullet0052>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 28 20:55:20 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 28 20:55:20 2021
Terminated at Sat Aug 28 21:11:04 2021
Results reported at Sat Aug 28 21:11:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0800.4-2257_daily_bin924 120.111 -22.9572 478828801 479088001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0800.4-2257 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   923.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             361.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   944 sec.
    Turnaround time :                            945 sec.

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

