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


Performing analysis on: 4FGL_J1106.7+3623_daily_bin1773
RA = 166.688, Dec = 36.3995
tmin = 698889601, tmax = 699148801
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='786539', job_status='RUN', time_executed='2023-02-27 09:32:01.794668', time_epoch_executed='1677519121.79' WHERE source_name='4FGL J1106.7+3623' and cadence='daily' and bin_id='1773'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/786539

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/786539/ft1_4FGL_J1106.7+3623_daily_bin1773.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/786539/ft2_4FGL_J1106.7+3623_daily_bin1773.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/786539/ft1_4FGL_J1106.7+3623_daily_bin1773.fits outfile=/scratch/kocevski/786539/ft1_filteredMKT_4FGL_J1106.7+3623_daily_bin1773.fits ra=166.688 dec=36.3995 rad=12.0 tmin=698889601.0 tmax=699148801.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 2.99
user 2.78
sys 0.19

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

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

Number of photons that the gtmktime cut: 20

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/786539/ft1_filtered_4FGL_J1106.7+3623_daily_bin1773.fits" evtable="EVENTS" scfile=/scratch/kocevski/786539/ft2_4FGL_J1106.7+3623_daily_bin1773.fits sctable="SC_DATA" outfile=/scratch/kocevski/786539/ltcube_698889601_699148801_4FGL_J1106.7+3623_daily_bin1773.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/786539/ft2_4FGL_J1106.7+3623_daily_bin1773.fits
.....................!
real 15.04
user 14.68
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/786539/ft1_filtered_4FGL_J1106.7+3623_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/786539/ft2_4FGL_J1106.7+3623_daily_bin1773.fits sctable="SC_DATA" expcube=/scratch/kocevski/786539/ltcube_698889601_699148801_4FGL_J1106.7+3623_daily_bin1773.fits outfile=/scratch/kocevski/786539/expmap_698889601_699148801_4FGL_J1106.7+3623_daily_bin1773.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/786539/ltcube_698889601_699148801_4FGL_J1106.7+3623_daily_bin1773.fits
.....................!
real 189.95
user 185.35
sys 4.05

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/786539/ft1_filtered_4FGL_J1106.7+3623_daily_bin1773.fits scfile=/scratch/kocevski/786539/ft2_4FGL_J1106.7+3623_daily_bin1773.fits outfile=/scratch/kocevski/786539/cmap_698889601_699148801_4FGL_J1106.7+3623_daily_bin1773.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/786539/ft1_filtered_4FGL_J1106.7+3623_daily_bin1773.fits scfile=/scratch/kocevski/786539/ft2_4FGL_J1106.7+3623_daily_bin1773.fits outfile=/scratch/kocevski/786539/cmap_HighResolution_698889601_699148801_4FGL_J1106.7+3623_daily_bin1773.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.54
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/786539/ft1_filtered_4FGL_J1106.7+3623_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/786539/ft2_4FGL_J1106.7+3623_daily_bin1773.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/786539/Model_4FGL_J1106.7+3623_daily_bin1773.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/786539/ft1_filtered_4FGL_J1106.7+3623_daily_bin1773.fits....................!
real 15.31
user 14.15
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/786539/ft1_filtered_4FGL_J1106.7+3623_daily_bin1773.fits', '/scratch/kocevski/786539/ft2_4FGL_J1106.7+3623_daily_bin1773.fits', expMap='/scratch/kocevski/786539/expmap_698889601_699148801_4FGL_J1106.7+3623_daily_bin1773.fits', expCube='/scratch/kocevski/786539/ltcube_698889601_699148801_4FGL_J1106.7+3623_daily_bin1773.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/786539/Model_4FGL_J1106.7+3623_daily_bin1773.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/786539/ft1_filtered_4FGL_J1106.7+3623_daily_bin1773.fits
Spacecraft file(s): /scratch/kocevski/786539/ft2_4FGL_J1106.7+3623_daily_bin1773.fits
Exposure map: /scratch/kocevski/786539/expmap_698889601_699148801_4FGL_J1106.7+3623_daily_bin1773.fits
Exposure cube: /scratch/kocevski/786539/ltcube_698889601_699148801_4FGL_J1106.7+3623_daily_bin1773.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/786539/Model_4FGL_J1106.7+3623_daily_bin1773.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 258.801550376

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 254.90205286

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1622       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.9048       1.0000          .0000       .10000E+07
     3 'norm      '    9.9787       1.0000          .0000       .10000E+07
     4 'Prefactor '    4.5719       1.0000          .0000       .10000E+07
     5 'Prefactor '    7.9358       1.0000          .0000       .10000E+07
     6 'Prefactor '    4.7545       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.1487       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.2123       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.8474       1.0000          .0000       .10000E+07
    10 'norm      '    .15732E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .86279E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .46211       1.0000          .0000       .10000E+07
    13 'Prefactor '    .77687E-01   1.0000          .0000       .10000E+07
    14 'norm      '    25.384       1.0000          .0000       .10000E+07
    15 'Prefactor '    13.252       1.0000          .0000       .10000E+07
    16 'Prefactor '    .49089       1.0000          .0000       .10000E+07
    17 'Prefactor '    .43443E-01   1.0000          .0000       .10000E+07
    18 'norm      '    .98715E-06   1.0000          .0000       .10000E+07
    19 'Prefactor '    .31437E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    20.406       1.0000          .0000       .10000E+07
    21 'Prefactor '    .41466E-02   1.0000          .0000       .10000E+07
    22 'norm      '     .0000       1.0000          .0000       .10000E+07
    23 'norm      '    90.163       1.0000          .0000       .10000E+07
    24 'Prefactor '    .66420       1.0000          .0000       .10000E+07
    25 'Normalizat'    .13073       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.1548       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=   235.4712     FROM MIGRAD    STATUS=CONVERGED    625 CALLS      944 TOTAL
                     EDM=   .48E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1622        .63287E+06     .0000         .0000    
   2  Prefactor     .10000E+07    .85698E+06    .10463E-03** at limit **
   3  norm          .10000E+07    .99835E+06    .13134E-04** at limit **
   4  Prefactor     4.5719        .63240E+06     .0000         .0000    
   5  Prefactor     .10000E+07    .52892E+06   -.62066E-05** at limit **
   6  Prefactor     .10000E+07    77131.        .15581E-04** at limit **
   7  Prefactor     .10000E+07    .72426E+06   -.94929E-05** at limit **
   8  Prefactor     .29421E-08    1100.6        .15114E-06** at limit **
   9  Prefactor     2.8474        .63260E+06     .0000         .0000    
  10  norm           .0000        3.9498        .19225E-07** at limit **
  11  Prefactor      .0000        162.06        .19963E-06** at limit **
  12  Prefactor     .28311E-08    214.24       -.93344E-07** at limit **
  13  Prefactor     .10547E-08    148.24        .32342E-06** at limit **
  14  norm          181.09        306.46        .49003E-06    .37018E-04
  15  Prefactor     .55511E-10    10.067        .62032E-07** at limit **
  16  Prefactor     .11102E-09    125.44        .15393E-06** at limit **
  17  Prefactor     .26645E-08    86.440        .23388E-06** at limit **
  18  norm           .0000        5.1235        .44410E-07** at limit **
  19  Prefactor     .61062E-09    50.986        .12439E-06** at limit **
  20  Prefactor     16.154        39.460       -.15294E-07    .13508E-03
  21  Prefactor      .0000        53.485        .21175E-06** at limit **
  22  norm           .0000        1.5790        .81218E-07** at limit **
  23  norm          72.339        45.233       -.24294E-07   -.23641E-03
  24  Prefactor      .0000        64.577       -.57979E-06** at limit **
  25  Normalizat    .10000E-01    .70325        .32949E-05** at limit **
  26  Prefactor     .63506        .43742       -.66345E-05   -.85890E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.16222
  Prefactor  = 1e+06
  norm       = 1e+06
  Prefactor  = 4.57191
  Prefactor  = 1e+06
  Prefactor  = 1e+06
  Prefactor  = 1e+06
  Prefactor  = 2.94209e-09
  Prefactor  = 2.84744
  norm       = 0
  Prefactor  = 0
  Prefactor  = 2.83107e-09
  Prefactor  = 1.05471e-09
  norm       = 181.095
  Prefactor  = 5.55112e-11
  Prefactor  = 1.11022e-10
  Prefactor  = 2.66454e-09
  norm       = 0
  Prefactor  = 6.10623e-10
  Prefactor  = 16.1543
  Prefactor  = 0
  norm       = 0
  norm       = 72.3388
  Prefactor  = 0
  Normalizat = 0.01
  Prefactor  = 0.635061
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   235.4712     FROM HESSE     STATUS=FAILED        11 CALLS      955 TOTAL
                     EDM=   .48E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     63102.        63101.         .0000       -1.5686    
   2  Prefactor     .10000E+07    .14180        .10463E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E+07    .25117E-01    .13134E-04    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.5719        1.0061         .0000       -1.5665    
   5  Prefactor     .10000E+07    .31629E-01   -.62066E-05    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E+07    .53177E-01    .15581E-04    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E+07    .29170       -.94929E-05    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .29421E-08    .60211E-01    .15114E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.8474        1.0163         .0000       -1.5674    
  10  norm           .0000        .44347E-01    .19225E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        .51219        .19963E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .28311E-08    .17064       -.93344E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10547E-08    .53088        .32342E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          181.09        2.6713        .49003E-06   -1.5439    
  15  Prefactor     .55511E-10    .18893E-01    .62032E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11102E-09    .15853        .15393E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .26645E-08    .62504        .23388E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        .44347E-01    .44410E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .61062E-09    .44347E-01    .12439E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     16.154        .89001       -.15294E-07   -1.5628    
  21  Prefactor      .0000        .44347E-01    .21175E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        .44347E-01    .81218E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          72.339        .89574       -.24294E-07   -1.5538    
  24  Prefactor      .0000        .10132       -.57979E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .10000E-01    .28688        .32949E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .63506        .85447       -.66345E-05   -1.0613    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.77843e-11
