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


Performing analysis on: 4FGL_J1106.0+2813_daily_bin1751
RA = 166.502, Dec = 28.2254
tmin = 693187201, tmax = 693446401
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='75222', job_status='RUN', time_executed='2022-12-23 00:32:58.064636', time_epoch_executed='1671784378.06' WHERE source_name='4FGL J1106.0+2813' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/75222

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/75222/ft1_4FGL_J1106.0+2813_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/75222/ft2_4FGL_J1106.0+2813_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/75222/ft1_4FGL_J1106.0+2813_daily_bin1751.fits outfile=/scratch/kocevski/75222/ft1_filteredMKT_4FGL_J1106.0+2813_daily_bin1751.fits ra=166.502 dec=28.2254 rad=12.0 tmin=693187201.0 tmax=693446401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.69
user 3.38
sys 0.25

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

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

Number of photons that the gtmktime cut: 673

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/75222/ft1_filtered_4FGL_J1106.0+2813_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/75222/ft2_4FGL_J1106.0+2813_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/75222/ltcube_693187201_693446401_4FGL_J1106.0+2813_daily_bin1751.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/75222/ft2_4FGL_J1106.0+2813_daily_bin1751.fits
.....................!
real 12.24
user 11.58
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/75222/ft1_filtered_4FGL_J1106.0+2813_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/75222/ft2_4FGL_J1106.0+2813_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/75222/ltcube_693187201_693446401_4FGL_J1106.0+2813_daily_bin1751.fits outfile=/scratch/kocevski/75222/expmap_693187201_693446401_4FGL_J1106.0+2813_daily_bin1751.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/75222/ltcube_693187201_693446401_4FGL_J1106.0+2813_daily_bin1751.fits
.....................!
real 190.13
user 184.86
sys 4.92

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/75222/ft1_filtered_4FGL_J1106.0+2813_daily_bin1751.fits scfile=/scratch/kocevski/75222/ft2_4FGL_J1106.0+2813_daily_bin1751.fits outfile=/scratch/kocevski/75222/cmap_693187201_693446401_4FGL_J1106.0+2813_daily_bin1751.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/75222/ft1_filtered_4FGL_J1106.0+2813_daily_bin1751.fits scfile=/scratch/kocevski/75222/ft2_4FGL_J1106.0+2813_daily_bin1751.fits outfile=/scratch/kocevski/75222/cmap_HighResolution_693187201_693446401_4FGL_J1106.0+2813_daily_bin1751.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.739       1.0000          .0000       .10000E+07
     2 'Prefactor '    .11849E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    7.4344       1.0000          .0000       .10000E+07
     4 'Prefactor '    .25067E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    18.462       1.0000          .0000       .10000E+07
     6 'Prefactor '    .15364E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.6672       1.0000          .0000       .10000E+07
     8 'Prefactor '    .18999E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .15185E-04   1.0000          .0000       .10000E+07
    10 'norm      '    2.2761       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.6407       1.0000          .0000       .10000E+07
    12 'Prefactor '    21.471       1.0000          .0000       .10000E+07
    13 'Prefactor '    .44697E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .48771E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .51727E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .46234E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .45039       1.0000          .0000       .10000E+07
    18 'Prefactor '    .37284E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .18706E-03   1.0000          .0000       .10000E+07
    20 'norm      '    .51242E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    15.444       1.0000          .0000       .10000E+07
    22 'Prefactor '    19.251       1.0000          .0000       .10000E+07
    23 'Prefactor '    .30528E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .63993E-06   1.0000          .0000       .10000E+07
    25 'norm      '    20.507       1.0000          .0000       .10000E+07
    26 'Normalizat'    .94418       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0085       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=   7178.040     FROM MIGRAD    STATUS=CONVERGED    197 CALLS     2418 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.046        55.838       -.31850E-07   -.94738E-03
   2  Prefactor     .38858E-09    50.178        .59154E-06** at limit **
   3  Prefactor     7.3691        7.2601        .50530E-07   -.61658E-04
   4  Prefactor      .0000        .80716       -.41928E-07** at limit **
   5  Prefactor     18.442        3.0318        .17388E-07    .19244E-02
   6  Prefactor      .0000        13.890        .18744E-06** at limit **
   7  Prefactor     6.6393        7.1262        .16248E-07   -.90965E-04
   8  Prefactor     .66613E-09    9.7585        .29994E-06** at limit **
   9  Prefactor     .22760E-08    5.2949        .19547E-06** at limit **
  10  norm          2.2761        .39626        .64746E-08   -.20236E-02
  11  Prefactor     2.6439        2.8765       -.43434E-07    .31747E-03
  12  Prefactor     21.520        15.055       -.95241E-07    .15780E-01
  13  Prefactor     .11091E-06    3.1527       -.55696E-07** at limit **
  14  norm          .21816E-07    6.3097       -.13253E-07** at limit **
  15  Prefactor      .0000        2.3494       -.79565E-07** at limit **
  16  Prefactor      .0000        4.6015        .27199E-06** at limit **
  17  Prefactor     .44265        1.7506       -.89953E-07    .21741E-03
  18  Prefactor      .0000        30.046        .48026E-06** at limit **
  19  Prefactor     .55511E-09    4.7434        .20938E-06** at limit **
  20  norm           .0000        1.0265        .17932E-06** at limit **
  21  Prefactor     15.467        1.5054       -.83287E-08    .11938E-01
  22  Prefactor     19.401        6.7335       -.36339E-07   -.13727E-03
  23  Prefactor     .58231E-07    4.3830       -.73725E-07** at limit **
  24  Prefactor      .0000        .44693        .65448E-07** at limit **
  25  norm          20.509        3.0667        .12271E-08   -.58829E-03
  26  Normalizat    .94307        .21154        .61318E-05    .99129E-05
  27  Prefactor     1.0089        .22409       -.77139E-05    .41490E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.0457
  Prefactor  = 3.88578e-10
  Prefactor  = 7.36907
  Prefactor  = 0
  Prefactor  = 18.442
  Prefactor  = 0
  Prefactor  = 6.63932
  Prefactor  = 6.66134e-10
  Prefactor  = 2.27596e-09
  norm       = 2.27613
  Prefactor  = 2.64392
  Prefactor  = 21.5202
  Prefactor  = 1.10911e-07
  norm       = 2.18159e-08
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0.442645
  Prefactor  = 0
  Prefactor  = 5.55112e-10
  norm       = 0
  Prefactor  = 15.4671
  Prefactor  = 19.4005
  Prefactor  = 5.82312e-08
  Prefactor  = 0
  norm       = 20.5094
  Normalizat = 0.943072
  Prefactor  = 1.00888
 **********
 **   18 **HESSE 
 **********

 FCN=   7178.040     FROM HESSE     STATUS=OK           538 CALLS     2956 TOTAL
                     EDM=   .51E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.046        55.536        .19715E-03   -1.5604    
   2  Prefactor     .38858E-09    50.087        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.3691        7.6201        .36759E-03   -1.5654    
   4  Prefactor      .0000        .80581        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     18.442        11.015        .23282E-03   -1.5622    
   6  Prefactor      .0000        13.819        .17363E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.6393        7.9574        .38839E-03   -1.5656    
   8  Prefactor     .66613E-09    9.7739        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .22760E-08    5.3760        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.2761        .39606        .47517E-03   -1.5678    
  11  Prefactor     2.6439        2.8821        .62717E-03   -1.5675    
  12  Prefactor     21.520        15.686        .21587E-03   -1.5615    
  13  Prefactor     .11091E-06    6.4687        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .21816E-07    6.9982        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        2.3524        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        4.6034        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .44265        1.7824        .83866E-03   -1.5695    
  18  Prefactor      .0000        30.065        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .55511E-09    4.7540        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        1.0233        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     15.467        13.499        .25459E-03   -1.5629    
  22  Prefactor     19.401        6.8120        .22800E-03   -1.5620    
  23  Prefactor     .58231E-07    6.1099        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor      .0000        .44605        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          20.509        3.0706        .22089E-03   -1.5617    
  26  Normalizat    .94307        .18103        .45464E-01   -.94963    
  27  Prefactor     1.0089        .18976        .66811E-01   -.92434    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.08208e-08
