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


Performing analysis on: 4FGL_J1106.7+3623_daily_bin1762
RA = 166.688, Dec = 36.3995
tmin = 696038401, tmax = 696297601
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='107743', job_status='RUN', time_executed='2023-01-25 00:52:40.212155', time_epoch_executed='1674636760.21' WHERE source_name='4FGL J1106.7+3623' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/107743

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/107743/ft1_4FGL_J1106.7+3623_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/107743/ft2_4FGL_J1106.7+3623_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/107743/ft1_4FGL_J1106.7+3623_daily_bin1762.fits outfile=/scratch/kocevski/107743/ft1_filteredMKT_4FGL_J1106.7+3623_daily_bin1762.fits ra=166.688 dec=36.3995 rad=12.0 tmin=696038401.0 tmax=696297601.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.72
user 3.47
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/107743/ft2_4FGL_J1106.7+3623_daily_bin1762.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/107743/ft1_filteredMKT_4FGL_J1106.7+3623_daily_bin1762.fits evtable="EVENTS" outfile="/scratch/kocevski/107743/ft1_filtered_4FGL_J1106.7+3623_daily_bin1762.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: 536

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/107743/ft1_filtered_4FGL_J1106.7+3623_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/107743/ft2_4FGL_J1106.7+3623_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/107743/ltcube_696038401_696297601_4FGL_J1106.7+3623_daily_bin1762.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/107743/ft2_4FGL_J1106.7+3623_daily_bin1762.fits
.....................!
real 15.26
user 14.84
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/107743/ft1_filtered_4FGL_J1106.7+3623_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/107743/ft2_4FGL_J1106.7+3623_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/107743/ltcube_696038401_696297601_4FGL_J1106.7+3623_daily_bin1762.fits outfile=/scratch/kocevski/107743/expmap_696038401_696297601_4FGL_J1106.7+3623_daily_bin1762.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/107743/ltcube_696038401_696297601_4FGL_J1106.7+3623_daily_bin1762.fits
.....................!
real 194.23
user 187.37
sys 6.39

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/107743/ft1_filtered_4FGL_J1106.7+3623_daily_bin1762.fits scfile=/scratch/kocevski/107743/ft2_4FGL_J1106.7+3623_daily_bin1762.fits outfile=/scratch/kocevski/107743/cmap_696038401_696297601_4FGL_J1106.7+3623_daily_bin1762.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.61
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/107743/ft1_filtered_4FGL_J1106.7+3623_daily_bin1762.fits scfile=/scratch/kocevski/107743/ft2_4FGL_J1106.7+3623_daily_bin1762.fits outfile=/scratch/kocevski/107743/cmap_HighResolution_696038401_696297601_4FGL_J1106.7+3623_daily_bin1762.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.57
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/107743/ft1_filtered_4FGL_J1106.7+3623_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/107743/ft2_4FGL_J1106.7+3623_daily_bin1762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/107743/Model_4FGL_J1106.7+3623_daily_bin1762.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/107743/ft1_filtered_4FGL_J1106.7+3623_daily_bin1762.fits.....................!
real 53.18
user 51.80
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/107743/ft1_filtered_4FGL_J1106.7+3623_daily_bin1762.fits', '/scratch/kocevski/107743/ft2_4FGL_J1106.7+3623_daily_bin1762.fits', expMap='/scratch/kocevski/107743/expmap_696038401_696297601_4FGL_J1106.7+3623_daily_bin1762.fits', expCube='/scratch/kocevski/107743/ltcube_696038401_696297601_4FGL_J1106.7+3623_daily_bin1762.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/107743/Model_4FGL_J1106.7+3623_daily_bin1762.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/107743/ft1_filtered_4FGL_J1106.7+3623_daily_bin1762.fits
Spacecraft file(s): /scratch/kocevski/107743/ft2_4FGL_J1106.7+3623_daily_bin1762.fits
Exposure map: /scratch/kocevski/107743/expmap_696038401_696297601_4FGL_J1106.7+3623_daily_bin1762.fits
Exposure cube: /scratch/kocevski/107743/ltcube_696038401_696297601_4FGL_J1106.7+3623_daily_bin1762.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/107743/Model_4FGL_J1106.7+3623_daily_bin1762.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) = 6034.83784941

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3419       1.0000          .0000       .10000E+07
     2 'Prefactor '    .57127E-06   1.0000          .0000       .10000E+07
     3 'norm      '    13.934       1.0000          .0000       .10000E+07
     4 'Prefactor '    .24255E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .97455E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    .16871E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .30657E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .14167E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .58483       1.0000          .0000       .10000E+07
    10 'norm      '    1.4396       1.0000          .0000       .10000E+07
    11 'Prefactor '    .74029E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .24759E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    7.3197       1.0000          .0000       .10000E+07
    14 'norm      '    4.4758       1.0000          .0000       .10000E+07
    15 'Prefactor '    .72204E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .87009E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    2.8129       1.0000          .0000       .10000E+07
    18 'norm      '    2.4985       1.0000          .0000       .10000E+07
    19 'Prefactor '    13.529       1.0000          .0000       .10000E+07
    20 'Prefactor '    2.3015       1.0000          .0000       .10000E+07
    21 'Prefactor '    .80945E-02   1.0000          .0000       .10000E+07
    22 'norm      '    .55511E-10   1.0000          .0000       .10000E+07
    23 'norm      '    7.7321       1.0000          .0000       .10000E+07
    24 'Prefactor '    87.857       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.4534       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .59362       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=   6034.801     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     2264 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3571        4.7086        .13637E-06    .16512E-02
   2  Prefactor      .0000        1.6047       -.16417E-06** at limit **
   3  norm          14.007        9.7949       -.24164E-08    .65902E-01
   4  Prefactor     .17539E-05    8.6944        .25225E-06** at limit **
   5  Prefactor     .11102E-09    10.477        .30788E-07** at limit **
   6  Prefactor     .16653E-09    32.230       -.18955E-07** at limit **
   7  Prefactor     .48594E-06    3.9882       -.32112E-07** at limit **
   8  Prefactor     .34306E-07    17.166        .24840E-06** at limit **
   9  Prefactor     .59231        14.166       -.36583E-07    .13580E-01
  10  norm          1.4397        .34674       -.13400E-08   -.43337E-02
  11  Prefactor     .12559E-04    22.090        .17246E-06** at limit **
  12  Prefactor     .15676E-06    4.8680       -.28120E-07** at limit **
  13  Prefactor     7.2999        1.8611       -.86736E-09   -.19506E-01
  14  norm          4.4883        5.1910        .35343E-08   -.42307E-01
  15  Prefactor     .13878E-08    2.5080        .12621E-07** at limit **
  16  Prefactor     .25902E-05    23.978        .54828E-07** at limit **
  17  Prefactor     2.8311        1.2835        .15680E-07   -.42915E-02
  18  norm          2.4952        2.5125       -.10835E-06   -.68159E-02
  19  Prefactor     13.507        1.5625        .69475E-08   -.10376E-01
  20  Prefactor     2.4182        7.5537        .77550E-07    .35212E-02
  21  Prefactor     .22965E-06    10.781        .22292E-06** at limit **
  22  norm           .0000        .40138       -.31506E-08** at limit **
  23  norm          7.7873        8.3397       -.77865E-07   -.20278E-02
  24  Prefactor     87.888        2.9939        .33489E-08   -.78602E-01
  25  Normalizat    1.4529        .21670       -.15596E-05   -.13868E-03
  26  Prefactor     .59352        .23623        .14186E-05   -.59144E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.35714
  Prefactor  = 0
  norm       = 14.0067
  Prefactor  = 1.75393e-06
  Prefactor  = 1.11022e-10
  Prefactor  = 1.66533e-10
  Prefactor  = 4.85945e-07
  Prefactor  = 3.43059e-08
  Prefactor  = 0.592306
  norm       = 1.43971
  Prefactor  = 1.2559e-05
  Prefactor  = 1.56763e-07
  Prefactor  = 7.29987
  norm       = 4.4883
  Prefactor  = 1.38778e-09
  Prefactor  = 2.59015e-06
  Prefactor  = 2.83105
  norm       = 2.4952
  Prefactor  = 13.5069
  Prefactor  = 2.41821
  Prefactor  = 2.2965e-07
  norm       = 0
  norm       = 7.78734
  Prefactor  = 87.8877
  Normalizat = 1.45295
  Prefactor  = 0.593516
 **********
 **   18 **HESSE 
 **********

 FCN=   6034.801     FROM HESSE     STATUS=OK           520 CALLS     2784 TOTAL
                     EDM=   .61E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3571        4.7293        .55339E-03   -1.5671    
   2  Prefactor      .0000        1.6103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          14.007        10.550        .26806E-03   -1.5633    
   4  Prefactor     .17539E-05    22.905        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .11102E-09    10.756        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16653E-09    1.9900        .65014E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .48594E-06    8.2884        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .34306E-07    18.682        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .59231        15.275        .70598E-03   -1.5693    
  10  norm          1.4397        .36041        .49070E-03   -1.5684    
  11  Prefactor     .12559E-04    2.1549        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .15676E-06    8.1217        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.2999        13.773        .37049E-03   -1.5654    
  14  norm          4.4883        12.435        .47570E-03   -1.5666    
  15  Prefactor     .13878E-08    2.4862        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .25902E-05    31.744        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.8311        66.768        .60623E-03   -1.5674    
  18  norm          2.4952        2.5391        .64629E-03   -1.5676    
  19  Prefactor     13.507        21.616        .27206E-03   -1.5634    
  20  Prefactor     2.4182        7.9879        .67618E-03   -1.5677    
  21  Prefactor     .22965E-06    25.097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        .40092        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          7.7873        8.4404        .36039E-03   -1.5652    
  24  Prefactor     87.888        56.319        .10669E-03   -1.5520    
  25  Normalizat    1.4529        .18904        .49385E-01   -.79109    
  26  Prefactor     .59352        .20631        .82700E-01   -1.0786    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.11648e-07
