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


Performing analysis on: 4FGL_J1010.8-0158_daily_bin1068
RA = 152.704, Dec = -1.9817
tmin = 516153601, tmax = 516412801
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='706616', job_status='RUN', time_executed='2021-09-01 12:33:54.161349', time_epoch_executed='1630524834.16' WHERE source_name='4FGL J1010.8-0158' and cadence='daily' and bin_id='1068'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/706616

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/706616/ft1_4FGL_J1010.8-0158_daily_bin1068.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/706616/ft2_4FGL_J1010.8-0158_daily_bin1068.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/706616/ft1_4FGL_J1010.8-0158_daily_bin1068.fits outfile=/scratch/kocevski/706616/ft1_filteredMKT_4FGL_J1010.8-0158_daily_bin1068.fits ra=152.704 dec=-1.9817 rad=12.0 tmin=516153601.0 tmax=516412801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.62
user 3.38
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/706616/ft2_4FGL_J1010.8-0158_daily_bin1068.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/706616/ft1_filteredMKT_4FGL_J1010.8-0158_daily_bin1068.fits evtable="EVENTS" outfile="/scratch/kocevski/706616/ft1_filtered_4FGL_J1010.8-0158_daily_bin1068.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.50
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/706616/ft1_filtered_4FGL_J1010.8-0158_daily_bin1068.fits" evtable="EVENTS" scfile=/scratch/kocevski/706616/ft2_4FGL_J1010.8-0158_daily_bin1068.fits sctable="SC_DATA" outfile=/scratch/kocevski/706616/ltcube_516153601_516412801_4FGL_J1010.8-0158_daily_bin1068.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/706616/ft2_4FGL_J1010.8-0158_daily_bin1068.fits
.....................!
real 11.95
user 11.60
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/706616/ft1_filtered_4FGL_J1010.8-0158_daily_bin1068.fits evtable="EVENTS" scfile=/scratch/kocevski/706616/ft2_4FGL_J1010.8-0158_daily_bin1068.fits sctable="SC_DATA" expcube=/scratch/kocevski/706616/ltcube_516153601_516412801_4FGL_J1010.8-0158_daily_bin1068.fits outfile=/scratch/kocevski/706616/expmap_516153601_516412801_4FGL_J1010.8-0158_daily_bin1068.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/706616/ltcube_516153601_516412801_4FGL_J1010.8-0158_daily_bin1068.fits
.....................!
real 190.63
user 185.29
sys 5.02

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/706616/ft1_filtered_4FGL_J1010.8-0158_daily_bin1068.fits scfile=/scratch/kocevski/706616/ft2_4FGL_J1010.8-0158_daily_bin1068.fits outfile=/scratch/kocevski/706616/cmap_516153601_516412801_4FGL_J1010.8-0158_daily_bin1068.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/706616/ft1_filtered_4FGL_J1010.8-0158_daily_bin1068.fits scfile=/scratch/kocevski/706616/ft2_4FGL_J1010.8-0158_daily_bin1068.fits outfile=/scratch/kocevski/706616/cmap_HighResolution_516153601_516412801_4FGL_J1010.8-0158_daily_bin1068.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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/706616/ft1_filtered_4FGL_J1010.8-0158_daily_bin1068.fits evtable="EVENTS" scfile=/scratch/kocevski/706616/ft2_4FGL_J1010.8-0158_daily_bin1068.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/706616/Model_4FGL_J1010.8-0158_daily_bin1068.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/706616/ft1_filtered_4FGL_J1010.8-0158_daily_bin1068.fits....................!
real 48.96
user 47.61
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.2436       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .34495       1.0000         .10000E-03   10000.    
     5 'norm      '    1.2205       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .20293E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    24.255       1.0000         .10000E-03   10000.    
     8 'Prefactor '    31.209       1.0000         .10000E-03   10000.    
     9 'norm      '    12.005       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11008E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.0947       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .78290       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .84630       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1083       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=   4717.675     FROM MIGRAD    STATUS=CONVERGED    400 CALLS     1971 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    32.584        .34632E-06** at limit **
   2  Prefactor     2.2317        9.1112        .19614E-05   -.43272E-03
   3  norm          .10000E-03    1.5211        .58335E-08** at limit **
   4  norm          .34446        .56627       -.64179E-07   -.25233E-03
   5  norm          1.2205        1.2319        .11132E-08    .46215E-04
   6  Prefactor     .10000E-03    9.7138       -.13026E-06** at limit **
   7  Prefactor     24.247        42.556       -.57797E-05   -.51434E-04
   8  Prefactor     31.200        43.380       -.66830E-05   -.68179E-04
   9  norm          12.010        14.924       -.42387E-06    .10728E-04
  10  Prefactor     .10000E-03    3.0382       -.20376E-08** at limit **
  11  Prefactor     .10000E-03    90.787        .83709E-06** at limit **
  12  Prefactor     .10000E-03    15.198        .17532E-07** at limit **
  13  Prefactor     .10000E-03    5.7660       -.40345E-07** at limit **
  14  norm          5.0946        2.2969        .47721E-07    .14722E-04
  15  Prefactor     .10000E-03    4.2300        .82330E-07** at limit **
  16  Prefactor     .78302        2.5354       -.43734E-07   -.22041E-03
  17  Prefactor     .10000E-03    9.0370       -.16672E-07** at limit **
  18  Normalizat    .84652        .21876        .14504E-05   -.72573E-05
  19  Prefactor     1.1081        .16928       -.38345E-07    .58477E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.2317
  norm       = 0.0001
  norm       = 0.344459
  norm       = 1.22053
  Prefactor  = 0.0001
  Prefactor  = 24.2466
  Prefactor  = 31.1998
  norm       = 12.0098
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.09462
  Prefactor  = 0.0001
  Prefactor  = 0.783016
  Prefactor  = 0.0001
  Normalizat = 0.846519
  Prefactor  = 1.10812
 **********
 **   18 **HESSE 
 **********

 FCN=   4717.675     FROM HESSE     STATUS=OK           268 CALLS     2239 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    32.683        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.2317        40.943        .13718E-02   -1.5409    
   3  norm          .10000E-03    1.5275        .82724E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .34446        .53165        .62021E-03   -1.5591    
   5  norm          1.2205        1.2463        .74670E-04   -1.5487    
   6  Prefactor     .10000E-03    38.510        .39295E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     24.247        42.672        .81336E-04   -1.4723    
   8  Prefactor     31.200        43.675        .71722E-04   -1.4590    
   9  norm          12.010        14.250        .11561E-03   -1.5015    
  10  Prefactor     .10000E-03    3.0415        .11692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    92.014        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    15.202        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.7699        .16108E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.0946        2.2993        .65842E-04   -1.5257    
  15  Prefactor     .10000E-03    4.2875        .13791E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .78302        2.5103        .19036E-03   -1.5531    
  17  Prefactor     .10000E-03    9.1079        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .84652        .25684        .28852E-03   -.98366    
  19  Prefactor     1.1081        .19754        .20469E-03   -.89208    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.10661e-09
