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


Performing analysis on: 4FGL_J1006.7-2159_daily_bin1110
RA = 151.693, Dec = -21.991
tmin = 527040001, tmax = 527299201
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='668016', job_status='RUN', time_executed='2021-09-01 10:27:00.896692', time_epoch_executed='1630517220.9' WHERE source_name='4FGL J1006.7-2159' and cadence='daily' and bin_id='1110'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/668016

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/668016/ft1_4FGL_J1006.7-2159_daily_bin1110.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/668016/ft2_4FGL_J1006.7-2159_daily_bin1110.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/668016/ft1_4FGL_J1006.7-2159_daily_bin1110.fits outfile=/scratch/kocevski/668016/ft1_filteredMKT_4FGL_J1006.7-2159_daily_bin1110.fits ra=151.693 dec=-21.991 rad=12.0 tmin=527040001.0 tmax=527299201.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 6.02
user 5.73
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/668016/ft2_4FGL_J1006.7-2159_daily_bin1110.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/668016/ft1_filteredMKT_4FGL_J1006.7-2159_daily_bin1110.fits evtable="EVENTS" outfile="/scratch/kocevski/668016/ft1_filtered_4FGL_J1006.7-2159_daily_bin1110.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.58
user 0.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/668016/ft1_filtered_4FGL_J1006.7-2159_daily_bin1110.fits" evtable="EVENTS" scfile=/scratch/kocevski/668016/ft2_4FGL_J1006.7-2159_daily_bin1110.fits sctable="SC_DATA" outfile=/scratch/kocevski/668016/ltcube_527040001_527299201_4FGL_J1006.7-2159_daily_bin1110.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/668016/ft2_4FGL_J1006.7-2159_daily_bin1110.fits
.....................!
real 11.81
user 11.37
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/668016/ft1_filtered_4FGL_J1006.7-2159_daily_bin1110.fits evtable="EVENTS" scfile=/scratch/kocevski/668016/ft2_4FGL_J1006.7-2159_daily_bin1110.fits sctable="SC_DATA" expcube=/scratch/kocevski/668016/ltcube_527040001_527299201_4FGL_J1006.7-2159_daily_bin1110.fits outfile=/scratch/kocevski/668016/expmap_527040001_527299201_4FGL_J1006.7-2159_daily_bin1110.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/668016/ltcube_527040001_527299201_4FGL_J1006.7-2159_daily_bin1110.fits
.....................!
real 192.70
user 186.97
sys 4.69

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/668016/ft1_filtered_4FGL_J1006.7-2159_daily_bin1110.fits scfile=/scratch/kocevski/668016/ft2_4FGL_J1006.7-2159_daily_bin1110.fits outfile=/scratch/kocevski/668016/cmap_527040001_527299201_4FGL_J1006.7-2159_daily_bin1110.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 0.55
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/668016/ft1_filtered_4FGL_J1006.7-2159_daily_bin1110.fits scfile=/scratch/kocevski/668016/ft2_4FGL_J1006.7-2159_daily_bin1110.fits outfile=/scratch/kocevski/668016/cmap_HighResolution_527040001_527299201_4FGL_J1006.7-2159_daily_bin1110.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 0.74
user 0.37
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/668016/ft1_filtered_4FGL_J1006.7-2159_daily_bin1110.fits evtable="EVENTS" scfile=/scratch/kocevski/668016/ft2_4FGL_J1006.7-2159_daily_bin1110.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/668016/Model_4FGL_J1006.7-2159_daily_bin1110.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/668016/ft1_filtered_4FGL_J1006.7-2159_daily_bin1110.fits.....................!
real 84.03
user 81.21
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/668016/ft1_filtered_4FGL_J1006.7-2159_daily_bin1110.fits', '/scratch/kocevski/668016/ft2_4FGL_J1006.7-2159_daily_bin1110.fits', expMap='/scratch/kocevski/668016/expmap_527040001_527299201_4FGL_J1006.7-2159_daily_bin1110.fits', expCube='/scratch/kocevski/668016/ltcube_527040001_527299201_4FGL_J1006.7-2159_daily_bin1110.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/668016/Model_4FGL_J1006.7-2159_daily_bin1110.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/668016/ft1_filtered_4FGL_J1006.7-2159_daily_bin1110.fits
Spacecraft file(s): /scratch/kocevski/668016/ft2_4FGL_J1006.7-2159_daily_bin1110.fits
Exposure map: /scratch/kocevski/668016/expmap_527040001_527299201_4FGL_J1006.7-2159_daily_bin1110.fits
Exposure cube: /scratch/kocevski/668016/ltcube_527040001_527299201_4FGL_J1006.7-2159_daily_bin1110.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/668016/Model_4FGL_J1006.7-2159_daily_bin1110.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) = 8749.47924494

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    6.4703       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    5.4706       1.0000         .10000E-03   10000.    
     5 'norm      '    10.421       1.0000         .10000E-03   10000.    
     6 'norm      '    9.4812       1.0000         .10000E-03   10000.    
     7 'norm      '    3.6086       1.0000         .10000E-03   10000.    
     8 'norm      '    .69644       1.0000         .10000E-03   10000.    
     9 'norm      '    17.596       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .62414E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10494       1.0000         .10000E-03   10000.    
    12 'norm      '    1.4388       1.0000         .10000E-03   10000.    
    13 'norm      '    5.7394       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.5230       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.3520       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.2941       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .62726       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2704       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=   8749.401     FROM MIGRAD    STATUS=CONVERGED    532 CALLS     2149 TOTAL
                     EDM=   .33E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.059        .85741E-07** at limit **
   2  Prefactor     6.4336        21.195        .66175E-06    .75837E-06
   3  Prefactor     .10000E-03    13.999       -.28864E-08** at limit **
   4  norm          5.4694        6.5647        .13199E-05   -.24124E-05
   5  norm          10.422        6.4944       -.57543E-06   -.14346E-04
   6  norm          9.4808        6.7901        .29285E-06   -.43254E-05
   7  norm          3.6083        8.5808        .12787E-05    .11848E-05
   8  norm          .69638        1.0578        .59835E-07   -.13342E-04
   9  norm          17.603        10.630        .19891E-05    .41990E-04
  10  Prefactor     .10000E-03    7.0547        .67946E-07** at limit **
  11  Prefactor     .11513E-02    6.9122        .29499E-07** at limit **
  12  norm          1.4439        8.0453       -.47404E-05   -.82320E-04
  13  norm          5.7402        6.8194        .18855E-05    .13595E-03
  14  Prefactor     1.5227        .57466        .16171E-06   -.37994E-03
  15  Prefactor     .10000E-03    8.6191       -.20959E-06** at limit **
  16  Prefactor     .10000E-03    6.8040        .59293E-07** at limit **
  17  norm          .10000E-03    1.7675       -.16862E-07** at limit **
  18  Prefactor     7.3506        11.741        .27974E-05    .63176E-05
  19  Prefactor     .10000E-03    1.6167        .67506E-08** at limit **
  20  Prefactor     1.2940        3.6739       -.71225E-07   -.46502E-04
  21  Normalizat    .62704        .19387       -.10722E-05    .54301E-06
  22  Prefactor     1.2706        .11377       -.22705E-06    .62204E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 6.43361
  Prefactor  = 0.0001
  norm       = 5.46941
  norm       = 10.4216
  norm       = 9.48082
  norm       = 3.60829
  norm       = 0.696381
  norm       = 17.6033
  Prefactor  = 0.000100001
  Prefactor  = 0.00115127
  norm       = 1.44391
  norm       = 5.74022
  Prefactor  = 1.52266
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.35058
  Prefactor  = 0.0001
  Prefactor  = 1.294
  Normalizat = 0.627039
  Prefactor  = 1.27057
 **********
 **   18 **HESSE 
 **********

 FCN=   8749.401     FROM HESSE     STATUS=OK           362 CALLS     2511 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.079        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.4336        21.169        .15778E-03   -1.5201    
   3  Prefactor     .10000E-03    14.253        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.4694        6.5690        .17179E-03   -1.5240    
   5  norm          10.422        6.4860        .12412E-03   -1.5062    
   6  norm          9.4808        6.7896        .13015E-03   -1.5092    
   7  norm          3.6083        8.5697        .21270E-03   -1.5328    
   8  norm          .69638        1.0569        .48193E-04   -1.5541    
   9  norm          17.603        10.609        .95481E-04   -1.4869    
  10  Prefactor     .10000E-03    28.269        .48021E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11513E-02    8.6719        .79280E-01   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.4439        8.0920        .35974E-03   -1.5468    
  13  norm          5.7402        6.8138        .16766E-03   -1.5229    
  14  Prefactor     1.5227        9.0448        .17306E-02   -1.5461    
  15  Prefactor     .10000E-03    8.7199        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.8351        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.8109        .24255E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     7.3506        11.699        .14792E-03   -1.5166    
  19  Prefactor     .10000E-03    3.0728        .23065E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.2940        3.6350        .29266E-03   -1.5480    
  21  Normalizat    .62704        .21413        .38668E-03   -1.0685    
  22  Prefactor     1.2706        .12725        .16744E-03   -.84186    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.59168e-10
