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


Performing analysis on: 4FGL_J0457.0-2324_daily_bin362
RA = 74.2608, Dec = -23.4149
tmin = 333158401, tmax = 333417601
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='888120', job_status='RUN', time_executed='2021-08-21 16:06:13.155508', time_epoch_executed='1629587173.16' WHERE source_name='4FGL J0457.0-2324' and cadence='daily' and bin_id='362'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/888120

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

Retrieving the FT1 file...

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

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

Retrieving 51 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/888120/ft1_4FGL_J0457.0-2324_daily_bin362.fits


Retrieving the FT1 file...

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

Retrieving 51 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/888120/ft2_4FGL_J0457.0-2324_daily_bin362.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/888120/ft1_4FGL_J0457.0-2324_daily_bin362.fits outfile=/scratch/kocevski/888120/ft1_filteredMKT_4FGL_J0457.0-2324_daily_bin362.fits ra=74.2608 dec=-23.4149 rad=12.0 tmin=333158401.0 tmax=333417601.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 6.50
user 5.77
sys 0.70

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/888120/ft2_4FGL_J0457.0-2324_daily_bin362.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/888120/ft1_filteredMKT_4FGL_J0457.0-2324_daily_bin362.fits evtable="EVENTS" outfile="/scratch/kocevski/888120/ft1_filtered_4FGL_J0457.0-2324_daily_bin362.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.93
user 0.35
sys 0.57

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/888120/ft1_filtered_4FGL_J0457.0-2324_daily_bin362.fits" evtable="EVENTS" scfile=/scratch/kocevski/888120/ft2_4FGL_J0457.0-2324_daily_bin362.fits sctable="SC_DATA" outfile=/scratch/kocevski/888120/ltcube_333158401_333417601_4FGL_J0457.0-2324_daily_bin362.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/888120/ft2_4FGL_J0457.0-2324_daily_bin362.fits
.....................!
real 12.16
user 11.24
sys 0.82

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/888120/ft1_filtered_4FGL_J0457.0-2324_daily_bin362.fits evtable="EVENTS" scfile=/scratch/kocevski/888120/ft2_4FGL_J0457.0-2324_daily_bin362.fits sctable="SC_DATA" expcube=/scratch/kocevski/888120/ltcube_333158401_333417601_4FGL_J0457.0-2324_daily_bin362.fits outfile=/scratch/kocevski/888120/expmap_333158401_333417601_4FGL_J0457.0-2324_daily_bin362.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/888120/ltcube_333158401_333417601_4FGL_J0457.0-2324_daily_bin362.fits
.....................!
real 193.04
user 187.57
sys 5.09

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/888120/ft1_filtered_4FGL_J0457.0-2324_daily_bin362.fits scfile=/scratch/kocevski/888120/ft2_4FGL_J0457.0-2324_daily_bin362.fits outfile=/scratch/kocevski/888120/cmap_333158401_333417601_4FGL_J0457.0-2324_daily_bin362.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.96
user 0.37
sys 0.57

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/888120/ft1_filtered_4FGL_J0457.0-2324_daily_bin362.fits scfile=/scratch/kocevski/888120/ft2_4FGL_J0457.0-2324_daily_bin362.fits outfile=/scratch/kocevski/888120/cmap_HighResolution_333158401_333417601_4FGL_J0457.0-2324_daily_bin362.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.97
user 0.38
sys 0.58

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/888120/ft1_filtered_4FGL_J0457.0-2324_daily_bin362.fits evtable="EVENTS" scfile=/scratch/kocevski/888120/ft2_4FGL_J0457.0-2324_daily_bin362.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/888120/Model_4FGL_J0457.0-2324_daily_bin362.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/888120/ft1_filtered_4FGL_J0457.0-2324_daily_bin362.fits.....................!
real 67.75
user 65.86
sys 1.67

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13397E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .12157E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.9699       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .22824E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.7733       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .40279       1.0000         .10000E-03   10000.    
    10 'Prefactor '    32.475       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11758E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .12774E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .34827E-02   1.0000         .10000E-03   10000.    
    14 'norm      '    .13191E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.2331       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .98256       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=   5236.255     FROM MIGRAD    STATUS=CONVERGED    316 CALLS     1443 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.3120       -.14865E-06** at limit **
   2  Prefactor     .10000E-03    7.0573       -.12754E-06** at limit **
   3  Prefactor     .10000E-03    6.7228        .12703E-06** at limit **
   4  norm          .10000E-03    59.784        .29907E-04** at limit **
   5  Prefactor     9.9714        6.3874       -.29876E-05   -.56093E-04
   6  Prefactor     .10000E-03    136.63        .59980E-04** at limit **
   7  norm          4.7727        3.9059       -.17554E-06    .23211E-03
   8  Prefactor     .10000E-03    2.9878        .14765E-06** at limit **
   9  norm          .40276        .19806       -.49547E-07    .82003E-04
  10  Prefactor     32.469        37.406       -.36080E-05   -.39742E-05
  11  Prefactor     .10000E-03    39.600        .64738E-05** at limit **
  12  norm          .10000E-03    52.688       -.37355E-04** at limit **
  13  Prefactor     .10021E-03    335.77       -.34005E-03** at limit **
  14  norm          .10000E-03    2.6009        .36640E-06** at limit **
  15  Normalizat    1.2325        .20522        .23231E-05    .11876E-02
  16  Prefactor     .98255        .15752        .32917E-06    .10891E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 9.97143
  Prefactor  = 0.000100001
  norm       = 4.77275
  Prefactor  = 0.0001
  norm       = 0.40276
  Prefactor  = 32.4685
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100207
  norm       = 0.0001
  Normalizat = 1.23255
  Prefactor  = 0.982554
 **********
 **   18 **HESSE 
 **********

 FCN=   5236.255     FROM HESSE     STATUS=OK           195 CALLS     1638 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.6033        .21384E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    7.0654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    6.7285        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    59.819        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.9714        6.3958        .12691E-03   -1.5076    
   6  Prefactor     .10000E-03    137.61        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.7727        3.9143        .12345E-03   -1.5271    
   8  Prefactor     .10000E-03    3.0150        .12212E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .40276        .19732        .21644E-04   -1.5581    
  10  Prefactor     32.469        37.463        .70314E-04   -1.4568    
  11  Prefactor     .10000E-03    39.881        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    52.800        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10021E-03    336.59        .39322E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.7089        .22763E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.2325        .23739        .26402E-03   -.85603    
  16  Prefactor     .98255        .18280        .22590E-03   -.93313    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85226e-09
