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


Performing analysis on: 4FGL_J1008.0+0620_daily_bin551
RA = 152.014, Dec = 6.3475
tmin = 382147201, tmax = 382406401
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='682462', job_status='RUN', time_executed='2021-09-01 11:14:57.704914', time_epoch_executed='1630520097.7' WHERE source_name='4FGL J1008.0+0620' and cadence='daily' and bin_id='551'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/682462

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/682462/ft1_4FGL_J1008.0+0620_daily_bin551.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/682462/ft2_4FGL_J1008.0+0620_daily_bin551.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/682462/ft1_4FGL_J1008.0+0620_daily_bin551.fits outfile=/scratch/kocevski/682462/ft1_filteredMKT_4FGL_J1008.0+0620_daily_bin551.fits ra=152.014 dec=6.3475 rad=12.0 tmin=382147201.0 tmax=382406401.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.47
user 3.20
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/682462/ft2_4FGL_J1008.0+0620_daily_bin551.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/682462/ft2_4FGL_J1008.0+0620_daily_bin551.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/682462/ft1_filteredMKT_4FGL_J1008.0+0620_daily_bin551.fits evtable="EVENTS" outfile="/scratch/kocevski/682462/ft1_filtered_4FGL_J1008.0+0620_daily_bin551.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.52
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/682462/ft1_filtered_4FGL_J1008.0+0620_daily_bin551.fits" evtable="EVENTS" scfile=/scratch/kocevski/682462/ft2_4FGL_J1008.0+0620_daily_bin551.fits sctable="SC_DATA" outfile=/scratch/kocevski/682462/ltcube_382147201_382406401_4FGL_J1008.0+0620_daily_bin551.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/682462/ft2_4FGL_J1008.0+0620_daily_bin551.fits
.....................!
real 14.52
user 13.99
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/682462/ft1_filtered_4FGL_J1008.0+0620_daily_bin551.fits evtable="EVENTS" scfile=/scratch/kocevski/682462/ft2_4FGL_J1008.0+0620_daily_bin551.fits sctable="SC_DATA" expcube=/scratch/kocevski/682462/ltcube_382147201_382406401_4FGL_J1008.0+0620_daily_bin551.fits outfile=/scratch/kocevski/682462/expmap_382147201_382406401_4FGL_J1008.0+0620_daily_bin551.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/682462/ltcube_382147201_382406401_4FGL_J1008.0+0620_daily_bin551.fits
.....................!
real 192.55
user 186.55
sys 5.36

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

Setting source of interest to:
4FGL J1008.0+0620 @ 152.014 6.3475

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/682462/ft1_filtered_4FGL_J1008.0+0620_daily_bin551.fits scfile=/scratch/kocevski/682462/ft2_4FGL_J1008.0+0620_daily_bin551.fits outfile=/scratch/kocevski/682462/cmap_382147201_382406401_4FGL_J1008.0+0620_daily_bin551.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.014 yref=6.3475 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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/682462/ft1_filtered_4FGL_J1008.0+0620_daily_bin551.fits scfile=/scratch/kocevski/682462/ft2_4FGL_J1008.0+0620_daily_bin551.fits outfile=/scratch/kocevski/682462/cmap_HighResolution_382147201_382406401_4FGL_J1008.0+0620_daily_bin551.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.014 yref=6.3475 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.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/682462/ft1_filtered_4FGL_J1008.0+0620_daily_bin551.fits evtable="EVENTS" scfile=/scratch/kocevski/682462/ft2_4FGL_J1008.0+0620_daily_bin551.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/682462/Model_4FGL_J1008.0+0620_daily_bin551.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/682462/ft1_filtered_4FGL_J1008.0+0620_daily_bin551.fits.....................!
real 56.17
user 54.80
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/682462/ft1_filtered_4FGL_J1008.0+0620_daily_bin551.fits', '/scratch/kocevski/682462/ft2_4FGL_J1008.0+0620_daily_bin551.fits', expMap='/scratch/kocevski/682462/expmap_382147201_382406401_4FGL_J1008.0+0620_daily_bin551.fits', expCube='/scratch/kocevski/682462/ltcube_382147201_382406401_4FGL_J1008.0+0620_daily_bin551.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/682462/Model_4FGL_J1008.0+0620_daily_bin551.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1008.0+0620'

