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


Performing analysis on: 4FGL_J0457.0-2324_daily_bin1012
RA = 74.2608, Dec = -23.4149
tmin = 501638401, tmax = 501897601
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='892417', job_status='RUN', time_executed='2021-08-21 16:24:09.743452', time_epoch_executed='1629588249.74' WHERE source_name='4FGL J0457.0-2324' and cadence='daily' and bin_id='1012'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/892417

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/892417/ft1_4FGL_J0457.0-2324_daily_bin1012.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/892417/ft2_4FGL_J0457.0-2324_daily_bin1012.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/892417/ft1_4FGL_J0457.0-2324_daily_bin1012.fits outfile=/scratch/kocevski/892417/ft1_filteredMKT_4FGL_J0457.0-2324_daily_bin1012.fits ra=74.2608 dec=-23.4149 rad=12.0 tmin=501638401.0 tmax=501897601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.00
user 3.24
sys 0.73

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/892417/ft1_filtered_4FGL_J0457.0-2324_daily_bin1012.fits" evtable="EVENTS" scfile=/scratch/kocevski/892417/ft2_4FGL_J0457.0-2324_daily_bin1012.fits sctable="SC_DATA" outfile=/scratch/kocevski/892417/ltcube_501638401_501897601_4FGL_J0457.0-2324_daily_bin1012.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/892417/ft2_4FGL_J0457.0-2324_daily_bin1012.fits
.....................!
real 12.70
user 11.79
sys 0.86

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/892417/ft1_filtered_4FGL_J0457.0-2324_daily_bin1012.fits evtable="EVENTS" scfile=/scratch/kocevski/892417/ft2_4FGL_J0457.0-2324_daily_bin1012.fits sctable="SC_DATA" expcube=/scratch/kocevski/892417/ltcube_501638401_501897601_4FGL_J0457.0-2324_daily_bin1012.fits outfile=/scratch/kocevski/892417/expmap_501638401_501897601_4FGL_J0457.0-2324_daily_bin1012.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/892417/ltcube_501638401_501897601_4FGL_J0457.0-2324_daily_bin1012.fits
.....................!
real 191.94
user 185.98
sys 5.58

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/892417/ft1_filtered_4FGL_J0457.0-2324_daily_bin1012.fits scfile=/scratch/kocevski/892417/ft2_4FGL_J0457.0-2324_daily_bin1012.fits outfile=/scratch/kocevski/892417/cmap_501638401_501897601_4FGL_J0457.0-2324_daily_bin1012.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 1.04
user 0.35
sys 0.66

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/892417/ft1_filtered_4FGL_J0457.0-2324_daily_bin1012.fits scfile=/scratch/kocevski/892417/ft2_4FGL_J0457.0-2324_daily_bin1012.fits outfile=/scratch/kocevski/892417/cmap_HighResolution_501638401_501897601_4FGL_J0457.0-2324_daily_bin1012.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 1.06
user 0.37
sys 0.66

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/892417/ft1_filtered_4FGL_J0457.0-2324_daily_bin1012.fits evtable="EVENTS" scfile=/scratch/kocevski/892417/ft2_4FGL_J0457.0-2324_daily_bin1012.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/892417/Model_4FGL_J0457.0-2324_daily_bin1012.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/892417/ft1_filtered_4FGL_J0457.0-2324_daily_bin1012.fits.....................!
real 93.20
user 91.14
sys 1.87

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10266E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    73.013       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .45708       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10906E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .39586       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    20.302       1.0000         .10000E-03   10000.    
    13 'Prefactor '    16.824       1.0000         .10000E-03   10000.    
    14 'norm      '    2.4283       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.1849       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .78325       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=   7353.898     FROM MIGRAD    STATUS=CONVERGED    305 CALLS     1459 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .95863       -.71658E-07** at limit **
   2  Prefactor     .10000E-03    6.4939       -.62717E-07** at limit **
   3  Prefactor     .10000E-03    24.780        .92394E-07** at limit **
   4  norm          72.967        112.49       -.52670E-04   -.39830E-04
   5  Prefactor     .45552        2.6195       -.11129E-05   -.49315E-03
   6  Prefactor     .10000E-03    10.804       -.19313E-05** at limit **
   7  norm          .10000E-03    1.1587        .93762E-06** at limit **
   8  Prefactor     .10000E-03    2.4951       -.79605E-07** at limit **
   9  norm          .39585        .14376       -.36423E-08   -.10982E-02
  10  Prefactor     .10000E-03    9.2168        .46687E-06** at limit **
  11  Prefactor     .10000E-03    11.493        .14021E-05** at limit **
  12  norm          20.305        62.727        .58083E-05   -.32405E-05
  13  Prefactor     16.826        24.098        .20428E-05   -.25971E-04
  14  norm          2.4284        1.6220       -.90901E-07   -.43120E-03
  15  Normalizat    1.1849        .14771       -.52462E-06   -.91077E-04
  16  Prefactor     .78325        .11821        .56634E-06   -.14010E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 72.9669
  Prefactor  = 0.455515
  Prefactor  = 0.0001
  norm       = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.395853
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 20.3047
  Prefactor  = 16.8259
  norm       = 2.42841
  Normalizat = 1.18486
  Prefactor  = 0.783248
 **********
 **   18 **HESSE 
 **********

 FCN=   7353.898     FROM HESSE     STATUS=OK           205 CALLS     1664 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .97696        .81981E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.5394        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    25.277        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          72.967        112.55        .23493E-03   -1.3997    
   5  Prefactor     .45552        5.7115        .26796E-02   -1.5573    
   6  Prefactor     .10000E-03    10.815        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    2.0467        .17885E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.5346        .13220E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .39585        .14322        .18804E-04   -1.5582    
  10  Prefactor     .10000E-03    9.2238        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    11.524        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          20.305        62.842        .88893E-04   -1.4806    
  13  Prefactor     16.826        24.124        .97645E-04   -1.4887    
  14  norm          2.4284        1.6158        .85833E-04   -1.5396    
  15  Normalizat    1.1849        .17040        .22566E-03   -.87072    
  16  Prefactor     .78325        .13730        .21858E-03   -1.0035    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.44277e-09
