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


Performing analysis on: 4FGL_J1106.7+3623_daily_bin1752
RA = 166.688, Dec = 36.3995
tmin = 693446401, tmax = 693705601
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='260503', job_status='RUN', time_executed='2022-12-26 00:48:19.292078', time_epoch_executed='1672044499.29' WHERE source_name='4FGL J1106.7+3623' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/260503

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/260503/ft1_4FGL_J1106.7+3623_daily_bin1752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/260503/ft2_4FGL_J1106.7+3623_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/260503/ft1_4FGL_J1106.7+3623_daily_bin1752.fits outfile=/scratch/kocevski/260503/ft1_filteredMKT_4FGL_J1106.7+3623_daily_bin1752.fits ra=166.688 dec=36.3995 rad=12.0 tmin=693446401.0 tmax=693705601.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.50
user 3.26
sys 0.20

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

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

Number of photons that the gtmktime cut: 610

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/260503/ft1_filtered_4FGL_J1106.7+3623_daily_bin1752.fits" evtable="EVENTS" scfile=/scratch/kocevski/260503/ft2_4FGL_J1106.7+3623_daily_bin1752.fits sctable="SC_DATA" outfile=/scratch/kocevski/260503/ltcube_693446401_693705601_4FGL_J1106.7+3623_daily_bin1752.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/260503/ft2_4FGL_J1106.7+3623_daily_bin1752.fits
.....................!
real 13.60
user 13.10
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/260503/ft1_filtered_4FGL_J1106.7+3623_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/260503/ft2_4FGL_J1106.7+3623_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/260503/ltcube_693446401_693705601_4FGL_J1106.7+3623_daily_bin1752.fits outfile=/scratch/kocevski/260503/expmap_693446401_693705601_4FGL_J1106.7+3623_daily_bin1752.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/260503/ltcube_693446401_693705601_4FGL_J1106.7+3623_daily_bin1752.fits
.....................!
real 192.53
user 186.08
sys 4.83

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/260503/ft1_filtered_4FGL_J1106.7+3623_daily_bin1752.fits scfile=/scratch/kocevski/260503/ft2_4FGL_J1106.7+3623_daily_bin1752.fits outfile=/scratch/kocevski/260503/cmap_693446401_693705601_4FGL_J1106.7+3623_daily_bin1752.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.63
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/260503/ft1_filtered_4FGL_J1106.7+3623_daily_bin1752.fits scfile=/scratch/kocevski/260503/ft2_4FGL_J1106.7+3623_daily_bin1752.fits outfile=/scratch/kocevski/260503/cmap_HighResolution_693446401_693705601_4FGL_J1106.7+3623_daily_bin1752.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.58
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/260503/ft1_filtered_4FGL_J1106.7+3623_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/260503/ft2_4FGL_J1106.7+3623_daily_bin1752.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/260503/Model_4FGL_J1106.7+3623_daily_bin1752.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/260503/ft1_filtered_4FGL_J1106.7+3623_daily_bin1752.fits.....................!
real 57.66
user 56.13
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38625       1.0000          .0000       .10000E+07
     2 'Prefactor '    .23758E-05   1.0000          .0000       .10000E+07
     3 'norm      '    23.589       1.0000          .0000       .10000E+07
     4 'Prefactor '    .29689       1.0000          .0000       .10000E+07
     5 'Prefactor '    19.051       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.9064       1.0000          .0000       .10000E+07
     7 'Prefactor '    8.5321       1.0000          .0000       .10000E+07
     8 'Prefactor '    22.224       1.0000          .0000       .10000E+07
     9 'Prefactor '    .60637E-04   1.0000          .0000       .10000E+07
    10 'norm      '    2.5960       1.0000          .0000       .10000E+07
    11 'Prefactor '    3.9861       1.0000          .0000       .10000E+07
    12 'Prefactor '    .98144E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .66233E-05   1.0000          .0000       .10000E+07
    14 'norm      '    42.681       1.0000          .0000       .10000E+07
    15 'Prefactor '    .31092E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    14.617       1.0000          .0000       .10000E+07
    17 'Prefactor '    23.105       1.0000          .0000       .10000E+07
    18 'norm      '    .16534E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .54786E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    .59118       1.0000          .0000       .10000E+07
    21 'Prefactor '    21.468       1.0000          .0000       .10000E+07
    22 'norm      '    2.4102       1.0000          .0000       .10000E+07
    23 'norm      '    .95923E-07   1.0000          .0000       .10000E+07
    24 'Prefactor '    66.584       1.0000          .0000       .10000E+07
    25 'Normalizat'    .88677       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .92670       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=   6524.419     FROM MIGRAD    STATUS=CONVERGED    162 CALLS     2317 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .37071        5.4172       -.34233E-06   -.10001E-02
   2  Prefactor     .33307E-09    4.0768       -.37557E-07** at limit **
   3  norm          23.624        3.9661        .78916E-06    .13615    
   4  Prefactor     .64604E-05    70.577        .12747E-05** at limit **
   5  Prefactor     18.726        22.582        .56624E-05   -.53732E-01
   6  Prefactor     2.8352        4.0800       -.71451E-06   -.19017E-02
   7  Prefactor     8.3799        3.2297        .81347E-06    .65632E-02
   8  Prefactor     22.616        37.664        .58278E-05   -.22151E-01
   9  Prefactor     .40523E-08    5.2027        .37579E-06** at limit **
  10  norm          2.5962        .39014       -.44352E-07    .61903E-01
  11  Prefactor     3.9762        2.6212       -.20385E-07    .14783E-02
  12  Prefactor     .95257E-07    22.641        .79949E-06** at limit **
  13  Prefactor     .11102E-08    5.3512       -.32307E-06** at limit **
  14  norm          42.542        10.291       -.13837E-05   -.24307    
  15  Prefactor      .0000        .44166       -.22135E-07** at limit **
  16  Prefactor     14.605        5.5419        .11912E-05    .29764E-01
  17  Prefactor     23.271        2.5323        .26419E-06    .46039E-02
  18  norm          .49960E-09    3.1986       -.88085E-07** at limit **
  19  Prefactor     .16321E-05    84.026        .12349E-04** at limit **
  20  Prefactor     .61137        8.6318        .96537E-06    .23528E-02
  21  Prefactor     21.559        12.063       -.26081E-05    .28295E-01
  22  norm          2.4103        1.1022        .17512E-06   -.29618E-02
  23  norm          .12212E-08    9.5745       -.50391E-06** at limit **
  24  Prefactor     66.173        34.938       -.30654E-05    .15161E-01
  25  Normalizat    .88754        .18730        .16927E-04    .22631E-03
  26  Prefactor     .92658        .22018       -.27781E-04    .13063E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.370713
  Prefactor  = 3.33067e-10
  norm       = 23.6238
  Prefactor  = 6.46044e-06
  Prefactor  = 18.7263
  Prefactor  = 2.83516
  Prefactor  = 8.37985
  Prefactor  = 22.6157
  Prefactor  = 4.05231e-09
  norm       = 2.59616
  Prefactor  = 3.97621
  Prefactor  = 9.52571e-08
  Prefactor  = 1.11022e-09
  norm       = 42.5416
  Prefactor  = 0
  Prefactor  = 14.6048
  Prefactor  = 23.2709
  norm       = 4.996e-10
  Prefactor  = 1.63208e-06
  Prefactor  = 0.611371
  Prefactor  = 21.5594
  norm       = 2.41027
  norm       = 1.22125e-09
  Prefactor  = 66.1726
  Normalizat = 0.887537
  Prefactor  = 0.926583
 **********
 **   18 **HESSE 
 **********

 FCN=   6524.419     FROM HESSE     STATUS=OK           528 CALLS     2845 TOTAL
                     EDM=   .82E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .37071        2.4682        .38242E-02   -1.5696    
   2  Prefactor     .33307E-09    4.0285        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          23.624        11.728        .20594E-03   -1.5611    
   4  Prefactor     .64604E-05    84.522        .10256E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     18.726        29.766        .22919E-03   -1.5621    
   6  Prefactor     2.8352        4.2066        .59574E-03   -1.5674    
   7  Prefactor     8.3799        16.876        .34294E-03   -1.5650    
   8  Prefactor     22.616        54.782        .21218E-03   -1.5613    
   9  Prefactor     .40523E-08    5.2164        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.5962        .39009        .42838E-03   -1.5676    
  11  Prefactor     3.9762        2.6311        .50493E-03   -1.5668    
  12  Prefactor     .95257E-07    22.696        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .11102E-08    5.3633        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          42.542        15.341        .15308E-03   -1.5578    
  15  Prefactor      .0000        .44036        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     14.605        19.989        .26171E-03   -1.5632    
  17  Prefactor     23.271        22.541        .20809E-03   -1.5611    
  18  norm          .49960E-09    3.0645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .16321E-05    10.346        .12291E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .61137        8.9808        .70022E-03   -1.5692    
  21  Prefactor     21.559        29.883        .21589E-03   -1.5615    
  22  norm          2.4103        1.1617        .65915E-03   -1.5677    
  23  norm          .12212E-08    9.5962        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     66.173        52.513        .12256E-03   -1.5545    
  25  Normalizat    .88754        .16514        .44732E-01   -.96899    
  26  Prefactor     .92658        .18887        .65490E-01   -.95218    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.2214e-07
