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


Performing analysis on: 4FGL_J0457.0-2324_daily_bin860
RA = 74.2608, Dec = -23.4149
tmin = 462240001, tmax = 462499201
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='891107', job_status='RUN', time_executed='2021-08-21 16:18:46.674432', time_epoch_executed='1629587926.67' WHERE source_name='4FGL J0457.0-2324' and cadence='daily' and bin_id='860'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/891107

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/891107/ft1_4FGL_J0457.0-2324_daily_bin860.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/891107/ft2_4FGL_J0457.0-2324_daily_bin860.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/891107/ft1_4FGL_J0457.0-2324_daily_bin860.fits outfile=/scratch/kocevski/891107/ft1_filteredMKT_4FGL_J0457.0-2324_daily_bin860.fits ra=74.2608 dec=-23.4149 rad=12.0 tmin=462240001.0 tmax=462499201.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 12.91
user 3.41
sys 9.44

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/891107/ft2_4FGL_J0457.0-2324_daily_bin860.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/891107/ft2_4FGL_J0457.0-2324_daily_bin860.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/891107/ft1_filteredMKT_4FGL_J0457.0-2324_daily_bin860.fits evtable="EVENTS" outfile="/scratch/kocevski/891107/ft1_filtered_4FGL_J0457.0-2324_daily_bin860.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 9.73
user 0.34
sys 9.33

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/891107/ft1_filtered_4FGL_J0457.0-2324_daily_bin860.fits" evtable="EVENTS" scfile=/scratch/kocevski/891107/ft2_4FGL_J0457.0-2324_daily_bin860.fits sctable="SC_DATA" outfile=/scratch/kocevski/891107/ltcube_462240001_462499201_4FGL_J0457.0-2324_daily_bin860.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/891107/ft2_4FGL_J0457.0-2324_daily_bin860.fits
.....................!
real 22.65
user 11.87
sys 10.69

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/891107/ft1_filtered_4FGL_J0457.0-2324_daily_bin860.fits evtable="EVENTS" scfile=/scratch/kocevski/891107/ft2_4FGL_J0457.0-2324_daily_bin860.fits sctable="SC_DATA" expcube=/scratch/kocevski/891107/ltcube_462240001_462499201_4FGL_J0457.0-2324_daily_bin860.fits outfile=/scratch/kocevski/891107/expmap_462240001_462499201_4FGL_J0457.0-2324_daily_bin860.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/891107/ltcube_462240001_462499201_4FGL_J0457.0-2324_daily_bin860.fits
.....................!
real 202.40
user 185.30
sys 16.42

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 165 point sources and 0 extended sources

Setting source of interest to:
4FGL J0457.0-2324 @ 74.2608 -23.4149

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/891107/ft1_filtered_4FGL_J0457.0-2324_daily_bin860.fits scfile=/scratch/kocevski/891107/ft2_4FGL_J0457.0-2324_daily_bin860.fits outfile=/scratch/kocevski/891107/cmap_462240001_462499201_4FGL_J0457.0-2324_daily_bin860.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=74.2608 yref=-23.4149 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 9.64
user 0.38
sys 9.20

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/891107/ft1_filtered_4FGL_J0457.0-2324_daily_bin860.fits scfile=/scratch/kocevski/891107/ft2_4FGL_J0457.0-2324_daily_bin860.fits outfile=/scratch/kocevski/891107/cmap_HighResolution_462240001_462499201_4FGL_J0457.0-2324_daily_bin860.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=74.2608 yref=-23.4149 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 9.64
user 0.38
sys 9.23

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/891107/ft1_filtered_4FGL_J0457.0-2324_daily_bin860.fits evtable="EVENTS" scfile=/scratch/kocevski/891107/ft2_4FGL_J0457.0-2324_daily_bin860.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/891107/Model_4FGL_J0457.0-2324_daily_bin860.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/891107/ft1_filtered_4FGL_J0457.0-2324_daily_bin860.fits.....................!
real 85.13
user 71.80
sys 13.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/891107/ft1_filtered_4FGL_J0457.0-2324_daily_bin860.fits', '/scratch/kocevski/891107/ft2_4FGL_J0457.0-2324_daily_bin860.fits', expMap='/scratch/kocevski/891107/expmap_462240001_462499201_4FGL_J0457.0-2324_daily_bin860.fits', expCube='/scratch/kocevski/891107/ltcube_462240001_462499201_4FGL_J0457.0-2324_daily_bin860.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/891107/Model_4FGL_J0457.0-2324_daily_bin860.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0457.0-2324'

