aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 130 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7520
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1106.7+3623_daily_bin1718
RA = 166.688, Dec = 36.3995
tmin = 684633601, tmax = 684892801
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='100413', job_status='RUN', time_executed='2022-09-16 15:50:13.585893', time_epoch_executed='1663368613.59' WHERE source_name='4FGL J1106.7+3623' and cadence='daily' and bin_id='1718'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/100413

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/100413/ft1_4FGL_J1106.7+3623_daily_bin1718.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/100413/ft2_4FGL_J1106.7+3623_daily_bin1718.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/100413/ft1_4FGL_J1106.7+3623_daily_bin1718.fits outfile=/scratch/kocevski/100413/ft1_filteredMKT_4FGL_J1106.7+3623_daily_bin1718.fits ra=166.688 dec=36.3995 rad=12.0 tmin=684633601.0 tmax=684892801.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.26
user 3.01
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/100413/ft2_4FGL_J1106.7+3623_daily_bin1718.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/100413/ft2_4FGL_J1106.7+3623_daily_bin1718.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/100413/ft1_filteredMKT_4FGL_J1106.7+3623_daily_bin1718.fits evtable="EVENTS" outfile="/scratch/kocevski/100413/ft1_filtered_4FGL_J1106.7+3623_daily_bin1718.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.51
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 123

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/100413/ft1_filtered_4FGL_J1106.7+3623_daily_bin1718.fits" evtable="EVENTS" scfile=/scratch/kocevski/100413/ft2_4FGL_J1106.7+3623_daily_bin1718.fits sctable="SC_DATA" outfile=/scratch/kocevski/100413/ltcube_684633601_684892801_4FGL_J1106.7+3623_daily_bin1718.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/100413/ft2_4FGL_J1106.7+3623_daily_bin1718.fits
.....................!
real 17.41
user 16.95
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/100413/ft1_filtered_4FGL_J1106.7+3623_daily_bin1718.fits evtable="EVENTS" scfile=/scratch/kocevski/100413/ft2_4FGL_J1106.7+3623_daily_bin1718.fits sctable="SC_DATA" expcube=/scratch/kocevski/100413/ltcube_684633601_684892801_4FGL_J1106.7+3623_daily_bin1718.fits outfile=/scratch/kocevski/100413/expmap_684633601_684892801_4FGL_J1106.7+3623_daily_bin1718.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/100413/ltcube_684633601_684892801_4FGL_J1106.7+3623_daily_bin1718.fits
.....................!
real 192.84
user 187.53
sys 4.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 205 point sources and 0 extended sources

Setting source of interest to:
4FGL J1106.7+3623 @ 166.688 36.3995

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/100413/ft1_filtered_4FGL_J1106.7+3623_daily_bin1718.fits scfile=/scratch/kocevski/100413/ft2_4FGL_J1106.7+3623_daily_bin1718.fits outfile=/scratch/kocevski/100413/cmap_684633601_684892801_4FGL_J1106.7+3623_daily_bin1718.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=166.688 yref=36.3995 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.57
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/100413/ft1_filtered_4FGL_J1106.7+3623_daily_bin1718.fits scfile=/scratch/kocevski/100413/ft2_4FGL_J1106.7+3623_daily_bin1718.fits outfile=/scratch/kocevski/100413/cmap_HighResolution_684633601_684892801_4FGL_J1106.7+3623_daily_bin1718.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=166.688 yref=36.3995 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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/100413/ft1_filtered_4FGL_J1106.7+3623_daily_bin1718.fits evtable="EVENTS" scfile=/scratch/kocevski/100413/ft2_4FGL_J1106.7+3623_daily_bin1718.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/100413/Model_4FGL_J1106.7+3623_daily_bin1718.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/100413/ft1_filtered_4FGL_J1106.7+3623_daily_bin1718.fits.....................!
real 23.59
user 22.29
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/100413/ft1_filtered_4FGL_J1106.7+3623_daily_bin1718.fits', '/scratch/kocevski/100413/ft2_4FGL_J1106.7+3623_daily_bin1718.fits', expMap='/scratch/kocevski/100413/expmap_684633601_684892801_4FGL_J1106.7+3623_daily_bin1718.fits', expCube='/scratch/kocevski/100413/ltcube_684633601_684892801_4FGL_J1106.7+3623_daily_bin1718.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/100413/Model_4FGL_J1106.7+3623_daily_bin1718.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1106.7+3623'

