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


Performing analysis on: 4FGL_J1106.0+2813_daily_bin1780
RA = 166.502, Dec = 28.2254
tmin = 700704001, tmax = 700963201
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='59994', job_status='RUN', time_executed='2023-03-20 00:40:58.758735', time_epoch_executed='1679298058.76' WHERE source_name='4FGL J1106.0+2813' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/59994

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/59994/ft1_4FGL_J1106.0+2813_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/59994/ft2_4FGL_J1106.0+2813_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/59994/ft1_4FGL_J1106.0+2813_daily_bin1780.fits outfile=/scratch/kocevski/59994/ft1_filteredMKT_4FGL_J1106.0+2813_daily_bin1780.fits ra=166.502 dec=28.2254 rad=12.0 tmin=700704001.0 tmax=700963201.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.14
user 3.94
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/59994/ft2_4FGL_J1106.0+2813_daily_bin1780.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/59994/ft1_filteredMKT_4FGL_J1106.0+2813_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/59994/ft1_filtered_4FGL_J1106.0+2813_daily_bin1780.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.48
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 551

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/59994/ft1_filtered_4FGL_J1106.0+2813_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/59994/ft2_4FGL_J1106.0+2813_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/59994/ltcube_700704001_700963201_4FGL_J1106.0+2813_daily_bin1780.fits outfile=/scratch/kocevski/59994/expmap_700704001_700963201_4FGL_J1106.0+2813_daily_bin1780.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/59994/ltcube_700704001_700963201_4FGL_J1106.0+2813_daily_bin1780.fits
.....................!
real 192.16
user 186.57
sys 5.27

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/59994/ft1_filtered_4FGL_J1106.0+2813_daily_bin1780.fits scfile=/scratch/kocevski/59994/ft2_4FGL_J1106.0+2813_daily_bin1780.fits outfile=/scratch/kocevski/59994/cmap_700704001_700963201_4FGL_J1106.0+2813_daily_bin1780.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/59994/ft1_filtered_4FGL_J1106.0+2813_daily_bin1780.fits scfile=/scratch/kocevski/59994/ft2_4FGL_J1106.0+2813_daily_bin1780.fits outfile=/scratch/kocevski/59994/cmap_HighResolution_700704001_700963201_4FGL_J1106.0+2813_daily_bin1780.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.40
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    72.527       1.0000          .0000       .10000E+07
     2 'Prefactor '    .26706E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .10761E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .65376E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .71100       1.0000          .0000       .10000E+07
     6 'Prefactor '    .51685E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    9.7878       1.0000          .0000       .10000E+07
     8 'Prefactor '    .30108E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    27.010       1.0000          .0000       .10000E+07
    10 'norm      '    2.0352       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.6285       1.0000          .0000       .10000E+07
    12 'Prefactor '    .22633E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    2.0957       1.0000          .0000       .10000E+07
    14 'norm      '    .32530E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    .72187E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    .13179E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .59789E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    20.930       1.0000          .0000       .10000E+07
    19 'Prefactor '    .86378E-03   1.0000          .0000       .10000E+07
    20 'norm      '    .53522       1.0000          .0000       .10000E+07
    21 'Prefactor '    2.0925       1.0000          .0000       .10000E+07
    22 'Prefactor '    1.3822       1.0000          .0000       .10000E+07
    23 'Prefactor '    16.402       1.0000          .0000       .10000E+07
    24 'Prefactor '    1.6015       1.0000          .0000       .10000E+07
    25 'norm      '    19.977       1.0000          .0000       .10000E+07
    26 'Normalizat'    .87965       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .88336       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=   6292.631     FROM MIGRAD    STATUS=CONVERGED    195 CALLS     2461 TOTAL
                     EDM=   .91E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     75.526        44.997        .24514E-06   -.12076    
   2  Prefactor     .10982E-05    17.945       -.17787E-06** at limit **
   3  Prefactor     .55511E-10    4.2157        .11094E-06** at limit **
   4  Prefactor      .0000        2.7987        .47144E-07** at limit **
   5  Prefactor     .76690        .90156       -.16069E-07    .30258E-02
   6  Prefactor     .69605E-06    20.216       -.76206E-06** at limit **
   7  Prefactor     9.9084        1.9617       -.36253E-07   -.36777E-03
   8  Prefactor     .61062E-09    6.7948       -.30366E-06** at limit **
   9  Prefactor     27.203        1.5170        .85288E-08   -.63927E-02
  10  norm          2.0355        .34996       -.37852E-08    .39095E-02
  11  Prefactor     4.6441        3.5252        .18291E-07    .19624E-03
  12  Prefactor     .55511E-09    6.2162       -.64859E-07** at limit **
  13  Prefactor     2.1131        1.6572        .27082E-07    .15022E-01
  14  norm           .0000        4.2547        .30194E-06** at limit **
  15  Prefactor     .31197E-07    13.767       -.19354E-06** at limit **
  16  Prefactor     .14988E-08    10.049       -.34372E-06** at limit **
  17  Prefactor     .55511E-10    2.7057        .38702E-07** at limit **
  18  Prefactor     23.695        32.210        .63565E-06   -.10358    
  19  Prefactor     .11169E-03    42.933       -.14031E-05** at limit **
  20  norm          .46207        1.9709       -.12367E-06    .16545E-02
  21  Prefactor     2.0055        14.062        .11329E-05   -.58789E-03
  22  Prefactor     1.3799        3.7028       -.30798E-06    .72728E-03
  23  Prefactor     16.436        5.1498       -.46148E-07    .20536E-01
  24  Prefactor     1.6044        1.7431       -.46481E-08   -.40321E-03
  25  norm          19.983        3.3368       -.72253E-08   -.17134E-02
  26  Normalizat    .87736        .20054       -.18266E-05    .78683E-05
  27  Prefactor     .88332        .21711        .10311E-05    .83303E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 75.5255
  Prefactor  = 1.09818e-06
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 0.7669
  Prefactor  = 6.96054e-07
  Prefactor  = 9.90841
  Prefactor  = 6.10623e-10
  Prefactor  = 27.2029
  norm       = 2.03552
  Prefactor  = 4.64411
  Prefactor  = 5.55112e-10
  Prefactor  = 2.11314
  norm       = 0
  Prefactor  = 3.11973e-08
  Prefactor  = 1.4988e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 23.6945
  Prefactor  = 0.000111691
  norm       = 0.462069
  Prefactor  = 2.00547
  Prefactor  = 1.37991
  Prefactor  = 16.4356
  Prefactor  = 1.60442
  norm       = 19.9834
  Normalizat = 0.877357
  Prefactor  = 0.883323
 **********
 **   18 **HESSE 
 **********

 FCN=   6292.631     FROM HESSE     STATUS=OK           546 CALLS     3007 TOTAL
                     EDM=   .29E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     75.526        50.119        .11743E-03   -1.5534    
   2  Prefactor     .10982E-05    18.650        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-10    4.2287        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        2.7801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .76690        88.311        .59820E-03   -1.5690    
   6  Prefactor     .69605E-06    20.945        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.9084        16.441        .32006E-03   -1.5645    
   8  Prefactor     .61062E-09    6.8673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     27.203        27.488        .19245E-03   -1.5604    
  10  norm          2.0355        .36934        .42290E-03   -1.5679    
  11  Prefactor     4.6441        3.5232        .46759E-03   -1.5665    
  12  Prefactor     .55511E-09    6.2373        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.1131        18.035        .71270E-03   -1.5679    
  14  norm           .0000        4.2635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .31197E-07    13.662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .14988E-08    10.058        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .55511E-10    2.6919        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     23.695        40.560        .21865E-03   -1.5611    
  19  Prefactor     .11169E-03    85.669        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .46207        2.4229        .75243E-03   -1.5694    
  21  Prefactor     2.0055        14.779        .71332E-03   -1.5680    
  22  Prefactor     1.3799        3.7455        .92522E-03   -1.5684    
  23  Prefactor     16.436        24.380        .24704E-03   -1.5627    
  24  Prefactor     1.6044        1.8098        .83734E-03   -1.5683    
  25  norm          19.983        3.3919        .22381E-03   -1.5619    
  26  Normalizat    .87736        .17736        .44641E-01   -.97260    
  27  Prefactor     .88332        .18603        .65174E-01   -.96726    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.93842e-06
