/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 58 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 = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2024.8-6459_daily_bin1047
RA = 306.201, Dec = -64.9913
tmin = 510710401, tmax = 510969601
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='899012', job_status='RUN', time_executed='2021-09-25 03:33:11.231498', time_epoch_executed='1632565991.23' WHERE source_name='4FGL J2024.8-6459' and cadence='daily' and bin_id='1047'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/899012

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/899012/ft1_4FGL_J2024.8-6459_daily_bin1047.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/899012/ft2_4FGL_J2024.8-6459_daily_bin1047.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/899012/ft1_4FGL_J2024.8-6459_daily_bin1047.fits outfile=/scratch/kocevski/899012/ft1_filteredMKT_4FGL_J2024.8-6459_daily_bin1047.fits ra=306.201 dec=-64.9913 rad=12.0 tmin=510710401.0 tmax=510969601.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 3.53
user 3.24
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/899012/ft2_4FGL_J2024.8-6459_daily_bin1047.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/899012/ft2_4FGL_J2024.8-6459_daily_bin1047.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/899012/ft1_filteredMKT_4FGL_J2024.8-6459_daily_bin1047.fits evtable="EVENTS" outfile="/scratch/kocevski/899012/ft1_filtered_4FGL_J2024.8-6459_daily_bin1047.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.55
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/899012/ft1_filtered_4FGL_J2024.8-6459_daily_bin1047.fits" evtable="EVENTS" scfile=/scratch/kocevski/899012/ft2_4FGL_J2024.8-6459_daily_bin1047.fits sctable="SC_DATA" outfile=/scratch/kocevski/899012/ltcube_510710401_510969601_4FGL_J2024.8-6459_daily_bin1047.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/899012/ft2_4FGL_J2024.8-6459_daily_bin1047.fits
.....................!
real 13.59
user 13.16
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/899012/ft1_filtered_4FGL_J2024.8-6459_daily_bin1047.fits evtable="EVENTS" scfile=/scratch/kocevski/899012/ft2_4FGL_J2024.8-6459_daily_bin1047.fits sctable="SC_DATA" expcube=/scratch/kocevski/899012/ltcube_510710401_510969601_4FGL_J2024.8-6459_daily_bin1047.fits outfile=/scratch/kocevski/899012/expmap_510710401_510969601_4FGL_J2024.8-6459_daily_bin1047.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/899012/ltcube_510710401_510969601_4FGL_J2024.8-6459_daily_bin1047.fits
.....................!
real 193.20
user 187.72
sys 5.06

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 177 point sources and 0 extended sources

Setting source of interest to:
4FGL J2024.8-6459 @ 306.201 -64.9913

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/899012/ft1_filtered_4FGL_J2024.8-6459_daily_bin1047.fits scfile=/scratch/kocevski/899012/ft2_4FGL_J2024.8-6459_daily_bin1047.fits outfile=/scratch/kocevski/899012/cmap_510710401_510969601_4FGL_J2024.8-6459_daily_bin1047.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=306.201 yref=-64.9913 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.61
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/899012/ft1_filtered_4FGL_J2024.8-6459_daily_bin1047.fits scfile=/scratch/kocevski/899012/ft2_4FGL_J2024.8-6459_daily_bin1047.fits outfile=/scratch/kocevski/899012/cmap_HighResolution_510710401_510969601_4FGL_J2024.8-6459_daily_bin1047.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=306.201 yref=-64.9913 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.61
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/899012/ft1_filtered_4FGL_J2024.8-6459_daily_bin1047.fits evtable="EVENTS" scfile=/scratch/kocevski/899012/ft2_4FGL_J2024.8-6459_daily_bin1047.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/899012/Model_4FGL_J2024.8-6459_daily_bin1047.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/899012/ft1_filtered_4FGL_J2024.8-6459_daily_bin1047.fits.....................!
real 71.78
user 70.36
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/899012/ft1_filtered_4FGL_J2024.8-6459_daily_bin1047.fits', '/scratch/kocevski/899012/ft2_4FGL_J2024.8-6459_daily_bin1047.fits', expMap='/scratch/kocevski/899012/expmap_510710401_510969601_4FGL_J2024.8-6459_daily_bin1047.fits', expCube='/scratch/kocevski/899012/ltcube_510710401_510969601_4FGL_J2024.8-6459_daily_bin1047.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/899012/Model_4FGL_J2024.8-6459_daily_bin1047.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2024.8-6459'

4FGL J2024.8-6459
   Spectrum: PowerLaw
