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


Performing analysis on: 4FGL_J1106.0+2813_daily_bin1779
RA = 166.502, Dec = 28.2254
tmin = 700444801, tmax = 700704001
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='21050', job_status='RUN', time_executed='2023-03-17 01:27:41.512211', time_epoch_executed='1679041661.51' WHERE source_name='4FGL J1106.0+2813' and cadence='daily' and bin_id='1779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/21050

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/21050/ft1_4FGL_J1106.0+2813_daily_bin1779.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/21050/ft2_4FGL_J1106.0+2813_daily_bin1779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/21050/ft1_4FGL_J1106.0+2813_daily_bin1779.fits outfile=/scratch/kocevski/21050/ft1_filteredMKT_4FGL_J1106.0+2813_daily_bin1779.fits ra=166.502 dec=28.2254 rad=12.0 tmin=700444801.0 tmax=700704001.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 5.31
user 5.04
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/21050/ft2_4FGL_J1106.0+2813_daily_bin1779.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/21050/ft1_filteredMKT_4FGL_J1106.0+2813_daily_bin1779.fits evtable="EVENTS" outfile="/scratch/kocevski/21050/ft1_filtered_4FGL_J1106.0+2813_daily_bin1779.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.32
sys 0.18

Number of photons that the gtmktime cut: 495

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/21050/ft1_filtered_4FGL_J1106.0+2813_daily_bin1779.fits" evtable="EVENTS" scfile=/scratch/kocevski/21050/ft2_4FGL_J1106.0+2813_daily_bin1779.fits sctable="SC_DATA" outfile=/scratch/kocevski/21050/ltcube_700444801_700704001_4FGL_J1106.0+2813_daily_bin1779.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/21050/ft2_4FGL_J1106.0+2813_daily_bin1779.fits
.....................!
real 12.04
user 11.70
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/21050/ft1_filtered_4FGL_J1106.0+2813_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/21050/ft2_4FGL_J1106.0+2813_daily_bin1779.fits sctable="SC_DATA" expcube=/scratch/kocevski/21050/ltcube_700444801_700704001_4FGL_J1106.0+2813_daily_bin1779.fits outfile=/scratch/kocevski/21050/expmap_700444801_700704001_4FGL_J1106.0+2813_daily_bin1779.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/21050/ltcube_700444801_700704001_4FGL_J1106.0+2813_daily_bin1779.fits
.....................!
real 189.69
user 184.85
sys 4.49

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/21050/ft1_filtered_4FGL_J1106.0+2813_daily_bin1779.fits scfile=/scratch/kocevski/21050/ft2_4FGL_J1106.0+2813_daily_bin1779.fits outfile=/scratch/kocevski/21050/cmap_700444801_700704001_4FGL_J1106.0+2813_daily_bin1779.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/21050/ft1_filtered_4FGL_J1106.0+2813_daily_bin1779.fits scfile=/scratch/kocevski/21050/ft2_4FGL_J1106.0+2813_daily_bin1779.fits outfile=/scratch/kocevski/21050/cmap_HighResolution_700444801_700704001_4FGL_J1106.0+2813_daily_bin1779.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.54
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/21050/ft1_filtered_4FGL_J1106.0+2813_daily_bin1779.fits', '/scratch/kocevski/21050/ft2_4FGL_J1106.0+2813_daily_bin1779.fits', expMap='/scratch/kocevski/21050/expmap_700444801_700704001_4FGL_J1106.0+2813_daily_bin1779.fits', expCube='/scratch/kocevski/21050/ltcube_700444801_700704001_4FGL_J1106.0+2813_daily_bin1779.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/21050/Model_4FGL_J1106.0+2813_daily_bin1779.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/21050/ft1_filtered_4FGL_J1106.0+2813_daily_bin1779.fits
Spacecraft file(s): /scratch/kocevski/21050/ft2_4FGL_J1106.0+2813_daily_bin1779.fits
Exposure map: /scratch/kocevski/21050/expmap_700444801_700704001_4FGL_J1106.0+2813_daily_bin1779.fits
Exposure cube: /scratch/kocevski/21050/ltcube_700444801_700704001_4FGL_J1106.0+2813_daily_bin1779.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/21050/Model_4FGL_J1106.0+2813_daily_bin1779.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) = 5599.37191453

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80117E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    24.439       1.0000          .0000       .10000E+07
     3 'Prefactor '    .64127       1.0000          .0000       .10000E+07
     4 'Prefactor '    .61351E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    19.144       1.0000          .0000       .10000E+07
     6 'Prefactor '    9.6006       1.0000          .0000       .10000E+07
     7 'Prefactor '    .96029E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    10.903       1.0000          .0000       .10000E+07
     9 'Prefactor '    14.030       1.0000          .0000       .10000E+07
    10 'norm      '    2.4923       1.0000          .0000       .10000E+07
    11 'Prefactor '    .12660E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .57649E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .39512       1.0000          .0000       .10000E+07
    14 'norm      '    .27580E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .36181E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    15.964       1.0000          .0000       .10000E+07
    17 'Prefactor '    .11115E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    2.9743       1.0000          .0000       .10000E+07
    19 'Prefactor '    .11860E-02   1.0000          .0000       .10000E+07
    20 'norm      '    5.9449       1.0000          .0000       .10000E+07
    21 'Prefactor '    7.3881       1.0000          .0000       .10000E+07
    22 'Prefactor '    .25604E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    .33378E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    .15945       1.0000          .0000       .10000E+07
    25 'norm      '    21.599       1.0000          .0000       .10000E+07
    26 'Normalizat'    1.2632       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .80391       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=   5599.364     FROM MIGRAD    STATUS=CONVERGED    229 CALLS     2633 TOTAL
                     EDM=   .37E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .76605E-08    38.727        .25647E-06** at limit **
   2  Prefactor     24.425        1.1296        .35874E-08    .57560E-03
   3  Prefactor     .64433        6.8908        .13350E-06   -.93855E-03
   4  Prefactor      .0000        2.9775       -.22136E-06** at limit **
   5  Prefactor     19.092        9.2608        .54103E-07   -.22920E-02
   6  Prefactor     9.6437        1.6281        .11339E-07    .36840E-02
   7  Prefactor      .0000        4.2947        .51946E-07** at limit **
   8  Prefactor     10.883        13.019       -.83212E-07   -.21624E-02
   9  Prefactor     14.143        3.1693        .20336E-07    .19126E-02
  10  norm          2.4965        .47282       -.86435E-08    .16039E-02
  11  Prefactor      .0000        3.8115       -.50994E-07** at limit **
  12  Prefactor     .37192E-08    21.859       -.73046E-07** at limit **
  13  Prefactor     .85570E-06    7.4540        .10947E-06** at limit **
  14  norm          .11102E-09    9.8095        .73847E-08** at limit **
  15  Prefactor     .55511E-10    11.034       -.15563E-07** at limit **
  16  Prefactor     15.938        3.9394       -.26232E-08   -.27242E-01
  17  Prefactor      .0000        6.7261       -.20649E-06** at limit **
  18  Prefactor     .16653E-09    571.75        .12197E-05** at limit **
  19  Prefactor     .94369E-09    18.275       -.83885E-07** at limit **
  20  norm          6.1043        4.1211        .19445E-07   -.43650E-03
  21  Prefactor     7.3714        13.896       -.22509E-07   -.18465E-02
  22  Prefactor     .82157E-08    62.874        .46657E-06** at limit **
  23  Prefactor     .77716E-09    27.643        .27108E-06** at limit **
  24  Prefactor     .15132        6.2927        .15745E-07** at limit **
  25  norm          21.593        3.8483        .30685E-07   -.98473E-03
  26  Normalizat    1.2639        .24849        .53056E-05   -.44059E-04
  27  Prefactor     .80379        .26186       -.10920E-05   -.29656E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.66054e-09
  Prefactor  = 24.4252
  Prefactor  = 0.644326
  Prefactor  = 0
  Prefactor  = 19.0922
  Prefactor  = 9.64374
  Prefactor  = 0
  Prefactor  = 10.8826
  Prefactor  = 14.143
  norm       = 2.49651
  Prefactor  = 0
  Prefactor  = 3.71925e-09
  Prefactor  = 8.55704e-07
  norm       = 1.11022e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 15.938
  Prefactor  = 0
  Prefactor  = 1.66533e-10
  Prefactor  = 9.4369e-10
  norm       = 6.1043
  Prefactor  = 7.37144
  Prefactor  = 8.21565e-09
  Prefactor  = 7.77156e-10
  Prefactor  = 0.151321
  norm       = 21.5929
  Normalizat = 1.2639
  Prefactor  = 0.803791
 **********
 **   18 **HESSE 
 **********

 FCN=   5599.364     FROM HESSE     STATUS=OK           564 CALLS     3197 TOTAL
                     EDM=   .35E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .76605E-08    39.259        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     24.425        24.539        .20233E-03   -1.5609    
   3  Prefactor     .64433        19.506        .65609E-03   -1.5692    
   4  Prefactor      .0000        2.9374        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     19.092        15.362        .22863E-03   -1.5621    
   6  Prefactor     9.6437        22.971        .32318E-03   -1.5646    
   7  Prefactor      .0000        4.3134        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.883        13.128        .30317E-03   -1.5642    
   9  Prefactor     14.143        27.877        .26715E-03   -1.5633    
  10  norm          2.4965        .48739        .48931E-03   -1.5676    
  11  Prefactor      .0000        3.8084        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .37192E-08    22.148        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .85570E-06    10.873        .12955E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .11102E-09    9.8329        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .55511E-10    11.049        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     15.938        18.182        .25041E-03   -1.5628    
  17  Prefactor      .0000        6.6511        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .16653E-09    573.60        .58847E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .94369E-09    18.495        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          6.1043        4.1980        .41161E-03   -1.5659    
  21  Prefactor     7.3714        14.104        .36875E-03   -1.5654    
  22  Prefactor     .82157E-08    7.8843        .57258E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .77716E-09    28.813        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .15132        1.3095        .46640E-02   -1.5716    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          21.593        3.8449        .21523E-03   -1.5615    
  26  Normalizat    1.2639        .21502        .58684E-01   -.84651    
  27  Prefactor     .80379        .22104        .76522E-01   -.99589    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.50201e-07
