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


Performing analysis on: 4FGL_J1008.7-2909_daily_bin1534
RA = 152.199, Dec = -29.1559
tmin = 636940801, tmax = 637200001
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='693215', job_status='RUN', time_executed='2021-09-01 11:47:28.133236', time_epoch_executed='1630522048.13' WHERE source_name='4FGL J1008.7-2909' and cadence='daily' and bin_id='1534'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/693215

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/693215/ft1_4FGL_J1008.7-2909_daily_bin1534.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/693215/ft2_4FGL_J1008.7-2909_daily_bin1534.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/693215/ft1_4FGL_J1008.7-2909_daily_bin1534.fits outfile=/scratch/kocevski/693215/ft1_filteredMKT_4FGL_J1008.7-2909_daily_bin1534.fits ra=152.199 dec=-29.1559 rad=12.0 tmin=636940801.0 tmax=637200001.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 5.58
user 5.23
sys 0.31

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/693215/ft2_4FGL_J1008.7-2909_daily_bin1534.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/693215/ft2_4FGL_J1008.7-2909_daily_bin1534.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/693215/ft1_filteredMKT_4FGL_J1008.7-2909_daily_bin1534.fits evtable="EVENTS" outfile="/scratch/kocevski/693215/ft1_filtered_4FGL_J1008.7-2909_daily_bin1534.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.54
user 0.38
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/693215/ft1_filtered_4FGL_J1008.7-2909_daily_bin1534.fits" evtable="EVENTS" scfile=/scratch/kocevski/693215/ft2_4FGL_J1008.7-2909_daily_bin1534.fits sctable="SC_DATA" outfile=/scratch/kocevski/693215/ltcube_636940801_637200001_4FGL_J1008.7-2909_daily_bin1534.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/693215/ft2_4FGL_J1008.7-2909_daily_bin1534.fits
.....................!
real 16.20
user 15.75
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/693215/ft1_filtered_4FGL_J1008.7-2909_daily_bin1534.fits evtable="EVENTS" scfile=/scratch/kocevski/693215/ft2_4FGL_J1008.7-2909_daily_bin1534.fits sctable="SC_DATA" expcube=/scratch/kocevski/693215/ltcube_636940801_637200001_4FGL_J1008.7-2909_daily_bin1534.fits outfile=/scratch/kocevski/693215/expmap_636940801_637200001_4FGL_J1008.7-2909_daily_bin1534.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/693215/ltcube_636940801_637200001_4FGL_J1008.7-2909_daily_bin1534.fits
.....................!
real 191.13
user 186.12
sys 4.53

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 171 point sources and 0 extended sources

Setting source of interest to:
4FGL J1008.7-2909 @ 152.199 -29.1559

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/693215/ft1_filtered_4FGL_J1008.7-2909_daily_bin1534.fits scfile=/scratch/kocevski/693215/ft2_4FGL_J1008.7-2909_daily_bin1534.fits outfile=/scratch/kocevski/693215/cmap_636940801_637200001_4FGL_J1008.7-2909_daily_bin1534.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.199 yref=-29.1559 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.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/693215/ft1_filtered_4FGL_J1008.7-2909_daily_bin1534.fits scfile=/scratch/kocevski/693215/ft2_4FGL_J1008.7-2909_daily_bin1534.fits outfile=/scratch/kocevski/693215/cmap_HighResolution_636940801_637200001_4FGL_J1008.7-2909_daily_bin1534.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.199 yref=-29.1559 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.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/693215/ft1_filtered_4FGL_J1008.7-2909_daily_bin1534.fits evtable="EVENTS" scfile=/scratch/kocevski/693215/ft2_4FGL_J1008.7-2909_daily_bin1534.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/693215/Model_4FGL_J1008.7-2909_daily_bin1534.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/693215/ft1_filtered_4FGL_J1008.7-2909_daily_bin1534.fits.....................!
real 112.94
user 111.06
sys 1.57

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/693215/ft1_filtered_4FGL_J1008.7-2909_daily_bin1534.fits', '/scratch/kocevski/693215/ft2_4FGL_J1008.7-2909_daily_bin1534.fits', expMap='/scratch/kocevski/693215/expmap_636940801_637200001_4FGL_J1008.7-2909_daily_bin1534.fits', expCube='/scratch/kocevski/693215/ltcube_636940801_637200001_4FGL_J1008.7-2909_daily_bin1534.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/693215/Model_4FGL_J1008.7-2909_daily_bin1534.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1008.7-2909'