Minuit parameter uncertainties:
  1  4.72926
  2  9.66544e-06
  3  10.5496
  4  0.0126767
  5  6.56891e-05
  6  3.75913e-05
  7  0.00401386
  8  0.0016007
  9  6.01577
  10  0.360409
  11  0.0104046
  12  0.00225687
  13  13.773
  14  12.4346
  15  0.000118398
  16  0.0181353
  17  27.4975
  18  2.53913
  19  21.616
  20  7.98791
  21  0.00480159
  22  2.32985e-07
  23  8.4404
  24  56.3197
  25  0.189134
  26  0.206576
Done.

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

Extracting fit parameters...

4FGL J1106.7+3623
   Spectrum: PowerLaw
331    Prefactor:  1.568e-07  2.257e-03  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:  5.935e-01  2.066e-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.453e+00  1.891e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 166.688 36.400
Photon Flux Upper Limit: 7.97e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.20e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/107743/likelihoodResults_696038401_696297601_4FGL_J1106.7+3623_daily_bin1762.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) = 6034.86048412
delta logL = -0.0595305600173

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6034.51283461
delta logL = 0.288118953137

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .73605E-01   1.0000          .0000       .10000E+07
     2 'Index     '    5.2569       1.0000          .0000       10.000    
     3 'Normalizat'    1.4024       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63041       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.

 FCN=   6034.513     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      246 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .73525E-01    1.1549        .62293E-03** at limit **
   2  Index         5.2573        2.1981        .16335        .10740E-03
   3  Normalizat    1.4025        .27628E-01    .50052E-01   -.62024E-05
   4  Prefactor     .63036        .31233E-01    .80433E-01    .27242E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0735246
  Index      = 5.25731
  Normalizat = 1.40246
  Prefactor  = 0.630362
 **********
 **   18 **HESSE 
 **********

 FCN=   6034.513     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      279 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .73525E-01    6.9067        .27673E-05   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.2573        7.6025        .58694E-02    .51485E-01
   3  Normalizat    1.4025        .17742        .22127E-03   -.80557    
   4  Prefactor     .63036        .19569        .35620E-03   -1.0632    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.01108e-10
