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


Performing analysis on: 4FGL_J1106.0+2813_daily_bin1713
RA = 166.502, Dec = 28.2254
tmin = 683337601, tmax = 683596801
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='100373', job_status='RUN', time_executed='2022-09-16 15:48:29.246501', time_epoch_executed='1663368509.25' WHERE source_name='4FGL J1106.0+2813' and cadence='daily' and bin_id='1713'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/100373

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/100373/ft1_4FGL_J1106.0+2813_daily_bin1713.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/100373/ft2_4FGL_J1106.0+2813_daily_bin1713.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/100373/ft1_4FGL_J1106.0+2813_daily_bin1713.fits outfile=/scratch/kocevski/100373/ft1_filteredMKT_4FGL_J1106.0+2813_daily_bin1713.fits ra=166.502 dec=28.2254 rad=12.0 tmin=683337601.0 tmax=683596801.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.54
user 3.29
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/100373/ft2_4FGL_J1106.0+2813_daily_bin1713.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/100373/ft2_4FGL_J1106.0+2813_daily_bin1713.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/100373/ft1_filteredMKT_4FGL_J1106.0+2813_daily_bin1713.fits evtable="EVENTS" outfile="/scratch/kocevski/100373/ft1_filtered_4FGL_J1106.0+2813_daily_bin1713.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.49
user 0.34
sys 0.14

Number of photons that the gtmktime cut: 652

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/100373/ft1_filtered_4FGL_J1106.0+2813_daily_bin1713.fits" evtable="EVENTS" scfile=/scratch/kocevski/100373/ft2_4FGL_J1106.0+2813_daily_bin1713.fits sctable="SC_DATA" outfile=/scratch/kocevski/100373/ltcube_683337601_683596801_4FGL_J1106.0+2813_daily_bin1713.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/100373/ft2_4FGL_J1106.0+2813_daily_bin1713.fits
.....................!
real 14.61
user 14.18
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/100373/ft1_filtered_4FGL_J1106.0+2813_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/100373/ft2_4FGL_J1106.0+2813_daily_bin1713.fits sctable="SC_DATA" expcube=/scratch/kocevski/100373/ltcube_683337601_683596801_4FGL_J1106.0+2813_daily_bin1713.fits outfile=/scratch/kocevski/100373/expmap_683337601_683596801_4FGL_J1106.0+2813_daily_bin1713.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/100373/ltcube_683337601_683596801_4FGL_J1106.0+2813_daily_bin1713.fits
.....................!
real 191.42
user 185.93
sys 4.72

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

Setting source of interest to:
4FGL J1106.0+2813 @ 166.502 28.2254

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/100373/ft1_filtered_4FGL_J1106.0+2813_daily_bin1713.fits scfile=/scratch/kocevski/100373/ft2_4FGL_J1106.0+2813_daily_bin1713.fits outfile=/scratch/kocevski/100373/cmap_683337601_683596801_4FGL_J1106.0+2813_daily_bin1713.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.502 yref=28.2254 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.40
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/100373/ft1_filtered_4FGL_J1106.0+2813_daily_bin1713.fits scfile=/scratch/kocevski/100373/ft2_4FGL_J1106.0+2813_daily_bin1713.fits outfile=/scratch/kocevski/100373/cmap_HighResolution_683337601_683596801_4FGL_J1106.0+2813_daily_bin1713.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.502 yref=28.2254 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.58
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/100373/ft1_filtered_4FGL_J1106.0+2813_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/100373/ft2_4FGL_J1106.0+2813_daily_bin1713.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/100373/Model_4FGL_J1106.0+2813_daily_bin1713.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/100373/ft1_filtered_4FGL_J1106.0+2813_daily_bin1713.fits.....................!
real 65.12
user 63.56
sys 1.37

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/100373/ft1_filtered_4FGL_J1106.0+2813_daily_bin1713.fits', '/scratch/kocevski/100373/ft2_4FGL_J1106.0+2813_daily_bin1713.fits', expMap='/scratch/kocevski/100373/expmap_683337601_683596801_4FGL_J1106.0+2813_daily_bin1713.fits', expCube='/scratch/kocevski/100373/ltcube_683337601_683596801_4FGL_J1106.0+2813_daily_bin1713.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/100373/Model_4FGL_J1106.0+2813_daily_bin1713.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1106.0+2813'

4FGL J1106.0+2813
   Spectrum: PowerLaw
