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


Performing analysis on: 4FGL_J2024.8-6459_daily_bin291
RA = 306.201, Dec = -64.9913
tmin = 314755201, tmax = 315014401
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='894508', job_status='RUN', time_executed='2021-09-25 03:19:54.466595', time_epoch_executed='1632565194.47' WHERE source_name='4FGL J2024.8-6459' and cadence='daily' and bin_id='291'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/894508

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/894508/ft1_4FGL_J2024.8-6459_daily_bin291.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/894508/ft2_4FGL_J2024.8-6459_daily_bin291.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/894508/ft1_4FGL_J2024.8-6459_daily_bin291.fits outfile=/scratch/kocevski/894508/ft1_filteredMKT_4FGL_J2024.8-6459_daily_bin291.fits ra=306.201 dec=-64.9913 rad=12.0 tmin=314755201.0 tmax=315014401.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.48
user 3.23
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/894508/ft1_filtered_4FGL_J2024.8-6459_daily_bin291.fits" evtable="EVENTS" scfile=/scratch/kocevski/894508/ft2_4FGL_J2024.8-6459_daily_bin291.fits sctable="SC_DATA" outfile=/scratch/kocevski/894508/ltcube_314755201_315014401_4FGL_J2024.8-6459_daily_bin291.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/894508/ft2_4FGL_J2024.8-6459_daily_bin291.fits
.....................!
real 13.50
user 13.01
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/894508/ft1_filtered_4FGL_J2024.8-6459_daily_bin291.fits evtable="EVENTS" scfile=/scratch/kocevski/894508/ft2_4FGL_J2024.8-6459_daily_bin291.fits sctable="SC_DATA" expcube=/scratch/kocevski/894508/ltcube_314755201_315014401_4FGL_J2024.8-6459_daily_bin291.fits outfile=/scratch/kocevski/894508/expmap_314755201_315014401_4FGL_J2024.8-6459_daily_bin291.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/894508/ltcube_314755201_315014401_4FGL_J2024.8-6459_daily_bin291.fits
.....................!
real 191.82
user 186.89
sys 4.38

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/894508/ft1_filtered_4FGL_J2024.8-6459_daily_bin291.fits scfile=/scratch/kocevski/894508/ft2_4FGL_J2024.8-6459_daily_bin291.fits outfile=/scratch/kocevski/894508/cmap_314755201_315014401_4FGL_J2024.8-6459_daily_bin291.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/894508/ft1_filtered_4FGL_J2024.8-6459_daily_bin291.fits scfile=/scratch/kocevski/894508/ft2_4FGL_J2024.8-6459_daily_bin291.fits outfile=/scratch/kocevski/894508/cmap_HighResolution_314755201_315014401_4FGL_J2024.8-6459_daily_bin291.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.58
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/894508/ft1_filtered_4FGL_J2024.8-6459_daily_bin291.fits evtable="EVENTS" scfile=/scratch/kocevski/894508/ft2_4FGL_J2024.8-6459_daily_bin291.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/894508/Model_4FGL_J2024.8-6459_daily_bin291.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/894508/ft1_filtered_4FGL_J2024.8-6459_daily_bin291.fits....................!
real 72.09
user 70.63
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    5.1911       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.8116       1.0000         .10000E-03   10000.    
     4 'Prefactor '    21.230       1.0000         .10000E-03   10000.    
     5 'norm      '    1.2986       1.0000         .10000E-03   10000.    
     6 'Prefactor '    21.704       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.1821       1.0000         .10000E-03   10000.    
     8 'norm      '    1.8660       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    13.422       1.0000         .10000E-03   10000.    
    11 'norm      '    .18556       1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.2328       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .84492       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=   8665.283     FROM MIGRAD    STATUS=CONVERGED    217 CALLS     1439 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.7572        .90712E-02** at limit **
   2  norm          5.1907        9.2441        .44109E-02    .32609E-03
   3  Prefactor     4.8124        13.967        .45851E-02   -.12041E-03
   4  Prefactor     21.229        26.867        .21733E-02    .50313E-03
   5  norm          1.2986        .91134        .96981E-02    .25560E-03
   6  Prefactor     21.705        19.490        .21494E-02   -.11555E-02
   7  Prefactor     5.1823        2.5138        .44148E-02    .20591E-03
   8  norm          1.8660        1.3802        .76243E-02   -.30931E-03
   9  Prefactor     .10000E-03    31.269        .90712E-02** at limit **
  10  norm          13.422        10.697        .27333E-02    .29393E-03
  11  norm          .18572        .56872        .22418E-01    .25229E-02
  12  Normalizat    1.2326        .20341        .69946E-01    .15290E-04
  13  Prefactor     .84502        .94963E-01    .44299E-01    .10001E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 5.19071
  Prefactor  = 4.81245
  Prefactor  = 21.2293
  norm       = 1.29864
  Prefactor  = 21.7047
  Prefactor  = 5.18227
  norm       = 1.86601
  Prefactor  = 0.0001
  norm       = 13.4223
  norm       = 0.185717
  Normalizat = 1.23256
  Prefactor  = 0.845021
 **********
 **   18 **HESSE 
 **********

 FCN=   8665.283     FROM HESSE     STATUS=OK           151 CALLS     1590 TOTAL
                     EDM=   .32E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.7677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          5.1907        9.1844        .17644E-03   -1.5252    
   3  Prefactor     4.8124        13.876        .18340E-03   -1.5269    
   4  Prefactor     21.229        26.884        .86931E-04   -1.4786    
   5  norm          1.2986        .90259        .71845E-04   -1.5480    
   6  Prefactor     21.705        19.590        .85977E-04   -1.4776    
   7  Prefactor     5.1823        2.5137        .99040E-04   -1.5253    
   8  norm          1.8660        1.3875        .91699E-04   -1.5435    
   9  Prefactor     .10000E-03    31.280        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          13.422        10.690        .10933E-03   -1.4975    
  11  norm          .18572        .72322        .11472E-02   -1.5622    
  12  Normalizat    1.2326        .24480        .30949E-03   -.85602    
  13  Prefactor     .84502        .11524        .17705E-03   -.98090    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.15597e-08