4FGL J1106.7+3623
   Spectrum: PowerLaw
331    Prefactor:  2.571e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.509e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  1.089e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/100413/ft1_filtered_4FGL_J1106.7+3623_daily_bin1718.fits
Spacecraft file(s): /scratch/kocevski/100413/ft2_4FGL_J1106.7+3623_daily_bin1718.fits
Exposure map: /scratch/kocevski/100413/expmap_684633601_684892801_4FGL_J1106.7+3623_daily_bin1718.fits
Exposure cube: /scratch/kocevski/100413/ltcube_684633601_684892801_4FGL_J1106.7+3623_daily_bin1718.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/100413/Model_4FGL_J1106.7+3623_daily_bin1718.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) = 1377.43501681

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .59943E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .73326E-04   1.0000          .0000       .10000E+07
     3 'norm      '    8.4310       1.0000          .0000       .10000E+07
     4 'Prefactor '    .72895E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .28570E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .92333E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    66.207       1.0000          .0000       .10000E+07
     8 'Prefactor '    242.19       1.0000          .0000       .10000E+07
     9 'Prefactor '    .96943E-03   1.0000          .0000       .10000E+07
    10 'norm      '    2.4495       1.0000          .0000       .10000E+07
    11 'Prefactor '    .35940E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    81.320       1.0000          .0000       .10000E+07
    13 'Prefactor '    .15681E-01   1.0000          .0000       .10000E+07
    14 'norm      '    .87608E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .49209E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .18378       1.0000          .0000       .10000E+07
    17 'Prefactor '    .16397       1.0000          .0000       .10000E+07
    18 'norm      '    8.5578       1.0000          .0000       .10000E+07
    19 'Prefactor '    .19419       1.0000          .0000       .10000E+07
    20 'Prefactor '    .84777E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    438.60       1.0000          .0000       .10000E+07
    22 'norm      '    .29035E-02   1.0000          .0000       .10000E+07
    23 'norm      '    .16571       1.0000          .0000       .10000E+07
    24 'Prefactor '    5.3425       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1776       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .42214       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6460E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1377.413     FROM MIGRAD    STATUS=CONVERGED    242 CALLS     3030 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.7330       -.61255E-07** at limit **
   2  Prefactor      .0000        30.744        .10954E-06** at limit **
   3  norm          8.6369        9.7197       -.92070E-08    .51288E-04
   4  Prefactor      .0000        75.772        .30901E-07** at limit **
   5  Prefactor     .68279E-08    14.010        .36160E-07** at limit **
   6  Prefactor      .0000        9.3448        .17811E-07** at limit **
   7  Prefactor     67.089        76.504        .21532E-06    .37658E-03
   8  Prefactor     246.15        179.62        .42674E-07   -.45011E-02
   9  Prefactor      .0000        15.675        .64814E-08** at limit **
  10  norm          2.4500        .85335       -.37698E-09   -.89614E-04
  11  Prefactor      .0000        10.259       -.86803E-07** at limit **
  12  Prefactor     81.208        55.461        .19563E-07    .57549E-03
  13  Prefactor      .0000        25.046       -.40619E-07** at limit **
  14  norm           .0000        31.985        .28569E-07** at limit **
  15  Prefactor      .0000        7.0775       -.19394E-07** at limit **
  16  Prefactor     .43532E-06    100.80        .14695E-06** at limit **
  17  Prefactor     .15033E-05    80.923       -.53951E-06** at limit **
  18  norm          8.7717        15.720        .13920E-06    .32961E-03
  19  Prefactor     .33787E-05    58.171       -.53892E-06** at limit **
  20  Prefactor      .0000        19.040       -.27965E-08** at limit **
  21  Prefactor     434.58        132.23        .44330E-06    .15842    
  22  norm           .0000        9.2794        .13078E-08** at limit **
  23  norm          .18520E-05    76.508        .40190E-06** at limit **
  24  Prefactor     .66780E-02    5759.5        .10565E-04** at limit **
  25  Normalizat    1.1758        .37215       -.23836E-06    .60310E-06
  26  Prefactor     .42208        .40544       -.15692E-06    .53840E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0
  norm       = 8.63691
  Prefactor  = 0
  Prefactor  = 6.82787e-09
  Prefactor  = 0
  Prefactor  = 67.0888
  Prefactor  = 246.152
  Prefactor  = 0
  norm       = 2.44999
  Prefactor  = 0
  Prefactor  = 81.2084
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 4.35318e-07
  Prefactor  = 1.5033e-06
  norm       = 8.77174
  Prefactor  = 3.37874e-06
  Prefactor  = 0
  Prefactor  = 434.578
  norm       = 0
  norm       = 1.85202e-06
  Prefactor  = 0.00667798
  Normalizat = 1.17578
  Prefactor  = 0.422077
 **********
 **   18 **HESSE 
 **********

 FCN=   1377.413     FROM HESSE     STATUS=OK           498 CALLS     3528 TOTAL
                     EDM=   .15E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.7087        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        5.6619        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.6369        9.7106        .34501E-03   -1.5649    
   4  Prefactor      .0000        75.673        .14724E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .68279E-08    14.123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        9.2593        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     67.089        76.588        .12291E-03   -1.5544    
   8  Prefactor     246.15        179.55        .64265E-04   -1.5394    
   9  Prefactor      .0000        15.682        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.4500        .85109        .43299E-03   -1.5677    
  11  Prefactor      .0000        10.219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     81.208        55.402        .11090E-03   -1.5528    
  13  Prefactor      .0000        25.023        .17339E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        32.010        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        7.0735        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .43532E-06    107.29        .12072E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .15033E-05    101.60        .12456E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          8.7717        19.407        .34243E-03   -1.5649    
  19  Prefactor     .33787E-05    110.42        .11880E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        19.049        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     434.58        490.09        .47760E-04   -1.5291    
  22  norm           .0000        9.3242        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .18520E-05    102.28        .12421E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .66780E-02    6187.2        .43457E-03   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1758        .34676        .35467E-01   -.87355    
  26  Prefactor     .42208        .37809        .86281E-01   -1.1570    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50374e-05
