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


Performing analysis on: 4FGL_J1008.7-2909_daily_bin999
RA = 152.199, Dec = -29.1559
tmin = 498268801, tmax = 498528001
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='690285', job_status='RUN', time_executed='2021-09-01 11:39:57.316232', time_epoch_executed='1630521597.32' WHERE source_name='4FGL J1008.7-2909' and cadence='daily' and bin_id='999'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/690285

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/690285/ft1_4FGL_J1008.7-2909_daily_bin999.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/690285/ft2_4FGL_J1008.7-2909_daily_bin999.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/690285/ft1_4FGL_J1008.7-2909_daily_bin999.fits outfile=/scratch/kocevski/690285/ft1_filteredMKT_4FGL_J1008.7-2909_daily_bin999.fits ra=152.199 dec=-29.1559 rad=12.0 tmin=498268801.0 tmax=498528001.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.60
user 4.58
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/690285/ft2_4FGL_J1008.7-2909_daily_bin999.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/690285/ft1_filteredMKT_4FGL_J1008.7-2909_daily_bin999.fits evtable="EVENTS" outfile="/scratch/kocevski/690285/ft1_filtered_4FGL_J1008.7-2909_daily_bin999.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.75
user 0.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/690285/ft1_filtered_4FGL_J1008.7-2909_daily_bin999.fits" evtable="EVENTS" scfile=/scratch/kocevski/690285/ft2_4FGL_J1008.7-2909_daily_bin999.fits sctable="SC_DATA" outfile=/scratch/kocevski/690285/ltcube_498268801_498528001_4FGL_J1008.7-2909_daily_bin999.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/690285/ft2_4FGL_J1008.7-2909_daily_bin999.fits
.....................!
real 15.26
user 14.48
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/690285/ft1_filtered_4FGL_J1008.7-2909_daily_bin999.fits evtable="EVENTS" scfile=/scratch/kocevski/690285/ft2_4FGL_J1008.7-2909_daily_bin999.fits sctable="SC_DATA" expcube=/scratch/kocevski/690285/ltcube_498268801_498528001_4FGL_J1008.7-2909_daily_bin999.fits outfile=/scratch/kocevski/690285/expmap_498268801_498528001_4FGL_J1008.7-2909_daily_bin999.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/690285/ltcube_498268801_498528001_4FGL_J1008.7-2909_daily_bin999.fits
.....................!
real 191.54
user 185.60
sys 4.78

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/690285/ft1_filtered_4FGL_J1008.7-2909_daily_bin999.fits scfile=/scratch/kocevski/690285/ft2_4FGL_J1008.7-2909_daily_bin999.fits outfile=/scratch/kocevski/690285/cmap_498268801_498528001_4FGL_J1008.7-2909_daily_bin999.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.88
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/690285/ft1_filtered_4FGL_J1008.7-2909_daily_bin999.fits scfile=/scratch/kocevski/690285/ft2_4FGL_J1008.7-2909_daily_bin999.fits outfile=/scratch/kocevski/690285/cmap_HighResolution_498268801_498528001_4FGL_J1008.7-2909_daily_bin999.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.92
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/690285/ft1_filtered_4FGL_J1008.7-2909_daily_bin999.fits evtable="EVENTS" scfile=/scratch/kocevski/690285/ft2_4FGL_J1008.7-2909_daily_bin999.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/690285/Model_4FGL_J1008.7-2909_daily_bin999.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/690285/ft1_filtered_4FGL_J1008.7-2909_daily_bin999.fits......................!
real 63.81
user 46.66
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/690285/ft1_filtered_4FGL_J1008.7-2909_daily_bin999.fits', '/scratch/kocevski/690285/ft2_4FGL_J1008.7-2909_daily_bin999.fits', expMap='/scratch/kocevski/690285/expmap_498268801_498528001_4FGL_J1008.7-2909_daily_bin999.fits', expCube='/scratch/kocevski/690285/ltcube_498268801_498528001_4FGL_J1008.7-2909_daily_bin999.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/690285/Model_4FGL_J1008.7-2909_daily_bin999.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/690285/ft1_filtered_4FGL_J1008.7-2909_daily_bin999.fits
Spacecraft file(s): /scratch/kocevski/690285/ft2_4FGL_J1008.7-2909_daily_bin999.fits
Exposure map: /scratch/kocevski/690285/expmap_498268801_498528001_4FGL_J1008.7-2909_daily_bin999.fits
Exposure cube: /scratch/kocevski/690285/ltcube_498268801_498528001_4FGL_J1008.7-2909_daily_bin999.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/690285/Model_4FGL_J1008.7-2909_daily_bin999.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) = 3751.97488563

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.180       1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.177       1.0000         .10000E-03   10000.    
     3 'norm      '    .10125E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .48272       1.0000         .10000E-03   10000.    
     6 'norm      '    5.0297       1.0000         .10000E-03   10000.    
     7 'norm      '    45.498       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    32.121       1.0000         .10000E-03   10000.    
    11 'norm      '    10.637       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    31.528       1.0000         .10000E-03   10000.    
    14 'norm      '    2.8022       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.8961       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.4463       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .71982       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=   3751.858     FROM MIGRAD    STATUS=CONVERGED    369 CALLS     2195 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.180        21.454        .32351E-05    .78385E-04
   2  Prefactor     14.129        39.971       -.95147E-04    .24878E-04
   3  norm          .10000E-03    13.791       -.75255E-06** at limit **
   4  norm          .10000E-03    21.713       -.48293E-05** at limit **
   5  norm          .49114        12.419        .26748E-06   -.42355E-03
   6  norm          5.0294        3.0403       -.74432E-06   -.51819E-04
   7  norm          45.485        28.129       -.10770E-04    .41716E-04
   8  Prefactor     .10000E-03    34.032        .80686E-05** at limit **
   9  Prefactor     .10000E-03    12.226       -.29766E-05** at limit **
  10  norm          32.124        34.402        .82679E-05   -.48765E-04
  11  norm          10.631        24.700       -.43792E-05   -.54960E-04
  12  Prefactor     .10000E-03    12.547        .26256E-05** at limit **
  13  Prefactor     31.500        77.319       -.48301E-04   -.22602E-03
  14  norm          2.8107        16.868        .20211E-04    .11134E-03
  15  Prefactor     .10000E-03    13.774        .24769E-05** at limit **
  16  Prefactor     .10000E-03    4.0328        .29529E-06** at limit **
  17  Prefactor     7.8964        12.792        .82272E-06   -.63192E-04
  18  Normalizat    1.4464        .34491        .56179E-05   -.24353E-04
  19  Prefactor     .71985        .13731        .67276E-05   -.22622E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.18
  Prefactor  = 14.1292
  norm       = 0.000100001
  norm       = 0.0001
  norm       = 0.49114
  norm       = 5.02944
  norm       = 45.4851
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 32.1235
  norm       = 10.6306
  Prefactor  = 0.0001
  Prefactor  = 31.4995
  norm       = 2.81073
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.89636
  Normalizat = 1.44639
  Prefactor  = 0.719845
 **********
 **   18 **HESSE 
 **********

 FCN=   3751.858     FROM HESSE     STATUS=OK           270 CALLS     2465 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.180        21.472        .91453E-04   -1.4832    
   2  Prefactor     14.129        39.815        .10638E-03   -1.4956    
   3  norm          .10000E-03    14.277        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    21.868        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .49114        101.07        .41680E-02   -1.5568    
   6  norm          5.0294        3.0624        .77958E-04   -1.5259    
   7  norm          45.485        28.148        .59440E-04   -1.4358    
   8  Prefactor     .10000E-03    34.067        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    12.228        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          32.124        34.211        .70700E-04   -1.4574    
  11  norm          10.631        24.480        .12285E-03   -1.5056    
  12  Prefactor     .10000E-03    12.560        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     31.500        71.861        .71359E-04   -1.4585    
  14  norm          2.8107        14.255        .24302E-03   -1.5373    
  15  Prefactor     .10000E-03    13.791        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.0503        .11998E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.8964        12.797        .14269E-03   -1.5146    
  18  Normalizat    1.4464        .40584        .33483E-03   -.79296    
  19  Prefactor     .71985        .16160        .18877E-03   -1.0275    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.8077e-09
