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


Performing analysis on: 4FGL_J1010.8-0158_daily_bin631
RA = 152.704, Dec = -1.9817
tmin = 402883201, tmax = 403142401
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='705130', job_status='RUN', time_executed='2021-09-01 12:29:32.794603', time_epoch_executed='1630524572.79' WHERE source_name='4FGL J1010.8-0158' and cadence='daily' and bin_id='631'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/705130

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/705130/ft1_4FGL_J1010.8-0158_daily_bin631.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/705130/ft2_4FGL_J1010.8-0158_daily_bin631.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/705130/ft1_4FGL_J1010.8-0158_daily_bin631.fits outfile=/scratch/kocevski/705130/ft1_filteredMKT_4FGL_J1010.8-0158_daily_bin631.fits ra=152.704 dec=-1.9817 rad=12.0 tmin=402883201.0 tmax=403142401.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.61
user 4.35
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/705130/ft2_4FGL_J1010.8-0158_daily_bin631.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/705130/ft2_4FGL_J1010.8-0158_daily_bin631.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/705130/ft1_filteredMKT_4FGL_J1010.8-0158_daily_bin631.fits evtable="EVENTS" outfile="/scratch/kocevski/705130/ft1_filtered_4FGL_J1010.8-0158_daily_bin631.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.51
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/705130/ft1_filtered_4FGL_J1010.8-0158_daily_bin631.fits" evtable="EVENTS" scfile=/scratch/kocevski/705130/ft2_4FGL_J1010.8-0158_daily_bin631.fits sctable="SC_DATA" outfile=/scratch/kocevski/705130/ltcube_402883201_403142401_4FGL_J1010.8-0158_daily_bin631.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/705130/ft2_4FGL_J1010.8-0158_daily_bin631.fits
.....................!
real 12.26
user 11.89
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/705130/ft1_filtered_4FGL_J1010.8-0158_daily_bin631.fits evtable="EVENTS" scfile=/scratch/kocevski/705130/ft2_4FGL_J1010.8-0158_daily_bin631.fits sctable="SC_DATA" expcube=/scratch/kocevski/705130/ltcube_402883201_403142401_4FGL_J1010.8-0158_daily_bin631.fits outfile=/scratch/kocevski/705130/expmap_402883201_403142401_4FGL_J1010.8-0158_daily_bin631.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/705130/ltcube_402883201_403142401_4FGL_J1010.8-0158_daily_bin631.fits
.....................!
real 192.49
user 187.37
sys 4.74

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 158 point sources and 0 extended sources

Setting source of interest to:
4FGL J1010.8-0158 @ 152.704 -1.9817

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/705130/ft1_filtered_4FGL_J1010.8-0158_daily_bin631.fits scfile=/scratch/kocevski/705130/ft2_4FGL_J1010.8-0158_daily_bin631.fits outfile=/scratch/kocevski/705130/cmap_402883201_403142401_4FGL_J1010.8-0158_daily_bin631.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=152.704 yref=-1.9817 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.59
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/705130/ft1_filtered_4FGL_J1010.8-0158_daily_bin631.fits scfile=/scratch/kocevski/705130/ft2_4FGL_J1010.8-0158_daily_bin631.fits outfile=/scratch/kocevski/705130/cmap_HighResolution_402883201_403142401_4FGL_J1010.8-0158_daily_bin631.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=152.704 yref=-1.9817 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.67
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/705130/ft1_filtered_4FGL_J1010.8-0158_daily_bin631.fits evtable="EVENTS" scfile=/scratch/kocevski/705130/ft2_4FGL_J1010.8-0158_daily_bin631.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/705130/Model_4FGL_J1010.8-0158_daily_bin631.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/705130/ft1_filtered_4FGL_J1010.8-0158_daily_bin631.fits.....................!
real 64.65
user 62.62
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/705130/ft1_filtered_4FGL_J1010.8-0158_daily_bin631.fits', '/scratch/kocevski/705130/ft2_4FGL_J1010.8-0158_daily_bin631.fits', expMap='/scratch/kocevski/705130/expmap_402883201_403142401_4FGL_J1010.8-0158_daily_bin631.fits', expCube='/scratch/kocevski/705130/ltcube_402883201_403142401_4FGL_J1010.8-0158_daily_bin631.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/705130/Model_4FGL_J1010.8-0158_daily_bin631.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1010.8-0158'

4FGL J1010.8-0158
   Spectrum: PowerLaw
