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


Performing analysis on: 4FGL_J1106.0+2813_daily_bin1750
RA = 166.502, Dec = 28.2254
tmin = 692928001, tmax = 693187201
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='6755', job_status='RUN', time_executed='2022-12-20 00:36:07.890181', time_epoch_executed='1671525367.89' WHERE source_name='4FGL J1106.0+2813' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/6755

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/6755/ft1_4FGL_J1106.0+2813_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/6755/ft2_4FGL_J1106.0+2813_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/6755/ft1_4FGL_J1106.0+2813_daily_bin1750.fits outfile=/scratch/kocevski/6755/ft1_filteredMKT_4FGL_J1106.0+2813_daily_bin1750.fits ra=166.502 dec=28.2254 rad=12.0 tmin=692928001.0 tmax=693187201.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.46
user 3.21
sys 0.22

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

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

Number of photons that the gtmktime cut: 636

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/6755/ft1_filtered_4FGL_J1106.0+2813_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/6755/ft2_4FGL_J1106.0+2813_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/6755/ltcube_692928001_693187201_4FGL_J1106.0+2813_daily_bin1750.fits outfile=/scratch/kocevski/6755/expmap_692928001_693187201_4FGL_J1106.0+2813_daily_bin1750.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/6755/ltcube_692928001_693187201_4FGL_J1106.0+2813_daily_bin1750.fits
.....................!
real 192.56
user 186.96
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/6755/ft1_filtered_4FGL_J1106.0+2813_daily_bin1750.fits scfile=/scratch/kocevski/6755/ft2_4FGL_J1106.0+2813_daily_bin1750.fits outfile=/scratch/kocevski/6755/cmap_692928001_693187201_4FGL_J1106.0+2813_daily_bin1750.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/6755/ft1_filtered_4FGL_J1106.0+2813_daily_bin1750.fits scfile=/scratch/kocevski/6755/ft2_4FGL_J1106.0+2813_daily_bin1750.fits outfile=/scratch/kocevski/6755/cmap_HighResolution_692928001_693187201_4FGL_J1106.0+2813_daily_bin1750.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .54534       1.0000          .0000       .10000E+07
     2 'Prefactor '    .26388E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    4.7316       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.9882       1.0000          .0000       .10000E+07
     5 'Prefactor '    .85896       1.0000          .0000       .10000E+07
     6 'Prefactor '    .27223E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.0060       1.0000          .0000       .10000E+07
     8 'Prefactor '    .24006E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .36390E-04   1.0000          .0000       .10000E+07
    10 'norm      '    1.5156       1.0000          .0000       .10000E+07
    11 'Prefactor '    .48056       1.0000          .0000       .10000E+07
    12 'Prefactor '    8.4131       1.0000          .0000       .10000E+07
    13 'Prefactor '    .10761E-02   1.0000          .0000       .10000E+07
    14 'norm      '    3.6457       1.0000          .0000       .10000E+07
    15 'Prefactor '    .66732E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .14504E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .70489E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .64228       1.0000          .0000       .10000E+07
    19 'Prefactor '    .43587E-02   1.0000          .0000       .10000E+07
    20 'norm      '    .45137E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    .29487E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    5.0434       1.0000          .0000       .10000E+07
    23 'Prefactor '    3.1252       1.0000          .0000       .10000E+07
    24 'Prefactor '    .22644       1.0000          .0000       .10000E+07
    25 'norm      '    33.384       1.0000          .0000       .10000E+07
    26 'Normalizat'    1.1272       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .83332       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=   6746.131     FROM MIGRAD    STATUS=CONVERGED    187 CALLS     2430 TOTAL
                     EDM=   .73E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .48538E-05    866.40       -.19992E-06** at limit **
   2  Prefactor     .13267E-07    20.937       -.40441E-05** at limit **
   3  Prefactor     4.7302        5.8551       -.62197E-07   -.17731E-02
   4  Prefactor     2.9874        2.0458       -.52761E-06   -.41794E-02
   5  Prefactor     .87310        2.1305       -.25173E-06   -.37449E-02
   6  Prefactor      .0000        28.048        .20254E-06** at limit **
   7  Prefactor     5.9761        8.9135        .42732E-06   -.28938E-02
   8  Prefactor     .17208E-07    8.8509       -.81140E-06** at limit **
   9  Prefactor     .50515E-08    33.097        .71578E-05** at limit **
  10  norm          1.5154        .34782        .60436E-08   -.10535E-01
  11  Prefactor     .48827        2.5609       -.19226E-06   -.21535E-02
  12  Prefactor     8.4243        2.8463       -.35503E-06   -.36452E-01
  13  Prefactor     .55511E-10    8.2934        .16007E-05** at limit **
  14  norm          3.6367        2.8744       -.60949E-06   -.38835E-01
  15  Prefactor      .0000        1.7963        .94256E-07** at limit **
  16  Prefactor     .55511E-10    2.5244        .14601E-06** at limit **
  17  Prefactor      .0000        1.8799        .80788E-06** at limit **
  18  Prefactor     .11400        164.94        .49333E-07** at limit **
  19  Prefactor     .16653E-09    13.614        .14474E-05** at limit **
  20  norm          .14805E-06    19.269       -.40480E-05** at limit **
  21  Prefactor     .11102E-09    5.9545        .10192E-05** at limit **
  22  Prefactor     5.0244        5.3067       -.10218E-06    .20127E-03
  23  Prefactor     3.1353        1.8483        .38505E-06    .14602E-01
  24  Prefactor     .22593        .83532       -.18166E-06** at limit **
  25  norm          33.390        3.7714       -.86398E-08   -.40992E-02
  26  Normalizat    1.1275        .20142        .11014E-04    .35515E-03
  27  Prefactor     .83357        .21954        .61789E-05    .20792E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.85384e-06
  Prefactor  = 1.32672e-08
  Prefactor  = 4.73024
  Prefactor  = 2.9874
  Prefactor  = 0.873099
  Prefactor  = 0
  Prefactor  = 5.97605
  Prefactor  = 1.72085e-08
  Prefactor  = 5.05151e-09
  norm       = 1.51543
  Prefactor  = 0.488271
  Prefactor  = 8.4243
  Prefactor  = 5.55112e-11
  norm       = 3.63668
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 0.113997
  Prefactor  = 1.66533e-10
  norm       = 1.48048e-07
  Prefactor  = 1.11022e-10
  Prefactor  = 5.0244
  Prefactor  = 3.13527
  Prefactor  = 0.225934
  norm       = 33.3903
  Normalizat = 1.1275
  Prefactor  = 0.833571
 **********
 **   18 **HESSE 
 **********

 FCN=   6746.131     FROM HESSE     STATUS=OK           564 CALLS     2994 TOTAL
                     EDM=   .14E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .48538E-05    62.548        .14226E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .13267E-07    21.071        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.7302        5.9008        .46234E-03   -1.5664    
   4  Prefactor     2.9874        2.0536        .58701E-03   -1.5673    
   5  Prefactor     .87310        39.390        .48640E-03   -1.5689    
   6  Prefactor      .0000        27.563        .16601E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.9761        15.818        .40948E-03   -1.5659    
   8  Prefactor     .17208E-07    9.0503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .50515E-08    33.142        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.5154        .36074        .50661E-03   -1.5683    
  11  Prefactor     .48827        2.5689        .80690E-03   -1.5694    
  12  Prefactor     8.4243        18.777        .34538E-03   -1.5650    
  13  Prefactor     .55511E-10    8.3254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.6367        17.572        .52883E-03   -1.5670    
  15  Prefactor      .0000        1.7949        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .55511E-10    2.5325        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        1.8821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .11400        31.110        .12149E-01   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .16653E-09    13.618        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .14805E-06    1.2632        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .11102E-09    5.9707        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     5.0244        5.3428        .44752E-03   -1.5663    
  23  Prefactor     3.1353        17.317        .57326E-03   -1.5673    
  24  Prefactor     .22593        .76326        .33455E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          33.390        3.8061        .17310E-03   -1.5592    
  26  Normalizat    1.1275        .17593        .54847E-01   -.88874    
  27  Prefactor     .83357        .18531        .70087E-01   -.98502    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.35495e-07