Minuit parameter uncertainties:
  1  21.481
  2  39.8899
  3  0.000235978
  4  6.5381e-05
  5  14.1135
  6  3.06252
  7  28.1565
  8  5.42935e-05
  9  3.05605e-05
  10  34.2316
  11  24.5026
  12  5.69015e-05
  13  72.0598
  14  12.6645
  15  7.87377e-05
  16  4.96945e-05
  17  12.8017
  18  0.406749
  19  0.161704
Done.

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

Extracting fit parameters...

4FGL J1008.7-2909
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  5.429e-05  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:  7.198e-01  1.617e-01  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:  1.446e+00  4.067e-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: 1.96e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.53e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/690285/likelihoodResults_498268801_498528001_4FGL_J1008.7-2909_daily_bin999.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) = 3751.85834763
delta logL = -0.000139757466513

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3751.85820793
delta logL = -5.70635165786e-08

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 'Index     '    2.4105       1.0000          .0000       10.000    
     3 'Normalizat'    1.4464       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71985       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.

 FCN=   3751.858     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      235 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6597.7        .90712E-02** at limit **
   2  Index         2.4222        8.7832        .50000       -.31850E-05
   3  Normalizat    1.4464        .10722        .75662E-01   -.80471E-06
   4  Prefactor     .71985        .44581E-01    .42665E-01    .47842E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.42218
  Normalizat = 1.44638
  Prefactor  = 0.719847
 **********
 **   18 **HESSE 
 **********

 FCN=   3751.858     FROM HESSE     STATUS=OK            33 CALLS      268 TOTAL
                     EDM=   .85E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    131.36        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4222        5.1008        .50000       -.54167    
   3  Normalizat    1.4464        .36921        .33482E-03   -.79296    
   4  Prefactor     .71985        .15397        .18877E-03   -1.0275    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.48476e-11
