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 216 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.0+2813_daily_bin1746
RA = 166.502, Dec = 28.2254
tmin = 691891201, tmax = 692150401
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='721363', job_status='RUN', time_executed='2022-12-08 00:44:04.693867', time_epoch_executed='1670489044.69' WHERE source_name='4FGL J1106.0+2813' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/721363

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/721363/ft1_4FGL_J1106.0+2813_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/721363/ft2_4FGL_J1106.0+2813_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/721363/ft1_4FGL_J1106.0+2813_daily_bin1746.fits outfile=/scratch/kocevski/721363/ft1_filteredMKT_4FGL_J1106.0+2813_daily_bin1746.fits ra=166.502 dec=28.2254 rad=12.0 tmin=691891201.0 tmax=692150401.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.71
user 4.45
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/721363/ft2_4FGL_J1106.0+2813_daily_bin1746.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/721363/ft1_filteredMKT_4FGL_J1106.0+2813_daily_bin1746.fits evtable="EVENTS" outfile="/scratch/kocevski/721363/ft1_filtered_4FGL_J1106.0+2813_daily_bin1746.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.52
user 0.31
sys 0.17

Number of photons that the gtmktime cut: 638

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/721363/ft1_filtered_4FGL_J1106.0+2813_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/721363/ft2_4FGL_J1106.0+2813_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/721363/ltcube_691891201_692150401_4FGL_J1106.0+2813_daily_bin1746.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/721363/ft2_4FGL_J1106.0+2813_daily_bin1746.fits
.....................!
real 11.75
user 11.38
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/721363/ft1_filtered_4FGL_J1106.0+2813_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/721363/ft2_4FGL_J1106.0+2813_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/721363/ltcube_691891201_692150401_4FGL_J1106.0+2813_daily_bin1746.fits outfile=/scratch/kocevski/721363/expmap_691891201_692150401_4FGL_J1106.0+2813_daily_bin1746.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/721363/ltcube_691891201_692150401_4FGL_J1106.0+2813_daily_bin1746.fits
.....................!
real 189.65
user 185.39
sys 3.96

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/721363/ft1_filtered_4FGL_J1106.0+2813_daily_bin1746.fits scfile=/scratch/kocevski/721363/ft2_4FGL_J1106.0+2813_daily_bin1746.fits outfile=/scratch/kocevski/721363/cmap_691891201_692150401_4FGL_J1106.0+2813_daily_bin1746.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.53
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/721363/ft1_filtered_4FGL_J1106.0+2813_daily_bin1746.fits scfile=/scratch/kocevski/721363/ft2_4FGL_J1106.0+2813_daily_bin1746.fits outfile=/scratch/kocevski/721363/cmap_HighResolution_691891201_692150401_4FGL_J1106.0+2813_daily_bin1746.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.51
user 0.37
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    119.98       1.0000          .0000       .10000E+07
     2 'Prefactor '    .40710E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .41691E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .90816E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    8.9921       1.0000          .0000       .10000E+07
     6 'Prefactor '    .11118E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    13.774       1.0000          .0000       .10000E+07
     8 'Prefactor '    .11716E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .19199       1.0000          .0000       .10000E+07
    10 'norm      '    2.4831       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.6984       1.0000          .0000       .10000E+07
    12 'Prefactor '    .22102E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .80248E-01   1.0000          .0000       .10000E+07
    14 'norm      '    31.247       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.6253       1.0000          .0000       .10000E+07
    16 'Prefactor '    .12308E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    3.0735       1.0000          .0000       .10000E+07
    18 'Prefactor '    .16231E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    .15090E-02   1.0000          .0000       .10000E+07
    20 'norm      '    2.8532       1.0000          .0000       .10000E+07
    21 'Prefactor '    .35575E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    1.8664       1.0000          .0000       .10000E+07
    23 'Prefactor '    24.638       1.0000          .0000       .10000E+07
    24 'Prefactor '    .43809E-06   1.0000          .0000       .10000E+07
    25 'norm      '    16.366       1.0000          .0000       .10000E+07
    26 'Normalizat'    1.3590       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .44264       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=   6946.882     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     2372 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     120.01        1.0399       -.45374E-08    .38400E-01
   2  Prefactor     .70333E-07    10.037        .15050E-06** at limit **
   3  Prefactor     .24736E-06    27.053       -.35403E-05** at limit **
   4  Prefactor      .0000        .86255       -.13982E-06** at limit **
   5  Prefactor     8.9892        1.4617        .12666E-06   -.13123E-01
   6  Prefactor     .24425E-08    6.8247        .32347E-06** at limit **
   7  Prefactor     13.772        1.5211       -.14645E-07    .14726E-01
   8  Prefactor     .26751E-06    7.7429       -.46215E-06** at limit **
   9  Prefactor     .11551        7.6395       -.16464E-05** at limit **
  10  norm          2.4840        .41450       -.14702E-07    .16192E-02
  11  Prefactor     6.6944        3.4208       -.44004E-07    .77650E-05
  12  Prefactor     .75329E-06    5.8535       -.42637E-06** at limit **
  13  Prefactor     .71443E-07    4.2490       -.39599E-06** at limit **
  14  norm          31.273        1.5781        .19800E-07   -.87780E-02
  15  Prefactor     2.6325        7.3186       -.57766E-06   -.98097E-02
  16  Prefactor     .77716E-09    2.6794       -.74017E-07** at limit **
  17  Prefactor     3.0714        2.2553       -.13834E-06   -.31420E-03
  18  Prefactor      .0000        21.165        .27981E-06** at limit **
  19  Prefactor     .35527E-08    3.0599       -.58194E-06** at limit **
  20  norm          2.8598        2.7650        .10043E-06   -.61820E-03
  21  Prefactor     .98810E-08    2.8027        .35372E-06** at limit **
  22  Prefactor     1.8736        3.7803       -.11851E-06   -.31051E-04
  23  Prefactor     24.689        1.4902        .91041E-08    .39182E-01
  24  Prefactor      .0000        1.5299        .31070E-06** at limit **
  25  norm          16.373        2.8235       -.63845E-07   -.85047E-03
  26  Normalizat    1.3591        .19814        .75221E-05    .25717E-04
  27  Prefactor     .44267        .20286       -.38172E-05   -.15778E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 120.013
  Prefactor  = 7.03326e-08
  Prefactor  = 2.47358e-07
  Prefactor  = 0
  Prefactor  = 8.98919
  Prefactor  = 2.44249e-09
  Prefactor  = 13.772
  Prefactor  = 2.67508e-07
  Prefactor  = 0.115515
  norm       = 2.48397
  Prefactor  = 6.69438
  Prefactor  = 7.53286e-07
  Prefactor  = 7.14429e-08
  norm       = 31.2728
  Prefactor  = 2.63253
  Prefactor  = 7.77156e-10
  Prefactor  = 3.07144
  Prefactor  = 0
  Prefactor  = 3.55271e-09
  norm       = 2.85983
  Prefactor  = 9.88098e-09
  Prefactor  = 1.87361
  Prefactor  = 24.6886
  Prefactor  = 0
  norm       = 16.3731
  Normalizat = 1.35906
  Prefactor  = 0.442673
 **********
 **   18 **HESSE 
 **********

 FCN=   6946.882     FROM HESSE     STATUS=OK           550 CALLS     2922 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     120.01        64.255        .91303E-04   -1.5489    
   2  Prefactor     .70333E-07    10.329        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .24736E-06    26.977        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        .85977        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.9892        10.089        .33400E-03   -1.5648    
   6  Prefactor     .24425E-08    6.8502        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     13.772        12.660        .26962E-03   -1.5634    
   8  Prefactor     .26751E-06    13.857        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .11551        10.241        .11920E-01   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.4840        .42890        .48014E-03   -1.5676    
  11  Prefactor     6.6944        3.4165        .38747E-03   -1.5656    
  12  Prefactor     .75329E-06    12.636        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .71443E-07    11.897        .10263E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          31.273        15.799        .17892E-03   -1.5596    
  15  Prefactor     2.6325        7.4247        .62915E-03   -1.5676    
  16  Prefactor     .77716E-09    2.8422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.0714        2.2725        .57832E-03   -1.5673    
  18  Prefactor      .0000        21.146        .17298E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .35527E-08    3.0973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.8598        2.7926        .60164E-03   -1.5674    
  21  Prefactor     .98810E-08    2.9809        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.8736        3.8188        .76224E-03   -1.5681    
  23  Prefactor     24.689        22.567        .20151E-03   -1.5609    
  24  Prefactor      .0000        1.5128        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          16.373        2.8697        .24731E-03   -1.5627    
  26  Normalizat    1.3591        .18252        .51716E-01   -.81820    
  27  Prefactor     .44267        .18378        .90561E-01   -1.1468    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.26207e-07
