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


Performing analysis on: 4FGL_J0457.0-2324_daily_bin1373
RA = 74.2608, Dec = -23.4149
tmin = 595209601, tmax = 595468801
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='894173', job_status='RUN', time_executed='2021-08-21 16:26:33.312863', time_epoch_executed='1629588393.31' WHERE source_name='4FGL J0457.0-2324' and cadence='daily' and bin_id='1373'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/894173

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/894173/ft1_4FGL_J0457.0-2324_daily_bin1373.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/894173/ft2_4FGL_J0457.0-2324_daily_bin1373.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/894173/ft1_4FGL_J0457.0-2324_daily_bin1373.fits outfile=/scratch/kocevski/894173/ft1_filteredMKT_4FGL_J0457.0-2324_daily_bin1373.fits ra=74.2608 dec=-23.4149 rad=12.0 tmin=595209601.0 tmax=595468801.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.26
user 2.69
sys 0.53

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/894173/ft2_4FGL_J0457.0-2324_daily_bin1373.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/894173/ft1_filteredMKT_4FGL_J0457.0-2324_daily_bin1373.fits evtable="EVENTS" outfile="/scratch/kocevski/894173/ft1_filtered_4FGL_J0457.0-2324_daily_bin1373.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.83
user 0.33
sys 0.49

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/894173/ft1_filtered_4FGL_J0457.0-2324_daily_bin1373.fits" evtable="EVENTS" scfile=/scratch/kocevski/894173/ft2_4FGL_J0457.0-2324_daily_bin1373.fits sctable="SC_DATA" outfile=/scratch/kocevski/894173/ltcube_595209601_595468801_4FGL_J0457.0-2324_daily_bin1373.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/894173/ft2_4FGL_J0457.0-2324_daily_bin1373.fits
.....................!
real 13.12
user 12.32
sys 0.71

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/894173/ft1_filtered_4FGL_J0457.0-2324_daily_bin1373.fits evtable="EVENTS" scfile=/scratch/kocevski/894173/ft2_4FGL_J0457.0-2324_daily_bin1373.fits sctable="SC_DATA" expcube=/scratch/kocevski/894173/ltcube_595209601_595468801_4FGL_J0457.0-2324_daily_bin1373.fits outfile=/scratch/kocevski/894173/expmap_595209601_595468801_4FGL_J0457.0-2324_daily_bin1373.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/894173/ltcube_595209601_595468801_4FGL_J0457.0-2324_daily_bin1373.fits
.....................!
real 191.03
user 186.31
sys 4.37

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/894173/ft1_filtered_4FGL_J0457.0-2324_daily_bin1373.fits scfile=/scratch/kocevski/894173/ft2_4FGL_J0457.0-2324_daily_bin1373.fits outfile=/scratch/kocevski/894173/cmap_595209601_595468801_4FGL_J0457.0-2324_daily_bin1373.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 0.89
user 0.38
sys 0.48

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/894173/ft1_filtered_4FGL_J0457.0-2324_daily_bin1373.fits scfile=/scratch/kocevski/894173/ft2_4FGL_J0457.0-2324_daily_bin1373.fits outfile=/scratch/kocevski/894173/cmap_HighResolution_595209601_595468801_4FGL_J0457.0-2324_daily_bin1373.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 0.90
user 0.38
sys 0.49

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/894173/ft1_filtered_4FGL_J0457.0-2324_daily_bin1373.fits evtable="EVENTS" scfile=/scratch/kocevski/894173/ft2_4FGL_J0457.0-2324_daily_bin1373.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/894173/Model_4FGL_J0457.0-2324_daily_bin1373.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/894173/ft1_filtered_4FGL_J0457.0-2324_daily_bin1373.fits.....................!
real 71.61
user 69.68
sys 1.62

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/894173/ft1_filtered_4FGL_J0457.0-2324_daily_bin1373.fits', '/scratch/kocevski/894173/ft2_4FGL_J0457.0-2324_daily_bin1373.fits', expMap='/scratch/kocevski/894173/expmap_595209601_595468801_4FGL_J0457.0-2324_daily_bin1373.fits', expCube='/scratch/kocevski/894173/ltcube_595209601_595468801_4FGL_J0457.0-2324_daily_bin1373.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/894173/Model_4FGL_J0457.0-2324_daily_bin1373.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/894173/ft1_filtered_4FGL_J0457.0-2324_daily_bin1373.fits
Spacecraft file(s): /scratch/kocevski/894173/ft2_4FGL_J0457.0-2324_daily_bin1373.fits
Exposure map: /scratch/kocevski/894173/expmap_595209601_595468801_4FGL_J0457.0-2324_daily_bin1373.fits
Exposure cube: /scratch/kocevski/894173/ltcube_595209601_595468801_4FGL_J0457.0-2324_daily_bin1373.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/894173/Model_4FGL_J0457.0-2324_daily_bin1373.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) = 5254.4049616

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    8.2423       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .15018E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.7888       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.2698       1.0000         .10000E-03   10000.    
     9 'norm      '    1.7018       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.285       1.0000         .10000E-03   10000.    
    14 'norm      '    5.3597       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.3761       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .75204       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=   5253.645     FROM MIGRAD    STATUS=CONVERGED    318 CALLS     1279 TOTAL
                     EDM=   .47E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.1564       -.12806E-08** at limit **
   2  Prefactor     8.2432        29.249       -.51444E-07   -.33952E-04
   3  Prefactor     .10000E-03    223.57        .76067E-04** at limit **
   4  norm          .10000E-03    265.04       -.98130E-04** at limit **
   5  Prefactor     .10000E-03    9.1387       -.86916E-07** at limit **
   6  Prefactor     .10000E-03    36.658        .16211E-05** at limit **
   7  norm          4.7883        3.9033        .65017E-07    .10712E-03
   8  Prefactor     1.2686        4.1779       -.11111E-05   -.81580E-03
   9  norm          1.7018        .34618       -.58378E-08   -.11456E-03
  10  Prefactor     .10000E-03    44.775       -.22393E-05** at limit **
  11  Prefactor     .10000E-03    14.615       -.35684E-07** at limit **
  12  norm          .10000E-03    24.534       -.14129E-06** at limit **
  13  Prefactor     10.297        29.806       -.52703E-05   -.90371E-05
  14  norm          5.3592        2.6199        .52355E-07   -.10136E-03
  15  Normalizat    1.3762        .22443        .57238E-06   -.13693E-03
  16  Prefactor     .75198        .16148       -.12017E-06   -.13192E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 8.24323
  Prefactor  = 0.000100004
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.78831
  Prefactor  = 1.2686
  norm       = 1.7018
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 10.2972
  norm       = 5.35924
  Normalizat = 1.37622
  Prefactor  = 0.751982
 **********
 **   18 **HESSE 
 **********

 FCN=   5253.645     FROM HESSE     STATUS=OK           199 CALLS     1478 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.1659        .12573E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.2432        29.364        .13964E-03   -1.5134    
   3  Prefactor     .10000E-03    223.88        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    264.59        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.2401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    36.688        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.7883        3.9168        .12258E-03   -1.5270    
   8  Prefactor     1.2686        4.1700        .25878E-03   -1.5483    
   9  norm          1.7018        .34740        .18193E-04   -1.5447    
  10  Prefactor     .10000E-03    44.866        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    14.627        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    24.536        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.297        29.853        .12494E-03   -1.5066    
  14  norm          5.3592        2.6259        .77916E-04   -1.5245    
  15  Normalizat    1.3762        .26193        .26058E-03   -.81319    
  16  Prefactor     .75198        .18689        .25907E-03   -1.0152    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.28367e-10
