/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 179 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 = 6319
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1010.8-0158_daily_bin91
RA = 152.704, Dec = -1.9817
tmin = 262915201, tmax = 263174401
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='702241', job_status='RUN', time_executed='2021-09-01 12:18:41.646989', time_epoch_executed='1630523921.65' WHERE source_name='4FGL J1010.8-0158' and cadence='daily' and bin_id='91'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/702241

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

Retrieving the FT1 file...

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

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

Retrieving 41 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/702241/ft1_4FGL_J1010.8-0158_daily_bin91.fits


Retrieving the FT1 file...

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

Retrieving 41 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/702241/ft2_4FGL_J1010.8-0158_daily_bin91.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/702241/ft1_4FGL_J1010.8-0158_daily_bin91.fits outfile=/scratch/kocevski/702241/ft1_filteredMKT_4FGL_J1010.8-0158_daily_bin91.fits ra=152.704 dec=-1.9817 rad=12.0 tmin=262915201.0 tmax=263174401.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 1.38
user 1.14
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/702241/ft1_filtered_4FGL_J1010.8-0158_daily_bin91.fits" evtable="EVENTS" scfile=/scratch/kocevski/702241/ft2_4FGL_J1010.8-0158_daily_bin91.fits sctable="SC_DATA" outfile=/scratch/kocevski/702241/ltcube_262915201_263174401_4FGL_J1010.8-0158_daily_bin91.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/702241/ft2_4FGL_J1010.8-0158_daily_bin91.fits
.....................!
real 16.38
user 15.92
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/702241/ft1_filtered_4FGL_J1010.8-0158_daily_bin91.fits evtable="EVENTS" scfile=/scratch/kocevski/702241/ft2_4FGL_J1010.8-0158_daily_bin91.fits sctable="SC_DATA" expcube=/scratch/kocevski/702241/ltcube_262915201_263174401_4FGL_J1010.8-0158_daily_bin91.fits outfile=/scratch/kocevski/702241/expmap_262915201_263174401_4FGL_J1010.8-0158_daily_bin91.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/702241/ltcube_262915201_263174401_4FGL_J1010.8-0158_daily_bin91.fits
.....................!
real 193.90
user 186.83
sys 5.33

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/702241/ft1_filtered_4FGL_J1010.8-0158_daily_bin91.fits scfile=/scratch/kocevski/702241/ft2_4FGL_J1010.8-0158_daily_bin91.fits outfile=/scratch/kocevski/702241/cmap_262915201_263174401_4FGL_J1010.8-0158_daily_bin91.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/702241/ft1_filtered_4FGL_J1010.8-0158_daily_bin91.fits scfile=/scratch/kocevski/702241/ft2_4FGL_J1010.8-0158_daily_bin91.fits outfile=/scratch/kocevski/702241/cmap_HighResolution_262915201_263174401_4FGL_J1010.8-0158_daily_bin91.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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/702241/ft1_filtered_4FGL_J1010.8-0158_daily_bin91.fits evtable="EVENTS" scfile=/scratch/kocevski/702241/ft2_4FGL_J1010.8-0158_daily_bin91.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/702241/Model_4FGL_J1010.8-0158_daily_bin91.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/702241/ft1_filtered_4FGL_J1010.8-0158_daily_bin91.fits.....................!
real 64.72
user 62.75
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/702241/ft1_filtered_4FGL_J1010.8-0158_daily_bin91.fits', '/scratch/kocevski/702241/ft2_4FGL_J1010.8-0158_daily_bin91.fits', expMap='/scratch/kocevski/702241/expmap_262915201_263174401_4FGL_J1010.8-0158_daily_bin91.fits', expCube='/scratch/kocevski/702241/ltcube_262915201_263174401_4FGL_J1010.8-0158_daily_bin91.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/702241/Model_4FGL_J1010.8-0158_daily_bin91.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/702241/ft1_filtered_4FGL_J1010.8-0158_daily_bin91.fits
Spacecraft file(s): /scratch/kocevski/702241/ft2_4FGL_J1010.8-0158_daily_bin91.fits
Exposure map: /scratch/kocevski/702241/expmap_262915201_263174401_4FGL_J1010.8-0158_daily_bin91.fits
Exposure cube: /scratch/kocevski/702241/ltcube_262915201_263174401_4FGL_J1010.8-0158_daily_bin91.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/702241/Model_4FGL_J1010.8-0158_daily_bin91.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) = 6018.85047313

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.1724       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.6848       1.0000         .10000E-03   10000.    
     5 'norm      '    1.5828       1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.387       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.576       1.0000         .10000E-03   10000.    
     8 'Prefactor '    34.685       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    239.32       1.0000         .10000E-03   10000.    
    12 'Prefactor '    109.19       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10321E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.2625       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.1146       1.0000         .10000E-03   10000.    
    17 'Prefactor '    23.050       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.3145       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .65431       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=   6018.825     FROM MIGRAD    STATUS=CONVERGED    361 CALLS     1881 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.1869        38.860        .47180E-04   -.40991E-04
   2  Prefactor     .10000E-03    23.163        .18731E-04** at limit **
   3  norm          .10000E-03    1.3715       -.32981E-07** at limit **
   4  norm          2.6849        .78621        .76359E-07   -.15576E-02
   5  norm          1.5828        1.5252        .13880E-06    .11387E-05
   6  Prefactor     16.388        12.120       -.52425E-06    .76066E-05
   7  Prefactor     11.571        44.061       -.13299E-04   -.30311E-04
   8  Prefactor     34.692        41.053        .10927E-04   -.28814E-04
   9  norm          .10000E-03    7.7659       -.53779E-06** at limit **
  10  Prefactor     .10000E-03    5.3654        .27541E-07** at limit **
  11  Prefactor     239.34        93.684        .13343E-04    .57632E-04
  12  Prefactor     109.19        67.396        .58951E-05    .18351E-03
  13  Prefactor     .10000E-03    24.837       -.20352E-04** at limit **
  14  norm          2.2627        1.4150        .12724E-06   -.19647E-03
  15  Prefactor     .10000E-03    4.8621        .31453E-07** at limit **
  16  Prefactor     2.1145        4.7435        .13105E-06   -.88597E-03
  17  Prefactor     23.054        15.998        .28622E-05   -.48229E-04
  18  Normalizat    1.3143        .21241       -.70094E-05    .83250E-04
  19  Prefactor     .65445        .14528        .11959E-05   -.47251E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.18686
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 2.68489
  norm       = 1.58277
  Prefactor  = 16.3881
  Prefactor  = 11.5709
  Prefactor  = 34.692
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 239.338
  Prefactor  = 109.193
  Prefactor  = 0.000100002
  norm       = 2.26271
  Prefactor  = 0.0001
  Prefactor  = 2.11447
  Prefactor  = 23.0537
  Normalizat = 1.31434
  Prefactor  = 0.654448
 **********
 **   18 **HESSE 
 **********

 FCN=   6018.825     FROM HESSE     STATUS=OK           268 CALLS     2149 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.1869        38.258        .17676E-03   -1.5252    
   2  Prefactor     .10000E-03    23.898        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.3806        .88707E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.6849        .78781        .35255E-04   -1.5380    
   5  norm          1.5828        1.5307        .91032E-04   -1.5456    
   6  Prefactor     16.388        12.120        .98939E-04   -1.4898    
   7  Prefactor     11.571        44.024        .11775E-03   -1.5028    
   8  Prefactor     34.692        41.007        .68044E-04   -1.4529    
   9  norm          .10000E-03    7.7736        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.3739        .17540E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     239.34        93.951        .13086E-03   -1.2601    
  12  Prefactor     109.19        67.514        .19246E-03   -1.3614    
  13  Prefactor     .10000E-03    25.180        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.2627        1.4112        .69967E-04   -1.5407    
  15  Prefactor     .10000E-03    5.0001        .33387E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.1145        4.7125        .22872E-03   -1.5417    
  17  Prefactor     23.054        15.945        .83431E-04   -1.4747    
  18  Normalizat    1.3143        .24864        .25400E-03   -.83139    
  19  Prefactor     .65445        .16977        .25503E-03   -1.0534    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.91653e-09
