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


Performing analysis on: 4FGL_J0457.0-2324_daily_bin1129
RA = 74.2608, Dec = -23.4149
tmin = 531964801, tmax = 532224001
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='892592', job_status='RUN', time_executed='2021-08-21 16:24:00.430486', time_epoch_executed='1629588240.43' WHERE source_name='4FGL J0457.0-2324' and cadence='daily' and bin_id='1129'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/892592

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/892592/ft1_4FGL_J0457.0-2324_daily_bin1129.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/892592/ft2_4FGL_J0457.0-2324_daily_bin1129.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/892592/ft1_4FGL_J0457.0-2324_daily_bin1129.fits outfile=/scratch/kocevski/892592/ft1_filteredMKT_4FGL_J0457.0-2324_daily_bin1129.fits ra=74.2608 dec=-23.4149 rad=12.0 tmin=531964801.0 tmax=532224001.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.98
user 3.30
sys 5.64

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/892592/ft2_4FGL_J0457.0-2324_daily_bin1129.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/892592/ft1_filteredMKT_4FGL_J0457.0-2324_daily_bin1129.fits evtable="EVENTS" outfile="/scratch/kocevski/892592/ft1_filtered_4FGL_J0457.0-2324_daily_bin1129.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.96
user 0.32
sys 5.60

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/892592/ft1_filtered_4FGL_J0457.0-2324_daily_bin1129.fits" evtable="EVENTS" scfile=/scratch/kocevski/892592/ft2_4FGL_J0457.0-2324_daily_bin1129.fits sctable="SC_DATA" outfile=/scratch/kocevski/892592/ltcube_531964801_532224001_4FGL_J0457.0-2324_daily_bin1129.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/892592/ft2_4FGL_J0457.0-2324_daily_bin1129.fits
.....................!
real 19.97
user 13.43
sys 6.47

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/892592/ft1_filtered_4FGL_J0457.0-2324_daily_bin1129.fits evtable="EVENTS" scfile=/scratch/kocevski/892592/ft2_4FGL_J0457.0-2324_daily_bin1129.fits sctable="SC_DATA" expcube=/scratch/kocevski/892592/ltcube_531964801_532224001_4FGL_J0457.0-2324_daily_bin1129.fits outfile=/scratch/kocevski/892592/expmap_531964801_532224001_4FGL_J0457.0-2324_daily_bin1129.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/892592/ltcube_531964801_532224001_4FGL_J0457.0-2324_daily_bin1129.fits
.....................!
real 200.48
user 187.59
sys 11.68

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/892592/ft1_filtered_4FGL_J0457.0-2324_daily_bin1129.fits scfile=/scratch/kocevski/892592/ft2_4FGL_J0457.0-2324_daily_bin1129.fits outfile=/scratch/kocevski/892592/cmap_531964801_532224001_4FGL_J0457.0-2324_daily_bin1129.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 5.87
user 0.38
sys 5.45

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/892592/ft1_filtered_4FGL_J0457.0-2324_daily_bin1129.fits scfile=/scratch/kocevski/892592/ft2_4FGL_J0457.0-2324_daily_bin1129.fits outfile=/scratch/kocevski/892592/cmap_HighResolution_531964801_532224001_4FGL_J0457.0-2324_daily_bin1129.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 6.03
user 0.38
sys 5.48

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/892592/ft1_filtered_4FGL_J0457.0-2324_daily_bin1129.fits evtable="EVENTS" scfile=/scratch/kocevski/892592/ft2_4FGL_J0457.0-2324_daily_bin1129.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/892592/Model_4FGL_J0457.0-2324_daily_bin1129.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/892592/ft1_filtered_4FGL_J0457.0-2324_daily_bin1129.fits.....................!
real 77.76
user 67.26
sys 8.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6844       1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.571       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12302       1.0000         .10000E-03   10000.    
     4 'norm      '    .10821E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10568E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.9682       1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.736       1.0000         .10000E-03   10000.    
     9 'norm      '    .33117       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10502E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.9690       1.0000         .10000E-03   10000.    
    12 'norm      '    65.268       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.4443       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.0537       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .95354       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=   5418.224     FROM MIGRAD    STATUS=CONVERGED    342 CALLS     1688 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6802        5.0400       -.12659E-05   -.64994E-03
   2  Prefactor     17.578        18.617        .16712E-04   -.18392E-04
   3  Prefactor     .14992E-03    19.052        .33426E-06** at limit **
   4  norm          .10000E-03    112.80        .22763E-04** at limit **
   5  Prefactor     .10000E-03    1.4564       -.57128E-07** at limit **
   6  Prefactor     .10000E-03    19.609        .10965E-05** at limit **
   7  norm          2.9657        3.0118        .13646E-06   -.25620E-03
   8  Prefactor     12.730        6.9861        .41884E-06   -.10507E-03
   9  norm          .33118        .14528       -.50501E-08   -.70810E-03
  10  Prefactor     .10000E-03    21.782        .18685E-05** at limit **
  11  Prefactor     8.9696        19.501        .20924E-04   -.26048E-04
  12  norm          65.396        87.263        .16424E-05   -.18585E-04
  13  Prefactor     .10000E-03    20.790       -.28206E-05** at limit **
  14  norm          1.4449        2.1409        .10741E-06   -.64277E-03
  15  Normalizat    1.0533        .18878       -.22921E-05   -.50471E-04
  16  Prefactor     .95387        .14175       -.20078E-05   -.65243E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.68022
  Prefactor  = 17.5776
  Prefactor  = 0.000149925
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.96567
  Prefactor  = 12.73
  norm       = 0.331178
  Prefactor  = 0.0001
  Prefactor  = 8.96961
  norm       = 65.3962
  Prefactor  = 0.0001
  norm       = 1.44486
  Normalizat = 1.05334
  Prefactor  = 0.953871
 **********
 **   18 **HESSE 
 **********

 FCN=   5418.224     FROM HESSE     STATUS=OK           213 CALLS     1901 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6802        5.0546        .21582E-03   -1.5381    
   2  Prefactor     17.578        18.619        .95548E-04   -1.4869    
   3  Prefactor     .14992E-03    24.710        .95657E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    112.81        .20710E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    1.4586        .86751E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    19.637        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.9657        3.0021        .12329E-03   -1.5364    
   8  Prefactor     12.730        7.0234        .11224E-03   -1.4994    
   9  norm          .33118        .14531        .17998E-04   -1.5593    
  10  Prefactor     .10000E-03    21.796        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.9696        19.428        .13383E-03   -1.5109    
  12  norm          65.396        87.457        .49676E-04   -1.4089    
  13  Prefactor     .10000E-03    20.836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.4449        2.1260        .12418E-03   -1.5468    
  15  Normalizat    1.0533        .21619        .26250E-03   -.91264    
  16  Prefactor     .95387        .16283        .21370E-03   -.94283    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.20573e-10