216    Prefactor:  9.399e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
217        Index:  2.535e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
218        Scale:  7.428e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/705130/ft1_filtered_4FGL_J1010.8-0158_daily_bin631.fits
Spacecraft file(s): /scratch/kocevski/705130/ft2_4FGL_J1010.8-0158_daily_bin631.fits
Exposure map: /scratch/kocevski/705130/expmap_402883201_403142401_4FGL_J1010.8-0158_daily_bin631.fits
Exposure cube: /scratch/kocevski/705130/ltcube_402883201_403142401_4FGL_J1010.8-0158_daily_bin631.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/705130/Model_4FGL_J1010.8-0158_daily_bin631.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) = 6247.24966249

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.423       1.0000         .10000E-03   10000.    
     2 'Prefactor '    55.395       1.0000         .10000E-03   10000.    
     3 'norm      '    3.7736       1.0000         .10000E-03   10000.    
     4 'norm      '    1.2308       1.0000         .10000E-03   10000.    
     5 'norm      '    .93751       1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.712       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.3334       1.0000         .10000E-03   10000.    
     8 'Prefactor '    51.696       1.0000         .10000E-03   10000.    
     9 'norm      '    10.057       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.2697       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .20858E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.8963       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10410E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.158       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .49568E-02   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .63036       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.2854       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6247.247     FROM MIGRAD    STATUS=CONVERGED    386 CALLS     1900 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.428        39.254        .33984E-05   -.21742E-05
   2  Prefactor     55.399        20.775       -.14614E-05    .23823E-05
   3  norm          3.7740        3.8036       -.26391E-06   -.26810E-03
   4  norm          1.2309        .68286        .56141E-07    .15017E-03
   5  norm          .93757        1.7901       -.55534E-06   -.17094E-02
   6  Prefactor     13.703        13.516       -.60125E-05    .68768E-05
   7  Prefactor     6.3120        139.52       -.69925E-04   -.28988E-04
   8  Prefactor     51.719        40.968        .15730E-04    .99897E-04
   9  norm          10.041        13.573       -.23351E-06    .19422E-05
  10  Prefactor     9.2578        9.2970       -.43479E-05    .30983E-04
  11  Prefactor     .10001E-03    165.71       -.11733E-05** at limit **
  12  Prefactor     .10000E-03    32.422        .18614E-05** at limit **
  13  Prefactor     .10000E-03    7.7499        .19716E-06** at limit **
  14  norm          2.8971        1.8893        .34244E-06   -.20232E-04
  15  Prefactor     .10000E-03    15.191        .11487E-05** at limit **
  16  Prefactor     11.152        5.4532        .20089E-06    .90451E-04
  17  Prefactor     .10000E-03    7.2600       -.75120E-06** at limit **
  18  Normalizat    .63010        .23618        .67721E-05    .56088E-04
  19  Prefactor     1.2855        .17121       -.14148E-05    .30350E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.4276
  Prefactor  = 55.3988
  norm       = 3.77401
  norm       = 1.23094
  norm       = 0.937574
  Prefactor  = 13.7035
  Prefactor  = 6.31196
  Prefactor  = 51.7188
  norm       = 10.0413
  Prefactor  = 9.2578
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.89708
  Prefactor  = 0.0001
  Prefactor  = 11.1521
  Prefactor  = 0.000100001
  Normalizat = 0.630104
  Prefactor  = 1.28553
 **********
 **   18 **HESSE 
 **********

 FCN=   6247.247     FROM HESSE     STATUS=OK           278 CALLS     2178 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.428        39.219        .82766E-04   -1.4740    
   2  Prefactor     55.399        20.751        .53895E-04   -1.4218    
   3  norm          3.7740        3.7862        .14900E-03   -1.5319    
   4  norm          1.2309        .67113        .45851E-04   -1.5486    
   5  norm          .93757        1.4920        .14081E-02   -1.5514    
   6  Prefactor     13.703        13.494        .10817E-03   -1.4967    
   7  Prefactor     6.3120        139.73        .15950E-03   -1.5205    
   8  Prefactor     51.719        40.960        .55780E-04   -1.4268    
   9  norm          10.041        13.560        .12635E-03   -1.5074    
  10  Prefactor     9.2578        9.2730        .13163E-03   -1.5099    
  11  Prefactor     .10001E-03    166.92        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    32.461        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.7588        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.8971        1.8764        .81775E-04   -1.5368    
  15  Prefactor     .10000E-03    15.741        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.152        5.3579        .11994E-03   -1.5040    
  17  Prefactor     .10000E-03    35.990        .40129E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .63010        .25807        .36658E-03   -1.0672    
  19  Prefactor     1.2855        .19091        .20724E-03   -.83738    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00514e-09
