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


Performing analysis on: 4FGL_J2024.8-6459_daily_bin1632
RA = 306.201, Dec = -64.9913
tmin = 662342401, tmax = 662601601
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='628382', job_status='RUN', time_executed='2021-12-31 00:36:48.843400', time_epoch_executed='1640939808.84' WHERE source_name='4FGL J2024.8-6459' and cadence='daily' and bin_id='1632'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/628382

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/628382/ft1_4FGL_J2024.8-6459_daily_bin1632.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/628382/ft2_4FGL_J2024.8-6459_daily_bin1632.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/628382/ft1_4FGL_J2024.8-6459_daily_bin1632.fits outfile=/scratch/kocevski/628382/ft1_filteredMKT_4FGL_J2024.8-6459_daily_bin1632.fits ra=306.201 dec=-64.9913 rad=12.0 tmin=662342401.0 tmax=662601601.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 2.92
user 2.71
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/628382/ft1_filtered_4FGL_J2024.8-6459_daily_bin1632.fits" evtable="EVENTS" scfile=/scratch/kocevski/628382/ft2_4FGL_J2024.8-6459_daily_bin1632.fits sctable="SC_DATA" outfile=/scratch/kocevski/628382/ltcube_662342401_662601601_4FGL_J2024.8-6459_daily_bin1632.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/628382/ft2_4FGL_J2024.8-6459_daily_bin1632.fits
.....................!
real 12.34
user 11.99
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/628382/ft1_filtered_4FGL_J2024.8-6459_daily_bin1632.fits evtable="EVENTS" scfile=/scratch/kocevski/628382/ft2_4FGL_J2024.8-6459_daily_bin1632.fits sctable="SC_DATA" expcube=/scratch/kocevski/628382/ltcube_662342401_662601601_4FGL_J2024.8-6459_daily_bin1632.fits outfile=/scratch/kocevski/628382/expmap_662342401_662601601_4FGL_J2024.8-6459_daily_bin1632.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/628382/ltcube_662342401_662601601_4FGL_J2024.8-6459_daily_bin1632.fits
.....................!
real 190.75
user 185.12
sys 5.27

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/628382/ft1_filtered_4FGL_J2024.8-6459_daily_bin1632.fits scfile=/scratch/kocevski/628382/ft2_4FGL_J2024.8-6459_daily_bin1632.fits outfile=/scratch/kocevski/628382/cmap_662342401_662601601_4FGL_J2024.8-6459_daily_bin1632.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/628382/ft1_filtered_4FGL_J2024.8-6459_daily_bin1632.fits scfile=/scratch/kocevski/628382/ft2_4FGL_J2024.8-6459_daily_bin1632.fits outfile=/scratch/kocevski/628382/cmap_HighResolution_662342401_662601601_4FGL_J2024.8-6459_daily_bin1632.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.53
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.801       1.0000         .10000E-03   10000.    
     2 'norm      '    11.016       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.575       1.0000         .10000E-03   10000.    
     5 'norm      '    6.0021       1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.796       1.0000         .10000E-03   10000.    
     7 'Prefactor '    39.650       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3688.5       1.0000         .10000E-03   10000.    
    10 'norm      '    4.4373       1.0000         .10000E-03   10000.    
    11 'norm      '    13.292       1.0000         .10000E-03   10000.    
    12 'Normalizat'    1.2345       1.0000         .10000E-01   10.000    
    13 'Prefactor '    .96173       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=   4158.702     FROM MIGRAD    STATUS=CONVERGED    198 CALLS     1220 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.797        28.134       -.99954E-05   -.98705E-05
   2  norm          11.015        13.835       -.59610E-08   -.24992E-04
   3  Prefactor     .10000E-03    12.286       -.73667E-07** at limit **
   4  Prefactor     11.578        20.416        .70516E-05   -.35740E-05
   5  norm          6.0021        3.6819        .44795E-06   -.92762E-04
   6  Prefactor     10.789        29.688       -.19943E-04   -.23618E-04
   7  Prefactor     39.636        96.082       -.22763E-04   -.32210E-05
   8  norm          .10000E-03    2.7778       -.20543E-06** at limit **
   9  Prefactor     3689.7        2728.7        .24828E-03    .34931E-05
  10  norm          4.4310        17.236       -.22635E-04   -.66097E-04
  11  norm          13.290        6.2131       -.12124E-05    .17568E-03
  12  Normalizat    1.2354        .35851       -.31344E-05    .95484E-04
  13  Prefactor     .96140        .16525        .18107E-05   -.75841E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 11.7973
  norm       = 11.0149
  Prefactor  = 0.0001
  Prefactor  = 11.5776
  norm       = 6.00215
  Prefactor  = 10.7893
  Prefactor  = 39.6359
  norm       = 0.0001
  Prefactor  = 3689.68
  norm       = 4.43103
  norm       = 13.2896
  Normalizat = 1.23539
  Prefactor  = 0.9614
 **********
 **   18 **HESSE 
 **********

 FCN=   4158.702     FROM HESSE     STATUS=OK           149 CALLS     1369 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.797        28.150        .11661E-03   -1.5021    
   2  norm          11.015        13.832        .12071E-03   -1.5044    
   3  Prefactor     .10000E-03    12.337        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.578        20.418        .11775E-03   -1.5027    
   5  norm          6.0021        3.6803        .92047E-04   -1.5218    
   6  Prefactor     10.789        29.814        .12193E-03   -1.5051    
   7  Prefactor     39.636        96.084        .63655E-04   -1.4448    
   8  norm          .10000E-03    2.7787        .10497E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3689.7        2731.5        .41451E-04   -.26516    
  10  norm          4.4310        17.332        .19117E-03   -1.5287    
  11  norm          13.290        6.2215        .93192E-04   -1.4979    
  12  Normalizat    1.2354        .44349        .35490E-03   -.85516    
  13  Prefactor     .96140        .20501        .19143E-03   -.94027    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.93143e-10
