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


Performing analysis on: 4FGL_J2024.8-6459_daily_bin1438
RA = 306.201, Dec = -64.9913
tmin = 612057601, tmax = 612316801
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='899615', job_status='RUN', time_executed='2021-09-25 03:34:07.099357', time_epoch_executed='1632566047.1' WHERE source_name='4FGL J2024.8-6459' and cadence='daily' and bin_id='1438'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/899615

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/899615/ft1_4FGL_J2024.8-6459_daily_bin1438.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/899615/ft2_4FGL_J2024.8-6459_daily_bin1438.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/899615/ft1_4FGL_J2024.8-6459_daily_bin1438.fits outfile=/scratch/kocevski/899615/ft1_filteredMKT_4FGL_J2024.8-6459_daily_bin1438.fits ra=306.201 dec=-64.9913 rad=12.0 tmin=612057601.0 tmax=612316801.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.63
user 4.37
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/899615/ft2_4FGL_J2024.8-6459_daily_bin1438.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/899615/ft1_filteredMKT_4FGL_J2024.8-6459_daily_bin1438.fits evtable="EVENTS" outfile="/scratch/kocevski/899615/ft1_filtered_4FGL_J2024.8-6459_daily_bin1438.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.54
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/899615/ft1_filtered_4FGL_J2024.8-6459_daily_bin1438.fits" evtable="EVENTS" scfile=/scratch/kocevski/899615/ft2_4FGL_J2024.8-6459_daily_bin1438.fits sctable="SC_DATA" outfile=/scratch/kocevski/899615/ltcube_612057601_612316801_4FGL_J2024.8-6459_daily_bin1438.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/899615/ft2_4FGL_J2024.8-6459_daily_bin1438.fits
.....................!
real 15.09
user 14.72
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/899615/ft1_filtered_4FGL_J2024.8-6459_daily_bin1438.fits evtable="EVENTS" scfile=/scratch/kocevski/899615/ft2_4FGL_J2024.8-6459_daily_bin1438.fits sctable="SC_DATA" expcube=/scratch/kocevski/899615/ltcube_612057601_612316801_4FGL_J2024.8-6459_daily_bin1438.fits outfile=/scratch/kocevski/899615/expmap_612057601_612316801_4FGL_J2024.8-6459_daily_bin1438.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/899615/ltcube_612057601_612316801_4FGL_J2024.8-6459_daily_bin1438.fits
.....................!
real 193.82
user 187.79
sys 5.53

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/899615/ft1_filtered_4FGL_J2024.8-6459_daily_bin1438.fits scfile=/scratch/kocevski/899615/ft2_4FGL_J2024.8-6459_daily_bin1438.fits outfile=/scratch/kocevski/899615/cmap_612057601_612316801_4FGL_J2024.8-6459_daily_bin1438.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.57
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/899615/ft1_filtered_4FGL_J2024.8-6459_daily_bin1438.fits scfile=/scratch/kocevski/899615/ft2_4FGL_J2024.8-6459_daily_bin1438.fits outfile=/scratch/kocevski/899615/cmap_HighResolution_612057601_612316801_4FGL_J2024.8-6459_daily_bin1438.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.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/899615/ft1_filtered_4FGL_J2024.8-6459_daily_bin1438.fits evtable="EVENTS" scfile=/scratch/kocevski/899615/ft2_4FGL_J2024.8-6459_daily_bin1438.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/899615/Model_4FGL_J2024.8-6459_daily_bin1438.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/899615/ft1_filtered_4FGL_J2024.8-6459_daily_bin1438.fits.....................!
real 77.71
user 76.17
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.2394       1.0000         .10000E-03   10000.    
     2 'norm      '    72.303       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .89929E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10237E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.7240       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.8500       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.1139       1.0000         .10000E-03   10000.    
     8 'norm      '    2.1207       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .38156E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .48012E-01   1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.2656       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .80479       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.

 FCN=   9154.326     FROM MIGRAD    STATUS=CONVERGED    248 CALLS      882 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.0473        21.572        .32962E-02    .12507E-03
   2  norm          72.358        14.679        .11803E-02   -.70589E-02
   3  Prefactor     .10164E-03    8.8288        .10415    ** at limit **
   4  Prefactor     .10000E-03    15.473        .90712E-02** at limit **
   5  norm          1.7238        1.0598        .79966E-03    .12954E-02
   6  Prefactor     7.8492        8.9599        .35779E-02   -.12997E-03
   7  Prefactor     8.1140        2.8777        .35188E-02    .87657E-04
   8  norm          2.1206        1.6255        .70801E-02    .26621E-04
   9  Prefactor     .10000E-03    28.429        .10643E-01** at limit **
  10  norm          .10000E-03    5.2366        .90712E-02** at limit **
  11  norm          .48437E-01    .34022        .36985E-01    .89305E-03
  12  Normalizat    1.2656        .19520        .69654E-01    .13708E-04
  13  Prefactor     .80480        .92931E-01    .43780E-01    .26119E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 9.04732
  norm       = 72.3584
  Prefactor  = 0.00010164
  Prefactor  = 0.0001
  norm       = 1.72382
  Prefactor  = 7.84916
  Prefactor  = 8.114
  norm       = 2.12058
  Prefactor  = 0.000100005
  norm       = 0.0001
  norm       = 0.0484366
  Normalizat = 1.26565
  Prefactor  = 0.804803
 **********
 **   18 **HESSE 
 **********

 FCN=   9154.326     FROM HESSE     STATUS=OK           153 CALLS     1035 TOTAL
                     EDM=   .51E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.0473        21.481        .13185E-03   -1.5106    
   2  norm          72.358        14.243        .47214E-04   -1.4005    
   3  Prefactor     .10164E-03    75.607        .52461E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    15.535        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.7238        1.0602        .15993E-03   -1.5445    
   6  Prefactor     7.8492        8.9638        .14311E-03   -1.5148    
   7  Prefactor     8.1140        2.8822        .93090E-04   -1.5138    
   8  norm          2.1206        1.6250        .10396E-03   -1.5417    
   9  Prefactor     .10000E-03    28.442        .21285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    5.2481        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .48437E-01    3.7910        .10495E-02   -1.5664    
  12  Normalizat    1.2656        .23706        .30818E-03   -.84598    
  13  Prefactor     .80480        .11192        .18312E-03   -.99552    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.14545e-08