Minuit parameter uncertainties:
  1  1.37382e-07
  2  4.96604e-08
  3  9.7106
  4  2.56555e-06
  5  0.000620191
  6  6.36878e-06
  7  76.5887
  8  179.55
  9  2.58484e-05
  10  0.851088
  11  1.10013e-05
  12  55.4023
  13  5.80723e-06
  14  8.669e-07
  15  1.32769e-06
  16  0.0136686
  17  0.0247176
  18  19.4073
  19  0.0386312
  20  6.96834e-06
  21  490.138
  22  8.21924e-06
  23  0.0275265
  24  12.8691
  25  0.347439
  26  0.380353
Done.

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

Extracting fit parameters...

4FGL J1106.7+3623
   Spectrum: PowerLaw
331    Prefactor:  8.121e+01  5.540e+01  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.509e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  1.089e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
643    Prefactor:  4.221e-01  3.804e-01  0.000e+00  1.000e+01 ( 1.000e+00)
644        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
645        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
642   Normalization:  1.176e+00  3.474e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.24
Ra Dec: 166.688 36.400
Photon Index (Fixed Index): 2.51 +/- 0.00
Photon Flux (Fixed Index): 2.15e-07 +/- 1.47e-07
Energy Flux (Fixed Index): 6.19e-05 +/- 4.22e-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) = 1377.40956951
delta logL = 0.00340217887492

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1377.40409983
delta logL = 0.00887185619513

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    72.799       1.0000          .0000       .10000E+07
     2 'Index     '    2.6007       1.0000          .0000       10.000    
     3 'Normalizat'    1.1685       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .42799       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6460E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1377.404     FROM MIGRAD    STATUS=CONVERGED     77 CALLS      254 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     72.815        84.466        .46884E-05   -.63029E-02
   2  Index         2.6007        .74007        .31836E-02   -.39966E-03
   3  Normalizat    1.1682        .36622        .21282E-03    .12246E-03
   4  Prefactor     .42828        .40510        .37991E-03    .12287E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 72.8149
  Index      = 2.60069
  Normalizat = 1.16824
  Prefactor  = 0.428282
 **********
 **   18 **HESSE 
 **********

 FCN=   1377.404     FROM HESSE     STATUS=OK            23 CALLS      277 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     72.815        79.898        .93768E-06   -1.5537    
   2  Index         2.6007        .70013        .12735E-03   -.50050    
   3  Normalizat    1.1682        .36603        .42564E-04   -.87590    
   4  Prefactor     .42828        .40496        .15196E-04   -1.1539    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.81359e-09
