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


Performing analysis on: 4FGL_J2024.8-6459_daily_bin1007
RA = 306.201, Dec = -64.9913
tmin = 500342401, tmax = 500601601
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='898942', job_status='RUN', time_executed='2021-09-25 03:35:27.452788', time_epoch_executed='1632566127.45' WHERE source_name='4FGL J2024.8-6459' and cadence='daily' and bin_id='1007'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/898942

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/898942/ft1_4FGL_J2024.8-6459_daily_bin1007.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/898942/ft2_4FGL_J2024.8-6459_daily_bin1007.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/898942/ft1_4FGL_J2024.8-6459_daily_bin1007.fits outfile=/scratch/kocevski/898942/ft1_filteredMKT_4FGL_J2024.8-6459_daily_bin1007.fits ra=306.201 dec=-64.9913 rad=12.0 tmin=500342401.0 tmax=500601601.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.95
user 4.44
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/898942/ft1_filtered_4FGL_J2024.8-6459_daily_bin1007.fits" evtable="EVENTS" scfile=/scratch/kocevski/898942/ft2_4FGL_J2024.8-6459_daily_bin1007.fits sctable="SC_DATA" outfile=/scratch/kocevski/898942/ltcube_500342401_500601601_4FGL_J2024.8-6459_daily_bin1007.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/898942/ft2_4FGL_J2024.8-6459_daily_bin1007.fits
.....................!
real 15.09
user 14.55
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/898942/ft1_filtered_4FGL_J2024.8-6459_daily_bin1007.fits evtable="EVENTS" scfile=/scratch/kocevski/898942/ft2_4FGL_J2024.8-6459_daily_bin1007.fits sctable="SC_DATA" expcube=/scratch/kocevski/898942/ltcube_500342401_500601601_4FGL_J2024.8-6459_daily_bin1007.fits outfile=/scratch/kocevski/898942/expmap_500342401_500601601_4FGL_J2024.8-6459_daily_bin1007.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/898942/ltcube_500342401_500601601_4FGL_J2024.8-6459_daily_bin1007.fits
.....................!
real 192.04
user 187.24
sys 4.07

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/898942/ft1_filtered_4FGL_J2024.8-6459_daily_bin1007.fits scfile=/scratch/kocevski/898942/ft2_4FGL_J2024.8-6459_daily_bin1007.fits outfile=/scratch/kocevski/898942/cmap_500342401_500601601_4FGL_J2024.8-6459_daily_bin1007.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 1.08
user 0.39
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/898942/ft1_filtered_4FGL_J2024.8-6459_daily_bin1007.fits scfile=/scratch/kocevski/898942/ft2_4FGL_J2024.8-6459_daily_bin1007.fits outfile=/scratch/kocevski/898942/cmap_HighResolution_500342401_500601601_4FGL_J2024.8-6459_daily_bin1007.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.90
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/898942/ft1_filtered_4FGL_J2024.8-6459_daily_bin1007.fits evtable="EVENTS" scfile=/scratch/kocevski/898942/ft2_4FGL_J2024.8-6459_daily_bin1007.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/898942/Model_4FGL_J2024.8-6459_daily_bin1007.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/898942/ft1_filtered_4FGL_J2024.8-6459_daily_bin1007.fits....................!
real 85.63
user 79.62
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.600       1.0000         .10000E-03   10000.    
     2 'norm      '    9.0802       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.2104       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.8317       1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.767       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.9131       1.0000         .10000E-03   10000.    
     8 'norm      '    .36449       1.0000         .10000E-03   10000.    
     9 'Prefactor '    148.37       1.0000         .10000E-03   10000.    
    10 'norm      '    .10121E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.7489       1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.5936       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .80047       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=   9306.436     FROM MIGRAD    STATUS=CONVERGED    220 CALLS     1130 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.601        22.299        .25288E-06   -.14552E-04
   2  norm          9.0807        7.5075        .16162E-05   -.36668E-04
   3  Prefactor     8.2108        14.577       -.24650E-06   -.64220E-04
   4  Prefactor     .10000E-03    18.501       -.17528E-06** at limit **
   5  norm          1.8317        1.1825        .61059E-08   -.46701E-03
   6  Prefactor     12.767        13.437       -.11484E-06   -.18425E-04
   7  Prefactor     6.9138        3.8202       -.79616E-07   -.35515E-03
   8  norm          .36159        1.7274        .19956E-06   -.75890E-03
   9  Prefactor     148.34        107.64       -.23229E-04   -.94150E-05
  10  norm          .10000E-03    31.563        .10471E-06** at limit **
  11  norm          1.7490        1.2201        .97430E-07   -.54656E-03
  12  Normalizat    1.5933        .22692        .91147E-06   -.59091E-04
  13  Prefactor     .80061        .10007        .19864E-06    .22851E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 12.6008
  norm       = 9.08066
  Prefactor  = 8.2108
  Prefactor  = 0.0001
  norm       = 1.8317
  Prefactor  = 12.7673
  Prefactor  = 6.91383
  norm       = 0.361587
  Prefactor  = 148.34
  norm       = 0.0001
  norm       = 1.74899
  Normalizat = 1.59326
  Prefactor  = 0.800607
 **********
 **   18 **HESSE 
 **********

 FCN=   9306.436     FROM HESSE     STATUS=OK           155 CALLS     1285 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.601        22.280        .11285E-03   -1.4998    
   2  norm          9.0807        7.4896        .13301E-03   -1.5105    
   3  Prefactor     8.2108        14.545        .13992E-03   -1.5135    
   4  Prefactor     .10000E-03    18.541        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.8317        1.1776        .80542E-04   -1.5437    
   6  Prefactor     12.767        13.456        .11211E-03   -1.4993    
   7  Prefactor     6.9138        3.8332        .13328E-03   -1.5182    
   8  norm          .36159        3.5960        .23992E-02   -1.5588    
   9  Prefactor     148.34        105.76        .16543E-03   -1.3266    
  10  norm          .10000E-03    32.075        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.7490        1.2114        .84151E-04   -1.5443    
  12  Normalizat    1.5933        .27640        .32071E-03   -.75191    
  13  Prefactor     .80061        .12196        .19615E-03   -.99706    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.76549e-10