Minuit parameter uncertainties:
  1  28.1987
  2  0.000353199
  3  2.07087e-06
  4  0.78781
  5  1.53076
  6  12.122
  7  44.148
  8  41.0404
  9  6.08197e-05
  10  6.67115e-05
  11  94.0104
  12  67.5613
  13  0.000399387
  14  1.41121
  15  4.01673e-05
  16  4.71337
  17  15.9478
  18  0.248862
  19  0.169907
Done.

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

Extracting fit parameters...

4FGL J1010.8-0158
   Spectrum: PowerLaw
216    Prefactor:  1.157e+01  4.415e+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:  6.544e-01  1.699e-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:  1.314e+00  2.489e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.08
Ra Dec: 152.704 -1.982
Photon Flux Upper Limit: 1.19e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.26e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/702241/likelihoodResults_262915201_263174401_4FGL_J1010.8-0158_daily_bin91.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) = 6018.8228755
delta logL = 0.00236479680279

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6018.82117877
delta logL = 0.00406152583128

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.061       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3238       1.0000          .0000       10.000    
     3 'Normalizat'    1.3165       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65273       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=   6018.821     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      296 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.801        1071.9        .25802E-02    .81287E-04
   2  Index         2.3257        2.3811        .50000        .55864E-06
   3  Normalizat    1.3164        .26801E-01    .57399E-01   -.41763E-04
   4  Prefactor     .65263        .19798E-01    .41768E-01   -.64531E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.8014
  Index      = 2.32571
  Normalizat = 1.3164
  Prefactor  = 0.652634
 **********
 **   18 **HESSE 
 **********

 FCN=   6018.821     FROM HESSE     STATUS=OK            33 CALLS      329 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.801        59.929        .51603E-03   -1.4938    
   2  Index         2.3257        2.0463        .87996E-02   -.56434    
   3  Normalizat    1.3164        .22880        .25383E-03   -.83078    
   4  Prefactor     .65263        .16839        .25535E-03   -1.0541    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.20624e-11
