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


Performing analysis on: 4FGL_J2024.8-6459_daily_bin300
RA = 306.201, Dec = -64.9913
tmin = 317088001, tmax = 317347201
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='894523', job_status='RUN', time_executed='2021-09-25 03:21:14.532526', time_epoch_executed='1632565274.53' WHERE source_name='4FGL J2024.8-6459' and cadence='daily' and bin_id='300'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/894523

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/894523/ft1_4FGL_J2024.8-6459_daily_bin300.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/894523/ft2_4FGL_J2024.8-6459_daily_bin300.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/894523/ft1_4FGL_J2024.8-6459_daily_bin300.fits outfile=/scratch/kocevski/894523/ft1_filteredMKT_4FGL_J2024.8-6459_daily_bin300.fits ra=306.201 dec=-64.9913 rad=12.0 tmin=317088001.0 tmax=317347201.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.99
user 3.77
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/894523/ft1_filtered_4FGL_J2024.8-6459_daily_bin300.fits" evtable="EVENTS" scfile=/scratch/kocevski/894523/ft2_4FGL_J2024.8-6459_daily_bin300.fits sctable="SC_DATA" outfile=/scratch/kocevski/894523/ltcube_317088001_317347201_4FGL_J2024.8-6459_daily_bin300.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/894523/ft2_4FGL_J2024.8-6459_daily_bin300.fits
.....................!
real 14.50
user 14.12
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/894523/ft1_filtered_4FGL_J2024.8-6459_daily_bin300.fits evtable="EVENTS" scfile=/scratch/kocevski/894523/ft2_4FGL_J2024.8-6459_daily_bin300.fits sctable="SC_DATA" expcube=/scratch/kocevski/894523/ltcube_317088001_317347201_4FGL_J2024.8-6459_daily_bin300.fits outfile=/scratch/kocevski/894523/expmap_317088001_317347201_4FGL_J2024.8-6459_daily_bin300.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/894523/ltcube_317088001_317347201_4FGL_J2024.8-6459_daily_bin300.fits
.....................!
real 191.57
user 185.97
sys 5.23

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/894523/ft1_filtered_4FGL_J2024.8-6459_daily_bin300.fits scfile=/scratch/kocevski/894523/ft2_4FGL_J2024.8-6459_daily_bin300.fits outfile=/scratch/kocevski/894523/cmap_317088001_317347201_4FGL_J2024.8-6459_daily_bin300.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/894523/ft1_filtered_4FGL_J2024.8-6459_daily_bin300.fits scfile=/scratch/kocevski/894523/ft2_4FGL_J2024.8-6459_daily_bin300.fits outfile=/scratch/kocevski/894523/cmap_HighResolution_317088001_317347201_4FGL_J2024.8-6459_daily_bin300.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/894523/ft1_filtered_4FGL_J2024.8-6459_daily_bin300.fits evtable="EVENTS" scfile=/scratch/kocevski/894523/ft2_4FGL_J2024.8-6459_daily_bin300.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/894523/Model_4FGL_J2024.8-6459_daily_bin300.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/894523/ft1_filtered_4FGL_J2024.8-6459_daily_bin300.fits.....................!
real 63.23
user 61.75
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10411E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .12344E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.275       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    3.8821       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.6020       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.4410       1.0000         .10000E-03   10000.    
     8 'norm      '    .10885       1.0000         .10000E-03   10000.    
     9 'Prefactor '    60.635       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.1037       1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.2007       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .91632       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=   7298.837     FROM MIGRAD    STATUS=CONVERGED    249 CALLS     1150 TOTAL
                     EDM=   .78E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    63.427       -.14797E-06** at limit **
   2  norm          .10000E-03    3.9104        .67553E-07** at limit **
   3  Prefactor     18.277        13.429       -.51301E-06    .16858E-04
   4  Prefactor     .10000E-03    26.624        .49551E-06** at limit **
   5  norm          3.8822        1.8051        .18509E-07   -.23040E-03
   6  Prefactor     7.6039        15.577       -.20294E-06   -.21490E-04
   7  Prefactor     1.4411        3.5060       -.86186E-06   -.11582E-02
   8  norm          .11338        1.2083       -.89761E-06   -.76115E-04
   9  Prefactor     60.660        96.632        .30215E-04   -.88395E-04
  10  norm          .10000E-03    4.2714        .56177E-06** at limit **
  11  norm          1.1036        .78238       -.19122E-06   -.64877E-03
  12  Normalizat    1.2006        .22483       -.11389E-05    .12922E-03
  13  Prefactor     .91636        .10662        .34433E-06    .64490E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 18.2768
  Prefactor  = 0.0001
  norm       = 3.88218
  Prefactor  = 7.60391
  Prefactor  = 1.44114
  norm       = 0.113377
  Prefactor  = 60.6605
  norm       = 0.0001
  norm       = 1.10363
  Normalizat = 1.20061
  Prefactor  = 0.916363
 **********
 **   18 **HESSE 
 **********

 FCN=   7298.837     FROM HESSE     STATUS=OK           151 CALLS     1301 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    64.838        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    18.919        .32671E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     18.277        13.380        .93691E-04   -1.4853    
   4  Prefactor     .10000E-03    26.882        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.8822        1.8032        .74567E-04   -1.5314    
   6  Prefactor     7.6039        15.595        .14545E-03   -1.5156    
   7  Prefactor     1.4411        3.5994        .24266E-03   -1.5468    
   8  norm          .11338        7.5111        .18125E-02   -1.5641    
   9  Prefactor     60.660        95.090        .51527E-04   -1.4149    
  10  norm          .10000E-03    4.2991        .17242E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.1036        .77412        .61183E-04   -1.5498    
  12  Normalizat    1.2006        .26868        .32307E-03   -.86584    
  13  Prefactor     .91636        .12844        .17799E-03   -.95572    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.89838e-08