Minuit parameter uncertainties:
  1  55.5368
  2  0.000272697
  3  7.62015
  4  4.3443e-09
  5  11.0146
  6  1.23001e-05
  7  7.95738
  8  0.000163613
  9  0.000220479
  10  0.396059
  11  2.88212
  12  15.6864
  13  0.00169399
  14  0.000781929
  15  3.11862e-06
  16  1.96093e-05
  17  1.77648
  18  2.2339e-05
  19  0.000102571
  20  5.1358e-06
  21  13.4986
  22  6.812
  23  0.00119296
  24  6.55061e-07
  25  3.07064
  26  0.181152
  27  0.189884
Done.

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

Extracting fit parameters...

4FGL J1106.0+2813
   Spectrum: PowerLaw
253    Prefactor:  2.644e+00  2.882e+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

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  1.009e+00  1.899e-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:  9.431e-01  1.812e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.10
Ra Dec: 166.502 28.225
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 3.12e-08 +/- 3.40e-08
Energy Flux (Fixed Index): 1.06e-05 +/- 1.15e-05

TS (Fixed Index): 1.10
Ra Dec: 166.502 28.225
Photon Flux Upper Limit: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.93e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/75222/likelihoodResults_693187201_693446401_4FGL_J1106.0+2813_daily_bin1751.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) = 7177.13359407
delta logL = 0.906306410317

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7176.93252035
delta logL = 1.10738012882

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .46197       1.0000          .0000       .10000E+07
     2 'Index     '    .81680       1.0000          .0000       10.000    
     3 'Normalizat'    .96350       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0079       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=   7176.933     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      218 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .46220        .55603        .82631E-03    .15302E-01
   2  Index         .81660        .36880        .22482       -.22112E-03
   3  Normalizat    .96350        .16591        .45708E-01   -.25769E-03
   4  Prefactor     1.0079        .18898        .66839E-01   -.23005E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.462202
  Index      = 0.816601
  Normalizat = 0.963496
  Prefactor  = 1.00789
 **********
 **   18 **HESSE 
 **********

 FCN=   7176.933     FROM HESSE     STATUS=OK            29 CALLS      247 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .46220        1.5281        .59570E-05   -1.5694    
   2  Index         .81660        .98847        .98409E-03   -.99119    
   3  Normalizat    .96350        .19554        .26618E-03   -.94264    
   4  Prefactor     1.0079        .22274        .29564E-03   -.92467    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.86203e-10
