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


Performing analysis on: 4FGL_J2024.8-6459_daily_bin858
RA = 306.201, Dec = -64.9913
tmin = 461721601, tmax = 461980801
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='897545', job_status='RUN', time_executed='2021-09-25 03:28:49.192485', time_epoch_executed='1632565729.19' WHERE source_name='4FGL J2024.8-6459' and cadence='daily' and bin_id='858'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/897545

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/897545/ft1_4FGL_J2024.8-6459_daily_bin858.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/897545/ft2_4FGL_J2024.8-6459_daily_bin858.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/897545/ft1_4FGL_J2024.8-6459_daily_bin858.fits outfile=/scratch/kocevski/897545/ft1_filteredMKT_4FGL_J2024.8-6459_daily_bin858.fits ra=306.201 dec=-64.9913 rad=12.0 tmin=461721601.0 tmax=461980801.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.12
user 3.88
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/897545/ft2_4FGL_J2024.8-6459_daily_bin858.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/897545/ft1_filteredMKT_4FGL_J2024.8-6459_daily_bin858.fits evtable="EVENTS" outfile="/scratch/kocevski/897545/ft1_filtered_4FGL_J2024.8-6459_daily_bin858.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.50
user 0.36
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/897545/ft1_filtered_4FGL_J2024.8-6459_daily_bin858.fits" evtable="EVENTS" scfile=/scratch/kocevski/897545/ft2_4FGL_J2024.8-6459_daily_bin858.fits sctable="SC_DATA" outfile=/scratch/kocevski/897545/ltcube_461721601_461980801_4FGL_J2024.8-6459_daily_bin858.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/897545/ft2_4FGL_J2024.8-6459_daily_bin858.fits
.....................!
real 13.48
user 13.07
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/897545/ft1_filtered_4FGL_J2024.8-6459_daily_bin858.fits evtable="EVENTS" scfile=/scratch/kocevski/897545/ft2_4FGL_J2024.8-6459_daily_bin858.fits sctable="SC_DATA" expcube=/scratch/kocevski/897545/ltcube_461721601_461980801_4FGL_J2024.8-6459_daily_bin858.fits outfile=/scratch/kocevski/897545/expmap_461721601_461980801_4FGL_J2024.8-6459_daily_bin858.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/897545/ltcube_461721601_461980801_4FGL_J2024.8-6459_daily_bin858.fits
.....................!
real 190.35
user 185.61
sys 4.25

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/897545/ft1_filtered_4FGL_J2024.8-6459_daily_bin858.fits scfile=/scratch/kocevski/897545/ft2_4FGL_J2024.8-6459_daily_bin858.fits outfile=/scratch/kocevski/897545/cmap_461721601_461980801_4FGL_J2024.8-6459_daily_bin858.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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/897545/ft1_filtered_4FGL_J2024.8-6459_daily_bin858.fits scfile=/scratch/kocevski/897545/ft2_4FGL_J2024.8-6459_daily_bin858.fits outfile=/scratch/kocevski/897545/cmap_HighResolution_461721601_461980801_4FGL_J2024.8-6459_daily_bin858.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.59
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/897545/ft1_filtered_4FGL_J2024.8-6459_daily_bin858.fits evtable="EVENTS" scfile=/scratch/kocevski/897545/ft2_4FGL_J2024.8-6459_daily_bin858.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/897545/Model_4FGL_J2024.8-6459_daily_bin858.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/897545/ft1_filtered_4FGL_J2024.8-6459_daily_bin858.fits.....................!
real 75.95
user 74.50
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/897545/ft1_filtered_4FGL_J2024.8-6459_daily_bin858.fits', '/scratch/kocevski/897545/ft2_4FGL_J2024.8-6459_daily_bin858.fits', expMap='/scratch/kocevski/897545/expmap_461721601_461980801_4FGL_J2024.8-6459_daily_bin858.fits', expCube='/scratch/kocevski/897545/ltcube_461721601_461980801_4FGL_J2024.8-6459_daily_bin858.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/897545/Model_4FGL_J2024.8-6459_daily_bin858.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/897545/ft1_filtered_4FGL_J2024.8-6459_daily_bin858.fits
Spacecraft file(s): /scratch/kocevski/897545/ft2_4FGL_J2024.8-6459_daily_bin858.fits
Exposure map: /scratch/kocevski/897545/expmap_461721601_461980801_4FGL_J2024.8-6459_daily_bin858.fits
Exposure cube: /scratch/kocevski/897545/ltcube_461721601_461980801_4FGL_J2024.8-6459_daily_bin858.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/897545/Model_4FGL_J2024.8-6459_daily_bin858.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) = 9372.94921521

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    18.376       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.4288       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .76767       1.0000         .10000E-03   10000.    
     5 'norm      '    3.7647       1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.027       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.3661       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.4093       1.0000         .10000E-03   10000.    
    10 'norm      '    13.656       1.0000         .10000E-03   10000.    
    11 'norm      '    .89759       1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.0941       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .89075       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=   9372.945     FROM MIGRAD    STATUS=CONVERGED    237 CALLS     1119 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.362        21.760        .16069E-04    .78371E-05
   2  norm          .10000E-03    9.5870        .64669E-06** at limit **
   3  Prefactor     2.4366        22.239       -.15055E-04   -.19307E-03
   4  Prefactor     .68702        20.615        .37112E-05   -.60264E-03
   5  norm          3.7648        1.3247        .90067E-07   -.26172E-03
   6  Prefactor     11.030        17.184       -.68374E-05   -.39258E-04
   7  Prefactor     4.3663        2.2206       -.10689E-06   -.28920E-03
   8  norm          .10000E-03    .66350       -.12342E-06** at limit **
   9  Prefactor     9.4915        45.932        .12084E-03    .12293E-04
  10  norm          13.652        11.953       -.77248E-05   -.18855E-04
  11  norm          .89761        .77161       -.14506E-06   -.16461E-02
  12  Normalizat    1.0939        .19081        .72000E-08   -.14027E-03
  13  Prefactor     .89079        .91149E-01   -.94735E-06    .46994E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 18.3618
  norm       = 0.0001
  Prefactor  = 2.43665
  Prefactor  = 0.687019
  norm       = 3.76482
  Prefactor  = 11.0297
  Prefactor  = 4.36634
  norm       = 0.0001
  Prefactor  = 9.49147
  norm       = 13.6521
  norm       = 0.897612
  Normalizat = 1.09394
  Prefactor  = 0.890789
 **********
 **   18 **HESSE 
 **********

 FCN=   9372.945     FROM HESSE     STATUS=OK           163 CALLS     1282 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.362        21.735        .93431E-04   -1.4851    
   2  norm          .10000E-03    9.7414        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.4366        22.192        .26259E-03   -1.5396    
   4  Prefactor     .68702        24.605        .13497       -1.5542    
   5  norm          3.7648        1.3231        .63090E-04   -1.5320    
   6  Prefactor     11.030        17.209        .12065E-03   -1.5044    
   7  Prefactor     4.3663        2.2198        .99117E-04   -1.5290    
   8  norm          .10000E-03    .66749        .77007E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.4915        45.564        .13065E-03   -1.5092    
  10  norm          13.652        11.947        .10839E-03   -1.4969    
  11  norm          .89761        .74526        .74612E-03   -1.5518    
  12  Normalizat    1.0939        .22892        .32147E-03   -.89947    
  13  Prefactor     .89079        .11028        .17199E-03   -.96464    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.26078e-09