4FGL J1008.7-2909
   Spectrum: PowerLaw
296    Prefactor:  3.409e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.483e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  9.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/693215/ft1_filtered_4FGL_J1008.7-2909_daily_bin1534.fits
Spacecraft file(s): /scratch/kocevski/693215/ft2_4FGL_J1008.7-2909_daily_bin1534.fits
Exposure map: /scratch/kocevski/693215/expmap_636940801_637200001_4FGL_J1008.7-2909_daily_bin1534.fits
Exposure cube: /scratch/kocevski/693215/ltcube_636940801_637200001_4FGL_J1008.7-2909_daily_bin1534.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/693215/Model_4FGL_J1008.7-2909_daily_bin1534.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) = 11225.5768341

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.555       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .18704E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    25.036       1.0000         .10000E-03   10000.    
     5 'norm      '    2.7447       1.0000         .10000E-03   10000.    
     6 'norm      '    3.0960       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.6394       1.0000         .10000E-03   10000.    
    10 'norm      '    3.2833       1.0000         .10000E-03   10000.    
    11 'norm      '    .88444       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.2787       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    7.4137       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.2136       1.0000         .10000E-03   10000.    
    17 'Prefactor '    19.784       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .93718       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .89547       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11225.52     FROM MIGRAD    STATUS=CONVERGED    385 CALLS     1640 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.548        11.660        .50316E-05    .42490E-03
   2  Prefactor     .10000E-03    59.168       -.11416E-05** at limit **
   3  norm          .10000E-03    2.7873       -.29754E-07** at limit **
   4  norm          25.036        13.140       -.11703E-06   -.37074E-04
   5  norm          2.7448        4.0444        .15445E-05   -.20551E-02
   6  norm          3.0963        1.2647        .52611E-07   -.17782E-03
   7  norm          .10000E-03    1.9883       -.91761E-09** at limit **
   8  Prefactor     .10000E-03    7.3011        .33560E-06** at limit **
   9  Prefactor     7.6406        7.3503       -.15183E-05   -.14374E-03
  10  norm          3.2760        7.9963        .44121E-05    .16688E-03
  11  norm          .88971        4.6205       -.99323E-06   -.74262E-03
  12  Prefactor     6.2776        11.021        .68880E-06   -.13919E-04
  13  Prefactor     .10000E-03    8.9947       -.62843E-06** at limit **
  14  norm          7.4146        3.1502       -.40246E-07   -.66247E-04
  15  Prefactor     .10000E-03    4.5003       -.93205E-07** at limit **
  16  Prefactor     2.2141        2.6724        .14181E-06   -.12652E-03
  17  Prefactor     19.785        8.7903       -.16261E-06   -.66939E-04
  18  Normalizat    .93704        .17170       -.10465E-05   -.15974E-04
  19  Prefactor     .89550        .76169E-01   -.27193E-06    .28444E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.5484
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 25.036
  norm       = 2.74477
  norm       = 3.09631
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.64059
  norm       = 3.27599
  norm       = 0.889709
  Prefactor  = 6.27764
  Prefactor  = 0.0001
  norm       = 7.41458
  Prefactor  = 0.0001
  Prefactor  = 2.21413
  Prefactor  = 19.785
  Normalizat = 0.937038
  Prefactor  = 0.895497
 **********
 **   18 **HESSE 
 **********

 FCN=   11225.52     FROM HESSE     STATUS=OK           274 CALLS     1914 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.548        11.635        .98436E-04   -1.4894    
   2  Prefactor     .10000E-03    61.728        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    2.8785        .34533E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          25.036        13.175        .80059E-04   -1.4707    
   5  norm          2.7448        7.3619        .12287E-02   -1.5377    
   6  norm          3.0963        1.2670        .71957E-04   -1.5356    
   7  norm          .10000E-03    1.9941        .14588E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.3166        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.6406        7.3565        .14509E-03   -1.5155    
  10  norm          3.2760        7.8663        .22346E-03   -1.5346    
  11  norm          .88971        4.5918        .41994E-03   -1.5519    
  12  Prefactor     6.2776        11.024        .16020E-03   -1.5207    
  13  Prefactor     .10000E-03    9.0537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          7.4146        3.1363        .11366E-03   -1.5163    
  15  Prefactor     .10000E-03    4.5101        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.2141        2.6454        .17594E-03   -1.5410    
  17  Prefactor     19.785        8.7739        .90048E-04   -1.4818    
  18  Normalizat    .93704        .20006        .34423E-03   -.95171    
  19  Prefactor     .89550        .89358E-01    .16315E-03   -.96299    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.63708e-09