Minuit parameter uncertainties:
  1  0.0348483
  2  0.00105685
  3  5.90083
  4  2.05359
  5  11.729
  6  2.76602e-05
  7  15.8178
  8  0.000788664
  9  0.000820334
  10  0.360739
  11  2.23995
  12  18.7773
  13  4.33457e-05
  14  15.9882
  15  8.10292e-06
  16  1.78913e-05
  17  8.26892e-06
  18  3.76641
  19  9.29309e-05
  20  0.00086493
  21  5.62251e-05
  22  5.34276
  23  14.7367
  24  0.76326
  25  3.80612
  26  0.176022
  27  0.185445
Done.

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

Extracting fit parameters...

4FGL J1106.0+2813
   Spectrum: PowerLaw
253    Prefactor:  4.883e-01  2.240e+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:  8.336e-01  1.854e-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.127e+00  1.760e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.05
Ra Dec: 166.502 28.225
Photon Flux Upper Limit: 7.63e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/6755/likelihoodResults_692928001_693187201_4FGL_J1106.0+2813_daily_bin1750.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) = 6746.12670273
delta logL = 0.0044035977262

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6746.12645888
delta logL = 0.00464745136105

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .44265       1.0000          .0000       .10000E+07
     2 'Index     '    2.5717       1.0000          .0000       10.000    
     3 'Normalizat'    1.1261       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83429       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=   6746.126     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      272 TOTAL
                     EDM=   .73E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44425        2.6998        .21704E-04    .10110E-03
   2  Index         2.5749        2.1460        .80396E-02    .14593E-05
   3  Normalizat    1.1257        .19751        .24269E-03   -.40286E-05
   4  Prefactor     .83479        .21981        .30990E-03    .34117E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.444252
  Index      = 2.57492
  Normalizat = 1.12572
  Prefactor  = 0.834795
 **********
 **   18 **HESSE 
 **********

 FCN=   6746.126     FROM HESSE     STATUS=OK            25 CALLS      297 TOTAL
                     EDM=   .33E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44425        2.4459        .86814E-06   -1.5695    
   2  Index         2.5749        2.0515        .32158E-03   -.50638    
   3  Normalizat    1.1257        .19773        .97077E-05   -.88930    
   4  Prefactor     .83479        .21997        .12396E-04   -.98458    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.26608e-13