Minuit parameter uncertainties:
  1  50.1197
  2  0.00905131
  3  2.32769e-05
  4  6.7564e-06
  5  16.4593
  6  0.00763638
  7  16.4407
  8  0.000128521
  9  27.488
  10  0.369337
  11  3.52323
  12  0.00011472
  13  12.3468
  14  5.9539e-06
  15  0.00130606
  16  0.000244892
  17  1.83912e-05
  18  40.56
  19  0.195639
  20  2.11618
  21  10.8885
  22  3.74551
  23  24.3806
  24  1.80985
  25  3.39191
  26  0.177475
  27  0.186162
Done.

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

Extracting fit parameters...

4FGL J1106.0+2813
   Spectrum: PowerLaw
253    Prefactor:  4.644e+00  3.523e+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.833e-01  1.862e-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:  8.774e-01  1.775e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.68
Ra Dec: 166.502 28.225
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 5.48e-08 +/- 4.16e-08
Energy Flux (Fixed Index): 1.86e-05 +/- 1.41e-05

TS (Fixed Index): 2.68
Ra Dec: 166.502 28.225
Photon Flux Upper Limit: 1.39e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.07e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/59994/likelihoodResults_700704001_700963201_4FGL_J1106.0+2813_daily_bin1780.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) = 6292.5487806
delta logL = 0.082138383762

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6292.54444417
delta logL = 0.0864748057975

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.7891       1.0000          .0000       .10000E+07
     2 'Index     '    2.6630       1.0000          .0000       10.000    
     3 'Normalizat'    .85746       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89889       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=   6292.544     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      277 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.7890        4.2415        .10253E-04    .27310E-02
   2  Index         2.6631        .81271        .70789E-02    .47027E-04
   3  Normalizat    .85744        .20489        .26546E-03   -.69335E-04
   4  Prefactor     .89890        .22122        .28608E-03   -.96686E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.78903
  Index      = 2.66305
  Normalizat = 0.857445
  Prefactor  = 0.898899
 **********
 **   18 **HESSE 
 **********

 FCN=   6292.544     FROM HESSE     STATUS=OK            25 CALLS      302 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.7890        3.8467        .41012E-06   -1.5669    
   2  Index         2.6631        .73637        .28315E-03   -.48634    
   3  Normalizat    .85744        .20423        .10619E-04   -.97972    
   4  Prefactor     .89890        .22047        .11443E-04   -.96180    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.50585e-11