Minuit parameter uncertainties:
  1  11.6366
  2  0.000514962
  3  7.2149e-07
  4  13.1765
  5  7.36429
  6  1.26702
  7  1.15519e-06
  8  1.53788e-06
  9  7.35739
  10  7.86878
  11  4.04273
  12  11.0272
  13  1.0118e-05
  14  3.13633
  15  1.4907e-06
  16  2.64556
  17  8.77443
  18  0.200221
  19  0.0893724
Done.

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

Extracting fit parameters...

4FGL J1008.7-2909
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  1.538e-06  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.483e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  9.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  8.955e-01  8.937e-02  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  9.370e-01  2.002e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 152.199 -29.156
Photon Flux Upper Limit: 5.34e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.15e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/693215/likelihoodResults_636940801_637200001_4FGL_J1008.7-2909_daily_bin1534.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): 102
logL (Free Index) = 11225.5222981
delta logL = -0.000651452282909

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11225.5216466
delta logL = 9.87893145066e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4766       1.0000          .0000       10.000    
     3 'Normalizat'    .93704       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89550       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5690E+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=   11225.52     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      246 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10044E-03    152.35        .18142E-02** at limit **
   2  Index         2.4280        5.1811        .50000        .59433E-05
   3  Normalizat    .93704        .19975E-01    .34423E-03   -.89170E-05
   4  Prefactor     .89550        .93415E-02    .16315E-03   -.87802E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100437
  Index      = 2.42802
  Normalizat = 0.937038
  Prefactor  = 0.895497
 **********
 **   18 **HESSE 
 **********

 FCN=   11225.52     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      275 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10044E-03    636.41        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4280        7.2220        .50000       -.54030    
   3  Normalizat    .93704        .45119E-01    .13769E-04   -.95171    
   4  Prefactor     .89550        .21094E-01    .65258E-05   -.96299    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.39387e-08
Minuit parameter uncertainties:
  1  0.0337227
  2  1666.37
  3  0.0451209
  4  0.0210945
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/693215': 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): 102
logL (Free Index) = 11225.5216466
delta logL = 5.57465682505e-08

Extracting fit parameters...

4FGL J1008.7-2909
   Spectrum: PowerLaw
296    Prefactor:  1.004e-04  3.372e-02  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.428e+00  1.666e+03  0.000e+00  1.000e+01 (-1.000e+00)
298        Scale:  9.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
566    Prefactor:  8.955e-01  2.109e-02  0.000e+00  1.000e+01 ( 1.000e+00)
567        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
568        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
565   Normalization:  9.370e-01  4.512e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 152.199 -29.156

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/693215/cmap_HighResolution_636940801_637200001_4FGL_J1008.7-2909_daily_bin1534.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.15e-03', job_status='DONE', photon_flux_upper_limit='5.34e-08', time_completed='2021-09-01 12:00:47.247974', job_id='693215', GAL2='0.90', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1630522847.25', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='5.57e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='1534' AND source_name='4FGL J1008.7-2909' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 12:00:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 693215: <4FGL_J1008.7-2909_daily_bin1534> in cluster <slac> Done

Job <4FGL_J1008.7-2909_daily_bin1534> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep  1 11:45:58 2021
Job was executed on host(s) <bullet0258>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 11:46:01 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 11:46:01 2021
Terminated at Wed Sep  1 12:00:47 2021
Results reported at Wed Sep  1 12:00:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1008.7-2909_daily_bin1534 152.199 -29.1559 636940801 637200001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1008.7-2909 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   795.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             292.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   886 sec.
    Turnaround time :                            889 sec.

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