Minuit parameter uncertainties:
  1  2.0848
  2  2.13533
  3  0.197865
  4  0.220201
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/6755': 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) = 6746.12645405
delta logL = 0.00465228368921

Extracting fit parameters...

4FGL J1106.0+2813
   Spectrum: PowerLaw
253    Prefactor:  4.443e-01  2.085e+00  0.000e+00  1.000e+06 ( 1.000e-12)
254        Index:  2.575e+00  2.135e+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:  8.348e-01  2.202e-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.126e+00  1.979e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.05
Ra Dec: 166.502 28.225

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/6755/cmap_HighResolution_692928001_693187201_4FGL_J1106.0+2813_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.88e-03', job_status='DONE', photon_flux_upper_limit='7.63e-08', time_completed='2022-12-20 00:48:05.336100', job_id='6755', GAL2='0.83', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1671526085.34', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='4.65e-03', ts2='0.06', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1750' AND source_name='4FGL J1106.0+2813' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 00:48:05 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 6755: <4FGL_J1106.0+2813_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1106.0+2813_daily_bin1750> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Dec 20 00:35:14 2022
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 00:35:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 00:35:15 2022
Terminated at Tue Dec 20 00:48:05 2022
Results reported at Tue Dec 20 00:48:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1106.0+2813_daily_bin1750 166.502 28.2254 692928001 693187201 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 :                                   718.41 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             332.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   770 sec.
    Turnaround time :                            771 sec.

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