Minuit parameter uncertainties:
  1  9.87681e-06
  2  19.1325
  3  9.01116e-07
  4  0.531654
  5  1.24629
  6  0.000103465
  7  42.7256
  8  43.7197
  9  14.2537
  10  9.159e-07
  11  3.0712e-05
  12  2.44311e-06
  13  2.1265e-06
  14  2.29936
  15  7.41341e-06
  16  2.51064
  17  1.23808e-05
  18  0.257209
  19  0.197669
Done.

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

Extracting fit parameters...

4FGL J1010.8-0158
   Spectrum: PowerLaw
216    Prefactor:  2.425e+01  4.273e+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.108e+00  1.977e-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:  8.465e-01  2.572e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/706616/likelihoodResults_516153601_516412801_4FGL_J1010.8-0158_daily_bin1068.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) = 4717.65142517
delta logL = 0.0235089293392

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4717.64228593
delta logL = 0.0326481734064

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.435       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8691       1.0000          .0000       10.000    
     3 'Normalizat'    .83913       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1123       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=   4717.642     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      261 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.433        46.905        .93283E-04   -.16575E-04
   2  Index         2.8700        1.5439        .99638E-02    .19904E-03
   3  Normalizat    .83932        .24734        .28961E-03   -.11407E-03
   4  Prefactor     1.1121        .19732        .20436E-03   -.14616E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.433
  Index      = 2.86995
  Normalizat = 0.839316
  Prefactor  = 1.1121
 **********
 **   18 **HESSE 
 **********

 FCN=   4717.642     FROM HESSE     STATUS=OK            25 CALLS      286 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.433        42.241        .37313E-05   -1.4849    
   2  Index         2.8700        1.3946        .19928E-02   -.44008    
   3  Normalizat    .83932        .24745        .11584E-04   -.98626    
   4  Prefactor     1.1121        .19733        .40872E-04   -.89081    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.61422e-11
Minuit parameter uncertainties:
  1  42.3091
  2  1.41769
  3  0.247787
  4  0.197457
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/706616': 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) = 4717.6422852
delta logL = 0.0326489022636

Extracting fit parameters...

4FGL J1010.8-0158
   Spectrum: PowerLaw
216    Prefactor:  1.843e+01  4.231e+01  1.000e-04  1.000e+04 ( 1.000e-13)
217        Index:  2.870e+00  1.418e+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.112e+00  1.975e-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:  8.393e-01  2.478e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.43
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/706616/cmap_HighResolution_516153601_516412801_4FGL_J1010.8-0158_daily_bin1068.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.04e-02', job_status='DONE', photon_flux_upper_limit='1.33e-07', time_completed='2021-09-01 12:42:14.597619', job_id='706616', GAL2='1.11', fit_tolerance='1e-08', EG2='0.84', EG='0.85', time_epoch_completed='1630525334.6', return_code2='0', ts='0.43', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='3.26e-02', ts2='0.50', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='1068' AND source_name='4FGL J1010.8-0158' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 12:42:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0119>
Subject: Job 706616: <4FGL_J1010.8-0158_daily_bin1068> in cluster <slac> Done

Job <4FGL_J1010.8-0158_daily_bin1068> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep  1 12:30:49 2021
Job was executed on host(s) <bullet0119>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 12:30:50 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:30:50 2021
Terminated at Wed Sep  1 12:42:16 2021
Results reported at Wed Sep  1 12:42:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1010.8-0158_daily_bin1068 152.704 -1.9817 516153601 516412801 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 :                                   498.21 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             299.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   685 sec.
    Turnaround time :                            687 sec.

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

