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


Performing analysis on: 4FGL_J1010.8-0158_daily_bin55
RA = 152.704, Dec = -1.9817
tmin = 253584001, tmax = 253843201
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='700992', job_status='RUN', time_executed='2021-09-01 12:15:04.610745', time_epoch_executed='1630523704.61' WHERE source_name='4FGL J1010.8-0158' and cadence='daily' and bin_id='55'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/700992

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/700992/ft1_4FGL_J1010.8-0158_daily_bin55.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/700992/ft2_4FGL_J1010.8-0158_daily_bin55.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/700992/ft1_4FGL_J1010.8-0158_daily_bin55.fits outfile=/scratch/kocevski/700992/ft1_filteredMKT_4FGL_J1010.8-0158_daily_bin55.fits ra=152.704 dec=-1.9817 rad=12.0 tmin=253584001.0 tmax=253843201.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.47
user 1.29
sys 0.15

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/700992/ft2_4FGL_J1010.8-0158_daily_bin55.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/700992/ft1_filteredMKT_4FGL_J1010.8-0158_daily_bin55.fits evtable="EVENTS" outfile="/scratch/kocevski/700992/ft1_filtered_4FGL_J1010.8-0158_daily_bin55.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.36
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/700992/ft1_filtered_4FGL_J1010.8-0158_daily_bin55.fits" evtable="EVENTS" scfile=/scratch/kocevski/700992/ft2_4FGL_J1010.8-0158_daily_bin55.fits sctable="SC_DATA" outfile=/scratch/kocevski/700992/ltcube_253584001_253843201_4FGL_J1010.8-0158_daily_bin55.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/700992/ft2_4FGL_J1010.8-0158_daily_bin55.fits
.....................!
real 16.78
user 16.27
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/700992/ft1_filtered_4FGL_J1010.8-0158_daily_bin55.fits evtable="EVENTS" scfile=/scratch/kocevski/700992/ft2_4FGL_J1010.8-0158_daily_bin55.fits sctable="SC_DATA" expcube=/scratch/kocevski/700992/ltcube_253584001_253843201_4FGL_J1010.8-0158_daily_bin55.fits outfile=/scratch/kocevski/700992/expmap_253584001_253843201_4FGL_J1010.8-0158_daily_bin55.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/700992/ltcube_253584001_253843201_4FGL_J1010.8-0158_daily_bin55.fits
.....................!
real 195.48
user 190.66
sys 3.82

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/700992/ft1_filtered_4FGL_J1010.8-0158_daily_bin55.fits scfile=/scratch/kocevski/700992/ft2_4FGL_J1010.8-0158_daily_bin55.fits outfile=/scratch/kocevski/700992/cmap_253584001_253843201_4FGL_J1010.8-0158_daily_bin55.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.65
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/700992/ft1_filtered_4FGL_J1010.8-0158_daily_bin55.fits scfile=/scratch/kocevski/700992/ft2_4FGL_J1010.8-0158_daily_bin55.fits outfile=/scratch/kocevski/700992/cmap_HighResolution_253584001_253843201_4FGL_J1010.8-0158_daily_bin55.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.57
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/700992/ft1_filtered_4FGL_J1010.8-0158_daily_bin55.fits evtable="EVENTS" scfile=/scratch/kocevski/700992/ft2_4FGL_J1010.8-0158_daily_bin55.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/700992/Model_4FGL_J1010.8-0158_daily_bin55.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/700992/ft1_filtered_4FGL_J1010.8-0158_daily_bin55.fits.....................!
real 77.25
user 75.87
sys 1.10

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    72.619       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.0224       1.0000         .10000E-03   10000.    
     3 'norm      '    .39784E-01   1.0000         .10000E-03   10000.    
     4 'norm      '    .40175E-01   1.0000         .10000E-03   10000.    
     5 'norm      '    1.9007       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11188E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    15.831       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.0147       1.0000         .10000E-03   10000.    
    10 'Prefactor '    65.110       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    43.054       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .35101E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.5889       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    22.207       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.5079       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .78779       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=   7902.271     FROM MIGRAD    STATUS=CONVERGED    387 CALLS     1789 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     72.625        40.714        .21593E-05    .63671E-04
   2  Prefactor     9.0207        9.7462       -.98483E-07   -.22493E-04
   3  norm          .53097E-01    1.6087       -.82976E-06    .13228E-02
   4  norm          .39429E-01    .32257        .35195E-07    .13895E-03
   5  norm          1.9002        1.6713        .55812E-07    .20349E-03
   6  Prefactor     .10007E-03    4.4557        .23903E-05** at limit **
   7  Prefactor     15.831        36.924        .61991E-06   -.77395E-05
   8  Prefactor     .10000E-03    24.295       -.65888E-07** at limit **
   9  norm          3.0129        10.821        .23928E-07   -.13938E-03
  10  Prefactor     65.112        18.082       -.31222E-05   -.48637E-03
  11  Prefactor     .10000E-03    18.716       -.33590E-05** at limit **
  12  Prefactor     43.103        58.770        .29307E-05    .41778E-04
  13  Prefactor     .10003E-03    16.082        .18446E-05** at limit **
  14  norm          1.5889        1.0154       -.24798E-08   -.15548E-04
  15  Prefactor     .10000E-03    2.4278        .17749E-06** at limit **
  16  Prefactor     .10000E-03    1.6719        .22830E-06** at limit **
  17  Prefactor     22.207        13.152        .12512E-06   -.40714E-04
  18  Normalizat    1.5081        .19578       -.15130E-05   -.62885E-04
  19  Prefactor     .78769        .14287        .54966E-06   -.13673E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 72.6252
  Prefactor  = 9.02072
  norm       = 0.0530971
  norm       = 0.039429
  norm       = 1.9002
  Prefactor  = 0.000100075
  Prefactor  = 15.8311
  Prefactor  = 0.0001
  norm       = 3.01295
  Prefactor  = 65.112
  Prefactor  = 0.0001
  Prefactor  = 43.1035
  Prefactor  = 0.000100031
  norm       = 1.58887
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.207
  Normalizat = 1.50808
  Prefactor  = 0.787695
 **********
 **   18 **HESSE 
 **********

 FCN=   7902.271     FROM HESSE     STATUS=OK           276 CALLS     2065 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     72.625        40.789        .47112E-04   -1.4001    
   2  Prefactor     9.0207        9.7518        .13343E-03   -1.5107    
   3  norm          .53097E-01    27.601        .21297E-02   -1.5662    
   4  norm          .39429E-01    .92770        .95256E-03   -1.5668    
   5  norm          1.9002        1.6629        .10378E-03   -1.5432    
   6  Prefactor     .10007E-03    17.859        .34563E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     15.831        36.967        .10066E-03   -1.4912    
   8  Prefactor     .10000E-03    24.365        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.0129        10.720        .23375E-03   -1.5361    
  10  Prefactor     65.112        18.266        .49736E-04   -1.4092    
  11  Prefactor     .10000E-03    18.681        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     43.103        60.749        .61097E-04   -1.4394    
  13  Prefactor     .10003E-03    79.103        .61085E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.5889        1.0141        .69293E-04   -1.5456    
  15  Prefactor     .10000E-03    2.4431        .13525E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    1.6963        .11211E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     22.207        13.168        .84998E-04   -1.4765    
  18  Normalizat    1.5081        .23136        .25948E-03   -.77552    
  19  Prefactor     .78769        .16977        .25874E-03   -1.0018    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.64416e-08