Minuit parameter uncertainties:
  1  64.2557
  2  0.00170483
  3  0.0051663
  4  3.05952e-07
  5  10.089
  6  0.000259044
  7  12.6599
  8  0.00385065
  9  2.17528
  10  0.428901
  11  3.41645
  12  0.00617053
  13  0.0018442
  14  15.7991
  15  7.42474
  16  9.52443e-05
  17  2.27246
  18  8.42011e-06
  19  0.000209036
  20  2.79261
  21  0.000343578
  22  3.81877
  23  22.5668
  24  4.57525e-07
  25  2.86965
  26  0.18261
  27  0.184023
Done.

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

Extracting fit parameters...

4FGL J1106.0+2813
   Spectrum: PowerLaw
253    Prefactor:  6.694e+00  3.416e+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:  4.427e-01  1.840e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  1.359e+00  1.826e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.94
Ra Dec: 166.502 28.225
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 7.90e-08 +/- 4.03e-08
Energy Flux (Fixed Index): 2.68e-05 +/- 1.37e-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) = 6946.43295422
delta logL = 0.448653553492

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6946.4048788
delta logL = 0.476728972579

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6946.405     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      273 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.5780        3.7310        .77384E-05    .86503E-02
   2  Index         2.8533        .56727        .48090E-02    .14272E-03
   3  Normalizat    1.3195        .20064        .23140E-03   -.22234E-03
   4  Prefactor     .47068        .20654        .39021E-03   -.19313E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.57803
  Index      = 2.85334
  Normalizat = 1.31947
  Prefactor  = 0.470678
 **********
 **   18 **HESSE 
 **********

 FCN=   6946.405     FROM HESSE     STATUS=OK            25 CALLS      298 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.5780        3.4271        .30953E-06   -1.5665    
   2  Index         2.8533        .52068        .19236E-03   -.44375    
   3  Normalizat    1.3195        .20041        .46281E-04   -.82987    
   4  Prefactor     .47068        .20629        .15608E-04   -1.1334    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.98147e-10