Minuit parameter uncertainties:
  1  1.15103
  2  0.000843221
  3  0.00030425
  4  1.00611
  5  0.000446957
  6  0.000302907
  7  0.00260745
  8  2.65498e-05
  9  1.01631
  10  6.80492e-07
  11  6.93702e-06
  12  4.40135e-05
  13  4.71231e-05
  14  2.67131
  15  2.16599e-06
  16  7.89326e-06
  17  8.18854e-05
  18  8.86247e-07
  19  1.03056e-05
  20  0.890008
  21  4.49521e-07
  22  1.17677e-06
  23  0.89574
  24  5.34423e-08
  25  1.23751e-06
  26  0.873
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 235.471247766

Extracting fit parameters...

4FGL J1106.7+3623
   Spectrum: PowerLaw
331    Prefactor:  2.831e-09  4.401e-05  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:  6.351e-01  8.730e-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.000e-02  1.238e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 166.688 36.400
Photon Flux Upper Limit: 2.88e-06 ph cm-2 s-1
Energy Flux Upper Limit: 2.24e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/786539/likelihoodResults_698889601_699148801_4FGL_J1106.7+3623_daily_bin1773.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) = 235.473489656
delta logL = -0.00224188946299

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 235.47124778
delta logL = -1.31579156459e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .23870E-08   1.0000          .0000       .10000E+07
     2 'Index     '    2.1972       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63502       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   235.4712     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      254 TOTAL
                     EDM=   .14E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        231.64        .42118E-03** at limit **
   2  Index         1.0995        .76682        .45969E-05     .0000    
   3  Normalizat    .10000E-01    .25505       -.27813E-04** at limit **
   4  Prefactor     .63506        .98392       -.11838E-04    .17762E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.09945
  Normalizat = 0.01
  Prefactor  = 0.635061
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   235.4712     FROM HESSE     STATUS=FAILED         9 CALLS      263 TOTAL
                     EDM=   .14E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        231.64        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .68695E-01    1.1498        .45969E-05   -.89484    
   3  Normalizat    .10000E-01    .25505       -.27813E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .63506        .98392       -.11838E-04   -1.0613    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.40296e-13