Minuit parameter uncertainties:
  1  21.4991
  2  14.2434
  3  0.0222981
  4  4.83732e-06
  5  1.06024
  6  8.96531
  7  2.88227
  8  1.62504
  9  0.000739527
  10  4.50949e-06
  11  0.856195
  12  0.237258
  13  0.111952
Done.

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

Extracting fit parameters...

4FGL J2024.8-6459
   Spectrum: PowerLaw
329    Prefactor:  7.849e+00  8.965e+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

GAL_V02
   Spectrum: PowerLaw
592    Prefactor:  8.048e-01  1.120e-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.373e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.66
Ra Dec: 306.201 -64.991
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 1.95e-08 +/- 2.23e-08
Energy Flux (Fixed Index): 6.32e-06 +/- 7.22e-06

TS (Fixed Index): 1.66
Ra Dec: 306.201 -64.991
Photon Flux Upper Limit: 8.18e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.32e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/899615/likelihoodResults_612057601_612316801_4FGL_J2024.8-6459_daily_bin1438.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) = 9154.17376868
delta logL = 0.15197425023

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9154.16739032
delta logL = 0.15835260832

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.169       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9175       1.0000          .0000       10.000    
     3 'Normalizat'    1.2755       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80228       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9154.167     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      273 TOTAL
                     EDM=   .85E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.171        11.709        .12565E-03   -.15110E-02
   2  Index         1.9182        .82315        .14374E-01   -.35849E-03
   3  Normalizat    1.2755        .22642        .30715E-03    .21327E-03
   4  Prefactor     .80231        .11044        .18337E-03    .37423E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.1707
  Index      = 1.91824
  Normalizat = 1.2755
  Prefactor  = 0.80231
 **********
 **   18 **HESSE 
 **********

 FCN=   9154.167     FROM HESSE     STATUS=OK            23 CALLS      296 TOTAL
                     EDM=   .89E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.171        11.692        .25130E-04   -1.5070    
   2  Index         1.9182        .82233        .57498E-03   -.66410    
   3  Normalizat    1.2755        .22659        .12286E-04   -.84301    
   4  Prefactor     .80231        .11054        .36674E-04   -.99643    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.93021e-09
Minuit parameter uncertainties:
  1  11.6947
  2  0.828425
  3  0.226768
  4  0.110569
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/899615': 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) = 9154.1673896
delta logL = 0.15835333325

Extracting fit parameters...

4FGL J2024.8-6459
   Spectrum: PowerLaw
329    Prefactor:  1.017e+01  1.169e+01  1.000e-04  1.000e+04 ( 1.000e-13)
330        Index:  1.918e+00  8.284e-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:  8.023e-01  1.106e-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.276e+00  2.268e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.97
Ra Dec: 306.201 -64.991
Photon Index (Free Index): 1.92 +/- 0.83
Photon Flux (Free Index): 1.17e-08 +/- 1.88e-08
Energy Flux (Free Index): 1.00e-05 +/- 1.61e-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/899615/cmap_HighResolution_612057601_612316801_4FGL_J2024.8-6459_daily_bin1438.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.32e-03', comment='SUCCESS', photon_flux='1.95e-08', energy_flux2='1.00e-05', photon_flux_error='2.23e-08', dlogl='1.58e-01', energy_flux='6.32e-06', photon_flux2='1.17e-08', job_status='DONE', time_completed='2021-09-25 03:44:07.416741', photon_index_error2='0.83', photon_index2='1.92', ts='1.66', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', photon_flux_upper_limit='8.18e-08', energy_flux_error2='1.61e-05', EG='1.27', time_epoch_completed='1632566647.42', return_code='0', job_id='899615', GAL2='0.80', EG2='1.28', return_code2='0', energy_flux_error='7.22e-06', photon_flux_error2='1.88e-08', ts2='1.97', photon_index='2.41' WHERE bin_id='1438' AND source_name='4FGL J2024.8-6459' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 03:44:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0124>
Subject: Job 899615: <4FGL_J2024.8-6459_daily_bin1438> in cluster <slac> Done

Job <4FGL_J2024.8-6459_daily_bin1438> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep 25 03:31:59 2021
Job was executed on host(s) <bullet0124>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 03:33:37 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:33:37 2021
Terminated at Sat Sep 25 03:44:10 2021
Results reported at Sat Sep 25 03:44:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2024.8-6459_daily_bin1438 306.201 -64.9913 612057601 612316801 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 :                                   587.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             365.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   632 sec.
    Turnaround time :                            731 sec.

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