Minuit parameter uncertainties:
  1  79.899
  2  0.703133
  3  0.366829
  4  0.407705
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/100413': 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) = 1377.40409951
delta logL = 0.00887217789887

Extracting fit parameters...

4FGL J1106.7+3623
   Spectrum: PowerLaw
331    Prefactor:  7.281e+01  7.990e+01  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  2.601e+00  7.031e-01  0.000e+00  1.000e+01 (-1.000e+00)
333        Scale:  1.089e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
643    Prefactor:  4.283e-01  4.077e-01  0.000e+00  1.000e+01 ( 1.000e+00)
644        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
645        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
642   Normalization:  1.168e+00  3.668e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.45
Ra Dec: 166.688 36.400
Photon Index (Free Index): 2.60 +/- 0.70
Photon Flux (Free Index): 2.27e-07 +/- 1.69e-07
Energy Flux (Free Index): 5.94e-05 +/- 4.26e-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/100413/cmap_HighResolution_684633601_684892801_4FGL_J1106.7+3623_daily_bin1718.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.15e-07', energy_flux2='5.94e-05', photon_flux_error='1.47e-07', dlogl='8.87e-03', energy_flux='6.19e-05', photon_flux2='2.27e-07', job_status='DONE', time_completed='2022-09-16 15:57:13.435892', photon_index_error2='0.70', photon_index2='2.60', ts='4.24', fit_tolerance='1e-08', GAL='0.42', photon_index_error='0.00', energy_flux_error2='4.26e-05', EG='1.18', time_epoch_completed='1663369033.44', return_code='0', job_id='100413', GAL2='0.43', EG2='1.17', return_code2='0', energy_flux_error='4.22e-05', photon_flux_error2='1.69e-07', ts2='4.45', photon_index='2.51' WHERE bin_id='1718' AND source_name='4FGL J1106.7+3623' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:57:13 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 100413: <4FGL_J1106.7+3623_daily_bin1718> in cluster <slac> Done

Job <4FGL_J1106.7+3623_daily_bin1718> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 16 15:45:29 2022
Job was executed on host(s) <bullet0236>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:47:55 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 15:47:55 2022
Terminated at Fri Sep 16 15:57:13 2022
Results reported at Fri Sep 16 15:57:13 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1106.7+3623_daily_bin1718 166.688 36.3995 684633601 684892801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1106.7+3623 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   421.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             299.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   558 sec.
    Turnaround time :                            704 sec.

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