Minuit parameter uncertainties:
  1  8.05551e-05
  2  0.774717
  3  3.77597e-07
  4  1.01279
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/786539': 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): 101
logL (Free Index) = 235.471247766
delta logL = 7.64543983678e-12

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
643    Prefactor:  6.351e-01  1.013e+00  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.000e-02  3.776e-07  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/786539/cmap_HighResolution_698889601_699148801_4FGL_J1106.7+3623_daily_bin1773.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.24e-01', job_status='DONE', photon_flux_upper_limit='2.88e-06', time_completed='2023-02-27 09:42:18.088965', job_id='786539', GAL2='0.64', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1677519738.09', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.64', dlogl='7.65e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1773' AND source_name='4FGL J1106.7+3623' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 27 09:42:18 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0212>
Subject: Job 786539: <4FGL_J1106.7+3623_daily_bin1773> in cluster <slac> Done

Job <4FGL_J1106.7+3623_daily_bin1773> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Feb 27 09:30:12 2023
Job was executed on host(s) <bullet0212>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 09:30:14 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 27 09:30:14 2023
Terminated at Mon Feb 27 09:42:29 2023
Results reported at Mon Feb 27 09:42:29 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1106.7+3623_daily_bin1773 166.688 36.3995 698889601 699148801 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 :                                   333.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             217.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   734 sec.
    Turnaround time :                            836 sec.

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