329    Prefactor:  2.322e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
330        Index:  2.410e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
331        Scale:  1.138e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/899012/ft1_filtered_4FGL_J2024.8-6459_daily_bin1047.fits
Spacecraft file(s): /scratch/kocevski/899012/ft2_4FGL_J2024.8-6459_daily_bin1047.fits
Exposure map: /scratch/kocevski/899012/expmap_510710401_510969601_4FGL_J2024.8-6459_daily_bin1047.fits
Exposure cube: /scratch/kocevski/899012/ltcube_510710401_510969601_4FGL_J2024.8-6459_daily_bin1047.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/899012/Model_4FGL_J2024.8-6459_daily_bin1047.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) = 8810.2561139

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    39.687       1.0000         .10000E-03   10000.    
     2 'norm      '    1.1542       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    6.2984       1.0000         .10000E-03   10000.    
     6 'Prefactor '    20.455       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.1139       1.0000         .10000E-03   10000.    
     8 'norm      '    2.5570       1.0000         .10000E-03   10000.    
     9 'Prefactor '    74.986       1.0000         .10000E-03   10000.    
    10 'norm      '    29.592       1.0000         .10000E-03   10000.    
    11 'norm      '    1.7689       1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.2905       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .78718       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8810.249     FROM MIGRAD    STATUS=CONVERGED    224 CALLS     1084 TOTAL
                     EDM=   .69E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          39.687        27.896        .15028E-06   -.61891E-05
   2  norm          1.1513        .43526        .11507E-07   -.71141E-03
   3  Prefactor     .10000E-03    4.4429       -.20480E-07** at limit **
   4  Prefactor     .10000E-03    10.979        .15971E-07** at limit **
   5  norm          6.2986        1.6707        .21667E-07   -.72117E-04
   6  Prefactor     20.459        16.848        .52075E-05   -.11578E-04
   7  Prefactor     5.1145        2.8342        .77256E-07   -.41670E-04
   8  norm          2.5574        2.1573       -.18485E-06   -.93599E-04
   9  Prefactor     74.999        65.503        .14134E-04   -.35743E-05
  10  norm          29.595        15.617        .36659E-05   -.79002E-05
  11  norm          1.7694        .94592       -.14674E-06   -.31593E-03
  12  Normalizat    1.2900        .20456       -.23896E-05    .87492E-04
  13  Prefactor     .78738        .95559E-01    .14457E-06   -.14546E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 39.6868
  norm       = 1.15134
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.29856
  Prefactor  = 20.4586
  Prefactor  = 5.11455
  norm       = 2.55737
  Prefactor  = 74.9989
  norm       = 29.5946
  norm       = 1.76941
  Normalizat = 1.29001
  Prefactor  = 0.787381
 **********
 **   18 **HESSE 
 **********

 FCN=   8810.249     FROM HESSE     STATUS=OK           153 CALLS     1237 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          39.687        27.983        .63626E-04   -1.4447    
   2  norm          1.1513        10.601        .21503E-02   -1.5493    
   3  Prefactor     .10000E-03    4.4592        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    10.998        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.2986        1.6710        .60017E-04   -1.5206    
   6  Prefactor     20.459        16.852        .88559E-04   -1.4803    
   7  Prefactor     5.1145        2.8371        .11293E-03   -1.5256    
   8  norm          2.5574        2.1521        .12243E-03   -1.5388    
   9  Prefactor     74.999        65.520        .23184E-03   -1.3974    
  10  norm          29.595        15.624        .73652E-04   -1.4619    
  11  norm          1.7694        .94510        .62980E-04   -1.5442    
  12  Normalizat    1.2900        .24354        .30980E-03   -.83865    
  13  Prefactor     .78738        .11479        .18733E-03   -1.0020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.03853e-09
Minuit parameter uncertainties:
  1  27.9925
  2  6.98846
  3  4.89724e-06
  4  6.36504e-06
  5  1.67103
  6  16.8563
  7  2.83718
  8  2.15219
  9  65.5829
  10  15.6262
  11  0.945103
  12  0.243753
  13  0.114824
Done.

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

Extracting fit parameters...

4FGL J2024.8-6459
   Spectrum: PowerLaw
329    Prefactor:  2.046e+01  1.686e+01  1.000e-04  1.000e+04 ( 1.000e-13)
330        Index:  2.410e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
331        Scale:  1.138e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
592    Prefactor:  7.874e-01  1.148e-01  0.000e+00  1.000e+01 ( 1.000e+00)
593        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
594        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
591   Normalization:  1.290e+00  2.438e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.89
Ra Dec: 306.201 -64.991
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 5.09e-08 +/- 4.19e-08
Energy Flux (Fixed Index): 1.65e-05 +/- 1.36e-05

