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


Performing analysis on: 4FGL_J0457.0-2324_daily_bin1427
RA = 74.2608, Dec = -23.4149
tmin = 609206401, tmax = 609465601
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='894249', job_status='RUN', time_executed='2021-08-21 16:28:44.853523', time_epoch_executed='1629588524.85' WHERE source_name='4FGL J0457.0-2324' and cadence='daily' and bin_id='1427'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/894249

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/894249/ft1_4FGL_J0457.0-2324_daily_bin1427.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/894249/ft2_4FGL_J0457.0-2324_daily_bin1427.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/894249/ft1_4FGL_J0457.0-2324_daily_bin1427.fits outfile=/scratch/kocevski/894249/ft1_filteredMKT_4FGL_J0457.0-2324_daily_bin1427.fits ra=74.2608 dec=-23.4149 rad=12.0 tmin=609206401.0 tmax=609465601.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 7.18
user 2.80
sys 4.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/894249/ft2_4FGL_J0457.0-2324_daily_bin1427.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/894249/ft1_filteredMKT_4FGL_J0457.0-2324_daily_bin1427.fits evtable="EVENTS" outfile="/scratch/kocevski/894249/ft1_filtered_4FGL_J0457.0-2324_daily_bin1427.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 5.11
user 0.35
sys 4.70

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/894249/ft1_filtered_4FGL_J0457.0-2324_daily_bin1427.fits" evtable="EVENTS" scfile=/scratch/kocevski/894249/ft2_4FGL_J0457.0-2324_daily_bin1427.fits sctable="SC_DATA" outfile=/scratch/kocevski/894249/ltcube_609206401_609465601_4FGL_J0457.0-2324_daily_bin1427.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/894249/ft2_4FGL_J0457.0-2324_daily_bin1427.fits
.....................!
real 18.10
user 13.02
sys 4.91

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/894249/ft1_filtered_4FGL_J0457.0-2324_daily_bin1427.fits evtable="EVENTS" scfile=/scratch/kocevski/894249/ft2_4FGL_J0457.0-2324_daily_bin1427.fits sctable="SC_DATA" expcube=/scratch/kocevski/894249/ltcube_609206401_609465601_4FGL_J0457.0-2324_daily_bin1427.fits outfile=/scratch/kocevski/894249/expmap_609206401_609465601_4FGL_J0457.0-2324_daily_bin1427.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/894249/ltcube_609206401_609465601_4FGL_J0457.0-2324_daily_bin1427.fits
.....................!
real 198.98
user 185.72
sys 10.80

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/894249/ft1_filtered_4FGL_J0457.0-2324_daily_bin1427.fits scfile=/scratch/kocevski/894249/ft2_4FGL_J0457.0-2324_daily_bin1427.fits outfile=/scratch/kocevski/894249/cmap_609206401_609465601_4FGL_J0457.0-2324_daily_bin1427.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 4.55
user 0.39
sys 4.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/894249/ft1_filtered_4FGL_J0457.0-2324_daily_bin1427.fits scfile=/scratch/kocevski/894249/ft2_4FGL_J0457.0-2324_daily_bin1427.fits outfile=/scratch/kocevski/894249/cmap_HighResolution_609206401_609465601_4FGL_J0457.0-2324_daily_bin1427.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 4.57
user 0.38
sys 4.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/894249/ft1_filtered_4FGL_J0457.0-2324_daily_bin1427.fits evtable="EVENTS" scfile=/scratch/kocevski/894249/ft2_4FGL_J0457.0-2324_daily_bin1427.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/894249/Model_4FGL_J0457.0-2324_daily_bin1427.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/894249/ft1_filtered_4FGL_J0457.0-2324_daily_bin1427.fits.....................!
real 95.69
user 88.90
sys 6.40

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.488       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10844E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.092       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11261E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.2975       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11150E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.0327       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10394E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    54.583       1.0000         .10000E-03   10000.    
    12 'norm      '    .10126E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .91296       1.0000         .10000E-03   10000.    
    14 'norm      '    1.1323       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.1647       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .92796       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=   7550.635     FROM MIGRAD    STATUS=CONVERGED    313 CALLS     1506 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.0245        .90712E-02** at limit **
   2  Prefactor     11.479        16.709        .29549E-02   -.32433E-03
   3  Prefactor     .10009E-03    21.730        .90712E-02** at limit **
   4  norm          .10000E-03    78.952        .90712E-02** at limit **
   5  Prefactor     10.097        5.9010        .31534E-02    .30128E-03
   6  Prefactor     .10000E-03    13.804        .90712E-02** at limit **
   7  norm          2.2975        2.8049        .67692E-02    .11092E-02
   8  Prefactor     .10001E-03    2.7745        .46231E-01** at limit **
   9  norm          1.0327        .21273        .39489E-02   -.51088E-02
  10  Prefactor     .10003E-03    26.059        .90712E-02** at limit **
  11  Prefactor     54.580        29.088        .13573E-02    .17577E-02
  12  norm          .10003E-03    19.544        .90712E-02** at limit **
  13  Prefactor     .87613        19.808        .12855        .22961E-03
  14  norm          1.1305        1.6090        .10967E-01   -.16433E-02
  15  Normalizat    1.1647        .17207        .59170E-01   -.46272E-03
  16  Prefactor     .92786        .13108        .45360E-01   -.72708E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 11.4794
  Prefactor  = 0.000100093
  norm       = 0.000100001
  Prefactor  = 10.0968
  Prefactor  = 0.000100001
  norm       = 2.29747
  Prefactor  = 0.000100005
  norm       = 1.03269
  Prefactor  = 0.000100028
  Prefactor  = 54.5804
  norm       = 0.000100029
  Prefactor  = 0.87613
  norm       = 1.13048
  Normalizat = 1.16473
  Prefactor  = 0.927859
 **********
 **   18 **HESSE 
 **********

 FCN=   7550.635     FROM HESSE     STATUS=OK           199 CALLS     1705 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.0520        .12069E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.479        16.737        .11820E-03   -1.5030    
   3  Prefactor     .10009E-03    21.892        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    78.975        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     10.097        5.9026        .12614E-03   -1.5072    
   6  Prefactor     .10000E-03    13.815        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.2975        2.7885        .15264E-03   -1.5405    
   8  Prefactor     .10001E-03    11.347        .27812E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.0327        .21304        .17447E-04   -1.5505    
  10  Prefactor     .10003E-03    26.130        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     54.580        29.096        .54292E-04   -1.4229    
  12  norm          .10003E-03    19.548        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .87613        159.64        .72409E-02   -1.5521    
  14  norm          1.1305        1.5719        .12467E-03   -1.5495    
  15  Normalizat    1.1647        .19746        .26168E-03   -.87700    
  16  Prefactor     .92786        .15119        .23078E-03   -.95174    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51857e-08