Minuit parameter uncertainties:
  1  2.47993e-06
  2  9.18688
  3  13.8856
  4  26.8989
  5  0.902601
  6  19.5957
  7  2.51372
  8  1.38755
  9  1.07216e-05
  10  10.692
  11  0.723255
  12  0.245033
  13  0.115276
Done.

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

Extracting fit parameters...

4FGL J2024.8-6459
   Spectrum: PowerLaw
329    Prefactor:  2.170e+01  1.960e+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.450e-01  1.153e-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.233e+00  2.450e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.65
Ra Dec: 306.201 -64.991
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 5.40e-08 +/- 4.87e-08
Energy Flux (Fixed Index): 1.75e-05 +/- 1.58e-05

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

Saving results to:
/scratch/kocevski/894508/likelihoodResults_314755201_315014401_4FGL_J2024.8-6459_daily_bin291.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): 102
logL (Free Index) = 8662.67652641
delta logL = 2.60639411745

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8662.65332919
delta logL = 2.62959133752

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.3825       1.0000         .10000E-03   10000.    
     2 'Index     '    4.3698       1.0000          .0000       10.000    
     3 'Normalizat'    1.0878       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88994       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=   8662.653     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      243 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.3791        7.2803        .92518E-02    .88038E-03
   2  Index         4.3717        1.8756        .82952E-01    .26797E-03
   3  Normalizat    1.0876        .63509E-01    .73681E-01    .27282E-04
   4  Prefactor     .88997        .30430E-01    .44877E-01    .13395E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.37905
  Index      = 4.37168
  Normalizat = 1.08759
  Prefactor  = 0.88997
 **********
 **   18 **HESSE 
 **********

 FCN=   8662.653     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      276 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.3791        12.913        .46406E-04   -1.5473    
   2  Index         4.3717        2.7169        .33307E-02   -.12600    
   3  Normalizat    1.0876        .22061        .32607E-03   -.90151    
   4  Prefactor     .88997        .10546        .17281E-03   -.96492    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.87877e-10
Minuit parameter uncertainties:
  1  8.44191
  2  2.87516
  3  0.2208
  4  0.105488
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/894508': 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): 102
logL (Free Index) = 8662.65332236
delta logL = 2.62959816951

Extracting fit parameters...

4FGL J2024.8-6459
   Spectrum: PowerLaw
329    Prefactor:  1.379e+00  8.442e+00  1.000e-04  1.000e+04 ( 1.000e-13)
330        Index:  4.372e+00  2.875e+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.900e-01  1.055e-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.088e+00  2.208e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.42
Ra Dec: 306.201 -64.991
Photon Index (Free Index): 4.37 +/- 2.88
Photon Flux (Free Index): 1.70e-07 +/- 7.58e-08
Energy Flux (Free Index): 2.41e-05 +/- 1.33e-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/894508/cmap_HighResolution_314755201_315014401_4FGL_J2024.8-6459_daily_bin291.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.17e-02', comment='SUCCESS', photon_flux='5.40e-08', energy_flux2='2.41e-05', photon_flux_error='4.87e-08', dlogl='2.63e+00', energy_flux='1.75e-05', photon_flux2='1.70e-07', job_status='DONE', time_completed='2021-09-25 03:30:02.748010', photon_index_error2='2.88', photon_index2='4.37', ts='1.65', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='1.52e-07', energy_flux_error2='1.33e-05', EG='1.23', time_epoch_completed='1632565802.75', return_code='0', job_id='894508', GAL2='0.89', EG2='1.09', return_code2='102', energy_flux_error='1.58e-05', photon_flux_error2='7.58e-08', ts2='7.42', photon_index='2.41' WHERE bin_id='291' AND source_name='4FGL J2024.8-6459' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 03:30:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 894508: <4FGL_J2024.8-6459_daily_bin291> in cluster <slac> Done

Job <4FGL_J2024.8-6459_daily_bin291> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep 25 03:16:38 2021
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 03:18:25 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:18:25 2021
Terminated at Sat Sep 25 03:30:03 2021
Results reported at Sat Sep 25 03:30:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2024.8-6459_daily_bin291 306.201 -64.9913 314755201 315014401 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 :                                   605.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             344.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   698 sec.
    Turnaround time :                            805 sec.

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