Minuit parameter uncertainties:
  1  2.02997e-06
  2  29.4158
  3  0.00199618
  4  0.000399386
  5  1.81472e-05
  6  1.01719e-05
  7  3.91696
  8  4.17096
  9  0.347401
  10  1.04008e-05
  11  3.46645e-06
  12  1.14149e-06
  13  29.8967
  14  2.62599
  15  0.262186
  16  0.187048
Done.

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

Extracting fit parameters...

4FGL J0457.0-2324
   Spectrum: LogParabola
254         norm:  1.702e+00  3.474e-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:  7.520e-01  1.870e-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.376e+00  2.622e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 74.53
Ra Dec: 74.261 -23.415
Photon Index (Fixed Index): 2.10 +/- 0.00
Photon Flux (Fixed Index): 3.78e-07 +/- 7.72e-08
Energy Flux (Fixed Index): 1.62e-04 +/- 3.31e-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) = 5253.59055758
delta logL = 0.0547856701914

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5253.58763819
delta logL = 0.0577050643187

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7113       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1713       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3558       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76143       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=   5253.588     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      193 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7113        .36348        .40708E-02    .10043E-02
   2  alpha         2.1713        .21568        .12979       -.29032E-04
   3  Normalizat    1.3558        .21662        .59250E-01   -.57923E-04
   4  Prefactor     .76143        .16221        .43213E-01    .54658E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.71129
  alpha      = 2.17134
  Normalizat = 1.35576
  Prefactor  = 0.761433
 **********
 **   18 **HESSE 
 **********

 FCN=   5253.588     FROM HESSE     STATUS=OK            29 CALLS      222 TOTAL
                     EDM=   .62E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7113        .34422        .17998E-04   -1.5446    
   2  alpha         2.1713        .20779        .56510E-03   -.13185    
   3  Normalizat    1.3558        .25330        .26203E-03   -.81917    
   4  Prefactor     .76143        .18776        .25762E-03   -1.0117    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.23169e-11