Minuit parameter uncertainties:
  1  2.44267e-05
  2  16.7442
  3  0.0028486
  4  0.00057847
  5  5.90289
  6  0.000185549
  7  2.78864
  8  0.000490676
  9  0.213039
  10  0.00170828
  11  29.1032
  12  0.0015014
  13  23.7162
  14  1.57201
  15  0.197591
  16  0.151263
Done.

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

Extracting fit parameters...

4FGL J0457.0-2324
   Spectrum: LogParabola
254         norm:  1.033e+00  2.130e-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.279e-01  1.513e-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.165e+00  1.976e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 85.81
Ra Dec: 74.261 -23.415
Photon Index (Fixed Index): 2.10 +/- 0.00
Photon Flux (Fixed Index): 2.29e-07 +/- 4.73e-08
Energy Flux (Fixed Index): 9.85e-05 +/- 2.03e-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) = 7549.29541248
delta logL = 1.33995492662

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7549.29531644
delta logL = 1.34005097287

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .98024       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7875       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2113       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90651       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=   7549.295     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      210 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .98024        .20953        .39971E-02   -.52617E-03
   2  alpha         1.7875        .17163        .13880       -.46274E-04
   3  Normalizat    1.2113        .16441        .58266E-01    .77245E-05
   4  Prefactor     .90651        .13033        .45088E-01    .11445E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.980238
  alpha      = 1.78749
  Normalizat = 1.21132
  Prefactor  = 0.906514
 **********
 **   18 **HESSE 
 **********

 FCN=   7549.295     FROM HESSE     STATUS=OK            31 CALLS      241 TOTAL
                     EDM=   .17E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .98024        .22346        .17653E-04   -1.5510    
   2  alpha         1.7875        .18686        .60136E-03   -.28901    
   3  Normalizat    1.2113        .19009        .25768E-03   -.86254    
   4  Prefactor     .90651        .15019        .23315E-03   -.95914    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65117e-12
Minuit parameter uncertainties:
  1  0.223462
  2  0.187054
  3  0.190199
  4  0.150259
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/894249': 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) = 7549.29531644
delta logL = 1.34005097289

Extracting fit parameters...

4FGL J0457.0-2324
   Spectrum: LogParabola
254         norm:  9.802e-01  2.235e-01  1.000e-04  1.000e+04 ( 1.000e-10)
255        alpha:  1.787e+00  1.871e-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.065e-01  1.503e-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.211e+00  1.902e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 88.44
Ra Dec: 74.261 -23.415
Photon Index (Free Index): 1.79 +/- 0.19
Photon Flux (Free Index): 1.84e-07 +/- 4.86e-08
Energy Flux (Free Index): 1.36e-04 +/- 4.27e-05

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/894249/cmap_HighResolution_609206401_609465601_4FGL_J0457.0-2324_daily_bin1427.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.29e-07', energy_flux2='1.36e-04', photon_flux_error='4.73e-08', dlogl='1.34e+00', energy_flux='9.85e-05', photon_flux2='1.84e-07', job_status='DONE', time_completed='2021-08-21 16:40:43.148564', photon_index_error2='0.19', photon_index2='1.79', ts='85.81', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='4.27e-05', EG='1.16', time_epoch_completed='1629589243.15', return_code='0', job_id='894249', GAL2='0.91', EG2='1.21', return_code2='0', energy_flux_error='2.03e-05', photon_flux_error2='4.86e-08', ts2='88.44', photon_index='2.10' WHERE bin_id='1427' AND source_name='4FGL J0457.0-2324' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 21 16:40:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0144>
Subject: Job 894249: <4FGL_J0457.0-2324_daily_bin1427> in cluster <slac> Done

Job <4FGL_J0457.0-2324_daily_bin1427> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 21 16:25:57 2021
Job was executed on host(s) <bullet0144>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 21 16:25:58 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:58 2021
Terminated at Sat Aug 21 16:40:44 2021
Results reported at Sat Aug 21 16:40:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0457.0-2324_daily_bin1427 74.2608 -23.4149 609206401 609465601 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 :                                   671.39 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             242.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   885 sec.
    Turnaround time :                            887 sec.

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