Minuit parameter uncertainties:
  1  59.67
  2  2.13621
  3  0.228978
  4  0.16852
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/702241': 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) = 6018.82116292
delta logL = 0.00407738057493

Extracting fit parameters...

4FGL J1010.8-0158
   Spectrum: PowerLaw
216    Prefactor:  1.480e+01  5.967e+01  1.000e-04  1.000e+04 ( 1.000e-13)
217        Index:  2.326e+00  2.136e+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:  6.526e-01  1.685e-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:  1.316e+00  2.290e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.08
Ra Dec: 152.704 -1.982

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/702241/cmap_HighResolution_262915201_263174401_4FGL_J1010.8-0158_daily_bin91.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.26e-03', job_status='DONE', photon_flux_upper_limit='1.19e-07', time_completed='2021-09-01 12:28:01.443271', job_id='702241', GAL2='0.65', fit_tolerance='1e-08', EG2='1.32', EG='1.31', time_epoch_completed='1630524481.44', return_code2='0', ts='0.08', comment='SUCCESS', return_code='0', GAL='0.65', dlogl='4.08e-03', ts2='0.09', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='91' AND source_name='4FGL J1010.8-0158' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 12:28:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0155>
Subject: Job 702241: <4FGL_J1010.8-0158_daily_bin91> in cluster <slac> Done

Job <4FGL_J1010.8-0158_daily_bin91> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  1 12:15:26 2021
Job was executed on host(s) <bullet0155>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 12:15:28 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:15:28 2021
Terminated at Wed Sep  1 12:28:04 2021
Results reported at Wed Sep  1 12:28:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1010.8-0158_daily_bin91 152.704 -1.9817 262915201 263174401 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 :                                   557.16 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             261.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   753 sec.
    Turnaround time :                            758 sec.

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