Minuit parameter uncertainties:
  1  0.00109811
  2  24.5396
  3  7.09043
  4  7.48407e-06
  5  15.3621
  6  22.9708
  7  2.28791e-06
  8  13.1278
  9  27.877
  10  0.487388
  11  3.03721e-06
  12  0.000575544
  13  0.00610059
  14  6.33818e-05
  15  4.71081e-05
  16  18.1819
  17  2.13486e-05
  18  0.000614113
  19  0.000268028
  20  4.19801
  21  14.1042
  22  0.000509121
  23  0.000294653
  24  0.890307
  25  3.84489
  26  0.215172
  27  0.221284
Done.

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

Extracting fit parameters...

4FGL J1106.0+2813
   Spectrum: PowerLaw
253    Prefactor:  0.000e+00  3.037e-06  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:  8.038e-01  2.213e-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.264e+00  2.152e-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: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.07e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/21050/likelihoodResults_700444801_700704001_4FGL_J1106.0+2813_daily_bin1779.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) = 5599.36630232
delta logL = -0.00248012871725

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5599.33413352
delta logL = 0.0296886666201

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .57862E-02   1.0000          .0000       .10000E+07
     2 'Index     '    5.4988       1.0000          .0000       10.000    
     3 'Normalizat'    1.2445       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81740       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=   5599.334     FROM MIGRAD    STATUS=CONVERGED    116 CALLS      359 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .56696E-02    .10364        .42118E-03** at limit **
   2  Index         5.5094        1.3212        .40243       -.16537E-05
   3  Normalizat    1.2448        .14562E-01    .59076E-01   -.24484E-03
   4  Prefactor     .81718        .15612E-01    .75968E-01   -.20645E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00566956
  Index      = 5.50942
  Normalizat = 1.24476
  Prefactor  = 0.817181
 **********
 **   18 **HESSE 
 **********

 FCN=   5599.334     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      392 TOTAL
                     EDM=   .24E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .56696E-02    4.4040        .17108E-04   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.5094        6.3674        .71441E-02    .10206    
   3  Normalizat    1.2448        .13317        .26126E-03   -.85231    
   4  Prefactor     .81718        .13880        .33625E-03   -.99098    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.35496e-06
