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


Performing analysis on: 4FGL_J1106.7+3623_daily_bin1769
RA = 166.688, Dec = 36.3995
tmin = 697852801, tmax = 698112001
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='432210', job_status='RUN', time_executed='2023-02-15 00:38:50.786605', time_epoch_executed='1676450330.79' WHERE source_name='4FGL J1106.7+3623' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/432210

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/432210/ft1_4FGL_J1106.7+3623_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/432210/ft2_4FGL_J1106.7+3623_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/432210/ft1_4FGL_J1106.7+3623_daily_bin1769.fits outfile=/scratch/kocevski/432210/ft1_filteredMKT_4FGL_J1106.7+3623_daily_bin1769.fits ra=166.688 dec=36.3995 rad=12.0 tmin=697852801.0 tmax=698112001.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 4.36
user 4.14
sys 0.20

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

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

Number of photons that the gtmktime cut: 599

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/432210/ft1_filtered_4FGL_J1106.7+3623_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/432210/ft2_4FGL_J1106.7+3623_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/432210/ltcube_697852801_698112001_4FGL_J1106.7+3623_daily_bin1769.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/432210/ft2_4FGL_J1106.7+3623_daily_bin1769.fits
.....................!
real 12.21
user 11.90
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/432210/ft1_filtered_4FGL_J1106.7+3623_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/432210/ft2_4FGL_J1106.7+3623_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/432210/ltcube_697852801_698112001_4FGL_J1106.7+3623_daily_bin1769.fits outfile=/scratch/kocevski/432210/expmap_697852801_698112001_4FGL_J1106.7+3623_daily_bin1769.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/432210/ltcube_697852801_698112001_4FGL_J1106.7+3623_daily_bin1769.fits
.....................!
real 190.62
user 186.09
sys 4.18

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/432210/ft1_filtered_4FGL_J1106.7+3623_daily_bin1769.fits scfile=/scratch/kocevski/432210/ft2_4FGL_J1106.7+3623_daily_bin1769.fits outfile=/scratch/kocevski/432210/cmap_697852801_698112001_4FGL_J1106.7+3623_daily_bin1769.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/432210/ft1_filtered_4FGL_J1106.7+3623_daily_bin1769.fits scfile=/scratch/kocevski/432210/ft2_4FGL_J1106.7+3623_daily_bin1769.fits outfile=/scratch/kocevski/432210/cmap_HighResolution_697852801_698112001_4FGL_J1106.7+3623_daily_bin1769.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.55
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/432210/ft1_filtered_4FGL_J1106.7+3623_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/432210/ft2_4FGL_J1106.7+3623_daily_bin1769.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/432210/Model_4FGL_J1106.7+3623_daily_bin1769.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/432210/ft1_filtered_4FGL_J1106.7+3623_daily_bin1769.fits.....................!
real 55.89
user 54.63
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .70413       1.0000          .0000       .10000E+07
     2 'Prefactor '    .34038E-05   1.0000          .0000       .10000E+07
     3 'norm      '    16.323       1.0000          .0000       .10000E+07
     4 'Prefactor '    .30238E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    41.247       1.0000          .0000       .10000E+07
     6 'Prefactor '    1.0409       1.0000          .0000       .10000E+07
     7 'Prefactor '    .85820E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20587       1.0000          .0000       .10000E+07
     9 'Prefactor '    .80694E-02   1.0000          .0000       .10000E+07
    10 'norm      '    1.0370       1.0000          .0000       .10000E+07
    11 'Prefactor '    .92114E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    16.015       1.0000          .0000       .10000E+07
    13 'Prefactor '    .34761E-06   1.0000          .0000       .10000E+07
    14 'norm      '    .12618E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    .15782E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    .13144E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    7.0514       1.0000          .0000       .10000E+07
    18 'norm      '    8.9360       1.0000          .0000       .10000E+07
    19 'Prefactor '    13.355       1.0000          .0000       .10000E+07
    20 'Prefactor '    10.892       1.0000          .0000       .10000E+07
    21 'Prefactor '    27.933       1.0000          .0000       .10000E+07
    22 'norm      '    .61451E-07   1.0000          .0000       .10000E+07
    23 'norm      '    8.5771       1.0000          .0000       .10000E+07
    24 'Prefactor '    .93625E-05   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.0230       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .81794       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=   6360.750     FROM MIGRAD    STATUS=CONVERGED    179 CALLS     1833 TOTAL
                     EDM=   .86E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .69916        1.9636        .55895E-07    .96990E-03
   2  Prefactor      .0000        1.2999       -.13678E-06** at limit **
   3  norm          16.296        9.3820       -.13820E-06   -.70550E-01
   4  Prefactor     .37192E-06    15.630       -.35890E-06** at limit **
   5  Prefactor     41.463        12.875       -.21128E-07    .97234E-01
   6  Prefactor     1.0413        1.4544       -.35370E-07   -.95281E-03
   7  Prefactor     .11102E-09    8.1415       -.11575E-06** at limit **
   8  Prefactor     .98487E-05    51.602        .16165E-06** at limit **
   9  Prefactor     .26928E-06    234.79       -.22854E-05** at limit **
  10  norm          1.0371        .27853       -.12824E-07   -.75514E-02
  11  Prefactor      .0000        1.5300        .24184E-07** at limit **
  12  Prefactor     15.985        4.6867        .38310E-07    .34463E-02
  13  Prefactor      .0000        4.4362        .10191E-06** at limit **
  14  norm           .0000        3.0411        .10992E-06** at limit **
  15  Prefactor      .0000        1.3525        .47473E-07** at limit **
  16  Prefactor     .68279E-08    13.226        .55844E-06** at limit **
  17  Prefactor     7.0638        6.7884       -.12456E-07    .31060E-01
  18  norm          8.9383        3.1872       -.35794E-07   -.19740E-02
  19  Prefactor     13.325        6.7753       -.29096E-07    .65429E-01
  20  Prefactor     10.882        5.5435       -.29181E-07   -.59006E-02
  21  Prefactor     27.833        8.9313       -.16138E-07    .86383E-01
  22  norm           .0000        1.2427        .69541E-08** at limit **
  23  norm          8.5846        6.2413       -.41685E-07   -.65393E-03
  24  Prefactor     .17136E-06    13.503       -.29617E-06** at limit **
  25  Normalizat    1.0231        .18507        .20088E-05    .86304E-04
  26  Prefactor     .81807        .21814       -.50186E-06    .57433E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.699158
  Prefactor  = 0
  norm       = 16.2964
  Prefactor  = 3.71925e-07
  Prefactor  = 41.4626
  Prefactor  = 1.04128
  Prefactor  = 1.11022e-10
  Prefactor  = 9.84868e-06
  Prefactor  = 2.69285e-07
  norm       = 1.03712
  Prefactor  = 0
  Prefactor  = 15.985
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 6.82787e-09
  Prefactor  = 7.06382
  norm       = 8.93828
  Prefactor  = 13.3247
  Prefactor  = 10.8817
  Prefactor  = 27.8327
  norm       = 0
  norm       = 8.58462
  Prefactor  = 1.71363e-07
  Normalizat = 1.02306
  Prefactor  = 0.818073
 **********
 **   18 **HESSE 
 **********

 FCN=   6360.750     FROM HESSE     STATUS=OK           524 CALLS     2357 TOTAL
                     EDM=   .81E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .69916        1.9888        .60373E-03   -1.5691    
   2  Prefactor      .0000        1.3003        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          16.296        10.125        .24763E-03   -1.5627    
   4  Prefactor     .37192E-06    20.382        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     41.463        29.666        .15572E-03   -1.5579    
   6  Prefactor     1.0413        1.8354        .25951E-02   -1.5688    
   7  Prefactor     .11102E-09    8.1642        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .98487E-05    125.68        .11672E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .26928E-06    9.0588        .66399E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.0371        .28201        .47575E-03   -1.5688    
  11  Prefactor      .0000        1.5389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     15.985        12.701        .25000E-03   -1.5628    
  13  Prefactor      .0000        4.4511        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        3.0481        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        1.3431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .68279E-08    13.242        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.0638        13.859        .37754E-03   -1.5655    
  18  norm          8.9383        3.2844        .33505E-03   -1.5648    
  19  Prefactor     13.325        12.655        .27383E-03   -1.5635    
  20  Prefactor     10.882        5.5560        .30332E-03   -1.5642    
  21  Prefactor     27.833        38.408        .18924E-03   -1.5602    
  22  norm           .0000        .61713        .19509E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          8.5846        6.2541        .34204E-03   -1.5649    
  24  Prefactor     .17136E-06    19.678        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.0231        .16137        .42943E-01   -.92262    
  26  Prefactor     .81807        .18726        .67444E-01   -.99066    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.09581e-07
