/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 0 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 = 7477
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0457.0-2324_daily_bin148
RA = 74.2608, Dec = -23.4149
tmin = 277689601, tmax = 277948801
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='886697', job_status='RUN', time_executed='2021-08-21 16:02:09.632786', time_epoch_executed='1629586929.63' WHERE source_name='4FGL J0457.0-2324' and cadence='daily' and bin_id='148'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/886697

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/886697/ft1_4FGL_J0457.0-2324_daily_bin148.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/886697/ft2_4FGL_J0457.0-2324_daily_bin148.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/886697/ft1_4FGL_J0457.0-2324_daily_bin148.fits outfile=/scratch/kocevski/886697/ft1_filteredMKT_4FGL_J0457.0-2324_daily_bin148.fits ra=74.2608 dec=-23.4149 rad=12.0 tmin=277689601.0 tmax=277948801.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 8.89
user 3.31
sys 4.11

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/886697/ft1_filtered_4FGL_J0457.0-2324_daily_bin148.fits" evtable="EVENTS" scfile=/scratch/kocevski/886697/ft2_4FGL_J0457.0-2324_daily_bin148.fits sctable="SC_DATA" outfile=/scratch/kocevski/886697/ltcube_277689601_277948801_4FGL_J0457.0-2324_daily_bin148.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/886697/ft2_4FGL_J0457.0-2324_daily_bin148.fits
.....................!
real 16.06
user 11.32
sys 4.68

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/886697/ft1_filtered_4FGL_J0457.0-2324_daily_bin148.fits evtable="EVENTS" scfile=/scratch/kocevski/886697/ft2_4FGL_J0457.0-2324_daily_bin148.fits sctable="SC_DATA" expcube=/scratch/kocevski/886697/ltcube_277689601_277948801_4FGL_J0457.0-2324_daily_bin148.fits outfile=/scratch/kocevski/886697/expmap_277689601_277948801_4FGL_J0457.0-2324_daily_bin148.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/886697/ltcube_277689601_277948801_4FGL_J0457.0-2324_daily_bin148.fits
.....................!
real 195.67
user 184.95
sys 10.32

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/886697/ft1_filtered_4FGL_J0457.0-2324_daily_bin148.fits scfile=/scratch/kocevski/886697/ft2_4FGL_J0457.0-2324_daily_bin148.fits outfile=/scratch/kocevski/886697/cmap_277689601_277948801_4FGL_J0457.0-2324_daily_bin148.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.34
user 0.37
sys 3.95

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/886697/ft1_filtered_4FGL_J0457.0-2324_daily_bin148.fits scfile=/scratch/kocevski/886697/ft2_4FGL_J0457.0-2324_daily_bin148.fits outfile=/scratch/kocevski/886697/cmap_HighResolution_277689601_277948801_4FGL_J0457.0-2324_daily_bin148.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.37
user 0.38
sys 3.96

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/886697/ft1_filtered_4FGL_J0457.0-2324_daily_bin148.fits evtable="EVENTS" scfile=/scratch/kocevski/886697/ft2_4FGL_J0457.0-2324_daily_bin148.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/886697/Model_4FGL_J0457.0-2324_daily_bin148.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/886697/ft1_filtered_4FGL_J0457.0-2324_daily_bin148.fits.....................!
real 70.12
user 63.60
sys 6.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.9526       1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.221       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.9424       1.0000         .10000E-03   10000.    
     4 'norm      '    .20402E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.7292       1.0000         .10000E-03   10000.    
     6 'Prefactor '    134.98       1.0000         .10000E-03   10000.    
     7 'norm      '    1.9926       1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.150       1.0000         .10000E-03   10000.    
     9 'norm      '    1.8828       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.7618       1.0000         .10000E-03   10000.    
    12 'norm      '    30.687       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .23048E-02   1.0000         .10000E-03   10000.    
    14 'norm      '    .13310E-01   1.0000         .10000E-03   10000.    
    15 'Normalizat'    .95083       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0076       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=   5200.855     FROM MIGRAD    STATUS=CONVERGED    330 CALLS     1516 TOTAL
                     EDM=   .98E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.9523        6.0314       -.47881E-06   -.10105E-03
   2  Prefactor     13.216        19.187        .29713E-04    .31357E-04
   3  Prefactor     3.9380        24.958        .22273E-04   -.37054E-04
   4  norm          .10043E-03    6700.9       -.71717E-03** at limit **
   5  Prefactor     3.7286        6.5097       -.18177E-05   -.33623E-03
   6  Prefactor     134.85        79.787       -.64985E-04    .19615E-04
   7  norm          1.9850        4.8969       -.92046E-06    .63880E-03
   8  Prefactor     14.147        8.2162        .34072E-05    .66959E-04
   9  norm          1.8828        .38093        .65970E-06   -.27466E-02
  10  Prefactor     .10000E-03    12.162       -.29283E-06** at limit **
  11  Prefactor     8.7616        13.929        .37486E-05   -.36357E-05
  12  norm          30.658        45.032        .15950E-05   -.18627E-05
  13  Prefactor     .10592E-03    30.590        .17000E-05** at limit **
  14  norm          .10000E-03    1.6409       -.44462E-06** at limit **
  15  Normalizat    .95128        .23134        .43218E-05    .13929E-03
  16  Prefactor     1.0075        .16687       -.13889E-05    .50341E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.9523
  Prefactor  = 13.2163
  Prefactor  = 3.93796
  norm       = 0.000100434
  Prefactor  = 3.72859
  Prefactor  = 134.854
  norm       = 1.98499
  Prefactor  = 14.1473
  norm       = 1.88282
  Prefactor  = 0.0001
  Prefactor  = 8.76159
  norm       = 30.6576
  Prefactor  = 0.000105919
  norm       = 0.0001
  Normalizat = 0.951285
  Prefactor  = 1.00749
 **********
 **   18 **HESSE 
 **********

 FCN=   5200.855     FROM HESSE     STATUS=OK           217 CALLS     1733 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.9523        6.0350        .12702E-03   -1.5077    
   2  Prefactor     13.216        19.184        .11016E-03   -1.4981    
   3  Prefactor     3.9380        24.916        .20317E-03   -1.5311    
   4  norm          .10043E-03    6708.0        .20211E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.7286        6.5039        .20910E-03   -1.5322    
   6  Prefactor     134.85        80.009        .17332E-03   -1.3380    
   7  norm          1.9850        4.8426        .23097E-03   -1.5426    
   8  Prefactor     14.147        8.2174        .10648E-03   -1.4956    
   9  norm          1.8828        .38132        .18372E-04   -1.5434    
  10  Prefactor     .10000E-03    12.167        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.7616        13.923        .13541E-03   -1.5116    
  12  norm          30.658        45.042        .72329E-04   -1.4600    
  13  Prefactor     .10592E-03    33.707        .12528       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    58.371        .17380E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .95128        .26388        .31075E-03   -.94681    
  16  Prefactor     1.0075        .19274        .23047E-03   -.92480    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.15573e-09