Minuit parameter uncertainties:
  1  40.805
  2  9.75352
  3  2.42004
  4  0.382031
  5  1.6629
  6  0.00231533
  7  37.0204
  8  2.10512e-05
  9  10.7268
  10  18.2673
  11  5.04668e-05
  12  60.8364
  13  0.00312133
  14  1.01407
  15  5.7023e-06
  16  4.71973e-06
  17  13.1701
  18  0.231523
  19  0.169888
Done.

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

Extracting fit parameters...

4FGL J1010.8-0158
   Spectrum: PowerLaw
216    Prefactor:  1.583e+01  3.702e+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:  7.877e-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.508e+00  2.315e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/700992/likelihoodResults_253584001_253843201_4FGL_J1010.8-0158_daily_bin55.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) = 7902.23564114
delta logL = 0.0355010069634

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7902.21986416
delta logL = 0.0512779943629

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.749       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1853       1.0000          .0000       10.000    
     3 'Normalizat'    1.5135       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78287       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7902.220     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      285 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.788        47.788        .82196E-04   -.11065E-05
   2  Index         2.1863        .95088        .14652E-01    .24030E-05
   3  Normalizat    1.5135        .22292        .25908E-03   -.27118E-04
   4  Prefactor     .78281        .16782        .25944E-03    .23575E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.7881
  Index      = 2.18634
  Normalizat = 1.51353
  Prefactor  = 0.782808
 **********
 **   18 **HESSE 
 **********

 FCN=   7902.220     FROM HESSE     STATUS=OK            25 CALLS      310 TOTAL
                     EDM=   .96E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.788        46.959        .32879E-05   -1.4732    
   2  Index         2.1863        .93505        .58609E-03   -.59769    
   3  Normalizat    1.5135        .22310        .10363E-04   -.77399    
   4  Prefactor     .78281        .16789        .10378E-04   -1.0037    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.60793e-12
Minuit parameter uncertainties:
  1  47.0324
  2  0.943211
  3  0.223243
  4  0.168
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/700992': 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) = 7902.21986286
delta logL = 0.0512792916425

Extracting fit parameters...

4FGL J1010.8-0158
   Spectrum: PowerLaw
216    Prefactor:  2.379e+01  4.703e+01  1.000e-04  1.000e+04 ( 1.000e-13)
217        Index:  2.186e+00  9.432e-01  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:  7.828e-01  1.680e-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.514e+00  2.232e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/700992/cmap_HighResolution_253584001_253843201_4FGL_J1010.8-0158_daily_bin55.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.24e-03', job_status='DONE', photon_flux_upper_limit='1.06e-07', time_completed='2021-09-01 12:25:33.139059', job_id='700992', GAL2='0.78', fit_tolerance='1e-08', EG2='1.51', EG='1.51', time_epoch_completed='1630524333.14', return_code2='0', ts='0.21', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='5.13e-02', ts2='0.31', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='55' AND source_name='4FGL J1010.8-0158' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 12:25:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0009>
Subject: Job 700992: <4FGL_J1010.8-0158_daily_bin55> in cluster <slac> Done

Job <4FGL_J1010.8-0158_daily_bin55> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Wed Sep  1 12:11:03 2021
Job was executed on host(s) <bullet0009>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 12:12:10 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:12:10 2021
Terminated at Wed Sep  1 12:25:33 2021
Results reported at Wed Sep  1 12:25:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1010.8-0158_daily_bin55 152.704 -1.9817 253584001 253843201 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 :                                   628.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             302.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   803 sec.
    Turnaround time :                            870 sec.

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