Minuit parameter uncertainties:
  1  4.58275e-05
  2  7.66926e-06
  3  3.05842e-07
  4  8.49661e-07
  5  6.3962
  6  0.00059143
  7  3.91453
  8  2.82793e-06
  9  0.197322
  10  37.4898
  11  6.83196e-06
  12  1.06084e-05
  13  0.0167783
  14  4.29385e-05
  15  0.237596
  16  0.182913
Done.

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

Extracting fit parameters...

4FGL J0457.0-2324
   Spectrum: LogParabola
254         norm:  4.028e-01  1.973e-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.826e-01  1.829e-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.233e+00  2.376e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.13
Ra Dec: 74.261 -23.415
Photon Index (Fixed Index): 2.10 +/- 0.00
Photon Flux (Fixed Index): 8.95e-08 +/- 4.38e-08
Energy Flux (Fixed Index): 3.84e-05 +/- 1.88e-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) = 5236.13152432
delta logL = 0.12310347677

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5236.12028139
delta logL = 0.134346401572

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .38076       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8842       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2494       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97489       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=   5236.120     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      199 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .38078        .19020        .48332E-02   -.94032E-04
   2  alpha         1.8842        .35887        .25129       -.41601E-04
   3  Normalizat    1.2493        .20237        .59360E-01    .10435E-04
   4  Prefactor     .97484        .15662        .45952E-01    .84585E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.380782
  alpha      = 1.88416
  Normalizat = 1.24932
  Prefactor  = 0.974836
 **********
 **   18 **HESSE 
 **********

 FCN=   5236.120     FROM HESSE     STATUS=OK            33 CALLS      232 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .38078        .19980        .21390E-04   -1.5585    
   2  alpha         1.8842        .40399        .10388E-01   -.24890    
   3  Normalizat    1.2493        .23457        .26252E-03   -.85092    
   4  Prefactor     .97484        .18120        .22666E-03   -.93573    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12474e-11
Minuit parameter uncertainties:
  1  0.199804
  2  0.405887
  3  0.234774
  4  0.181316
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/888120': 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) = 5236.12028056
delta logL = 0.134347235085

Extracting fit parameters...

4FGL J0457.0-2324
   Spectrum: LogParabola
254         norm:  3.808e-01  1.998e-01  1.000e-04  1.000e+04 ( 1.000e-10)
255        alpha:  1.884e+00  4.059e-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.748e-01  1.813e-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.249e+00  2.348e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.41
Ra Dec: 74.261 -23.415
Photon Index (Free Index): 1.88 +/- 0.41
Photon Flux (Free Index): 7.45e-08 +/- 4.62e-08
Energy Flux (Free Index): 4.57e-05 +/- 2.87e-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/888120/cmap_HighResolution_333158401_333417601_4FGL_J0457.0-2324_daily_bin362.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.95e-08', energy_flux2='4.57e-05', photon_flux_error='4.38e-08', dlogl='1.34e-01', energy_flux='3.84e-05', photon_flux2='7.45e-08', job_status='DONE', time_completed='2021-08-21 16:14:24.749964', photon_index_error2='0.41', photon_index2='1.88', ts='11.13', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='2.87e-05', EG='1.23', time_epoch_completed='1629587664.75', return_code='0', job_id='888120', GAL2='0.97', EG2='1.25', return_code2='0', energy_flux_error='1.88e-05', photon_flux_error2='4.62e-08', ts2='11.41', photon_index='2.10' WHERE bin_id='362' AND source_name='4FGL J0457.0-2324' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 21 16:14:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 888120: <4FGL_J0457.0-2324_daily_bin362> in cluster <slac> Done

Job <4FGL_J0457.0-2324_daily_bin362> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Aug 21 16:05:48 2021
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 21 16:05:50 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:05:50 2021
Terminated at Sat Aug 21 16:14:25 2021
Results reported at Sat Aug 21 16:14:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0457.0-2324_daily_bin362 74.2608 -23.4149 333158401 333417601 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 :                                   493.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             381.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   515 sec.
    Turnaround time :                            517 sec.

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

