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


Performing analysis on: 4FGL_J0457.0-2324_daily_bin561
RA = 74.2608, Dec = -23.4149
tmin = 384739201, tmax = 384998401
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='889420', job_status='RUN', time_executed='2021-08-21 16:10:49.193232', time_epoch_executed='1629587449.19' WHERE source_name='4FGL J0457.0-2324' and cadence='daily' and bin_id='561'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/889420

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/889420/ft1_4FGL_J0457.0-2324_daily_bin561.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/889420/ft2_4FGL_J0457.0-2324_daily_bin561.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/889420/ft1_4FGL_J0457.0-2324_daily_bin561.fits outfile=/scratch/kocevski/889420/ft1_filteredMKT_4FGL_J0457.0-2324_daily_bin561.fits ra=74.2608 dec=-23.4149 rad=12.0 tmin=384739201.0 tmax=384998401.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.88
user 4.31
sys 0.54

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/889420/ft2_4FGL_J0457.0-2324_daily_bin561.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/889420/ft1_filteredMKT_4FGL_J0457.0-2324_daily_bin561.fits evtable="EVENTS" outfile="/scratch/kocevski/889420/ft1_filtered_4FGL_J0457.0-2324_daily_bin561.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.82
user 0.32
sys 0.48

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/889420/ft1_filtered_4FGL_J0457.0-2324_daily_bin561.fits" evtable="EVENTS" scfile=/scratch/kocevski/889420/ft2_4FGL_J0457.0-2324_daily_bin561.fits sctable="SC_DATA" outfile=/scratch/kocevski/889420/ltcube_384739201_384998401_4FGL_J0457.0-2324_daily_bin561.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/889420/ft2_4FGL_J0457.0-2324_daily_bin561.fits
.....................!
real 12.87
user 12.18
sys 0.65

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/889420/ft1_filtered_4FGL_J0457.0-2324_daily_bin561.fits evtable="EVENTS" scfile=/scratch/kocevski/889420/ft2_4FGL_J0457.0-2324_daily_bin561.fits sctable="SC_DATA" expcube=/scratch/kocevski/889420/ltcube_384739201_384998401_4FGL_J0457.0-2324_daily_bin561.fits outfile=/scratch/kocevski/889420/expmap_384739201_384998401_4FGL_J0457.0-2324_daily_bin561.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/889420/ltcube_384739201_384998401_4FGL_J0457.0-2324_daily_bin561.fits
.....................!
real 191.27
user 185.29
sys 5.57

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/889420/ft1_filtered_4FGL_J0457.0-2324_daily_bin561.fits scfile=/scratch/kocevski/889420/ft2_4FGL_J0457.0-2324_daily_bin561.fits outfile=/scratch/kocevski/889420/cmap_384739201_384998401_4FGL_J0457.0-2324_daily_bin561.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=74.2608 yref=-23.4149 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.88
user 0.37
sys 0.46

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/889420/ft1_filtered_4FGL_J0457.0-2324_daily_bin561.fits scfile=/scratch/kocevski/889420/ft2_4FGL_J0457.0-2324_daily_bin561.fits outfile=/scratch/kocevski/889420/cmap_HighResolution_384739201_384998401_4FGL_J0457.0-2324_daily_bin561.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=74.2608 yref=-23.4149 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.90
user 0.37
sys 0.47

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    5.1145       1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.914       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.734       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .14246E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.2655       1.0000         .10000E-03   10000.    
     9 'norm      '    1.4863       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.7088       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .86640       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.2969       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=   4690.096     FROM MIGRAD    STATUS=CONVERGED    308 CALLS     1437 TOTAL
                     EDM=   .81E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.7092        .33087E-07** at limit **
   2  Prefactor     5.1091        21.524        .61634E-06   -.23942E-04
   3  Prefactor     12.913        27.874        .12868E-07   -.22492E-04
   4  norm          .10003E-03    77.828       -.86082E-05** at limit **
   5  Prefactor     17.732        10.745        .43390E-06   -.12709E-03
   6  Prefactor     .10004E-03    57.271        .90331E-05** at limit **
   7  norm          .10000E-03    3.6038        .25897E-06** at limit **
   8  Prefactor     8.2698        9.7774        .25532E-06   -.19220E-04
   9  norm          1.4863        .35141        .11646E-07   -.61748E-03
  10  Prefactor     .10000E-03    24.922        .11391E-05** at limit **
  11  Prefactor     .10000E-03    21.364       -.10775E-05** at limit **
  12  norm          .10000E-03    22.623        .17367E-05** at limit **
  13  Prefactor     .10000E-03    31.644       -.29389E-05** at limit **
  14  norm          3.7084        3.4837        .20768E-05   -.13078E-02
  15  Normalizat    .86647        .24970       -.16218E-05   -.13611E-04
  16  Prefactor     1.2969        .18449       -.18821E-07   -.47388E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 5.10906
  Prefactor  = 12.9126
  norm       = 0.000100034
  Prefactor  = 17.7316
  Prefactor  = 0.000100036
  norm       = 0.0001
  Prefactor  = 8.26981
  norm       = 1.48631
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  norm       = 0.000100001
  Prefactor  = 0.000100004
  norm       = 3.70842
  Normalizat = 0.866474
  Prefactor  = 1.29689
 **********
 **   18 **HESSE 
 **********

 FCN=   4690.096     FROM HESSE     STATUS=OK           199 CALLS     1636 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.7182        .87436E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.1091        21.508        .17778E-03   -1.5256    
   3  Prefactor     12.913        27.891        .11146E-03   -1.4989    
   4  norm          .10003E-03    82.218        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     17.732        10.758        .47554E-03   -1.4866    
   6  Prefactor     .10004E-03    62.067        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    7.0263        .24717E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.2698        9.7928        .13945E-03   -1.5133    
   9  norm          1.4863        .35189        .18765E-04   -1.5464    
  10  Prefactor     .10000E-03    25.009        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    21.469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    22.803        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    32.206        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.7084        3.6550        .61292E-03   -1.5323    
  15  Normalizat    .86647        .28440        .33740E-03   -.97648    
  16  Prefactor     1.2969        .21213        .22001E-03   -.83399    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.86217e-09