4FGL J1008.0+0620
   Spectrum: PowerLaw
200    Prefactor:  6.323e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
201        Index:  2.189e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
202        Scale:  1.356e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/682462/ft1_filtered_4FGL_J1008.0+0620_daily_bin551.fits
Spacecraft file(s): /scratch/kocevski/682462/ft2_4FGL_J1008.0+0620_daily_bin551.fits
Exposure map: /scratch/kocevski/682462/expmap_382147201_382406401_4FGL_J1008.0+0620_daily_bin551.fits
Exposure cube: /scratch/kocevski/682462/ltcube_382147201_382406401_4FGL_J1008.0+0620_daily_bin551.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/682462/Model_4FGL_J1008.0+0620_daily_bin551.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 5595.88843389

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .20128E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.3379       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.6148       1.0000         .10000E-03   10000.    
     6 'Prefactor '    43.338       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    32.820       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.7940       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.962       1.0000         .10000E-03   10000.    
    13 'norm      '    .11374E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .33016E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.4563       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    .92628       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0641       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5595.823     FROM MIGRAD    STATUS=CONVERGED    385 CALLS     1771 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.9440       -.37906E-06** at limit **
   2  Prefactor     .10000E-03    10.511       -.38320E-06** at limit **
   3  norm          .10000E-03    .70783        .33592E-06** at limit **
   4  norm          1.3380        .66193       -.11308E-06   -.50317E-03
   5  Prefactor     2.6706        34.066       -.15970E-04   -.12015E-03
   6  Prefactor     43.371        41.443        .21060E-04    .60921E-05
   7  Prefactor     .10000E-03    15.668       -.37850E-06** at limit **
   8  norm          32.770        25.084        .23646E-06    .15672E-03
   9  Prefactor     4.7887        10.535        .32302E-05    .36022E-05
  10  Prefactor     .10000E-03    33.435       -.80079E-06** at limit **
  11  Prefactor     .10000E-03    25.671        .39751E-06** at limit **
  12  Prefactor     11.961        12.619        .24438E-07    .41131E-04
  13  norm          .10000E-03    .95098       -.31730E-06** at limit **
  14  Prefactor     .10017E-03    7.0015        .37748E-06** at limit **
  15  Prefactor     9.4582        4.0894        .49142E-07   -.14788E-04
  16  Prefactor     .10000E-03    8.0187       -.57582E-06** at limit **
  17  Normalizat    .92616        .20512       -.20586E-05   -.21409E-05
  18  Prefactor     1.0640        .16586        .16860E-06   -.71373E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.33804
  Prefactor  = 2.67057
  Prefactor  = 43.3711
  Prefactor  = 0.0001
  norm       = 32.77
  Prefactor  = 4.78873
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.961
  norm       = 0.0001
  Prefactor  = 0.000100169
  Prefactor  = 9.4582
  Prefactor  = 0.0001
  Normalizat = 0.926156
  Prefactor  = 1.064
 **********
 **   18 **HESSE 
 **********

 FCN=   5595.823     FROM HESSE     STATUS=OK           248 CALLS     2019 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.9613        .10183E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    10.580        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    3.9187        .11907E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.3380        .65664        .40899E-04   -1.5477    
   5  Prefactor     2.6706        33.154        .25224E-03   -1.5381    
   6  Prefactor     43.371        41.172        .60897E-04   -1.4390    
   7  Prefactor     .10000E-03    15.679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          32.770        24.486        .69945E-04   -1.4562    
   9  Prefactor     4.7887        10.447        .18375E-03   -1.5270    
  10  Prefactor     .10000E-03    33.452        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    25.679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.961        12.602        .11583E-03   -1.5016    
  13  norm          .10000E-03    2.7422        .14023E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10017E-03    29.366        .37555E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.4582        4.0867        .95075E-04   -1.5093    
  16  Prefactor     .10000E-03    8.1254        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .92616        .23270        .27557E-03   -.95547    
  18  Prefactor     1.0640        .19238        .21865E-03   -.90626    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.08822e-09
