/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 63 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 = 7407
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1006.7-2159_daily_bin1525
RA = 151.693, Dec = -21.991
tmin = 634608001, tmax = 634867201
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='669740', job_status='RUN', time_executed='2021-09-01 10:33:35.943539', time_epoch_executed='1630517615.94' WHERE source_name='4FGL J1006.7-2159' and cadence='daily' and bin_id='1525'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/669740

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/669740/ft1_4FGL_J1006.7-2159_daily_bin1525.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/669740/ft2_4FGL_J1006.7-2159_daily_bin1525.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/669740/ft1_4FGL_J1006.7-2159_daily_bin1525.fits outfile=/scratch/kocevski/669740/ft1_filteredMKT_4FGL_J1006.7-2159_daily_bin1525.fits ra=151.693 dec=-21.991 rad=12.0 tmin=634608001.0 tmax=634867201.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.85
user 2.87
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/669740/ft2_4FGL_J1006.7-2159_daily_bin1525.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/669740/ft2_4FGL_J1006.7-2159_daily_bin1525.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/669740/ft1_filteredMKT_4FGL_J1006.7-2159_daily_bin1525.fits evtable="EVENTS" outfile="/scratch/kocevski/669740/ft1_filtered_4FGL_J1006.7-2159_daily_bin1525.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 1.38
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/669740/ft1_filtered_4FGL_J1006.7-2159_daily_bin1525.fits" evtable="EVENTS" scfile=/scratch/kocevski/669740/ft2_4FGL_J1006.7-2159_daily_bin1525.fits sctable="SC_DATA" outfile=/scratch/kocevski/669740/ltcube_634608001_634867201_4FGL_J1006.7-2159_daily_bin1525.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/669740/ft2_4FGL_J1006.7-2159_daily_bin1525.fits
.....................!
real 13.58
user 12.16
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/669740/ft1_filtered_4FGL_J1006.7-2159_daily_bin1525.fits evtable="EVENTS" scfile=/scratch/kocevski/669740/ft2_4FGL_J1006.7-2159_daily_bin1525.fits sctable="SC_DATA" expcube=/scratch/kocevski/669740/ltcube_634608001_634867201_4FGL_J1006.7-2159_daily_bin1525.fits outfile=/scratch/kocevski/669740/expmap_634608001_634867201_4FGL_J1006.7-2159_daily_bin1525.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/669740/ltcube_634608001_634867201_4FGL_J1006.7-2159_daily_bin1525.fits
.....................!
real 197.28
user 184.47
sys 5.46

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

Setting source of interest to:
4FGL J1006.7-2159 @ 151.693 -21.991

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/669740/ft1_filtered_4FGL_J1006.7-2159_daily_bin1525.fits scfile=/scratch/kocevski/669740/ft2_4FGL_J1006.7-2159_daily_bin1525.fits outfile=/scratch/kocevski/669740/cmap_634608001_634867201_4FGL_J1006.7-2159_daily_bin1525.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=151.693 yref=-21.991 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 1.09
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/669740/ft1_filtered_4FGL_J1006.7-2159_daily_bin1525.fits scfile=/scratch/kocevski/669740/ft2_4FGL_J1006.7-2159_daily_bin1525.fits outfile=/scratch/kocevski/669740/cmap_HighResolution_634608001_634867201_4FGL_J1006.7-2159_daily_bin1525.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=151.693 yref=-21.991 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 1.22
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/669740/ft1_filtered_4FGL_J1006.7-2159_daily_bin1525.fits evtable="EVENTS" scfile=/scratch/kocevski/669740/ft2_4FGL_J1006.7-2159_daily_bin1525.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/669740/Model_4FGL_J1006.7-2159_daily_bin1525.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/669740/ft1_filtered_4FGL_J1006.7-2159_daily_bin1525.fits.....................!
real 64.85
user 59.28
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/669740/ft1_filtered_4FGL_J1006.7-2159_daily_bin1525.fits', '/scratch/kocevski/669740/ft2_4FGL_J1006.7-2159_daily_bin1525.fits', expMap='/scratch/kocevski/669740/expmap_634608001_634867201_4FGL_J1006.7-2159_daily_bin1525.fits', expCube='/scratch/kocevski/669740/ltcube_634608001_634867201_4FGL_J1006.7-2159_daily_bin1525.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/669740/Model_4FGL_J1006.7-2159_daily_bin1525.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1006.7-2159'

4FGL J1006.7-2159
   Spectrum: LogParabola
