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


Performing analysis on: 4FGL_J0457.0-2324_daily_bin600
RA = 74.2608, Dec = -23.4149
tmin = 394848001, tmax = 395107201
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='890697', job_status='RUN', time_executed='2021-08-21 16:18:18.717623', time_epoch_executed='1629587898.72' WHERE source_name='4FGL J0457.0-2324' and cadence='daily' and bin_id='600'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/890697

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/890697/ft1_4FGL_J0457.0-2324_daily_bin600.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/890697/ft2_4FGL_J0457.0-2324_daily_bin600.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/890697/ft1_4FGL_J0457.0-2324_daily_bin600.fits outfile=/scratch/kocevski/890697/ft1_filteredMKT_4FGL_J0457.0-2324_daily_bin600.fits ra=74.2608 dec=-23.4149 rad=12.0 tmin=394848001.0 tmax=395107201.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 18.18
user 4.95
sys 9.76

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/890697/ft2_4FGL_J0457.0-2324_daily_bin600.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/890697/ft1_filteredMKT_4FGL_J0457.0-2324_daily_bin600.fits evtable="EVENTS" outfile="/scratch/kocevski/890697/ft1_filtered_4FGL_J0457.0-2324_daily_bin600.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 10.05
user 0.34
sys 9.48

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/890697/ft1_filtered_4FGL_J0457.0-2324_daily_bin600.fits" evtable="EVENTS" scfile=/scratch/kocevski/890697/ft2_4FGL_J0457.0-2324_daily_bin600.fits sctable="SC_DATA" outfile=/scratch/kocevski/890697/ltcube_394848001_395107201_4FGL_J0457.0-2324_daily_bin600.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/890697/ft2_4FGL_J0457.0-2324_daily_bin600.fits
.....................!
real 24.56
user 12.42
sys 10.68

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/890697/ft1_filtered_4FGL_J0457.0-2324_daily_bin600.fits evtable="EVENTS" scfile=/scratch/kocevski/890697/ft2_4FGL_J0457.0-2324_daily_bin600.fits sctable="SC_DATA" expcube=/scratch/kocevski/890697/ltcube_394848001_395107201_4FGL_J0457.0-2324_daily_bin600.fits outfile=/scratch/kocevski/890697/expmap_394848001_395107201_4FGL_J0457.0-2324_daily_bin600.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/890697/ltcube_394848001_395107201_4FGL_J0457.0-2324_daily_bin600.fits
.....................!
real 203.43
user 185.69
sys 16.92

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/890697/ft1_filtered_4FGL_J0457.0-2324_daily_bin600.fits scfile=/scratch/kocevski/890697/ft2_4FGL_J0457.0-2324_daily_bin600.fits outfile=/scratch/kocevski/890697/cmap_394848001_395107201_4FGL_J0457.0-2324_daily_bin600.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 9.75
user 0.37
sys 9.25

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/890697/ft1_filtered_4FGL_J0457.0-2324_daily_bin600.fits scfile=/scratch/kocevski/890697/ft2_4FGL_J0457.0-2324_daily_bin600.fits outfile=/scratch/kocevski/890697/cmap_HighResolution_394848001_395107201_4FGL_J0457.0-2324_daily_bin600.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 9.65
user 0.39
sys 9.19

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/890697/ft1_filtered_4FGL_J0457.0-2324_daily_bin600.fits evtable="EVENTS" scfile=/scratch/kocevski/890697/ft2_4FGL_J0457.0-2324_daily_bin600.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/890697/Model_4FGL_J0457.0-2324_daily_bin600.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/890697/ft1_filtered_4FGL_J0457.0-2324_daily_bin600.fits.....................!
real 96.68
user 82.50
sys 13.34

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.7734       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    6.1014       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.8266       1.0000         .10000E-03   10000.    
     9 'norm      '    1.9794       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.816       1.0000         .10000E-03   10000.    
    12 'norm      '    57.656       1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.4347       1.0000         .10000E-03   10000.    
    14 'norm      '    .14694       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .98056       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .91532       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=   6916.970     FROM MIGRAD    STATUS=CONVERGED    310 CALLS     1448 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.6752       -.11004E-06** at limit **
   2  Prefactor     .10000E-03    6.3306        .19798E-07** at limit **
   3  Prefactor     .10000E-03    52.193       -.45838E-05** at limit **
   4  norm          .10000E-03    50.259        .83944E-05** at limit **
   5  Prefactor     5.7737        4.0180        .24741E-06    .10295E-03
   6  Prefactor     .10000E-03    17.562       -.15048E-06** at limit **
   7  norm          6.1014        2.9925        .23370E-06    .16348E-04
   8  Prefactor     6.8263        4.8847       -.44577E-05   -.14477E-03
   9  norm          1.9795        .28265       -.26929E-07    .75203E-03
  10  Prefactor     .10000E-03    36.549       -.41719E-06** at limit **
  11  Prefactor     13.813        18.768       -.63255E-06   -.82898E-05
  12  norm          57.646        57.980       -.10270E-04   -.14478E-06
  13  Prefactor     9.4044        25.272       -.32552E-04   -.68869E-04
  14  norm          .14475        .91400        .65892E-06    .13180E-04
  15  Normalizat    .98059        .17759        .53775E-05   -.24008E-03
  16  Prefactor     .91533        .13461       -.89400E-06    .17242E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.77368
  Prefactor  = 0.0001
  norm       = 6.10141
  Prefactor  = 6.82635
  norm       = 1.97948
  Prefactor  = 0.0001
  Prefactor  = 13.8125
  norm       = 57.6465
  Prefactor  = 9.40445
  norm       = 0.14475
  Normalizat = 0.980587
  Prefactor  = 0.915334
 **********
 **   18 **HESSE 
 **********

 FCN=   6916.970     FROM HESSE     STATUS=OK           203 CALLS     1651 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.6956        .10509E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.3415        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    52.860        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    50.252        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.7737        4.0208        .13521E-03   -1.5227    
   6  Prefactor     .10000E-03    17.581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.1014        2.9963        .96671E-04   -1.5214    
   8  Prefactor     6.8263        4.8953        .14810E-03   -1.5185    
   9  norm          1.9795        .28348        .15954E-04   -1.5427    
  10  Prefactor     .10000E-03    36.714        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.813        18.765        .10776E-03   -1.4964    
  12  norm          57.646        58.066        .52834E-04   -1.4188    
  13  Prefactor     9.4044        25.313        .13047E-03   -1.5095    
  14  norm          .14475        5.0382        .14861E-02   -1.5632    
  15  Normalizat    .98059        .20373        .27121E-03   -.93684    
  16  Prefactor     .91533        .15477        .22196E-03   -.95607    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.2597e-10