Minuit parameter uncertainties:
  1  1.58403e-06
  2  20.9779
  3  27.9192
  4  0.00333829
  5  10.7593
  6  0.0029869
  7  2.56163e-05
  8  9.79473
  9  0.351893
  10  0.000241148
  11  0.000216233
  12  0.000353821
  13  0.00071233
  14  3.65527
  15  0.284889
  16  0.212266
Done.

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

Extracting fit parameters...

4FGL J0457.0-2324
   Spectrum: LogParabola
254         norm:  1.486e+00  3.519e-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.297e+00  2.123e-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:  8.665e-01  2.849e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 60.66
Ra Dec: 74.261 -23.415
Photon Index (Fixed Index): 2.10 +/- 0.00
Photon Flux (Fixed Index): 3.30e-07 +/- 7.82e-08
Energy Flux (Fixed Index): 1.42e-04 +/- 3.36e-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) = 4690.0958168
delta logL = 0.000448592641078

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4690.0957929
delta logL = 0.000472490588436

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4871       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1081       1.0000          .0000       5.0000    
     3 'Normalizat'    .86478       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2976       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=   4690.096     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      197 TOTAL
                     EDM=   .25E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4872        .36233        .42421E-02   -.38880E-04
   2  alpha         2.1081        .23409        .13814       -.53049E-05
   3  Normalizat    .86480        .23777        .76293E-01    .16656E-04
   4  Prefactor     1.2976        .18301        .49758E-01    .21915E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 1.48716
  alpha      = 2.10807
  Normalizat = 0.864796
  Prefactor  = 1.29763
 **********
 **   18 **HESSE 
 **********

 FCN=   4690.096     FROM HESSE     STATUS=OK            31 CALLS      228 TOTAL
                     EDM=   .33E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4872        .35194        .18749E-04   -1.5464    
   2  alpha         2.1081        .23128        .60049E-03   -.15742    
   3  Normalizat    .86480        .27320        .33768E-03   -.97708    
   4  Prefactor     1.2976        .20956        .21996E-03   -.83378    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.27075e-14
Minuit parameter uncertainties:
  1  0.351938
  2  0.23162
  3  0.27364
  4  0.209692
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/889420': 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) = 4690.09579283
delta logL = 0.000472560302114

Extracting fit parameters...

4FGL J0457.0-2324
   Spectrum: LogParabola
254         norm:  1.487e+00  3.519e-01  1.000e-04  1.000e+04 ( 1.000e-10)
255        alpha:  2.108e+00  2.316e-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.298e+00  2.097e-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:  8.648e-01  2.736e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 60.43
Ra Dec: 74.261 -23.415
Photon Index (Free Index): 2.11 +/- 0.23
Photon Flux (Free Index): 3.32e-07 +/- 9.70e-08
Energy Flux (Free Index): 1.41e-04 +/- 3.99e-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/889420/cmap_HighResolution_384739201_384998401_4FGL_J0457.0-2324_daily_bin561.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.30e-07', energy_flux2='1.41e-04', photon_flux_error='7.82e-08', dlogl='4.73e-04', energy_flux='1.42e-04', photon_flux2='3.32e-07', job_status='DONE', time_completed='2021-08-21 16:18:43.870368', photon_index_error2='0.23', photon_index2='2.11', ts='60.66', fit_tolerance='1e-08', GAL='1.30', photon_index_error='0.00', energy_flux_error2='3.99e-05', EG='0.87', time_epoch_completed='1629587923.87', return_code='0', job_id='889420', GAL2='1.30', EG2='0.86', return_code2='0', energy_flux_error='3.36e-05', photon_flux_error2='9.70e-08', ts2='60.43', photon_index='2.10' WHERE bin_id='561' AND source_name='4FGL J0457.0-2324' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 21 16:18:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0051>
Subject: Job 889420: <4FGL_J0457.0-2324_daily_bin561> in cluster <slac> Done

Job <4FGL_J0457.0-2324_daily_bin561> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Aug 21 16:10:30 2021
Job was executed on host(s) <bullet0051>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 21 16:10:33 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:10:33 2021
Terminated at Sat Aug 21 16:18:44 2021
Results reported at Sat Aug 21 16:18:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0457.0-2324_daily_bin561 74.2608 -23.4149 384739201 384998401 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 :                                   469.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             304.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   491 sec.
    Turnaround time :                            494 sec.

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