TS (Fixed Index): 1.89
Ra Dec: 306.201 -64.991
Photon Flux Upper Limit: 1.34e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.04e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/899012/likelihoodResults_510710401_510969601_4FGL_J2024.8-6459_daily_bin1047.txt

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) = 8810.00770075
delta logL = 0.24114807709

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8809.98388032
delta logL = 0.264968506148

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.8959       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9499       1.0000          .0000       10.000    
     3 'Normalizat'    1.2663       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79563       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8809.984     FROM MIGRAD    STATUS=FAILED       102 CALLS      362 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.8792        41.028        .63691E-03   -.53371E-04
   2  Index         2.9505        2.0202        .60495E-02    .82022E-03
   3  Normalizat    1.2663        .23878        .31219E-03   -.13700E-03
   4  Prefactor     .79564        .11620        .18644E-03   -.25460E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8809.984     FROM SIMPLEX   STATUS=UNCHANGED     77 CALLS      439 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.8792        41.028        .21417E-03   -1.5079    
   2  Index         2.9505        2.0202        .58496E-03   -.42234    
   3  Normalizat    1.2663        .23878        .32327E-03   -.84577    
   4  Prefactor     .79564        .11620        .16607E-03   -.99889    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8809.984     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      479 TOTAL
                     EDM=   .36E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.8792        17.679        .25476E-04   -.16065E-04
   2  Index         2.9505        .91176        .12099E-02    .50928E-05
   3  Normalizat    1.2663        .23589        .12488E-04   -.72831E-06
   4  Prefactor     .79564        .11382        .37288E-04   -.48783E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.87921
  Index      = 2.95051
  Normalizat = 1.26632
  Prefactor  = 0.795636
 **********
 **   18 **HESSE 
 **********

 FCN=   8809.984     FROM HESSE     STATUS=OK            23 CALLS      502 TOTAL
                     EDM=   .26E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.8792        16.533        .10190E-05   -1.5079    
   2  Index         2.9505        .85295        .48396E-04   -.42234    
   3  Normalizat    1.2663        .23561        .24975E-05   -.84577    
   4  Prefactor     .79564        .11364        .74575E-05   -.99889    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.63691e-12
Minuit parameter uncertainties:
  1  16.5407
  2  0.857998
  3  0.235811
  4  0.113678
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/899012': 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) = 8809.98387964
delta logL = 0.264969189047

Extracting fit parameters...

4FGL J2024.8-6459
   Spectrum: PowerLaw
329    Prefactor:  9.879e+00  1.654e+01  1.000e-04  1.000e+04 ( 1.000e-13)
330        Index:  2.951e+00  8.580e-01  0.000e+00  1.000e+01 (-1.000e+00)
331        Scale:  1.138e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
592    Prefactor:  7.956e-01  1.137e-01  0.000e+00  1.000e+01 ( 1.000e+00)
593        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
594        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
591   Normalization:  1.266e+00  2.358e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.44
Ra Dec: 306.201 -64.991
Photon Index (Free Index): 2.95 +/- 0.86
Photon Flux (Free Index): 6.63e-08 +/- 4.94e-08
Energy Flux (Free Index): 1.36e-05 +/- 1.08e-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/899012/cmap_HighResolution_510710401_510969601_4FGL_J2024.8-6459_daily_bin1047.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.04e-02', comment='SUCCESS', photon_flux='5.09e-08', energy_flux2='1.36e-05', photon_flux_error='4.19e-08', dlogl='2.65e-01', energy_flux='1.65e-05', photon_flux2='6.63e-08', job_status='DONE', time_completed='2021-09-25 03:43:14.958749', photon_index_error2='0.86', photon_index2='2.95', ts='1.89', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', photon_flux_upper_limit='1.34e-07', energy_flux_error2='1.08e-05', EG='1.29', time_epoch_completed='1632566594.96', return_code='0', job_id='899012', GAL2='0.80', EG2='1.27', return_code2='0', energy_flux_error='1.36e-05', photon_flux_error2='4.94e-08', ts2='2.44', photon_index='2.41' WHERE bin_id='1047' AND source_name='4FGL J2024.8-6459' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 03:43:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 899012: <4FGL_J2024.8-6459_daily_bin1047> in cluster <slac> Done

Job <4FGL_J2024.8-6459_daily_bin1047> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep 25 03:31:15 2021
Job was executed on host(s) <bullet0098>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 03:32:03 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 25 03:32:03 2021
Terminated at Sat Sep 25 03:43:15 2021
Results reported at Sat Sep 25 03:43:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2024.8-6459_daily_bin1047 306.201 -64.9913 510710401 510969601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2024.8-6459 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   597.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             315.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   672 sec.
    Turnaround time :                            720 sec.

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