Minuit parameter uncertainties:
  1  1.98876
  2  9.90361e-06
  3  10.125
  4  0.0055068
  5  29.6657
  6  1.83542
  7  5.44023e-05
  8  0.0703659
  9  0.00312383
  10  0.282007
  11  4.632e-07
  12  12.7012
  13  4.62944e-07
  14  6.15966e-06
  15  1.43264e-06
  16  0.000601332
  17  13.859
  18  3.28441
  19  12.6546
  20  5.55605
  21  38.408
  22  1.65199e-06
  23  6.25407
  24  0.0036726
  25  0.161449
  26  0.187403
Done.

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

Extracting fit parameters...

4FGL J1106.7+3623
   Spectrum: PowerLaw
331    Prefactor:  1.599e+01  1.270e+01  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:  8.181e-01  1.874e-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.023e+00  1.614e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.54
Ra Dec: 166.688 36.400
Photon Index (Fixed Index): 2.51 +/- 0.00
Photon Flux (Fixed Index): 4.24e-08 +/- 3.36e-08
Energy Flux (Fixed Index): 1.22e-05 +/- 9.68e-06

TS (Fixed Index): 2.54
Ra Dec: 166.688 36.400
Photon Flux Upper Limit: 1.13e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.79e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/432210/likelihoodResults_697852801_698112001_4FGL_J1106.7+3623_daily_bin1769.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) = 6359.95813892
delta logL = 0.791468813459

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6359.66581131
delta logL = 1.08379642735

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20002E-01   1.0000          .0000       .10000E+07
     2 'Index     '    6.1619       1.0000          .0000       10.000    
     3 'Normalizat'    .93303       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90664       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=   6359.666     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      318 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19876E-01    .14403        .17037E-03** at limit **
   2  Index         6.1648        2.0672        .86747E-01    .25218E-04
   3  Normalizat    .93318        .43437E-01    .45322E-01   -.27507E-04
   4  Prefactor     .90643        .52559E-01    .64553E-01   -.11165E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0198758
  Index      = 6.1648
  Normalizat = 0.93318
  Prefactor  = 0.906428
 **********
 **   18 **HESSE 
 **********

 FCN=   6359.666     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      353 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19876E-01    .29800        .60418E-05   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.1648        3.2025        .34944E-02    .23512    
   3  Normalizat    .93318        .14882        .23310E-03   -.95304    
   4  Prefactor     .90643        .17734        .28551E-03   -.95917    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.67548e-10
