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


Performing analysis on: 4FGL_J1106.7+3623_daily_bin1756
RA = 166.688, Dec = 36.3995
tmin = 694483201, tmax = 694742401
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='10536', job_status='RUN', time_executed='2023-01-07 00:46:30.996998', time_epoch_executed='1673081191.0' WHERE source_name='4FGL J1106.7+3623' and cadence='daily' and bin_id='1756'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/10536

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/10536/ft1_4FGL_J1106.7+3623_daily_bin1756.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/10536/ft2_4FGL_J1106.7+3623_daily_bin1756.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/10536/ft1_4FGL_J1106.7+3623_daily_bin1756.fits outfile=/scratch/kocevski/10536/ft1_filteredMKT_4FGL_J1106.7+3623_daily_bin1756.fits ra=166.688 dec=36.3995 rad=12.0 tmin=694483201.0 tmax=694742401.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.98
user 2.75
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/10536/ft1_filtered_4FGL_J1106.7+3623_daily_bin1756.fits" evtable="EVENTS" scfile=/scratch/kocevski/10536/ft2_4FGL_J1106.7+3623_daily_bin1756.fits sctable="SC_DATA" outfile=/scratch/kocevski/10536/ltcube_694483201_694742401_4FGL_J1106.7+3623_daily_bin1756.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/10536/ft2_4FGL_J1106.7+3623_daily_bin1756.fits
.....................!
real 16.06
user 15.64
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/10536/ft1_filtered_4FGL_J1106.7+3623_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/10536/ft2_4FGL_J1106.7+3623_daily_bin1756.fits sctable="SC_DATA" expcube=/scratch/kocevski/10536/ltcube_694483201_694742401_4FGL_J1106.7+3623_daily_bin1756.fits outfile=/scratch/kocevski/10536/expmap_694483201_694742401_4FGL_J1106.7+3623_daily_bin1756.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/10536/ltcube_694483201_694742401_4FGL_J1106.7+3623_daily_bin1756.fits
.....................!
real 192.77
user 187.67
sys 4.73

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/10536/ft1_filtered_4FGL_J1106.7+3623_daily_bin1756.fits scfile=/scratch/kocevski/10536/ft2_4FGL_J1106.7+3623_daily_bin1756.fits outfile=/scratch/kocevski/10536/cmap_694483201_694742401_4FGL_J1106.7+3623_daily_bin1756.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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/10536/ft1_filtered_4FGL_J1106.7+3623_daily_bin1756.fits scfile=/scratch/kocevski/10536/ft2_4FGL_J1106.7+3623_daily_bin1756.fits outfile=/scratch/kocevski/10536/cmap_HighResolution_694483201_694742401_4FGL_J1106.7+3623_daily_bin1756.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.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/10536/ft1_filtered_4FGL_J1106.7+3623_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/10536/ft2_4FGL_J1106.7+3623_daily_bin1756.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/10536/Model_4FGL_J1106.7+3623_daily_bin1756.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/10536/ft1_filtered_4FGL_J1106.7+3623_daily_bin1756.fits.....................!
real 53.30
user 52.00
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .58028E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .96499E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .90665E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    95.999       1.0000          .0000       .10000E+07
     5 'Prefactor '    .69691E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.0144       1.0000          .0000       .10000E+07
     7 'Prefactor '    .68307       1.0000          .0000       .10000E+07
     8 'Prefactor '    .16964E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    9.8364       1.0000          .0000       .10000E+07
    10 'norm      '    2.8015       1.0000          .0000       .10000E+07
    11 'Prefactor '    .67959E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    30.494       1.0000          .0000       .10000E+07
    13 'Prefactor '    .37886E-03   1.0000          .0000       .10000E+07
    14 'norm      '    3.1580       1.0000          .0000       .10000E+07
    15 'Prefactor '    .27389E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    44.235       1.0000          .0000       .10000E+07
    17 'Prefactor '    .55726E-02   1.0000          .0000       .10000E+07
    18 'norm      '    .41163E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    16.455       1.0000          .0000       .10000E+07
    20 'Prefactor '    .15502E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .33679E-04   1.0000          .0000       .10000E+07
    22 'norm      '    1.7217       1.0000          .0000       .10000E+07
    23 'norm      '    10.331       1.0000          .0000       .10000E+07
    24 'Prefactor '    24.246       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1260       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.1277       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=   5892.384     FROM MIGRAD    STATUS=CONVERGED    163 CALLS     2262 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .31786E-06    8.0577        .55288E-05** at limit **
   2  Prefactor     .23471E-05    18.529       -.12876E-06** at limit **
   3  norm          .46725E-05    12.149       -.13362E-05** at limit **
   4  Prefactor     96.035        2.7537        .27537E-06   -.10273    
   5  Prefactor     .40174E-05    56.510       -.38635E-06** at limit **
   6  Prefactor     3.0122        4.1402       -.73182E-08   -.95474E-03
   7  Prefactor     .92427        3.0845        .16297E-05   -.11451E-01
   8  Prefactor     .27756E-09    26.293        .56661E-06** at limit **
   9  Prefactor     9.8422        9.9447       -.35053E-06   -.43412E-02
  10  norm          2.8015        .49433       -.27460E-07   -.17168E-01
  11  Prefactor      .0000        2.2667        .52199E-06** at limit **
  12  Prefactor     30.494        1.1940       -.90099E-07    .49833E-02
  13  Prefactor     .19773E-06    7.7962       -.39596E-05** at limit **
  14  norm          3.1483        7.2581        .40284E-06    .29325E-03
  15  Prefactor      .0000        1.5847        .22101E-06** at limit **
  16  Prefactor     44.716        12.512        .11776E-05   -.15143    
  17  Prefactor     .43687E-07    12.909        .29044E-06** at limit **
  18  norm          .16653E-09    4.3524       -.31193E-06** at limit **
  19  Prefactor     16.438        1.3400        .20612E-06   -.55962E-02
  20  Prefactor     .28311E-08    6.0698       -.44791E-06** at limit **
  21  Prefactor     .31153E-06    26.126        .42307E-05** at limit **
  22  norm          1.7202        .94861       -.55326E-07    .82166E-02
  23  norm          10.334        7.9458        .63506E-07    .78367E-03
  24  Prefactor     24.497        1.5691       -.77630E-07    .53528E-02
  25  Normalizat    1.1257        .23094        .69936E-05    .83147E-04
  26  Prefactor     1.1275        .27220        .12401E-05   -.36066E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.17857e-07
  Prefactor  = 2.34712e-06
  norm       = 4.67248e-06
  Prefactor  = 96.0346
  Prefactor  = 4.0174e-06
  Prefactor  = 3.01216
  Prefactor  = 0.924272
  Prefactor  = 2.77556e-10
  Prefactor  = 9.84217
  norm       = 2.80149
  Prefactor  = 0
  Prefactor  = 30.4939
  Prefactor  = 1.97731e-07
  norm       = 3.14834
  Prefactor  = 0
  Prefactor  = 44.7155
  Prefactor  = 4.36873e-08
  norm       = 1.66533e-10
  Prefactor  = 16.438
  Prefactor  = 2.83107e-09
  Prefactor  = 3.11529e-07
  norm       = 1.72016
  norm       = 10.3335
  Prefactor  = 24.4969
  Normalizat = 1.12567
  Prefactor  = 1.12746
 **********
 **   18 **HESSE 
 **********

 FCN=   5892.384     FROM HESSE     STATUS=OK           508 CALLS     2770 TOTAL
                     EDM=   .22E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .31786E-06    8.3089        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .23471E-05    23.189        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .46725E-05    27.332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     96.035        84.712        .10207E-03   -1.5512    
   5  Prefactor     .40174E-05    61.309        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.0122        4.1550        .58431E-03   -1.5673    
   7  Prefactor     .92427        142.62        .62093E-03   -1.5689    
   8  Prefactor     .27756E-09    26.292        .17245E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.8422        9.9521        .31926E-03   -1.5645    
  10  norm          2.8015        .50407        .49609E-03   -1.5674    
  11  Prefactor      .0000        2.2572        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     30.494        17.633        .18112E-03   -1.5598    
  13  Prefactor     .19773E-06    7.9854        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.1483        7.3281        .57010E-03   -1.5672    
  15  Prefactor      .0000        1.5724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     44.716        42.312        .15037E-03   -1.5574    
  17  Prefactor     .43687E-07    12.948        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .16653E-09    4.2307        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     16.438        17.420        .24663E-03   -1.5627    
  20  Prefactor     .28311E-08    6.0217        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .31153E-06    32.698        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.7202        .96988        .80023E-03   -1.5682    
  23  norm          10.334        7.9929        .31149E-03   -1.5644    
  24  Prefactor     24.497        34.013        .20313E-03   -1.5609    
  25  Normalizat    1.1257        .19737        .59555E-01   -.88932    
  26  Prefactor     1.1275        .22954        .70428E-01   -.88594    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.23473e-06