Minuit parameter uncertainties:
  1  6.03535
  2  19.1925
  3  19.8227
  4  0.082273
  5  6.50518
  6  80.0735
  7  4.84353
  8  8.21805
  9  0.38132
  10  1.0779e-05
  11  13.9284
  12  45.0922
  13  0.0282663
  14  7.02288e-05
  15  0.264237
  16  0.192875
Done.

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

Extracting fit parameters...

4FGL J0457.0-2324
   Spectrum: LogParabola
254         norm:  1.883e+00  3.813e-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:  1.007e+00  1.929e-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:  9.513e-01  2.642e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 73.57
Ra Dec: 74.261 -23.415
Photon Index (Fixed Index): 2.10 +/- 0.00
Photon Flux (Fixed Index): 4.18e-07 +/- 8.47e-08
Energy Flux (Fixed Index): 1.80e-04 +/- 3.64e-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) = 5200.77842499
delta logL = 0.0767719325268

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5200.77319202
delta logL = 0.0820049018785

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8810       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1797       1.0000          .0000       5.0000    
     3 'Normalizat'    .93110       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0173       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=   5200.773     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      201 TOTAL
                     EDM=   .90E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8811        .39439        .41028E-02    .36447E-04
   2  alpha         2.1798        .20909        .12232       -.66866E-06
   3  Normalizat    .93105        .21966        .70835E-01    .14315E-04
   4  Prefactor     1.0174        .16569        .42418E-01    .35912E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.88105
  alpha      = 2.17975
  Normalizat = 0.931047
  Prefactor  = 1.01735
 **********
 **   18 **HESSE 
 **********

 FCN=   5200.773     FROM HESSE     STATUS=OK            31 CALLS      232 TOTAL
                     EDM=   .18E-14    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8811        .36393        .18141E-04   -1.5434    
   2  alpha         2.1798        .19582        .53387E-03   -.12845    
   3  Normalizat    .93105        .25347        .31340E-03   -.95378    
   4  Prefactor     1.0174        .19042        .22945E-03   -.92153    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83801e-15
Minuit parameter uncertainties:
  1  0.363929
  2  0.196028
  3  0.253799
  4  0.190541
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/886697': 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) = 5200.77319197
delta logL = 0.0820049476761

Extracting fit parameters...

4FGL J0457.0-2324
   Spectrum: LogParabola
254         norm:  1.881e+00  3.639e-01  1.000e-04  1.000e+04 ( 1.000e-10)
255        alpha:  2.180e+00  1.960e-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:  1.017e+00  1.905e-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:  9.310e-01  2.538e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 74.31
Ra Dec: 74.261 -23.415
Photon Index (Free Index): 2.18 +/- 0.20
Photon Flux (Free Index): 4.41e-07 +/- 1.02e-07
Energy Flux (Free Index): 1.70e-04 +/- 3.93e-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/886697/cmap_HighResolution_277689601_277948801_4FGL_J0457.0-2324_daily_bin148.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.18e-07', energy_flux2='1.70e-04', photon_flux_error='8.47e-08', dlogl='8.20e-02', energy_flux='1.80e-04', photon_flux2='4.41e-07', job_status='DONE', time_completed='2021-08-21 16:10:55.940736', photon_index_error2='0.20', photon_index2='2.18', ts='73.57', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='3.93e-05', EG='0.95', time_epoch_completed='1629587455.94', return_code='0', job_id='886697', GAL2='1.02', EG2='0.93', return_code2='0', energy_flux_error='3.64e-05', photon_flux_error2='1.02e-07', ts2='74.31', photon_index='2.10' WHERE bin_id='148' AND source_name='4FGL J0457.0-2324' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 21 16:10:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 886697: <4FGL_J0457.0-2324_daily_bin148> in cluster <slac> Done

Job <4FGL_J0457.0-2324_daily_bin148> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Aug 21 16:00:59 2021
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 21 16:01:00 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:01:00 2021
Terminated at Sat Aug 21 16:10:57 2021
Results reported at Sat Aug 21 16:10:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0457.0-2324_daily_bin148 74.2608 -23.4149 277689601 277948801 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 :                                   581.26 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             291.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   596 sec.
    Turnaround time :                            598 sec.

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