253    Prefactor:  1.558e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
254        Index:  2.375e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
255        Scale:  8.523e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/100373/ft1_filtered_4FGL_J1106.0+2813_daily_bin1713.fits
Spacecraft file(s): /scratch/kocevski/100373/ft2_4FGL_J1106.0+2813_daily_bin1713.fits
Exposure map: /scratch/kocevski/100373/expmap_683337601_683596801_4FGL_J1106.0+2813_daily_bin1713.fits
Exposure cube: /scratch/kocevski/100373/ltcube_683337601_683596801_4FGL_J1106.0+2813_daily_bin1713.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/100373/Model_4FGL_J1106.0+2813_daily_bin1713.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14926       1.0000          .0000       .10000E+07
     2 'Prefactor '    64.591       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.2845       1.0000          .0000       .10000E+07
     4 'Prefactor '    .11475E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    37.034       1.0000          .0000       .10000E+07
     6 'Prefactor '    .47609E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .16716E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    7.5137       1.0000          .0000       .10000E+07
     9 'Prefactor '    .78287E-06   1.0000          .0000       .10000E+07
    10 'norm      '    1.5589       1.0000          .0000       .10000E+07
    11 'Prefactor '    .77977E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .61851E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .13972E-05   1.0000          .0000       .10000E+07
    14 'norm      '    .50737E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    3.5822       1.0000          .0000       .10000E+07
    16 'Prefactor '    .44999E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    .57695E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    18.080       1.0000          .0000       .10000E+07
    19 'Prefactor '    18.407       1.0000          .0000       .10000E+07
    20 'norm      '    1.9381       1.0000          .0000       .10000E+07
    21 'Prefactor '    .11509E-01   1.0000          .0000       .10000E+07
    22 'Prefactor '    .22564E-05   1.0000          .0000       .10000E+07
    23 'Prefactor '    .23327E-04   1.0000          .0000       .10000E+07
    24 'Prefactor '    1.9527       1.0000          .0000       .10000E+07
    25 'norm      '    28.179       1.0000          .0000       .10000E+07
    26 'Normalizat'    1.0454       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.2857       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7275.381     FROM MIGRAD    STATUS=CONVERGED    205 CALLS     1482 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .50016E-06    2.6319       -.72133E-08** at limit **
   2  Prefactor     64.663        1.2829        .72860E-08   -.75632E-02
   3  Prefactor     3.1304        8.8112       -.63951E-07   -.11513E-01
   4  Prefactor      .0000        1.1319        .96268E-08** at limit **
   5  Prefactor     37.096        6.9611       -.93138E-08    .10462    
   6  Prefactor     .15301E-05    30.495        .10545E-05** at limit **
   7  Prefactor     .10922E-05    21.749        .12309E-05** at limit **
   8  Prefactor     7.4092        11.084       -.13307E-06   -.24318E-01
   9  Prefactor     .84932E-07    7.5327        .25799E-06** at limit **
  10  norm          1.5592        .36149        .38607E-08   -.29405E-03
  11  Prefactor     .84072E-01    11.579        .63952E-06** at limit **
  12  Prefactor     .32752E-08    5.9289        .19819E-06** at limit **
  13  Prefactor     .17208E-08    2.8397        .11760E-07** at limit **
  14  norm          .33307E-09    3.7960       -.14969E-06** at limit **
  15  Prefactor     3.5815        3.9105       -.28697E-07   -.21496E-03
  16  Prefactor     .56066E-08    3.8473       -.18251E-06** at limit **
  17  Prefactor      .0000        2.4918        .92526E-07** at limit **
  18  Prefactor     18.070        1.4142        .21194E-07    .15337E-02
  19  Prefactor     18.378        13.320        .14209E-06   -.76521E-01
  20  norm          1.9289        3.0809       -.82884E-07    .90519E-03
  21  Prefactor     .78382E-07    85.674       -.14259E-05** at limit **
  22  Prefactor     .73830E-08    1.7496       -.18073E-07** at limit **
  23  Prefactor     .12118E-06    9.8059       -.11704E-06** at limit **
  24  Prefactor     1.9532        1.4522        .36705E-09   -.14865E-03
  25  norm          28.178        3.8423       -.96992E-09    .51406E-03
  26  Normalizat    1.0459        .23939       -.26916E-05    .92425E-04
  27  Prefactor     1.2856        .25863       -.23789E-05    .86967E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.00155e-07
  Prefactor  = 64.6626
  Prefactor  = 3.1304
  Prefactor  = 0
  Prefactor  = 37.0956
  Prefactor  = 1.53011e-06
  Prefactor  = 1.09218e-06
  Prefactor  = 7.40924
  Prefactor  = 8.49321e-08
  norm       = 1.55917
  Prefactor  = 0.0840722
  Prefactor  = 3.27516e-09
  Prefactor  = 1.72085e-09
  norm       = 3.33067e-10
  Prefactor  = 3.58151
  Prefactor  = 5.60663e-09
  Prefactor  = 0
  Prefactor  = 18.0699
  Prefactor  = 18.3777
  norm       = 1.92888
  Prefactor  = 7.83817e-08
  Prefactor  = 7.38298e-09
  Prefactor  = 1.21181e-07
  Prefactor  = 1.95324
  norm       = 28.1784
  Normalizat = 1.04593
  Prefactor  = 1.28558
 **********
 **   18 **HESSE 
 **********

 FCN=   7275.381     FROM HESSE     STATUS=OK           548 CALLS     2030 TOTAL
                     EDM=   .36E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .50016E-06    99.421        .12759E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     64.663        48.029        .12443E-03   -1.5547    
   3  Prefactor     3.1304        9.4140        .55844E-03   -1.5673    
   4  Prefactor      .0000        1.1355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     37.096        14.739        .16434E-03   -1.5586    
   6  Prefactor     .15301E-05    36.421        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10922E-05    25.407        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.4092        11.455        .36563E-03   -1.5654    
   9  Prefactor     .84932E-07    8.2169        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.5592        .36062        .54070E-03   -1.5683    
  11  Prefactor     .84072E-01    1.3827        .52623E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .32752E-08    5.9633        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .17208E-08    4.4075        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .33307E-09    3.8025        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.5815        3.9157        .53369E-03   -1.5670    
  16  Prefactor     .56066E-08    3.9540        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        2.4890        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     18.070        43.090        .23527E-03   -1.5623    
  19  Prefactor     18.378        23.496        .23317E-03   -1.5622    
  20  norm          1.9289        3.5144        .74554E-03   -1.5680    
  21  Prefactor     .78382E-07    86.461        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .73830E-08    4.4649        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .12118E-06    10.758        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     1.9532        1.4547        .74228E-03   -1.5680    
  25  norm          28.178        3.8753        .18841E-03   -1.5602    
  26  Normalizat    1.0459        .20111        .67423E-01   -.91507    
  27  Prefactor     1.2856        .21314        .68767E-01   -.83737    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.64695e-07