Minuit parameter uncertainties:
  1  0.344222
  2  0.208037
  3  0.253535
  4  0.187922
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/894173': 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) = 5253.58763819
delta logL = 0.0577050645052

Extracting fit parameters...

4FGL J0457.0-2324
   Spectrum: LogParabola
254         norm:  1.711e+00  3.442e-01  1.000e-04  1.000e+04 ( 1.000e-10)
255        alpha:  2.171e+00  2.080e-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:  7.614e-01  1.879e-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.356e+00  2.535e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 74.46
Ra Dec: 74.261 -23.415
Photon Index (Free Index): 2.17 +/- 0.21
Photon Flux (Free Index): 3.99e-07 +/- 1.01e-07
Energy Flux (Free Index): 1.56e-04 +/- 3.63e-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/894173/cmap_HighResolution_595209601_595468801_4FGL_J0457.0-2324_daily_bin1373.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.78e-07', energy_flux2='1.56e-04', photon_flux_error='7.72e-08', dlogl='5.77e-02', energy_flux='1.62e-04', photon_flux2='3.99e-07', job_status='DONE', time_completed='2021-08-21 16:34:25.585023', photon_index_error2='0.21', photon_index2='2.17', ts='74.53', fit_tolerance='1e-08', GAL='0.75', photon_index_error='0.00', energy_flux_error2='3.63e-05', EG='1.38', time_epoch_completed='1629588865.59', return_code='0', job_id='894173', GAL2='0.76', EG2='1.36', return_code2='0', energy_flux_error='3.31e-05', photon_flux_error2='1.01e-07', ts2='74.46', photon_index='2.10' WHERE bin_id='1373' AND source_name='4FGL J0457.0-2324' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 21 16:34:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 894173: <4FGL_J0457.0-2324_daily_bin1373> in cluster <slac> Done

Job <4FGL_J0457.0-2324_daily_bin1373> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 21 16:25:51 2021
Job was executed on host(s) <bullet0040>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 21 16:25:52 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:25:52 2021
Terminated at Sat Aug 21 16:34:26 2021
Results reported at Sat Aug 21 16:34:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0457.0-2324_daily_bin1373 74.2608 -23.4149 595209601 595468801 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 :                                   471.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             351.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   513 sec.
    Turnaround time :                            515 sec.

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

