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


Performing analysis on: 4FGL_J1010.8-0158_daily_bin1415
RA = 152.704, Dec = -1.9817
tmin = 606096001, tmax = 606355201
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='707120', job_status='RUN', time_executed='2021-09-01 12:34:02.809072', time_epoch_executed='1630524842.81' WHERE source_name='4FGL J1010.8-0158' and cadence='daily' and bin_id='1415'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/707120

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/707120/ft1_4FGL_J1010.8-0158_daily_bin1415.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/707120/ft2_4FGL_J1010.8-0158_daily_bin1415.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/707120/ft1_4FGL_J1010.8-0158_daily_bin1415.fits outfile=/scratch/kocevski/707120/ft1_filteredMKT_4FGL_J1010.8-0158_daily_bin1415.fits ra=152.704 dec=-1.9817 rad=12.0 tmin=606096001.0 tmax=606355201.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.70
user 3.46
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/707120/ft1_filtered_4FGL_J1010.8-0158_daily_bin1415.fits" evtable="EVENTS" scfile=/scratch/kocevski/707120/ft2_4FGL_J1010.8-0158_daily_bin1415.fits sctable="SC_DATA" outfile=/scratch/kocevski/707120/ltcube_606096001_606355201_4FGL_J1010.8-0158_daily_bin1415.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/707120/ft2_4FGL_J1010.8-0158_daily_bin1415.fits
.....................!
real 11.88
user 11.53
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/707120/ft1_filtered_4FGL_J1010.8-0158_daily_bin1415.fits evtable="EVENTS" scfile=/scratch/kocevski/707120/ft2_4FGL_J1010.8-0158_daily_bin1415.fits sctable="SC_DATA" expcube=/scratch/kocevski/707120/ltcube_606096001_606355201_4FGL_J1010.8-0158_daily_bin1415.fits outfile=/scratch/kocevski/707120/expmap_606096001_606355201_4FGL_J1010.8-0158_daily_bin1415.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/707120/ltcube_606096001_606355201_4FGL_J1010.8-0158_daily_bin1415.fits
.....................!
real 190.57
user 185.43
sys 4.76

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/707120/ft1_filtered_4FGL_J1010.8-0158_daily_bin1415.fits scfile=/scratch/kocevski/707120/ft2_4FGL_J1010.8-0158_daily_bin1415.fits outfile=/scratch/kocevski/707120/cmap_606096001_606355201_4FGL_J1010.8-0158_daily_bin1415.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.60
user 0.39
sys 0.13

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/707120/ft1_filtered_4FGL_J1010.8-0158_daily_bin1415.fits evtable="EVENTS" scfile=/scratch/kocevski/707120/ft2_4FGL_J1010.8-0158_daily_bin1415.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/707120/Model_4FGL_J1010.8-0158_daily_bin1415.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/707120/ft1_filtered_4FGL_J1010.8-0158_daily_bin1415.fits.....................!
real 60.08
user 58.66
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.042       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.1991       1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .92432       1.0000         .10000E-03   10000.    
     5 'norm      '    1.2251       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    26.486       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.0042       1.0000         .10000E-03   10000.    
     9 'norm      '    16.236       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10155E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    34.731       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10397E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.1189       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    .30057       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.4491       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=   6151.007     FROM MIGRAD    STATUS=CONVERGED    394 CALLS     1901 TOTAL
                     EDM=   .91E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.037        36.706        .11528E-05    .43561E-05
   2  Prefactor     9.1982        16.273        .72357E-06    .10143E-04
   3  norm          .10000E-03    1.6478        .11274E-06** at limit **
   4  norm          .92452        .67749        .18310E-06    .45835E-03
   5  norm          1.2251        1.4939        .15036E-06    .31897E-04
   6  Prefactor     .10000E-03    3.9238       -.93948E-07** at limit **
   7  Prefactor     26.482        42.255        .99562E-06    .11004E-04
   8  Prefactor     4.9984        22.538        .82162E-06   -.31198E-06
   9  norm          16.230        16.798        .23456E-06    .82018E-04
  10  Prefactor     .10000E-03    15.913       -.26576E-05** at limit **
  11  Prefactor     34.668        56.419        .14414E-05   -.17285E-04
  12  Prefactor     .10000E-03    47.969       -.28400E-05** at limit **
  13  Prefactor     .10000E-03    8.1768       -.93792E-06** at limit **
  14  norm          3.1188        1.5299        .88677E-07    .18773E-03
  15  Prefactor     .10000E-03    5.0568        .27875E-06** at limit **
  16  Prefactor     .10000E-03    2.3859       -.29187E-07** at limit **
  17  Prefactor     .10000E-03    5.9348        .18022E-06** at limit **
  18  Normalizat    .30045        .22761       -.82363E-05   -.13582E-04
  19  Prefactor     1.4492        .17703        .26367E-05    .43683E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.0374
  Prefactor  = 9.19817
  norm       = 0.0001
  norm       = 0.924524
  norm       = 1.22506
  Prefactor  = 0.0001
  Prefactor  = 26.4818
  Prefactor  = 4.99839
  norm       = 16.2304
  Prefactor  = 0.000100001
  Prefactor  = 34.6676
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 3.11884
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.300446
  Prefactor  = 1.44921
 **********
 **   18 **HESSE 
 **********

 FCN=   6151.007     FROM HESSE     STATUS=OK           274 CALLS     2175 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.037        36.691        .11092E-03   -1.4986    
   2  Prefactor     9.1982        16.162        .13214E-03   -1.5101    
   3  norm          .10000E-03    1.6632        .98269E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .92452        .66038        .51164E-03   -1.5516    
   5  norm          1.2251        1.4731        .10253E-03   -1.5487    
   6  Prefactor     .10000E-03    3.9251        .15167E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     26.482        42.119        .77840E-04   -1.4678    
   8  Prefactor     4.9984        22.510        .17977E-03   -1.5261    
   9  norm          16.230        16.793        .99398E-04   -1.4902    
  10  Prefactor     .10000E-03    15.614        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     34.668        56.178        .67999E-04   -1.4530    
  12  Prefactor     .10000E-03    47.474        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    8.1225        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.1188        1.5299        .64933E-04   -1.5355    
  15  Prefactor     .10000E-03    5.1626        .17211E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.4920        .23360E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    5.9769        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .30045        .22512        .45699E-03   -1.2281    
  19  Prefactor     1.4492        .17709        .17927E-03   -.78972    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.06763e-10