Minuit parameter uncertainties:
  1  22.2945
  2  7.49033
  3  14.5511
  4  1.07794e-05
  5  1.17765
  6  13.4596
  7  3.83332
  8  2.28044
  9  105.896
  10  1.58526e-05
  11  1.21142
  12  0.276661
  13  0.122006
Done.

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

Extracting fit parameters...

4FGL J2024.8-6459
   Spectrum: PowerLaw
329    Prefactor:  1.277e+01  1.346e+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.006e-01  1.220e-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.593e+00  2.767e-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): 3.18e-08 +/- 3.35e-08
Energy Flux (Fixed Index): 1.03e-05 +/- 1.08e-05

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

Saving results to:
/scratch/kocevski/898942/likelihoodResults_500342401_500601601_4FGL_J2024.8-6459_daily_bin1007.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) = 9306.43005696
delta logL = 0.00592319412863

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9306.42541079
delta logL = 0.0105693564838

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.475       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2609       1.0000          .0000       10.000    
     3 'Normalizat'    1.5987       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79893       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=   9306.425     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      212 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.449        405.84        .26319E-02    .49995E-04
   2  Index         2.2649        6.1053        .24476        .77905E-04
   3  Normalizat    1.5984        .82956E-01    .72389E-01   -.38770E-04
   4  Prefactor     .79907        .30801E-01    .43703E-01   -.26397E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.4495
  Index      = 2.26487
  Normalizat = 1.59839
  Prefactor  = 0.799071
 **********
 **   18 **HESSE 
 **********

 FCN=   9306.425     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .33E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.449        19.430        .10527E-03   -1.4948    
   2  Index         2.2649        1.0227        .10489E-01   -.57881    
   3  Normalizat    1.5984        .26811        .32028E-03   -.75050    
   4  Prefactor     .79907        .12098        .19632E-03   -.99763    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.2558e-11
Minuit parameter uncertainties:
  1  19.4384
  2  1.0332
  3  0.268354
  4  0.121024
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/898942': 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) = 9306.42540177
delta logL = 0.0105783845302

Extracting fit parameters...

4FGL J2024.8-6459
   Spectrum: PowerLaw
329    Prefactor:  1.445e+01  1.944e+01  1.000e-04  1.000e+04 ( 1.000e-13)
330        Index:  2.265e+00  1.033e+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:  7.991e-01  1.210e-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.598e+00  2.684e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.67
Ra Dec: 306.201 -64.991
Photon Index (Free Index): 2.26 +/- 1.03
Photon Flux (Free Index): 2.82e-08 +/- 3.86e-08
Energy Flux (Free Index): 1.13e-05 +/- 1.54e-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/898942/cmap_HighResolution_500342401_500601601_4FGL_J2024.8-6459_daily_bin1007.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.79e-03', comment='SUCCESS', photon_flux='3.18e-08', energy_flux2='1.13e-05', photon_flux_error='3.35e-08', dlogl='1.06e-02', energy_flux='1.03e-05', photon_flux2='2.82e-08', job_status='DONE', time_completed='2021-09-25 03:45:36.088314', photon_index_error2='1.03', photon_index2='2.26', ts='1.66', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', photon_flux_upper_limit='1.14e-07', energy_flux_error2='1.54e-05', EG='1.59', time_epoch_completed='1632566736.09', return_code='0', job_id='898942', GAL2='0.80', EG2='1.60', return_code2='0', energy_flux_error='1.08e-05', photon_flux_error2='3.86e-08', ts2='1.67', photon_index='2.41' WHERE bin_id='1007' AND source_name='4FGL J2024.8-6459' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 03:45:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0161>
Subject: Job 898942: <4FGL_J2024.8-6459_daily_bin1007> in cluster <slac> Done

Job <4FGL_J2024.8-6459_daily_bin1007> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep 25 03:31:11 2021
Job was executed on host(s) <bullet0161>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 03:31:48 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:31:48 2021
Terminated at Sat Sep 25 03:45:36 2021
Results reported at Sat Sep 25 03:45:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2024.8-6459_daily_bin1007 306.201 -64.9913 500342401 500601601 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 :                                   598.11 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             270.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   828 sec.
    Turnaround time :                            865 sec.

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