4FGL J0457.0-2324
   Spectrum: LogParabola
254         norm:  1.174e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-10)
255        alpha:  2.101e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
256         beta:  7.559e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  4.777e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/891107/ft1_filtered_4FGL_J0457.0-2324_daily_bin860.fits
Spacecraft file(s): /scratch/kocevski/891107/ft2_4FGL_J0457.0-2324_daily_bin860.fits
Exposure map: /scratch/kocevski/891107/expmap_462240001_462499201_4FGL_J0457.0-2324_daily_bin860.fits
Exposure cube: /scratch/kocevski/891107/ltcube_462240001_462499201_4FGL_J0457.0-2324_daily_bin860.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/891107/Model_4FGL_J0457.0-2324_daily_bin860.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) = 5570.37301469

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.1294       1.0000         .10000E-03   10000.    
     4 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.2779       1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.294       1.0000         .10000E-03   10000.    
     9 'norm      '    1.6860       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    42.678       1.0000         .10000E-03   10000.    
    12 'norm      '    .10140E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10426E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.2059       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.1958       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .92717       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5430E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5570.371     FROM MIGRAD    STATUS=CONVERGED    306 CALLS     1415 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.4448        .63241E-07** at limit **
   2  Prefactor     .10000E-03    8.9556        .15565E-07** at limit **
   3  Prefactor     8.1303        14.787       -.17270E-05   -.54847E-03
   4  norm          .10000E-03    93.326       -.88411E-05** at limit **
   5  Prefactor     .10000E-03    2.6906       -.66751E-07** at limit **
   6  Prefactor     .10000E-03    36.604       -.10624E-06** at limit **
   7  norm          5.2772        4.6694        .19956E-06   -.14309E-03
   8  Prefactor     13.293        7.9708       -.20728E-05    .48381E-03
   9  norm          1.6859        .33810        .87085E-09    .20576E-04
  10  Prefactor     .10000E-03    18.503       -.20337E-07** at limit **
  11  Prefactor     42.672        33.460       -.26748E-05    .99076E-04
  12  norm          .10000E-03    84.292        .86398E-05** at limit **
  13  Prefactor     .10000E-03    62.991       -.62575E-07** at limit **
  14  norm          2.2055        2.3411       -.91418E-07   -.25358E-03
  15  Normalizat    1.1959        .21971        .13884E-05   -.52656E-04
  16  Prefactor     .92708        .15934        .27910E-07    .17684E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.13029
  norm       = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.27721
  Prefactor  = 13.2933
  norm       = 1.68593
  Prefactor  = 0.0001
  Prefactor  = 42.6718
  norm       = 0.000100002
  Prefactor  = 0.0001
  norm       = 2.2055
  Normalizat = 1.19588
  Prefactor  = 0.927076
 **********
 **   18 **HESSE 
 **********

 FCN=   5570.371     FROM HESSE     STATUS=OK           199 CALLS     1614 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.4564        .87597E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.9839        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.1303        16.116        .70308E-03   -1.5138    
   4  norm          .10000E-03    92.131        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.7019        .11955E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    36.662        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.2772        4.6713        .14269E-03   -1.5248    
   8  Prefactor     13.293        7.7794        .10986E-03   -1.4979    
   9  norm          1.6859        .33936        .18383E-04   -1.5448    
  10  Prefactor     .10000E-03    18.516        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     42.672        33.286        .61364E-04   -1.4401    
  12  norm          .10000E-03    83.348        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    63.311        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.2055        2.3432        .11312E-03   -1.5411    
  15  Normalizat    1.1959        .25587        .28118E-03   -.86730    
  16  Prefactor     .92708        .18608        .23834E-03   -.95201    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22919e-09
Minuit parameter uncertainties:
  1  2.48343e-06
  2  7.42979e-06
  3  16.1248
  4  0.000978571
  5  1.18291e-07
  6  8.58659e-06
  7  4.67161
  8  7.77996
  9  0.339361
  10  1.1656e-05
  11  33.3007
  12  0.000842509
  13  2.88699e-05
  14  2.34325
  15  0.256141
  16  0.186209