Minuit parameter uncertainties:
  1  2.92332e-07
  2  2.01308e-06
  3  7.61678e-06
  4  112.882
  5  3.22598
  6  2.57161e-06
  7  0.000139343
  8  1.19086e-06
  9  0.143224
  10  1.27195e-06
  11  1.52419e-05
  12  63.0482
  13  24.1383
  14  1.61582
  15  0.170479
  16  0.137359
Done.

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

Extracting fit parameters...

4FGL J0457.0-2324
   Spectrum: LogParabola
254         norm:  3.959e-01  1.432e-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.832e-01  1.374e-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.185e+00  1.705e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 22.77
Ra Dec: 74.261 -23.415
Photon Index (Fixed Index): 2.10 +/- 0.00
Photon Flux (Fixed Index): 8.79e-08 +/- 3.18e-08
Energy Flux (Fixed Index): 3.77e-05 +/- 1.37e-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) = 7352.94906396
delta logL = 0.948734682956

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7352.94691244
delta logL = 0.950886205117

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .33982       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6358       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2223       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76435       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=   7352.947     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      208 TOTAL
                     EDM=   .53E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .33982        .13166        .41409E-02   -.47886E-03
   2  alpha         1.6358        .25616        .21484       -.49247E-04
   3  Normalizat    1.2223        .14497        .50379E-01    .10565E-03
   4  Prefactor     .76435        .11652        .43251E-01    .22412E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.339819
  alpha      = 1.63584
  Normalizat = 1.22227
  Prefactor  = 0.764348
 **********
 **   18 **HESSE 
 **********

 FCN=   7352.947     FROM HESSE     STATUS=OK            31 CALLS      239 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .33982        .15170        .18363E-04   -1.5591    
   2  alpha         1.6358        .31502        .89420E-02   -.35295    
   3  Normalizat    1.2223        .16791        .22273E-03   -.85917    
   4  Prefactor     .76435        .13456        .22090E-03   -1.0106    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01897e-09
Minuit parameter uncertainties:
  1  0.151697
  2  0.315975
  3  0.167981
  4  0.134618
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/892417': 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) = 7352.94691244
delta logL = 0.950886208268

Extracting fit parameters...

4FGL J0457.0-2324
   Spectrum: LogParabola
254         norm:  3.398e-01  1.517e-01  1.000e-04  1.000e+04 ( 1.000e-10)
255        alpha:  1.636e+00  3.160e-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.643e-01  1.346e-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.222e+00  1.680e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 24.68
Ra Dec: 74.261 -23.415
Photon Index (Free Index): 1.64 +/- 0.32
Photon Flux (Free Index): 6.06e-08 +/- 2.96e-08
Energy Flux (Free Index): 6.29e-05 +/- 3.64e-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/892417/cmap_HighResolution_501638401_501897601_4FGL_J0457.0-2324_daily_bin1012.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.79e-08', energy_flux2='6.29e-05', photon_flux_error='3.18e-08', dlogl='9.51e-01', energy_flux='3.77e-05', photon_flux2='6.06e-08', job_status='DONE', time_completed='2021-08-21 16:33:29.842881', photon_index_error2='0.32', photon_index2='1.64', ts='22.77', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', energy_flux_error2='3.64e-05', EG='1.18', time_epoch_completed='1629588809.84', return_code='0', job_id='892417', GAL2='0.76', EG2='1.22', return_code2='0', energy_flux_error='1.37e-05', photon_flux_error2='2.96e-08', ts2='24.68', photon_index='2.10' WHERE bin_id='1012' AND source_name='4FGL J0457.0-2324' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 21 16:33:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 892417: <4FGL_J0457.0-2324_daily_bin1012> in cluster <slac> Done

Job <4FGL_J0457.0-2324_daily_bin1012> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 21 16:20:32 2021
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 21 16:20:34 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:20:34 2021
Terminated at Sat Aug 21 16:33:30 2021
Results reported at Sat Aug 21 16:33:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0457.0-2324_daily_bin1012 74.2608 -23.4149 501638401 501897601 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 :                                   557.36 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             260.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   776 sec.
    Turnaround time :                            778 sec.

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