Minuit parameter uncertainties:
  1  0.000116618
  2  0.000131685
  3  13.3817
  4  1.15836e-05
  5  1.80326
  6  15.6031
  7  3.59996
  8  1.84506
  9  95.329
  10  7.26083e-06
  11  0.774127
  12  0.268994
  13  0.128485
Done.

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

Extracting fit parameters...

4FGL J2024.8-6459
   Spectrum: PowerLaw
329    Prefactor:  7.604e+00  1.560e+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:  9.164e-01  1.285e-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.201e+00  2.690e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/894523/likelihoodResults_317088001_317347201_4FGL_J2024.8-6459_daily_bin300.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) = 7298.4346206
delta logL = 0.402692773132

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7298.25243328
delta logL = 0.584880085293

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10713E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    8.1613       1.0000          .0000       10.000    
     3 'Normalizat'    1.1288       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94248       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7298.252     FROM MIGRAD    STATUS=FAILED       351 CALLS      739 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .23543E-01    .17158E-03** at limit **
   2  Index         8.1896        8.1619        .67329E-02    .53483E-03
   3  Normalizat    1.1293        .11979        .33168E-03    .75718E-03
   4  Prefactor     .94245        .58353E-01    .17576E-03    .15524E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7298.252     FROM SIMPLEX   STATUS=UNCHANGED    136 CALLS      875 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .23543E-01    .13646E-04** at limit **
   2  Index         8.1896        8.1619        .70315E-03    .53483E-03
   3  Normalizat    1.1293        .11979        .35448E-04    .75718E-03
   4  Prefactor     .94245        .58353E-01    .12210E-04    .15524E-02
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7298.252     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      917 TOTAL
                     EDM=   .65E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .13491E-01    .22780E-03** at limit **
   2  Index         8.1896        8.0555        .13466E-02   -.14901E-04
   3  Normalizat    1.1293        .10499        .66335E-04   -.25502E-04
   4  Prefactor     .94245        .51201E-01    .35151E-04    .28073E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 8.18959
  Normalizat = 1.12933
  Prefactor  = 0.942445
 **********
 **   18 **HESSE 
 **********

 FCN=   7298.252     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      950 TOTAL
                     EDM=   .38E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .17448E-01    .20148E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         8.1896        8.1293        .53863E-04    .69179    
   3  Normalizat    1.1293        .11419        .13267E-04   -.88816    
   4  Prefactor     .94245        .55714E-01    .70302E-05   -.94673    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.79181e-12
Minuit parameter uncertainties:
  1  2.51927e-06
  2  5.20848
  3  0.114216
  4  0.0557177
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/894523': 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) = 7298.25236465
delta logL = 0.584948718491

Extracting fit parameters...

4FGL J2024.8-6459
   Spectrum: PowerLaw
329    Prefactor:  1.000e-04  2.519e-06  1.000e-04  1.000e+04 ( 1.000e-13)
330        Index:  8.190e+00  5.208e+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:  9.424e-01  5.572e-02  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.129e+00  1.142e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.54
Ra Dec: 306.201 -64.991
Photon Index (Free Index): 8.19 +/- 5.21
Photon Flux (Free Index): 6.33e-08 +/- 7.39e-07
Energy Flux (Free Index): 7.31e-06 +/- 8.49e-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/894523/cmap_HighResolution_317088001_317347201_4FGL_J2024.8-6459_daily_bin300.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.69e-03', comment='SUCCESS', energy_flux2='7.31e-06', dlogl='5.85e-01', photon_flux2='6.33e-08', job_status='DONE', time_completed='2021-09-25 03:31:14.866086', photon_index_error2='5.21', photon_index2='8.19', ts='0.29', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='1.12e-07', energy_flux_error2='8.49e-05', EG='1.20', time_epoch_completed='1632565874.87', return_code='0', job_id='894523', GAL2='0.94', EG2='1.13', return_code2='102', photon_flux_error2='7.39e-07', ts2='1.54', photon_index='2.41' WHERE bin_id='300' AND source_name='4FGL J2024.8-6459' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 03:31:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 894523: <4FGL_J2024.8-6459_daily_bin300> in cluster <slac> Done

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

Your job looked like:

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

Successfully completed.

Resource usage summary:

    CPU time :                                   597.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             295.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   762 sec.
    Turnaround time :                            875 sec.

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