Minuit parameter uncertainties:
  1  1.91309
  2  7.05002e-05
  3  11.728
  4  0.0467359
  5  29.7667
  6  4.20657
  7  16.8762
  8  54.7834
  9  0.000290853
  10  0.390089
  11  2.63107
  12  0.00294031
  13  0.000155345
  14  15.3406
  15  4.56794e-06
  16  19.9895
  17  22.5409
  18  7.61961e-05
  19  0.0082184
  20  4.68641
  21  29.883
  22  1.16174
  23  0.000214536
  24  52.5138
  25  0.165229
  26  0.189007
Done.

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

Extracting fit parameters...

4FGL J1106.7+3623
   Spectrum: PowerLaw
331    Prefactor:  9.526e-08  2.940e-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:  9.266e-01  1.890e-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:  8.875e-01  1.652e-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: 6.46e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.02e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/260503/likelihoodResults_693446401_693705601_4FGL_J1106.7+3623_daily_bin1752.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): 102
logL (Free Index) = 6524.44495671
delta logL = -0.026171488963

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6524.41834136
delta logL = 0.000443862113571

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35471       1.0000          .0000       .10000E+07
     2 'Index     '    1.9677       1.0000          .0000       10.000    
     3 'Normalizat'    .88755       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92640       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=   6524.418     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      330 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .32362        38.010        .94934E-02    .33354E-02
   2  Index         1.9705        3.2793        .50000        .10289E-04
   3  Normalizat    .88759        .73894E-02    .44742E-01    .14507E-03
   4  Prefactor     .92628        .89899E-02    .65496E-01   -.10276E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.323617
  Index      = 1.97052
  Normalizat = 0.887589
  Prefactor  = 0.926282
 **********
 **   18 **HESSE 
 **********

 FCN=   6524.418     FROM HESSE     STATUS=OK            35 CALLS      365 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .32362        334.15        .51661E-03   -1.5697    
   2  Index         1.9705        5.7013        .40606E-01   -.65089    
   3  Normalizat    .88759        .18007        .24411E-03   -.96898    
   4  Prefactor     .92628        .21994        .28969E-03   -.95229    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.85909e-10