Minuit parameter uncertainties:
  1  0.00325018
  2  0.0147552
  3  0.022602
  4  84.713
  5  0.0313884
  6  4.15499
  7  22.9634
  8  0.000170212
  9  9.95215
  10  0.504075
  11  1.39843e-05
  12  17.6327
  13  0.00251313
  14  7.32811
  15  1.3163e-05
  16  42.3124
  17  0.00150404
  18  5.23061e-05
  19  17.4198
  20  0.000260575
  21  0.00638338
  22  0.969882
  23  7.99289
  24  34.0135
  25  0.197499
  26  0.229742
Done.

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

Extracting fit parameters...

4FGL J1106.7+3623
   Spectrum: PowerLaw
331    Prefactor:  3.049e+01  1.763e+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:  1.127e+00  2.297e-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.126e+00  1.975e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.72
Ra Dec: 166.688 36.400
Photon Index (Fixed Index): 2.51 +/- 0.00
Photon Flux (Fixed Index): 8.08e-08 +/- 4.67e-08
Energy Flux (Fixed Index): 2.32e-05 +/- 1.34e-05

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) = 5889.31926346
delta logL = 3.06466044696

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5889.27889704
delta logL = 3.10502686973

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5889.279     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      225 TOTAL
                     EDM=   .47E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.892        28.643       -.46139E-06   -.38827E-03
   2  Index         1.2529        .54136       -.21328E-04    .95971E-05
   3  Normalizat    1.1788        .19153       -.44270E-07    .48201E-04
   4  Prefactor     1.1009        .22778        .45403E-06    .58103E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.8916
  Index      = 1.25295
  Normalizat = 1.17884
  Prefactor  = 1.10094
 **********
 **   18 **HESSE 
 **********

 FCN=   5889.279     FROM HESSE     STATUS=OK            33 CALLS      258 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.892        27.063        .83612E-05   -1.5612    
   2  Index         1.2529        .51473        .68467E-02   -.84717    
   3  Normalizat    1.1788        .22890        .25881E-03   -.87259    
   4  Prefactor     1.1009        .27185        .31550E-03   -.89436    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49861e-09