Minuit parameter uncertainties:
  1  1.16961e-05
  2  1.94664e-05
  3  0.000276705
  4  3.28676e-06
  5  4.02096
  6  3.20558e-05
  7  2.99635
  8  4.89562
  9  0.283484
  10  4.28761e-05
  11  18.7733
  12  58.123
  13  25.3418
  14  1.70753
  15  0.20389
  16  0.154846
Done.

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

Extracting fit parameters...

4FGL J0457.0-2324
   Spectrum: LogParabola
254         norm:  1.979e+00  2.835e-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.153e-01  1.548e-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.806e-01  2.039e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 192.95
Ra Dec: 74.261 -23.415
Photon Index (Fixed Index): 2.10 +/- 0.00
Photon Flux (Fixed Index): 4.40e-07 +/- 6.30e-08
Energy Flux (Fixed Index): 1.89e-04 +/- 2.70e-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) = 6914.77365863
delta logL = 2.19663087715

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6914.77357879
delta logL = 2.19671071258

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9241       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8083       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0609       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87640       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5430E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6914.774     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      208 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9241        .28663         .0000       -.12431E-03
   2  alpha         1.8083        .12929         .0000       -.30654E-04
   3  Normalizat    1.0609        .16749         .0000        .88223E-05
   4  Prefactor     .87640        .13087         .0000        .31802E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.92412
  alpha      = 1.80829
  Normalizat = 1.0609
  Prefactor  = 0.876404
 **********
 **   18 **HESSE 
 **********

 FCN=   6914.774     FROM HESSE     STATUS=OK            31 CALLS      239 TOTAL
                     EDM=   .52E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9241        .29890        .16432E-04   -1.5431    
   2  alpha         1.8083        .13621        .42971E-03   -.28034    
   3  Normalizat    1.0609        .19493        .26309E-03   -.91017    
   4  Prefactor     .87640        .15159        .22636E-03   -.96971    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.17083e-14
Minuit parameter uncertainties:
  1  0.2989
  2  0.136284
  3  0.19506
  4  0.151665
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/890697': 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) = 6914.77357879
delta logL = 2.19671071258

Extracting fit parameters...

4FGL J0457.0-2324
   Spectrum: LogParabola
254         norm:  1.924e+00  2.989e-01  1.000e-04  1.000e+04 ( 1.000e-10)
255        alpha:  1.808e+00  1.363e-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:  8.764e-01  1.517e-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.061e+00  1.951e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 196.84
Ra Dec: 74.261 -23.415
Photon Index (Free Index): 1.81 +/- 0.14
Photon Flux (Free Index): 3.63e-07 +/- 6.57e-08
Energy Flux (Free Index): 2.58e-04 +/- 5.89e-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/890697/cmap_HighResolution_394848001_395107201_4FGL_J0457.0-2324_daily_bin600.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.40e-07', energy_flux2='2.58e-04', photon_flux_error='6.30e-08', dlogl='2.20e+00', energy_flux='1.89e-04', photon_flux2='3.63e-07', job_status='DONE', time_completed='2021-08-21 16:29:54.427926', photon_index_error2='0.14', photon_index2='1.81', ts='192.95', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='5.89e-05', EG='0.98', time_epoch_completed='1629588594.43', return_code='0', job_id='890697', GAL2='0.88', EG2='1.06', return_code2='0', energy_flux_error='2.70e-05', photon_flux_error2='6.57e-08', ts2='196.84', photon_index='2.10' WHERE bin_id='600' AND source_name='4FGL J0457.0-2324' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 21 16:29:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0220>
Subject: Job 890697: <4FGL_J0457.0-2324_daily_bin600> in cluster <slac> Done

Job <4FGL_J0457.0-2324_daily_bin600> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 21 16:15:33 2021
Job was executed on host(s) <bullet0220>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 21 16:15:35 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:15:35 2021
Terminated at Sat Aug 21 16:29:57 2021
Results reported at Sat Aug 21 16:29:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0457.0-2324_daily_bin600 74.2608 -23.4149 394848001 395107201 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 :                                   832.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             273.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   860 sec.
    Turnaround time :                            864 sec.

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