Minuit parameter uncertainties:
  1  21.7448
  2  0.000133654
  3  14.7138
  4  8.22603
  5  1.32316
  6  17.2165
  7  2.21988
  8  1.8758e-05
  9  41.6429
  10  11.9491
  11  0.74527
  12  0.22913
  13  0.110306
Done.

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

Extracting fit parameters...

4FGL J2024.8-6459
   Spectrum: PowerLaw
329    Prefactor:  1.103e+01  1.722e+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:  8.908e-01  1.103e-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.094e+00  2.291e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.48
Ra Dec: 306.201 -64.991
Photon Flux Upper Limit: 1.20e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.29e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/897545/likelihoodResults_461721601_461980801_4FGL_J2024.8-6459_daily_bin858.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) = 9372.92566188
delta logL = 0.0195093108559

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9372.91125952
delta logL = 0.033911675222

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.6517       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7415       1.0000          .0000       10.000    
     3 'Normalizat'    1.0835       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89435       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=   9372.911     FROM MIGRAD    STATUS=FAILED       102 CALLS      267 TOTAL
                     EDM=   .32E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.6257        35.631        .72486E-03   -.23244E-04
   2  Index         2.7432        2.3107        .83687E-02    .32450E-03
   3  Normalizat    1.0836        .23085        .32283E-03   -.14509E-04
   4  Prefactor     .89429        .11163        .17169E-03   -.23574E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   9372.911     FROM SIMPLEX   STATUS=UNCHANGED     73 CALLS      340 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.6257        35.631        .29421E-03   -1.5156    
   2  Index         2.7432        2.3107        .13651E-02   -.46828    
   3  Normalizat    1.0836        .23085        .51396E-03   -.90281    
   4  Prefactor     .89429        .11163        .21043E-03   -.96341    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9372.911     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      372 TOTAL
                     EDM=   .99E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.6257        20.360        .28994E-04   -.25094E-04
   2  Index         2.7432        1.4704        .16737E-02   -.40754E-05
   3  Normalizat    1.0836        .22774        .12913E-04   -.95082E-05
   4  Prefactor     .89429        .11003        .68675E-05   -.15230E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.62567
  Index      = 2.74323
  Normalizat = 1.08357
  Prefactor  = 0.894291
 **********
 **   18 **HESSE 
 **********

 FCN=   9372.911     FROM HESSE     STATUS=OK            23 CALLS      395 TOTAL
                     EDM=   .95E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.6257        19.344        .11598E-05   -1.5156    
   2  Index         2.7432        1.3999        .66949E-04   -.46828    
   3  Normalizat    1.0836        .22793        .25827E-05   -.90281    
   4  Prefactor     .89429        .11012        .13735E-05   -.96341    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.51934e-13