Minuit parameter uncertainties:
  1  0.31603
  2  28.2481
  3  0.133209
  4  0.13886
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/21050': 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) = 5599.33413238
delta logL = 0.02968980896

Extracting fit parameters...

4FGL J1106.0+2813
   Spectrum: PowerLaw
253    Prefactor:  5.670e-03  3.160e-01  0.000e+00  1.000e+06 ( 1.000e-12)
254        Index:  5.509e+00  2.825e+01  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:  8.172e-01  1.389e-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.245e+00  1.332e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/21050/cmap_HighResolution_700444801_700704001_4FGL_J1106.0+2813_daily_bin1779.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.07e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2023-03-17 01:38:42.556768', job_id='21050', GAL2='0.82', fit_tolerance='1e-08', EG2='1.24', EG='1.26', time_epoch_completed='1679042322.56', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='2.97e-02', ts2='0.07', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1779' AND source_name='4FGL J1106.0+2813' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 17 01:38:42 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 21050: <4FGL_J1106.0+2813_daily_bin1779> in cluster <slac> Done

Job <4FGL_J1106.0+2813_daily_bin1779> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Mar 17 01:25:21 2023
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 17 01:25:22 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 17 01:25:22 2023
Terminated at Fri Mar 17 01:38:42 2023
Results reported at Fri Mar 17 01:38:42 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1106.0+2813_daily_bin1779 166.502 28.2254 700444801 700704001 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 :                                   660.23 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             252.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   800 sec.
    Turnaround time :                            801 sec.

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