Minuit parameter uncertainties:
  1  28.1816
  2  13.8364
  3  3.44054e-05
  4  20.4305
  5  3.68048
  6  29.8547
  7  96.4621
  8  1.96887e-05
  9  2903.55
  10  17.3516
  11  6.22179
  12  0.444852
  13  0.205178
Done.

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

Extracting fit parameters...

4FGL J2024.8-6459
   Spectrum: PowerLaw
329    Prefactor:  1.079e+01  2.985e+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.614e-01  2.052e-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.235e+00  4.449e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/628382/likelihoodResults_662342401_662601601_4FGL_J2024.8-6459_daily_bin1632.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) = 4158.17396754
delta logL = 0.528057234651

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4158.13846198
delta logL = 0.563562790008

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6708       1.0000         .10000E-03   10000.    
     2 'Index     '    3.8433       1.0000          .0000       10.000    
     3 'Normalizat'    1.1528       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98532       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=   4158.138     FROM MIGRAD    STATUS=FAILED        80 CALLS      288 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6693        134.61        .10056E-03   -.51387E-02
   2  Index         3.8436        6.9167        .46397E-02   -.11258E-02
   3  Normalizat    1.1529        .39808        .36519E-03   -.71799E-03
   4  Prefactor     .98526        .19244        .18922E-03   -.10522E-02
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   4158.138     FROM SIMPLEX   STATUS=UNCHANGED     90 CALLS      378 TOTAL
                     EDM=   .97E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6693        134.61        .15959E-03   -.51387E-02
   2  Index         3.8436        6.9167        .94972E-03   -.11258E-02
   3  Normalizat    1.1529        .39808        .24261E-03   -.71799E-03
   4  Prefactor     .98526        .19244        .12061E-03   -.10522E-02
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4158.138     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      409 TOTAL
                     EDM=   .90E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6687        8.6203        .40224E-05   -.18371E-03
   2  Index         3.8438        1.5205        .18559E-03   -.30077E-04
   3  Normalizat    1.1529        .42006        .73038E-04   -.61017E-05
   4  Prefactor     .98526        .20169        .37843E-04    .10815E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.66866
  Index      = 3.8438
  Normalizat = 1.15291
  Prefactor  = 0.985257
 **********
 **   18 **HESSE 
 **********

 FCN=   4158.138     FROM HESSE     STATUS=OK            23 CALLS      432 TOTAL
                     EDM=   .90E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6687        8.4441        .80448E-06   -1.5381    
   2  Index         3.8438        1.4899        .74236E-05   -.23335    
   3  Normalizat    1.1529        .42015        .14608E-04   -.88071    
   4  Prefactor     .98526        .20173        .75687E-05   -.93223    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.95413e-12
Minuit parameter uncertainties:
  1  8.44782
  2  1.5142
  3  0.421382
  4  0.20188
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/628382': 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) = 4158.13846184
delta logL = 0.563562933643

Extracting fit parameters...

4FGL J2024.8-6459
   Spectrum: PowerLaw
329    Prefactor:  2.669e+00  8.448e+00  1.000e-04  1.000e+04 ( 1.000e-13)
330        Index:  3.844e+00  1.514e+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.853e-01  2.019e-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.153e+00  4.214e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.34
Ra Dec: 306.201 -64.991
Photon Index (Free Index): 3.84 +/- 1.51
Photon Flux (Free Index): 1.08e-07 +/- 1.10e-07
Energy Flux (Free Index): 1.66e-05 +/- 1.69e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/628382/cmap_HighResolution_662342401_662601601_4FGL_J2024.8-6459_daily_bin1632.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.57e-02', comment='SUCCESS', energy_flux2='1.66e-05', dlogl='5.64e-01', photon_flux2='1.08e-07', job_status='DONE', time_completed='2021-12-31 00:44:13.565181', photon_index_error2='1.51', photon_index2='3.84', ts='0.16', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='2.04e-07', energy_flux_error2='1.69e-05', EG='1.24', time_epoch_completed='1640940253.57', return_code='0', job_id='628382', GAL2='0.99', EG2='1.15', return_code2='0', photon_flux_error2='1.10e-07', ts2='1.34', photon_index='2.41' WHERE bin_id='1632' AND source_name='4FGL J2024.8-6459' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 31 00:44:13 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0192>
Subject: Job 628382: <4FGL_J2024.8-6459_daily_bin1632> in cluster <slac> Done

Job <4FGL_J2024.8-6459_daily_bin1632> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Dec 31 00:35:20 2021
Job was executed on host(s) <bullet0192>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 31 00:35:22 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 31 00:35:22 2021
Terminated at Fri Dec 31 00:44:14 2021
Results reported at Fri Dec 31 00:44:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2024.8-6459_daily_bin1632 306.201 -64.9913 662342401 662601601 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 :                                   447.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             306.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   531 sec.
    Turnaround time :                            534 sec.

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