Minuit parameter uncertainties:
  1  3.8467
  2  0.739814
  3  0.204414
  4  0.220686
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/59994': 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) = 6292.54444417
delta logL = 0.0864748100075

Extracting fit parameters...

4FGL J1106.0+2813
   Spectrum: PowerLaw
253    Prefactor:  3.789e+00  3.847e+00  0.000e+00  1.000e+06 ( 1.000e-12)
254        Index:  2.663e+00  7.398e-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:  8.989e-01  2.207e-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:  8.574e-01  2.044e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.81
Ra Dec: 166.502 28.225
Photon Index (Free Index): 2.66 +/- 0.74
Photon Flux (Free Index): 6.86e-08 +/- 5.65e-08
Energy Flux (Free Index): 1.70e-05 +/- 1.26e-05

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/59994/cmap_HighResolution_700704001_700963201_4FGL_J1106.0+2813_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.07e-02', comment='SUCCESS', photon_flux='5.48e-08', energy_flux2='1.70e-05', photon_flux_error='4.16e-08', dlogl='8.65e-02', energy_flux='1.86e-05', photon_flux2='6.86e-08', job_status='DONE', time_completed='2023-03-20 00:52:07.771280', photon_index_error2='0.74', photon_index2='2.66', ts='2.68', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='1.39e-07', energy_flux_error2='1.26e-05', EG='0.88', time_epoch_completed='1679298727.77', return_code='0', job_id='59994', GAL2='0.90', EG2='0.86', return_code2='0', energy_flux_error='1.41e-05', photon_flux_error2='5.65e-08', ts2='2.81', photon_index='2.37' WHERE bin_id='1780' AND source_name='4FGL J1106.0+2813' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 00:52:07 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0226>
Subject: Job 59994: <4FGL_J1106.0+2813_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1106.0+2813_daily_bin1780> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Mar 20 00:40:17 2023
Job was executed on host(s) <bullet0226>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 00:40:18 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 00:40:18 2023
Terminated at Mon Mar 20 00:52:10 2023
Results reported at Mon Mar 20 00:52:10 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1106.0+2813_daily_bin1780 166.502 28.2254 700704001 700963201 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 :                                   671.02 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             285.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   710 sec.
    Turnaround time :                            713 sec.

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