Minuit parameter uncertainties:
  1  4.35708e-06
  2  1.4291e-05
  3  6.24742e-06
  4  0.656642
  5  18.8318
  6  41.1986
  7  0.00010085
  8  24.4937
  9  10.4508
  10  0.000110713
  11  2.23539e-05
  12  12.6049
  13  6.14705e-05
  14  0.004455
  15  4.08686
  16  1.68526e-05
  17  0.232949
  18  0.192501
Done.

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

Extracting fit parameters...

4FGL J1008.0+0620
   Spectrum: PowerLaw
200    Prefactor:  2.671e+00  1.883e+01  1.000e-04  1.000e+04 ( 1.000e-13)
201        Index:  2.189e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
202        Scale:  1.356e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
481    Prefactor:  1.064e+00  1.925e-01  0.000e+00  1.000e+01 ( 1.000e+00)
482        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
483        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
480   Normalization:  9.262e-01  2.329e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 152.014 6.348
Photon Flux Upper Limit: 1.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.90e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/682462/likelihoodResults_382147201_382406401_4FGL_J1008.0+0620_daily_bin551.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) = 5595.49925498
delta logL = 0.324223096174

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5595.40485802
delta logL = 0.418620053956

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .86350       1.0000         .10000E-03   10000.    
     2 'Index     '    3.7700       1.0000          .0000       10.000    
     3 'Normalizat'    .86229       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0979       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4840E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5595.405     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      233 TOTAL
                     EDM=   .87E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .86302        18.659        .12675E-01    .18982E-02
   2  Index         3.7707        2.9789        .10282        .25457E-03
   3  Normalizat    .86245        .43939E-01    .64311E-01   -.38972E-04
   4  Prefactor     1.0978        .37300E-01    .37666E-01   -.90898E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.863023
  Index      = 3.77067
  Normalizat = 0.862449
  Prefactor  = 1.09784
 **********
 **   18 **HESSE 
 **********

 FCN=   5595.405     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      264 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .86302        53.781        .76202E-04   -1.5522    
   2  Index         3.7707        6.8725        .58365E-02   -.24841    
   3  Normalizat    .86245        .19622        .28447E-03   -.97792    
   4  Prefactor     1.0978        .16441        .21559E-03   -.89536    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.54576e-09
Minuit parameter uncertainties:
  1  13.6376
  2  6.9004
  3  0.196383
  4  0.164485
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/682462': 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) = 5595.40485708
delta logL = 0.418620999299

Extracting fit parameters...

4FGL J1008.0+0620
   Spectrum: PowerLaw
200    Prefactor:  8.630e-01  1.364e+01  1.000e-04  1.000e+04 ( 1.000e-13)
201        Index:  3.771e+00  6.900e+00  0.000e+00  1.000e+01 (-1.000e+00)
202        Scale:  1.356e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
481    Prefactor:  1.098e+00  1.645e-01  0.000e+00  1.000e+01 ( 1.000e+00)
482        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
483        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
480   Normalization:  8.624e-01  1.964e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
Ra Dec: 152.014 6.348

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/682462/cmap_HighResolution_382147201_382406401_4FGL_J1008.0+0620_daily_bin551.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.90e-03', job_status='DONE', photon_flux_upper_limit='1.04e-07', time_completed='2021-09-01 11:23:28.690462', job_id='682462', GAL2='1.10', fit_tolerance='1e-08', EG2='0.86', EG='0.93', time_epoch_completed='1630520608.69', return_code2='102', ts='0.03', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='4.19e-01', ts2='0.94', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='551' AND source_name='4FGL J1008.0+0620' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 11:23:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0130>
Subject: Job 682462: <4FGL_J1008.0+0620_daily_bin551> in cluster <slac> Done

Job <4FGL_J1008.0+0620_daily_bin551> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  1 11:11:07 2021
Job was executed on host(s) <bullet0130>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 11:11:08 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:11:08 2021
Terminated at Wed Sep  1 11:23:29 2021
Results reported at Wed Sep  1 11:23:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1008.0+0620_daily_bin551 152.014 6.3475 382147201 382406401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1008.0+0620 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   510.11 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             254.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   741 sec.
    Turnaround time :                            742 sec.

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