Minuit parameter uncertainties:
  1  0.000203209
  2  8.61354
  3  0.369895
  4  0.154065
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/690285': 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) = 3751.85820792
delta logL = -4.57816895505e-08

Extracting fit parameters...

4FGL J1008.7-2909
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  2.032e-04  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.422e+00  8.614e+00  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:  7.198e-01  1.541e-01  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:  1.446e+00  3.699e-01  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/690285/cmap_HighResolution_498268801_498528001_4FGL_J1008.7-2909_daily_bin999.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.53e-02', job_status='DONE', photon_flux_upper_limit='1.96e-07', time_completed='2021-09-01 11:48:59.125879', job_id='690285', GAL2='0.72', fit_tolerance='1e-08', EG2='1.45', EG='1.45', time_epoch_completed='1630522139.13', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='-4.58e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='999' AND source_name='4FGL J1008.7-2909' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 11:48:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0171>
Subject: Job 690285: <4FGL_J1008.7-2909_daily_bin999> in cluster <slac> Done

Job <4FGL_J1008.7-2909_daily_bin999> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep  1 11:36:22 2021
Job was executed on host(s) <bullet0171>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 11:36:23 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:36:23 2021
Terminated at Wed Sep  1 11:48:59 2021
Results reported at Wed Sep  1 11:48:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1008.7-2909_daily_bin999 152.199 -29.1559 498268801 498528001 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 :                                   501.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             251.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   756 sec.
    Turnaround time :                            757 sec.

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