Done.

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

Extracting fit parameters...

4FGL J0457.0-2324
   Spectrum: LogParabola
254         norm:  1.686e+00  3.394e-01  1.000e-04  1.000e+04 ( 1.000e-10)
255        alpha:  2.101e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
256         beta:  7.559e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  4.777e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
540    Prefactor:  9.271e-01  1.862e-01  0.000e+00  1.000e+01 ( 1.000e+00)
541        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
542        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  1.196e+00  2.561e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 102.49
Ra Dec: 74.261 -23.415
Photon Index (Fixed Index): 2.10 +/- 0.00
Photon Flux (Fixed Index): 3.75e-07 +/- 7.54e-08
Energy Flux (Fixed Index): 1.61e-04 +/- 3.24e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5570.16564904
delta logL = 0.205372266485

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5570.14755696
delta logL = 0.223464343684

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6444       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9608       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2410       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90561       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5430E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5570.148     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      202 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6441        .33734        .42260E-02    .50938E-03
   2  alpha         1.9609        .19463        .13098       -.39576E-04
   3  Normalizat    1.2410        .21396        .62655E-01    .15265E-04
   4  Prefactor     .90565        .15867        .45076E-01    .22489E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.64413
  alpha      = 1.96089
  Normalizat = 1.24098
  Prefactor  = 0.905646
 **********
 **   18 **HESSE 
 **********

 FCN=   5570.148     FROM HESSE     STATUS=OK            29 CALLS      231 TOTAL
                     EDM=   .32E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6441        .35256        .18674E-04   -1.5452    
   2  alpha         1.9609        .20794        .56750E-03   -.21735    
   3  Normalizat    1.2410        .25203        .27713E-03   -.85346    
   4  Prefactor     .90565        .18490        .24085E-03   -.95944    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.2402e-12
Minuit parameter uncertainties:
  1  0.35256
  2  0.208194
  3  0.252277
  4  0.185031
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/891107': 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) = 5570.14755632
delta logL = 0.223464978833

Extracting fit parameters...

4FGL J0457.0-2324
   Spectrum: LogParabola
254         norm:  1.644e+00  3.526e-01  1.000e-04  1.000e+04 ( 1.000e-10)
255        alpha:  1.961e+00  2.082e-01  0.000e+00  5.000e+00 ( 1.000e+00)
256         beta:  7.559e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  4.777e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
540    Prefactor:  9.056e-01  1.850e-01  0.000e+00  1.000e+01 ( 1.000e+00)
541        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
542        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  1.241e+00  2.523e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 102.68
Ra Dec: 74.261 -23.415
Photon Index (Free Index): 1.96 +/- 0.21
Photon Flux (Free Index): 3.35e-07 +/- 9.10e-08
Energy Flux (Free Index): 1.79e-04 +/- 4.87e-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/891107/cmap_HighResolution_462240001_462499201_4FGL_J0457.0-2324_daily_bin860.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.75e-07', energy_flux2='1.79e-04', photon_flux_error='7.54e-08', dlogl='2.23e-01', energy_flux='1.61e-04', photon_flux2='3.35e-07', job_status='DONE', time_completed='2021-08-21 16:29:05.557299', photon_index_error2='0.21', photon_index2='1.96', ts='102.49', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='4.87e-05', EG='1.20', time_epoch_completed='1629588545.56', return_code='0', job_id='891107', GAL2='0.91', EG2='1.24', return_code2='0', energy_flux_error='3.24e-05', photon_flux_error2='9.10e-08', ts2='102.68', photon_index='2.10' WHERE bin_id='860' AND source_name='4FGL J0457.0-2324' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 21 16:29:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0106>
Subject: Job 891107: <4FGL_J0457.0-2324_daily_bin860> in cluster <slac> Done

Job <4FGL_J0457.0-2324_daily_bin860> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 21 16:16:02 2021
Job was executed on host(s) <bullet0106>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 21 16:16:03 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 21 16:16:03 2021
Terminated at Sat Aug 21 16:29:07 2021
Results reported at Sat Aug 21 16:29:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0457.0-2324_daily_bin860 74.2608 -23.4149 462240001 462499201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0457.0-2324 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   761.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             268.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   783 sec.
    Turnaround time :                            785 sec.

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

