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


Performing analysis on: 4FGL_J1010.8-0158_daily_bin1129
RA = 152.704, Dec = -1.9817
tmin = 531964801, tmax = 532224001
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='706699', job_status='RUN', time_executed='2021-09-01 12:33:58.747606', time_epoch_executed='1630524838.75' WHERE source_name='4FGL J1010.8-0158' and cadence='daily' and bin_id='1129'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/706699

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/706699/ft1_4FGL_J1010.8-0158_daily_bin1129.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/706699/ft2_4FGL_J1010.8-0158_daily_bin1129.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/706699/ft1_4FGL_J1010.8-0158_daily_bin1129.fits outfile=/scratch/kocevski/706699/ft1_filteredMKT_4FGL_J1010.8-0158_daily_bin1129.fits ra=152.704 dec=-1.9817 rad=12.0 tmin=531964801.0 tmax=532224001.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.55
user 3.31
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/706699/ft1_filtered_4FGL_J1010.8-0158_daily_bin1129.fits" evtable="EVENTS" scfile=/scratch/kocevski/706699/ft2_4FGL_J1010.8-0158_daily_bin1129.fits sctable="SC_DATA" outfile=/scratch/kocevski/706699/ltcube_531964801_532224001_4FGL_J1010.8-0158_daily_bin1129.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/706699/ft2_4FGL_J1010.8-0158_daily_bin1129.fits
.....................!
real 14.92
user 14.56
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/706699/ft1_filtered_4FGL_J1010.8-0158_daily_bin1129.fits evtable="EVENTS" scfile=/scratch/kocevski/706699/ft2_4FGL_J1010.8-0158_daily_bin1129.fits sctable="SC_DATA" expcube=/scratch/kocevski/706699/ltcube_531964801_532224001_4FGL_J1010.8-0158_daily_bin1129.fits outfile=/scratch/kocevski/706699/expmap_531964801_532224001_4FGL_J1010.8-0158_daily_bin1129.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/706699/ltcube_531964801_532224001_4FGL_J1010.8-0158_daily_bin1129.fits
.....................!
real 190.12
user 185.13
sys 4.61

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/706699/ft1_filtered_4FGL_J1010.8-0158_daily_bin1129.fits scfile=/scratch/kocevski/706699/ft2_4FGL_J1010.8-0158_daily_bin1129.fits outfile=/scratch/kocevski/706699/cmap_531964801_532224001_4FGL_J1010.8-0158_daily_bin1129.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.54
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/706699/ft1_filtered_4FGL_J1010.8-0158_daily_bin1129.fits scfile=/scratch/kocevski/706699/ft2_4FGL_J1010.8-0158_daily_bin1129.fits outfile=/scratch/kocevski/706699/cmap_HighResolution_531964801_532224001_4FGL_J1010.8-0158_daily_bin1129.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/706699/ft1_filtered_4FGL_J1010.8-0158_daily_bin1129.fits evtable="EVENTS" scfile=/scratch/kocevski/706699/ft2_4FGL_J1010.8-0158_daily_bin1129.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/706699/Model_4FGL_J1010.8-0158_daily_bin1129.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/706699/ft1_filtered_4FGL_J1010.8-0158_daily_bin1129.fits.....................!
real 74.34
user 72.92
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10224E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.576       1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .24930       1.0000         .10000E-03   10000.    
     5 'norm      '    .84553       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10224E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.3674       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.3772       1.0000         .10000E-03   10000.    
     9 'norm      '    18.634       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .66470E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    55.168       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.352       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10668E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    4.4598       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.8661       1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.3819       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.2558       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .74340       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=   7909.596     FROM MIGRAD    STATUS=CONVERGED    392 CALLS     1890 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.588        .19113E-06** at limit **
   2  Prefactor     14.583        11.114        .27441E-06    .80017E-04
   3  norm          .10000E-03    .87415       -.29161E-07** at limit **
   4  norm          .24912        .48198       -.13563E-06    .10184E-02
   5  norm          .84553        .92736       -.30560E-07    .91950E-05
   6  Prefactor     .10000E-03    11.640        .32570E-07** at limit **
   7  Prefactor     1.3790        57.408        .19311E-05    .64070E-04
   8  Prefactor     8.3676        22.101       -.51108E-06   -.36080E-04
   9  norm          18.643        13.693        .16823E-05    .17475E-03
  10  Prefactor     .10000E-03    16.990        .67429E-05** at limit **
  11  Prefactor     55.176        50.760        .74804E-06    .57367E-04
  12  Prefactor     11.413        30.004        .58929E-05    .94182E-04
  13  Prefactor     .10000E-03    4.3122       -.16619E-06** at limit **
  14  norm          4.4599        1.4422        .23003E-07    .85390E-04
  15  Prefactor     .10000E-03    1.6069       -.46156E-07** at limit **
  16  Prefactor     1.8669        3.5893       -.27969E-06    .54969E-03
  17  Prefactor     6.3795        10.005        .13737E-06    .94954E-04
  18  Normalizat    1.2559        .16501        .55348E-06    .13499E-03
  19  Prefactor     .74341        .12040        .12480E-06    .11766E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 14.583
  norm       = 0.0001
  norm       = 0.249121
  norm       = 0.845535
  Prefactor  = 0.000100004
  Prefactor  = 1.37902
  Prefactor  = 8.36756
  norm       = 18.6432
  Prefactor  = 0.000100002
  Prefactor  = 55.1762
  Prefactor  = 11.413
  Prefactor  = 0.0001
  norm       = 4.45986
  Prefactor  = 0.0001
  Prefactor  = 1.86695
  Prefactor  = 6.37951
  Normalizat = 1.2559
  Prefactor  = 0.74341
 **********
 **   18 **HESSE 
 **********

 FCN=   7909.596     FROM HESSE     STATUS=OK           270 CALLS     2160 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.621        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     14.583        11.113        .10491E-03   -1.4944    
   3  norm          .10000E-03    .88271        .81196E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .24912        .47892        .79368E-04   -1.5608    
   5  norm          .84553        .90754        .87221E-04   -1.5524    
   6  Prefactor     .10000E-03    11.691        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.3790        59.117        .37304E-03   -1.5473    
   8  Prefactor     8.3676        22.080        .13851E-03   -1.5129    
   9  norm          18.643        13.721        .92783E-04   -1.4844    
  10  Prefactor     .10000E-03    16.851        .35996E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     55.176        50.894        .54005E-04   -1.4221    
  12  Prefactor     11.413        29.355        .11890E-03   -1.5032    
  13  Prefactor     .10000E-03    4.3181        .18043E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.4599        1.4417        .58236E-04   -1.5286    
  15  Prefactor     .10000E-03    1.6153        .11007E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.8669        3.5499        .21337E-03   -1.5435    
  17  Prefactor     6.3795        9.9264        .15888E-03   -1.5203    
  18  Normalizat    1.2559        .19371        .23977E-03   -.84893    
  19  Prefactor     .74341        .14109        .23084E-03   -1.0185    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.64331e-10