Minuit parameter uncertainties:
  1  5.96035e-06
  2  21.1933
  3  2.74138e-05
  4  6.56986
  5  6.48641
  6  6.79016
  7  8.57259
  8  1.05689
  9  10.6097
  10  0.000305221
  11  0.190989
  12  6.8376
  13  6.8147
  14  7.42359
  15  3.91809e-05
  16  1.15032e-06
  17  8.82012e-07
  18  11.7028
  19  4.51453e-06
  20  3.63563
  21  0.214419
  22  0.127279
Done.

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

Extracting fit parameters...

4FGL J1006.7-2159
   Spectrum: LogParabola
268         norm:  6.964e-01  1.057e+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:  1.271e+00  1.273e-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:  6.270e-01  2.144e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.55
Ra Dec: 151.693 -21.991
Photon Flux Upper Limit: 9.30e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.26e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/668016/likelihoodResults_527040001_527299201_4FGL_J1006.7-2159_daily_bin1110.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8749.39196904
delta logL = 0.00920392091757

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8749.39116517
delta logL = 0.0100077939423

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .70132       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5160       1.0000          .0000       5.0000    
     3 'Normalizat'    .61933       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2733       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=   8749.391     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      202 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .70137        30.335        .12067E-01    .18433E-02
   2  alpha         2.5162        3.2592        .41153        .22685E-04
   3  Normalizat    .61932        .48059E-01    .87807E-01    .49181E-04
   4  Prefactor     1.2733        .29298E-01    .33092E-01   -.84266E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.701374
  alpha      = 2.51625
  Normalizat = 0.619323
  Prefactor  = 1.27331
 **********
 **   18 **HESSE 
 **********

 FCN=   8749.391     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .70137        1.1037        .10792E-03   -1.5540    
   2  alpha         2.5162        1.5554        .37301E-01    .64986E-02
   3  Normalizat    .61932        .21551        .38896E-03   -1.0717    
   4  Prefactor     1.2733        .12609        .16729E-03   -.84104    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.67919e-09