Minuit parameter uncertainties:
  1  0.153922
  2  3.49605
  3  0.148883
  4  0.177448
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/432210': 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) = 6359.66581022
delta logL = 1.08379752211

Extracting fit parameters...

4FGL J1106.7+3623
   Spectrum: PowerLaw
331    Prefactor:  1.988e-02  1.539e-01  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  6.165e+00  3.496e+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.064e-01  1.774e-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:  9.332e-01  1.489e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.11
Ra Dec: 166.688 36.400
Photon Index (Free Index): 6.16 +/- 3.50
Photon Flux (Free Index): 9.61e-08 +/- 5.08e-08
Energy Flux (Free Index): 1.19e-05 +/- 6.78e-06

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/432210/cmap_HighResolution_697852801_698112001_4FGL_J1106.7+3623_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.79e-03', comment='SUCCESS', photon_flux='4.24e-08', energy_flux2='1.19e-05', photon_flux_error='3.36e-08', dlogl='1.08e+00', energy_flux='1.22e-05', photon_flux2='9.61e-08', job_status='DONE', time_completed='2023-02-15 00:50:05.342678', photon_index_error2='3.50', photon_index2='6.16', ts='2.54', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', photon_flux_upper_limit='1.13e-07', energy_flux_error2='6.78e-06', EG='1.02', time_epoch_completed='1676451005.34', return_code='0', job_id='432210', GAL2='0.91', EG2='0.93', return_code2='102', energy_flux_error='9.68e-06', photon_flux_error2='5.08e-08', ts2='5.11', photon_index='2.51' WHERE bin_id='1769' AND source_name='4FGL J1106.7+3623' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 00:50:05 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 432210: <4FGL_J1106.7+3623_daily_bin1769> in cluster <slac> Done

Job <4FGL_J1106.7+3623_daily_bin1769> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Feb 15 00:35:28 2023
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 00:35:29 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 00:35:29 2023
Terminated at Wed Feb 15 00:50:06 2023
Results reported at Wed Feb 15 00:50:06 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1106.7+3623_daily_bin1769 166.688 36.3995 697852801 698112001 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 :                                   676.46 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             312.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   876 sec.
    Turnaround time :                            878 sec.

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