Minuit parameter uncertainties:
  1  5.0554
  2  18.6253
  3  0.0702749
  4  2.10528e-05
  5  1.16669e-06
  6  6.59287e-05
  7  3.00221
  8  7.02389
  9  0.145313
  10  7.18469e-05
  11  19.4417
  12  87.6295
  13  4.94521e-05
  14  2.12607
  15  0.216369
  16  0.162917
Done.

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

Extracting fit parameters...

4FGL J0457.0-2324
   Spectrum: LogParabola
254         norm:  3.312e-01  1.453e-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.539e-01  1.629e-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.053e+00  2.164e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 16.80
Ra Dec: 74.261 -23.415
Photon Index (Fixed Index): 2.10 +/- 0.00
Photon Flux (Fixed Index): 7.36e-08 +/- 3.23e-08
Energy Flux (Fixed Index): 3.16e-05 +/- 1.39e-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) = 5417.73070563
delta logL = 0.49312433696

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5417.73054541
delta logL = 0.493284561392

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .29157       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6863       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0764       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94338       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=   5417.731     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      214 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .29151        .13382        .39841E-02    .23240E-03
   2  alpha         1.6860        .32834        .23836       -.29138E-04
   3  Normalizat    1.0764        .17747        .58807E-01    .85992E-04
   4  Prefactor     .94337        .13842        .45555E-01    .10299E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.291505
  alpha      = 1.68604
  Normalizat = 1.07643
  Prefactor  = 0.943374
 **********
 **   18 **HESSE 
 **********

 FCN=   5417.731     FROM HESSE     STATUS=OK            31 CALLS      245 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .29151        .14980        .17577E-04   -1.5600    
   2  alpha         1.6860        .39070        .98965E-02   -.33163    
   3  Normalizat    1.0764        .20129        .26007E-03   -.90512    
   4  Prefactor     .94337        .15692        .21473E-03   -.94642    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.02326e-10
Minuit parameter uncertainties:
  1  0.149798
  2  0.392498
  3  0.201436
  4  0.156991
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/892592': 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) = 5417.73054523
delta logL = 0.493284742105

Extracting fit parameters...

4FGL J0457.0-2324
   Spectrum: LogParabola
254         norm:  2.915e-01  1.498e-01  1.000e-04  1.000e+04 ( 1.000e-10)
255        alpha:  1.686e+00  3.925e-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.434e-01  1.570e-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.076e+00  2.014e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.78
Ra Dec: 74.261 -23.415
Photon Index (Free Index): 1.69 +/- 0.39
Photon Flux (Free Index): 5.27e-08 +/- 3.03e-08
Energy Flux (Free Index): 4.87e-05 +/- 3.43e-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/892592/cmap_HighResolution_531964801_532224001_4FGL_J0457.0-2324_daily_bin1129.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.36e-08', energy_flux2='4.87e-05', photon_flux_error='3.23e-08', dlogl='4.93e-01', energy_flux='3.16e-05', photon_flux2='5.27e-08', job_status='DONE', time_completed='2021-08-21 16:35:16.569279', photon_index_error2='0.39', photon_index2='1.69', ts='16.80', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='3.43e-05', EG='1.05', time_epoch_completed='1629588916.57', return_code='0', job_id='892592', GAL2='0.94', EG2='1.08', return_code2='0', energy_flux_error='1.39e-05', photon_flux_error2='3.03e-08', ts2='17.78', photon_index='2.10' WHERE bin_id='1129' AND source_name='4FGL J0457.0-2324' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 21 16:35:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0114>
Subject: Job 892592: <4FGL_J0457.0-2324_daily_bin1129> in cluster <slac> Done

Job <4FGL_J0457.0-2324_daily_bin1129> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 21 16:20:45 2021
Job was executed on host(s) <bullet0114>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 21 16:20:47 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:47 2021
Terminated at Sat Aug 21 16:35:18 2021
Results reported at Sat Aug 21 16:35:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0457.0-2324_daily_bin1129 74.2608 -23.4149 531964801 532224001 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 :                                   652.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             216.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   870 sec.
    Turnaround time :                            873 sec.

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