Minuit parameter uncertainties:
  1  39.2621
  2  20.7532
  3  3.7864
  4  0.671136
  5  1.49208
  6  13.4974
  7  59.5541
  8  40.9822
  9  13.5637
  10  9.27448
  11  0.00189639
  12  0.000171253
  13  3.62127e-05
  14  1.87648
  15  2.41803e-05
  16  5.35809
  17  0.000268772
  18  0.258564
  19  0.191018
Done.

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

Extracting fit parameters...

4FGL J1010.8-0158
   Spectrum: PowerLaw
216    Prefactor:  6.312e+00  5.955e+01  1.000e-04  1.000e+04 ( 1.000e-13)
217        Index:  2.535e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
218        Scale:  7.428e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  1.286e+00  1.910e-01  0.000e+00  1.000e+01 ( 1.000e+00)
506        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
507        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
504   Normalization:  6.301e-01  2.586e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 152.704 -1.982
Photon Flux Upper Limit: 1.34e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.04e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/705130/likelihoodResults_402883201_403142401_4FGL_J1010.8-0158_daily_bin631.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) = 6246.67326874
delta logL = 0.573596937704

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6246.45586474
delta logL = 0.791000944966

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .95502       1.0000         .10000E-03   10000.    
     2 'Index     '    5.2691       1.0000          .0000       10.000    
     3 'Normalizat'    .52715       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3385       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6246.456     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      242 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .95514        11.535        .13006E-01    .19660E-02
   2  Index         5.2692        2.6939        .15910        .80492E-04
   3  Normalizat    .52705        .44929E-01    .89938E-01    .43206E-04
   4  Prefactor     1.3386        .35312E-01    .46066E-01   -.44131E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.955142
  Index      = 5.26921
  Normalizat = 0.527049
  Prefactor  = 1.33857
 **********
 **   18 **HESSE 
 **********

 FCN=   6246.456     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      277 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .95514        33.851        .64760E-03   -1.5513    
   2  Index         5.2692        7.5058        .54325E-02    .53868E-01
   3  Normalizat    .52705        .18450        .39846E-03   -1.1118    
   4  Prefactor     1.3386        .14130        .20362E-03   -.82167    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.82171e-08
Minuit parameter uncertainties:
  1  11.3787
  2  6.50186
  3  0.184712
  4  0.14134
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/705130': 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) = 6246.45586459
delta logL = 0.791001086333

Extracting fit parameters...

4FGL J1010.8-0158
   Spectrum: PowerLaw
216    Prefactor:  9.551e-01  1.138e+01  1.000e-04  1.000e+04 ( 1.000e-13)
217        Index:  5.269e+00  6.502e+00  0.000e+00  1.000e+01 (-1.000e+00)
218        Scale:  7.428e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  1.339e+00  1.413e-01  0.000e+00  1.000e+01 ( 1.000e+00)
506        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
507        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
504   Normalization:  5.270e-01  1.847e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.78
Ra Dec: 152.704 -1.982
Photon Index (Free Index): 5.27 +/- 6.50
Photon Flux (Free Index): 8.75e-08 +/- 7.86e-08
Energy Flux (Free Index): 1.14e-05 +/- 1.33e-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/705130/cmap_HighResolution_402883201_403142401_4FGL_J1010.8-0158_daily_bin631.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.04e-02', comment='SUCCESS', energy_flux2='1.14e-05', dlogl='7.91e-01', photon_flux2='8.75e-08', job_status='DONE', time_completed='2021-09-01 12:38:52.738811', photon_index_error2='6.50', photon_index2='5.27', ts='0.02', fit_tolerance='1e-08', GAL='1.29', photon_index_error='0.00', photon_flux_upper_limit='1.34e-07', energy_flux_error2='1.33e-05', EG='0.63', time_epoch_completed='1630525132.74', return_code='0', job_id='705130', GAL2='1.34', EG2='0.53', return_code2='102', photon_flux_error2='7.86e-08', ts2='1.78', photon_index='2.54' WHERE bin_id='631' AND source_name='4FGL J1010.8-0158' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 12:38:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0104>
Subject: Job 705130: <4FGL_J1010.8-0158_daily_bin631> in cluster <slac> Done

Job <4FGL_J1010.8-0158_daily_bin631> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Wed Sep  1 12:25:27 2021
Job was executed on host(s) <bullet0104>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 12:25:29 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 12:25:29 2021
Terminated at Wed Sep  1 12:38:53 2021
Results reported at Wed Sep  1 12:38:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1010.8-0158_daily_bin631 152.704 -1.9817 402883201 403142401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1010.8-0158 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   558.60 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             204.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   804 sec.
    Turnaround time :                            806 sec.

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