268         norm:  1.522e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
269        alpha:  2.294e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
270         beta:  4.599e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
271           Eb:  5.071e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/669740/ft1_filtered_4FGL_J1006.7-2159_daily_bin1525.fits
Spacecraft file(s): /scratch/kocevski/669740/ft2_4FGL_J1006.7-2159_daily_bin1525.fits
Exposure map: /scratch/kocevski/669740/expmap_634608001_634867201_4FGL_J1006.7-2159_daily_bin1525.fits
Exposure cube: /scratch/kocevski/669740/ltcube_634608001_634867201_4FGL_J1006.7-2159_daily_bin1525.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/669740/Model_4FGL_J1006.7-2159_daily_bin1525.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) = 5626.59747118

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    82.700       1.0000         .10000E-03   10000.    
     2 'Prefactor '    38.620       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    7.9367       1.0000         .10000E-03   10000.    
     5 'norm      '    6.6062       1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    7.4388       1.0000         .10000E-03   10000.    
     8 'norm      '    6.4692       1.0000         .10000E-03   10000.    
     9 'norm      '    9.3130       1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.554       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    8.0210       1.0000         .10000E-03   10000.    
    13 'norm      '    8.8350       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.7064       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .95983E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.7285       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0567       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .90831       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5626.576     FROM MIGRAD    STATUS=CONVERGED    479 CALLS     2358 TOTAL
                     EDM=   .90E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     82.694        51.398       -.57224E-05    .10087E-04
   2  Prefactor     38.608        47.156       -.13868E-04    .15097E-05
   3  Prefactor     .10000E-03    11.542       -.36612E-05** at limit **
   4  norm          7.9354        7.0071       -.35046E-06   -.14344E-03
   5  norm          6.6173        13.313        .36171E-05   -.27397E-04
   6  norm          .10000E-03    3.8750       -.48199E-08** at limit **
   7  norm          7.3798        23.101        .15016E-05   -.21580E-04
   8  norm          6.4690        2.2813       -.62002E-07   -.17044E-05
   9  norm          9.3126        9.6923       -.19471E-06   -.42653E-04
  10  Prefactor     14.527        23.530       -.34558E-05   -.71314E-05
  11  Prefactor     .10000E-03    4.4071        .41593E-07** at limit **
  12  norm          8.0182        10.347       -.11197E-05   -.82258E-04
  13  norm          8.8346        8.2584        .41364E-06   -.44284E-04
  14  Prefactor     .10000E-03    8.8598       -.38074E-06** at limit **
  15  Prefactor     .10000E-03    6.1938        .15219E-06** at limit **
  16  Prefactor     .10000E-03    11.294        .39593E-05** at limit **
  17  norm          2.7053        3.3932       -.30090E-06   -.48458E-03
  18  Prefactor     .10000E-03    5.8710       -.14287E-06** at limit **
  19  Prefactor     .10000E-03    3.0395       -.95069E-07** at limit **
  20  Prefactor     4.7270        7.3468       -.42351E-06   -.18272E-03
  21  Normalizat    1.0568        .27230        .15644E-05   -.38471E-05
  22  Prefactor     .90827        .13400        .50714E-06    .26241E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 82.6944
  Prefactor  = 38.6077
  Prefactor  = 0.0001
  norm       = 7.9354
  norm       = 6.61734
  norm       = 0.0001
  norm       = 7.37979
  norm       = 6.46899
  norm       = 9.31264
  Prefactor  = 14.5268
  Prefactor  = 0.0001
  norm       = 8.01823
  norm       = 8.83457
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.70535
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.72701
  Normalizat = 1.05684
  Prefactor  = 0.908271
 **********
 **   18 **HESSE 
 **********

 FCN=   5626.576     FROM HESSE     STATUS=OK           346 CALLS     2704 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     82.694        51.442        .44169E-04   -1.3887    
   2  Prefactor     38.608        46.954        .64495E-04   -1.4464    
   3  Prefactor     .10000E-03    11.561        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.9354        7.0182        .14233E-03   -1.5144    
   5  norm          6.6173        13.239        .15613E-03   -1.5193    
   6  norm          .10000E-03    3.8816        .14421E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          7.3798        23.074        .14705E-03   -1.5165    
   8  norm          6.4690        2.2865        .63719E-04   -1.5199    
   9  norm          9.3126        9.6968        .13132E-03   -1.5098    
  10  Prefactor     14.527        23.539        .10499E-03   -1.4946    
  11  Prefactor     .10000E-03    4.4092        .15378E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          8.0182        10.330        .14157E-03   -1.5142    
  13  norm          8.8346        8.2394        .13485E-03   -1.5113    
  14  Prefactor     .10000E-03    8.9181        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.2128        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    11.340        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.7053        3.2991        .14440E-03   -1.5379    
  18  Prefactor     .10000E-03    5.8799        .17751E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    31.227        .24394E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.7270        7.3546        .18504E-03   -1.5273    
  21  Normalizat    1.0568        .32544        .34953E-03   -.91150    
  22  Prefactor     .90827        .16169        .19063E-03   -.95853    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.78692e-10