Minuit parameter uncertainties:
  1  1.42523
  2  8.82331
  3  0.177498
  4  0.195898
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/107743': 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): 102
logL (Free Index) = 6034.51283457
delta logL = 0.288118995153

Extracting fit parameters...

4FGL J1106.7+3623
   Spectrum: PowerLaw
331    Prefactor:  7.352e-02  1.425e+00  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  5.257e+00  8.823e+00  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:  6.304e-01  1.959e-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.402e+00  1.775e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 166.688 36.400

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/107743/cmap_HighResolution_696038401_696297601_4FGL_J1106.7+3623_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.20e-03', job_status='DONE', photon_flux_upper_limit='7.97e-08', time_completed='2023-01-25 01:04:11.424228', job_id='107743', GAL2='0.63', fit_tolerance='1e-08', EG2='1.40', EG='1.45', time_epoch_completed='1674637451.42', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.59', dlogl='2.88e-01', ts2='0.65', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1762' AND source_name='4FGL J1106.7+3623' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:04:11 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 107743: <4FGL_J1106.7+3623_daily_bin1762> in cluster <slac> Done

Job <4FGL_J1106.7+3623_daily_bin1762> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Jan 25 00:50:16 2023
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 00:51:04 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 00:51:04 2023
Terminated at Wed Jan 25 01:04:12 2023
Results reported at Wed Jan 25 01:04:12 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1106.7+3623_daily_bin1762 166.688 36.3995 696038401 696297601 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 :                                   693.00 sec.
    Max Memory :                                 1177 MB
    Average Memory :                             296.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   787 sec.
    Turnaround time :                            836 sec.

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