Minuit parameter uncertainties:
  1  1.10369
  2  1.67879
  3  0.215798
  4  0.12612
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/668016': 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) = 8749.39116515
delta logL = 0.0100078095711

Extracting fit parameters...

4FGL J1006.7-2159
   Spectrum: LogParabola
268         norm:  7.014e-01  1.104e+00  1.000e-04  1.000e+04 ( 1.000e-11)
269        alpha:  2.516e+00  1.679e+00  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:  1.273e+00  1.261e-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:  6.193e-01  2.158e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.55
Ra Dec: 151.693 -21.991

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/668016/cmap_HighResolution_527040001_527299201_4FGL_J1006.7-2159_daily_bin1110.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.26e-05', job_status='DONE', photon_flux_upper_limit='9.30e-08', time_completed='2021-09-01 10:39:54.762444', job_id='668016', GAL2='1.27', fit_tolerance='1e-08', EG2='0.62', EG='0.63', time_epoch_completed='1630517994.76', return_code2='0', ts='0.55', comment='SUCCESS', return_code='0', GAL='1.27', dlogl='1.00e-02', ts2='0.57', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='1110' AND source_name='4FGL J1006.7-2159' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 10:39:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 668016: <4FGL_J1006.7-2159_daily_bin1110> in cluster <slac> Done

Job <4FGL_J1006.7-2159_daily_bin1110> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep  1 10:25:55 2021
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 10:25:57 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:25:57 2021
Terminated at Wed Sep  1 10:39:55 2021
Results reported at Wed Sep  1 10:39:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1006.7-2159_daily_bin1110 151.693 -21.991 527040001 527299201 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 :                                   761.03 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             326.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   838 sec.
    Turnaround time :                            840 sec.

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