Minuit parameter uncertainties:
  1  51.4699
  2  46.9994
  3  2.20289e-05
  4  7.01894
  5  13.245
  6  1.02612e-06
  7  23.1014
  8  2.28655
  9  9.69844
  10  23.5542
  11  6.06217e-06
  12  10.3323
  13  8.24041
  14  1.66959e-05
  15  2.98885e-06
  16  3.76765e-07
  17  3.29927
  18  3.3112e-06
  19  0.00013071
  20  7.35603
  21  0.326055
  22  0.16178
Done.

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

Extracting fit parameters...

4FGL J1006.7-2159
   Spectrum: LogParabola
268         norm:  6.469e+00  2.287e+00  1.000e-04  1.000e+04 ( 1.000e-11)
269        alpha:  2.294e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
270         beta:  4.599e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
271           Eb:  5.071e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  9.083e-01  1.618e-01  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
569   Normalization:  1.057e+00  3.261e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 22.45
Ra Dec: 151.693 -21.991
Photon Index (Fixed Index): 2.29 +/- 0.00
Photon Flux (Fixed Index): 1.95e-07 +/- 6.90e-08
Energy Flux (Fixed Index): 6.85e-05 +/- 2.42e-05

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) = 5626.52223351
delta logL = 0.0535582877092

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5626.51881053
delta logL = 0.0569812719687

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.5592       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1707       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0799       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89962       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5626.519     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      200 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.5592        2.9191        .39174E-02   -.51805E-02
   2  alpha         2.1707        .41387        .23414       -.15968E-04
   3  Normalizat    1.0799        .26385        .78235E-01    .27341E-04
   4  Prefactor     .89963        .13350        .45000E-01    .61761E-07
                               ERR DEF=  .500    
Final values: 
  norm       = 6.5592
  alpha      = 2.17071
  Normalizat = 1.07993
  Prefactor  = 0.899631
 **********
 **   18 **HESSE 
 **********

 FCN=   5626.519     FROM HESSE     STATUS=OK            31 CALLS      231 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.5592        2.3453        .65302E-04   -1.5196    
   2  alpha         2.1707        .36008        .95871E-02   -.13210    
   3  Normalizat    1.0799        .32064        .34630E-03   -.90399    
   4  Prefactor     .89963        .16129        .19144E-03   -.96154    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.31433e-09
Minuit parameter uncertainties:
  1  2.34536
  2  0.361359
  3  0.321215
  4  0.161373
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/669740': 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) = 5626.51881051
delta logL = 0.0569812858257

Extracting fit parameters...

4FGL J1006.7-2159
   Spectrum: LogParabola
268         norm:  6.559e+00  2.345e+00  1.000e-04  1.000e+04 ( 1.000e-11)
269        alpha:  2.171e+00  3.614e-01  0.000e+00  5.000e+00 ( 1.000e+00)
270         beta:  4.599e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
271           Eb:  5.071e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  8.996e-01  1.614e-01  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
569   Normalization:  1.080e+00  3.212e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 22.39
Ra Dec: 151.693 -21.991
Photon Index (Free Index): 2.17 +/- 0.36
Photon Flux (Free Index): 1.79e-07 +/- 7.96e-08
Energy Flux (Free Index): 7.46e-05 +/- 3.39e-05

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/669740/cmap_HighResolution_634608001_634867201_4FGL_J1006.7-2159_daily_bin1525.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.95e-07', energy_flux2='7.46e-05', photon_flux_error='6.90e-08', dlogl='5.70e-02', energy_flux='6.85e-05', photon_flux2='1.79e-07', job_status='DONE', time_completed='2021-09-01 10:43:08.714643', photon_index_error2='0.36', photon_index2='2.17', ts='22.45', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='3.39e-05', EG='1.06', time_epoch_completed='1630518188.71', return_code='0', job_id='669740', GAL2='0.90', EG2='1.08', return_code2='0', energy_flux_error='2.42e-05', photon_flux_error2='7.96e-08', ts2='22.39', photon_index='2.29' WHERE bin_id='1525' AND source_name='4FGL J1006.7-2159' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:43:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 669740: <4FGL_J1006.7-2159_daily_bin1525> in cluster <slac> Done

Job <4FGL_J1006.7-2159_daily_bin1525> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep  1 10:31:21 2021
Job was executed on host(s) <bullet0203>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 10:31: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 10:31:23 2021
Terminated at Wed Sep  1 10:43:09 2021
Results reported at Wed Sep  1 10:43:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1006.7-2159_daily_bin1525 151.693 -21.991 634608001 634867201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1006.7-2159 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   544.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             282.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   706 sec.
    Turnaround time :                            708 sec.

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