Minuit parameter uncertainties:
  1  19.3596
  2  1.4239
  3  0.228141
  4  0.110143
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/897545': 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) = 9372.91125825
delta logL = 0.0339129474887

Extracting fit parameters...

4FGL J2024.8-6459
   Spectrum: PowerLaw
329    Prefactor:  7.626e+00  1.936e+01  1.000e-04  1.000e+04 ( 1.000e-13)
330        Index:  2.743e+00  1.424e+00  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:  8.943e-01  1.101e-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.084e+00  2.281e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.48
Ra Dec: 306.201 -64.991

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/897545/cmap_HighResolution_461721601_461980801_4FGL_J2024.8-6459_daily_bin858.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.29e-03', job_status='DONE', photon_flux_upper_limit='1.20e-07', time_completed='2021-09-25 03:39:00.238947', job_id='897545', GAL2='0.89', fit_tolerance='1e-08', EG2='1.08', EG='1.09', time_epoch_completed='1632566340.24', return_code2='0', ts='0.48', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='3.39e-02', ts2='0.55', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='858' AND source_name='4FGL J2024.8-6459' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 03:39:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0288>
Subject: Job 897545: <4FGL_J2024.8-6459_daily_bin858> in cluster <slac> Done

Job <4FGL_J2024.8-6459_daily_bin858> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Sep 25 03:26:18 2021
Job was executed on host(s) <bullet0288>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 03:27:00 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:27:00 2021
Terminated at Sat Sep 25 03:39:00 2021
Results reported at Sat Sep 25 03:39:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2024.8-6459_daily_bin858 306.201 -64.9913 461721601 461980801 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 :                                   607.41 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             336.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   720 sec.
    Turnaround time :                            762 sec.

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