Minuit parameter uncertainties:
  1  27.0631
  2  0.516829
  3  0.229089
  4  0.272193
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/10536': 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) = 5889.278897
delta logL = 3.10502691367

Extracting fit parameters...

4FGL J1106.7+3623
   Spectrum: PowerLaw
331    Prefactor:  2.289e+01  2.706e+01  0.000e+00  1.000e+06 ( 1.000e-13)
332        Index:  1.253e+00  5.168e-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:  1.101e+00  2.722e-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.179e+00  2.291e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.93
Ra Dec: 166.688 36.400
Photon Index (Free Index): 1.25 +/- 0.52
Photon Flux (Free Index): 1.49e-08 +/- 1.70e-08
Energy Flux (Free Index): 1.06e-04 +/- 1.09e-04

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/10536/cmap_HighResolution_694483201_694742401_4FGL_J1106.7+3623_daily_bin1756.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.08e-08', energy_flux2='1.06e-04', photon_flux_error='4.67e-08', dlogl='3.11e+00', energy_flux='2.32e-05', photon_flux2='1.49e-08', job_status='DONE', time_completed='2023-01-07 00:56:59.798925', photon_index_error2='0.52', photon_index2='1.25', ts='9.72', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', energy_flux_error2='1.09e-04', EG='1.13', time_epoch_completed='1673081819.8', return_code='0', job_id='10536', GAL2='1.10', EG2='1.18', return_code2='0', energy_flux_error='1.34e-05', photon_flux_error2='1.70e-08', ts2='15.93', photon_index='2.51' WHERE bin_id='1756' AND source_name='4FGL J1106.7+3623' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan  7 00:56:59 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 10536: <4FGL_J1106.7+3623_daily_bin1756> in cluster <slac> Done

Job <4FGL_J1106.7+3623_daily_bin1756> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Jan  7 00:40:27 2023
Job was executed on host(s) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan  7 00:44:52 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan  7 00:44:52 2023
Terminated at Sat Jan  7 00:57:00 2023
Results reported at Sat Jan  7 00:57:00 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1106.7+3623_daily_bin1756 166.688 36.3995 694483201 694742401 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 :                                   631.06 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             298.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   728 sec.
    Turnaround time :                            993 sec.

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