Minuit parameter uncertainties:
  1  0.0141038
  2  48.0297
  3  9.414
  4  2.4922e-06
  5  14.7393
  6  0.0149304
  7  0.0105355
  8  11.4548
  9  0.0016706
  10  0.360616
  11  0.681891
  12  0.000278628
  13  0.000173588
  14  7.23509e-05
  15  3.91569
  16  0.000298249
  17  7.47532e-06
  18  43.0908
  19  23.4964
  20  3.51445
  21  0.00520645
  22  0.000362945
  23  0.00228359
  24  1.45474
  25  3.87531
  26  0.201261
  27  0.213286
Done.

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

Extracting fit parameters...

4FGL J1106.0+2813
   Spectrum: PowerLaw
253    Prefactor:  8.407e-02  6.819e-01  0.000e+00  1.000e+06 ( 1.000e-12)
254        Index:  2.375e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
255        Scale:  8.523e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  1.286e+00  2.133e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  1.046e+00  2.013e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 166.502 28.225
Photon Flux Upper Limit: 7.38e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/100373/likelihoodResults_683337601_683596801_4FGL_J1106.0+2813_daily_bin1713.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) = 7275.37742434
delta logL = 0.00318568316743

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7275.37637207
delta logL = 0.00423795136885

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7275.376     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      249 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15553        13.052        .31523E-02** at limit **
   2  Index         2.6913        3.7128        .36875        .37657E-04
   3  Normalizat    1.0443        .15205E-01    .67471E-01    .77739E-04
   4  Prefactor     1.2860        .17045E-01    .68758E-01   -.10679E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.155527
  Index      = 2.69126
  Normalizat = 1.04431
  Prefactor  = 1.28598
 **********
 **   18 **HESSE 
 **********

 FCN=   7275.376     FROM HESSE     STATUS=OK            35 CALLS      284 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15553        8.1623        .19486E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6913        3.5861        .26754E-01   -.47996    
   3  Normalizat    1.0443        .23160        .29849E-03   -.91561    
   4  Prefactor     1.2860        .25808        .30417E-03   -.83725    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.37878e-10
Minuit parameter uncertainties:
  1  2.25341
  2  4.1766
  3  0.23182
  4  0.258335
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/100373': 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) = 7275.37633321
delta logL = 0.00427681359815

Extracting fit parameters...

4FGL J1106.0+2813
   Spectrum: PowerLaw
253    Prefactor:  1.555e-01  2.253e+00  0.000e+00  1.000e+06 ( 1.000e-12)
254        Index:  2.691e+00  4.177e+00  0.000e+00  1.000e+01 (-1.000e+00)
255        Scale:  8.523e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  1.286e+00  2.583e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  1.044e+00  2.318e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 166.502 28.225

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/100373/cmap_HighResolution_683337601_683596801_4FGL_J1106.0+2813_daily_bin1713.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.70e-03', job_status='DONE', photon_flux_upper_limit='7.38e-08', time_completed='2022-09-16 15:59:18.639017', job_id='100373', GAL2='1.29', fit_tolerance='1e-08', EG2='1.04', EG='1.05', time_epoch_completed='1663369158.64', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.29', dlogl='4.28e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1713' AND source_name='4FGL J1106.0+2813' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:59:18 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 100373: <4FGL_J1106.0+2813_daily_bin1713> in cluster <slac> Done

Job <4FGL_J1106.0+2813_daily_bin1713> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 16 15:45:26 2022
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:47:04 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:04 2022
Terminated at Fri Sep 16 15:59:21 2022
Results reported at Fri Sep 16 15:59:21 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1106.0+2813_daily_bin1713 166.502 28.2254 683337601 683596801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1106.0+2813 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   650.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             300.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   734 sec.
    Turnaround time :                            835 sec.

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