Minuit parameter uncertainties:
  1  9.77209e-06
  2  11.1144
  3  7.27548e-07
  4  0.478924
  5  0.907557
  6  0.000446805
  7  18.0765
  8  22.1015
  9  13.7235
  10  0.000357355
  11  50.9344
  12  29.3917
  13  2.89164e-06
  14  1.44175
  15  3.81032e-06
  16  3.55034
  17  9.92891
  18  0.193826
  19  0.141155
Done.

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

Extracting fit parameters...

4FGL J1010.8-0158
   Spectrum: PowerLaw
216    Prefactor:  1.379e+00  1.808e+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.434e-01  1.412e-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.256e+00  1.938e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 152.704 -1.982
Photon Flux Upper Limit: 6.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.77e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/706699/likelihoodResults_531964801_532224001_4FGL_J1010.8-0158_daily_bin1129.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) = 7909.59509936
delta logL = 0.000672958371069

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7909.59480709
delta logL = 0.000965229699432

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7725       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3930       1.0000          .0000       10.000    
     3 'Normalizat'    1.2561       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74330       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=   7909.595     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      243 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7592        1092.6        .78627E-02    .89762E-04
   2  Index         2.3846        6.0171        .50000        .63948E-05
   3  Normalizat    1.2560        .18853E-01    .54223E-01   -.48032E-04
   4  Prefactor     .74327        .14425E-01    .42975E-01    .30721E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.75923
  Index      = 2.38465
  Normalizat = 1.25599
  Prefactor  = 0.743268
 **********
 **   18 **HESSE 
 **********

 FCN=   7909.595     FROM HESSE     STATUS=OK            33 CALLS      276 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7592        69.043        .31451E-03   -1.5443    
   2  Index         2.3846        3.0904        .26790E-01   -.55045    
   3  Normalizat    1.2560        .18319        .23976E-03   -.84890    
   4  Prefactor     .74327        .14010        .23086E-03   -1.0185    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.40153e-11
Minuit parameter uncertainties:
  1  22.0688
  2  3.45748
  3  0.183285
  4  0.140165
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/706699': 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) = 7909.59480042
delta logL = 0.000971901103185

Extracting fit parameters...

4FGL J1010.8-0158
   Spectrum: PowerLaw
216    Prefactor:  1.759e+00  2.207e+01  1.000e-04  1.000e+04 ( 1.000e-13)
217        Index:  2.385e+00  3.457e+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:  7.433e-01  1.402e-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.256e+00  1.833e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/706699/cmap_HighResolution_531964801_532224001_4FGL_J1010.8-0158_daily_bin1129.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.77e-03', job_status='DONE', photon_flux_upper_limit='6.11e-08', time_completed='2021-09-01 12:44:40.922874', job_id='706699', GAL2='0.74', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1630525480.92', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='9.72e-04', ts2='0.01', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='1129' AND source_name='4FGL J1010.8-0158' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 12:44:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 706699: <4FGL_J1010.8-0158_daily_bin1129> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1010.8-0158_daily_bin1129 152.704 -1.9817 531964801 532224001 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 :                                   632.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             321.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   823 sec.
    Turnaround time :                            827 sec.

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