Minuit parameter uncertainties:
  1  20.799
  2  8.58899
  3  0.180195
  4  0.220153
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/260503': 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) = 6524.41833667
delta logL = 0.000448558284006

Extracting fit parameters...

4FGL J1106.7+3623
   Spectrum: PowerLaw
331    Prefactor:  3.236e-01  2.080e+01  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  1.971e+00  8.589e+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:  9.263e-01  2.202e-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:  8.876e-01  1.802e-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/260503/cmap_HighResolution_693446401_693705601_4FGL_J1106.7+3623_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.02e-03', job_status='DONE', photon_flux_upper_limit='6.46e-08', time_completed='2022-12-26 01:01:31.150337', job_id='260503', GAL2='0.93', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1672045291.15', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='4.49e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1752' AND source_name='4FGL J1106.7+3623' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 01:01:31 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 260503: <4FGL_J1106.7+3623_daily_bin1752> in cluster <slac> Done

Job <4FGL_J1106.7+3623_daily_bin1752> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Dec 26 00:45:14 2022
Job was executed on host(s) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 00:46:14 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 00:46:14 2022
Terminated at Mon Dec 26 01:01:32 2022
Results reported at Mon Dec 26 01:01:32 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1106.7+3623_daily_bin1752 166.688 36.3995 693446401 693705601 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 :                                   790.17 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             324.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   917 sec.
    Turnaround time :                            978 sec.

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