Minuit parameter uncertainties:
  1  36.754
  2  16.1694
  3  1.20646e-06
  4  0.660387
  5  1.47317
  6  5.79556e-06
  7  42.1664
  8  21.2277
  9  16.7975
  10  0.000205881
  11  56.2636
  12  0.000344664
  13  4.61862e-05
  14  1.52988
  15  9.29263e-07
  16  8.32833e-05
  17  7.87743e-06
  18  0.225804
  19  0.177167
Done.

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

Extracting fit parameters...

4FGL J1010.8-0158
   Spectrum: PowerLaw
216    Prefactor:  2.648e+01  4.217e+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.449e+00  1.772e-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:  3.004e-01  2.258e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/707120/likelihoodResults_606096001_606355201_4FGL_J1010.8-0158_daily_bin1415.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) = 6151.00382321
delta logL = 0.00299777044529

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6150.99914431
delta logL = 0.00767667510354

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.821       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7860       1.0000          .0000       10.000    
     3 'Normalizat'    .29535       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4525       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=   6150.999     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      233 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.821        965.79        .21945E-02    .29626E-03
   2  Index         2.7861        6.3129        .22645        .66257E-04
   3  Normalizat    .29388        .51544E-01    .10435        .10281E-03
   4  Prefactor     1.4536        .39364E-01    .30374E-01    .10829E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.821
  Index      = 2.78612
  Normalizat = 0.293881
  Prefactor  = 1.45362
 **********
 **   18 **HESSE 
 **********

 FCN=   6150.999     FROM HESSE     STATUS=OK            31 CALLS      264 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.821        100.81        .87779E-04   -1.4795    
   2  Index         2.7861        3.0169        .11112E-01   -.45869    
   3  Normalizat    .29388        .22754        .46196E-03   -1.2320    
   4  Prefactor     1.4536        .18426        .17904E-03   -.78847    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.14329e-08
Minuit parameter uncertainties:
  1  91.8795
  2  3.3094
  3  0.228256
  4  0.184345
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/707120': 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) = 6150.99911997
delta logL = 0.00770100814043

Extracting fit parameters...

4FGL J1010.8-0158
   Spectrum: PowerLaw
216    Prefactor:  2.082e+01  9.188e+01  1.000e-04  1.000e+04 ( 1.000e-13)
217        Index:  2.786e+00  3.309e+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.454e+00  1.843e-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:  2.939e-01  2.283e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.48
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/707120/cmap_HighResolution_606096001_606355201_4FGL_J1010.8-0158_daily_bin1415.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.55e-03', job_status='DONE', photon_flux_upper_limit='1.23e-07', time_completed='2021-09-01 12:43:09.507437', job_id='707120', GAL2='1.45', fit_tolerance='1e-08', EG2='0.29', EG='0.30', time_epoch_completed='1630525389.51', return_code2='0', ts='0.48', comment='SUCCESS', return_code='0', GAL='1.45', dlogl='7.70e-03', ts2='0.50', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='1415' AND source_name='4FGL J1010.8-0158' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 12:43:09 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0106>
Subject: Job 707120: <4FGL_J1010.8-0158_daily_bin1415> in cluster <slac> Done

Job <4FGL_J1010.8-0158_daily_bin1415> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep  1 12:31:32 2021
Job was executed on host(s) <bullet0106>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 12:31:33 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:31:33 2021
Terminated at Wed Sep  1 12:43:10 2021
Results reported at Wed Sep  1 12:43:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1010.8-0158_daily_bin1415 152.704 -1.9817 606096001 606355201 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 :                                   544.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             251.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   696 sec.
    Turnaround time :                            698 sec.

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