Minuit parameter uncertainties:
  1  1.52808
  2  1.0113
  3  0.195681
  4  0.222947
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/75222': 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) = 7176.9325198
delta logL = 1.107380676

Extracting fit parameters...

4FGL J1106.0+2813
   Spectrum: PowerLaw
253    Prefactor:  4.622e-01  1.528e+00  0.000e+00  1.000e+06 ( 1.000e-12)
254        Index:  8.166e-01  1.011e+00  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:  1.008e+00  2.229e-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:  9.635e-01  1.957e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.28
Ra Dec: 166.502 28.225
Photon Index (Free Index): 0.82 +/- 1.01
Photon Flux (Free Index): 3.70e-09 +/- 5.64e-09
Energy Flux (Free Index): 7.98e-05 +/- 1.09e-04

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/75222/cmap_HighResolution_693187201_693446401_4FGL_J1106.0+2813_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.93e-03', comment='SUCCESS', photon_flux='3.12e-08', energy_flux2='7.98e-05', photon_flux_error='3.40e-08', dlogl='1.11e+00', energy_flux='1.06e-05', photon_flux2='3.70e-09', job_status='DONE', time_completed='2022-12-23 00:45:05.501391', photon_index_error2='1.01', photon_index2='0.82', ts='1.10', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='1.03e-07', energy_flux_error2='1.09e-04', EG='0.94', time_epoch_completed='1671785105.5', return_code='0', job_id='75222', GAL2='1.01', EG2='0.96', return_code2='0', energy_flux_error='1.15e-05', photon_flux_error2='5.64e-09', ts2='3.28', photon_index='2.37' WHERE bin_id='1751' AND source_name='4FGL J1106.0+2813' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 00:45:05 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0121>
Subject: Job 75222: <4FGL_J1106.0+2813_daily_bin1751> in cluster <slac> Done

Job <4FGL_J1106.0+2813_daily_bin1751> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Dec 23 00:30:23 2022
Job was executed on host(s) <bullet0121>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:30:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:30:24 2022
Terminated at Fri Dec 23 00:45:06 2022
Results reported at Fri Dec 23 00:45:06 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1106.0+2813_daily_bin1751 166.502 28.2254 693187201 693446401 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 :                                   722.21 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             263.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   881 sec.
    Turnaround time :                            883 sec.

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