Minuit parameter uncertainties:
  1  3.42707
  2  0.52184
  3  0.200526
  4  0.206621
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/721363': 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) = 6946.40487797
delta logL = 0.476729807096

Extracting fit parameters...

4FGL J1106.0+2813
   Spectrum: PowerLaw
253    Prefactor:  4.578e+00  3.427e+00  0.000e+00  1.000e+06 ( 1.000e-12)
254        Index:  2.853e+00  5.218e-01  0.000e+00  1.000e+01 (-1.000e+00)
255        Scale:  8.523e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
556    Prefactor:  4.707e-01  2.066e-01  0.000e+00  1.000e+01 ( 1.000e+00)
557        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
558        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
555   Normalization:  1.319e+00  2.005e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.80
Ra Dec: 166.502 28.225
Photon Index (Free Index): 2.85 +/- 0.52
Photon Flux (Free Index): 1.12e-07 +/- 5.86e-08
Energy Flux (Free Index): 2.42e-05 +/- 1.13e-05

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/721363/cmap_HighResolution_691891201_692150401_4FGL_J1106.0+2813_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.90e-08', energy_flux2='2.42e-05', photon_flux_error='4.03e-08', dlogl='4.77e-01', energy_flux='2.68e-05', photon_flux2='1.12e-07', job_status='DONE', time_completed='2022-12-08 00:55:17.500005', photon_index_error2='0.52', photon_index2='2.85', ts='6.94', fit_tolerance='1e-08', GAL='0.44', photon_index_error='0.00', energy_flux_error2='1.13e-05', EG='1.36', time_epoch_completed='1670489717.5', return_code='0', job_id='721363', GAL2='0.47', EG2='1.32', return_code2='0', energy_flux_error='1.37e-05', photon_flux_error2='5.86e-08', ts2='7.80', photon_index='2.37' WHERE bin_id='1746' AND source_name='4FGL J1106.0+2813' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 00:55:17 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0164>
Subject: Job 721363: <4FGL_J1106.0+2813_daily_bin1746> in cluster <slac> Done

Job <4FGL_J1106.0+2813_daily_bin1746> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Dec  8 00:40:17 2022
Job was executed on host(s) <bullet0164>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 00:40:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 00:40:18 2022
Terminated at Thu Dec  8 00:55:18 2022
Results reported at Thu Dec  8 00:55:18 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1106.0+2813_daily_bin1746 166.502 28.2254 691891201 692150401 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 :                                   675.05 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             255.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   899 sec.
    Turnaround time :                            901 sec.

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

