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


Performing analysis on: 4FGL_J1106.0+2813_daily_bin1760
RA = 166.502, Dec = 28.2254
tmin = 695520001, tmax = 695779201
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='734842', job_status='RUN', time_executed='2023-01-19 00:46:47.262946', time_epoch_executed='1674118007.26' WHERE source_name='4FGL J1106.0+2813' and cadence='daily' and bin_id='1760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/734842

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/734842/ft1_4FGL_J1106.0+2813_daily_bin1760.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/734842/ft2_4FGL_J1106.0+2813_daily_bin1760.fits


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

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

Done.
real 2.45
user 2.20
sys 0.17

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

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

Number of photons that the gtmktime cut: 507

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/734842/ft1_filtered_4FGL_J1106.0+2813_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/734842/ft2_4FGL_J1106.0+2813_daily_bin1760.fits sctable="SC_DATA" expcube=/scratch/kocevski/734842/ltcube_695520001_695779201_4FGL_J1106.0+2813_daily_bin1760.fits outfile=/scratch/kocevski/734842/expmap_695520001_695779201_4FGL_J1106.0+2813_daily_bin1760.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/734842/ltcube_695520001_695779201_4FGL_J1106.0+2813_daily_bin1760.fits
.....................!
real 195.88
user 187.42
sys 6.11

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/734842/ft1_filtered_4FGL_J1106.0+2813_daily_bin1760.fits scfile=/scratch/kocevski/734842/ft2_4FGL_J1106.0+2813_daily_bin1760.fits outfile=/scratch/kocevski/734842/cmap_695520001_695779201_4FGL_J1106.0+2813_daily_bin1760.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/734842/ft1_filtered_4FGL_J1106.0+2813_daily_bin1760.fits scfile=/scratch/kocevski/734842/ft2_4FGL_J1106.0+2813_daily_bin1760.fits outfile=/scratch/kocevski/734842/cmap_HighResolution_695520001_695779201_4FGL_J1106.0+2813_daily_bin1760.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.57
user 0.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .42927E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .64835E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .16037E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .41134E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    27.167       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10545E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11363E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .13858E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .48108E-04   1.0000          .0000       .10000E+07
    10 'norm      '    2.5858       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.8011       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10508E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .46986E-03   1.0000          .0000       .10000E+07
    14 'norm      '    19.336       1.0000          .0000       .10000E+07
    15 'Prefactor '    .57663E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .21587E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .29110E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .17991E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .19562E-04   1.0000          .0000       .10000E+07
    20 'norm      '    4.5606       1.0000          .0000       .10000E+07
    21 'Prefactor '    10.489       1.0000          .0000       .10000E+07
    22 'Prefactor '    .64526E-06   1.0000          .0000       .10000E+07
    23 'Prefactor '    .32180E-04   1.0000          .0000       .10000E+07
    24 'Prefactor '    1.2445       1.0000          .0000       .10000E+07
    25 'norm      '    81.626       1.0000          .0000       .10000E+07
    26 'Normalizat'    1.3951       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .51024       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=   5386.661     FROM MIGRAD    STATUS=CONVERGED    151 CALLS     2361 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .26917E-06    67.766       -.12795E-05** at limit **
   2  Prefactor     .11521E-05    13.489        .13896E-05** at limit **
   3  Prefactor     .13545E-06    4.7706        .86639E-06** at limit **
   4  Prefactor     .22204E-09    3.3899        .46603E-07** at limit **
   5  Prefactor     26.948        2.2117       -.57762E-07   -.18605E-02
   6  Prefactor     .16653E-09    10.982        .87267E-06** at limit **
   7  Prefactor     .18541E-07    4.8327       -.36712E-06** at limit **
   8  Prefactor     .38359E-05    11.400       -.50172E-06** at limit **
   9  Prefactor     .10564E-06    5.7391       -.11356E-05** at limit **
  10  norm          2.5856        .63846       -.50251E-08    .46559E-02
  11  Prefactor     1.7974        3.3823        .44145E-06    .10051E-03
  12  Prefactor     .15205E-06    4.8342       -.52508E-06** at limit **
  13  Prefactor     .20928E-07    7.8925        .72807E-06** at limit **
  14  norm          19.313        1.2010       -.22060E-07    .45067E-02
  15  Prefactor     .91155E-06    13.971       -.22893E-07** at limit **
  16  Prefactor     .29532E-07    3.9971        .56945E-06** at limit **
  17  Prefactor     .25646E-07    3.0390       -.61235E-07** at limit **
  18  Prefactor     .41730E-05    13.560        .16697E-05** at limit **
  19  Prefactor     .63921E-06    46.048        .13693E-05** at limit **
  20  norm          4.5290        3.8077       -.13939E-06   -.10188E-02
  21  Prefactor     10.458        1.7874       -.61755E-07   -.40667E-02
  22  Prefactor     .55511E-10    2.1365        .29067E-06** at limit **
  23  Prefactor     .63227E-07    3.9195        .15794E-06** at limit **
  24  Prefactor     1.2434        1.6192        .12914E-06    .18424E-02
  25  norm          81.607        6.4362       -.14551E-06   -.50146E-03
  26  Normalizat    1.3964        .29512        .30315E-04    .83986E-05
  27  Prefactor     .50982        .29828       -.32181E-04    .48303E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.69174e-07
  Prefactor  = 1.15213e-06
  Prefactor  = 1.35447e-07
  Prefactor  = 2.22045e-10
  Prefactor  = 26.9482
  Prefactor  = 1.66533e-10
  Prefactor  = 1.85407e-08
  Prefactor  = 3.83588e-06
  Prefactor  = 1.05638e-07
  norm       = 2.58557
  Prefactor  = 1.79738
  Prefactor  = 1.52045e-07
  Prefactor  = 2.09277e-08
  norm       = 19.3132
  Prefactor  = 9.11549e-07
  Prefactor  = 2.95319e-08
  Prefactor  = 2.56462e-08
  Prefactor  = 4.173e-06
  Prefactor  = 6.39211e-07
  norm       = 4.52896
  Prefactor  = 10.4576
  Prefactor  = 5.55112e-11
  Prefactor  = 6.32272e-08
  Prefactor  = 1.24341
  norm       = 81.6068
  Normalizat = 1.39639
  Prefactor  = 0.509823
 **********
 **   18 **HESSE 
 **********

 FCN=   5386.661     FROM HESSE     STATUS=OK           534 CALLS     2895 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .26917E-06    71.073        .15834E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11521E-05    68.441        .14992E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .13545E-06    7.4276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .22204E-09    3.4050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     26.948        15.554        .19189E-03   -1.5604    
   6  Prefactor     .16653E-09    27.979        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .18541E-07    6.2737        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .38359E-05    24.064        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10564E-06    9.1539        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.5856        .63861        .63434E-03   -1.5676    
  11  Prefactor     1.7974        3.4137        .77860E-03   -1.5681    
  12  Prefactor     .15205E-06    10.580        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .20928E-07    11.778        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          19.313        17.426        .22749E-03   -1.5620    
  15  Prefactor     .91155E-06    16.992        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .29532E-07    5.9572        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .25646E-07    6.7269        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .41730E-05    30.722        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .63921E-06    47.335        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.5290        3.8171        .47114E-03   -1.5665    
  21  Prefactor     10.458        13.555        .30913E-03   -1.5643    
  22  Prefactor     .55511E-10    2.1481        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .63227E-07    8.0792        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     1.2434        1.6581        .10037E-02   -1.5686    
  25  norm          81.607        6.4554        .11069E-03   -1.5527    
  26  Normalizat    1.3964        .25331        .64055E-01   -.80733    
  27  Prefactor     .50982        .25464        .10323       -1.1153    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.53184e-07
Minuit parameter uncertainties:
  1  0.00874749
  2  0.01776
  3  0.00200604
  4  5.37384e-05
  5  15.5543
  6  0.000131512
  7  0.000682228
  8  0.0192152
  9  0.00196697
  10  0.63861
  11  3.41366
  12  0.00253647
  13  0.000992742
  14  17.4264
  15  0.00787121
  16  0.000838611
  17  0.000830956
  18  0.0226456
  19  0.0110014
  20  3.81709
  21  13.555
  22  2.54633e-05
  23  0.00142927
  24  1.65814
  25  6.45543
  26  0.253542
  27  0.255208
Done.

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

Extracting fit parameters...

4FGL J1106.0+2813
   Spectrum: PowerLaw
253    Prefactor:  1.797e+00  3.414e+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:  5.098e-01  2.552e-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.396e+00  2.535e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/734842/likelihoodResults_695520001_695779201_4FGL_J1106.0+2813_daily_bin1760.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) = 5386.63246292
delta logL = 0.0285437387547

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5386.62755481
delta logL = 0.0334518529426

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4948       1.0000          .0000       .10000E+07
     2 'Index     '    2.6835       1.0000          .0000       10.000    
     3 'Normalizat'    1.3896       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .51424       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=   5386.628     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      208 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4939        235.38        .87609E-03    .52282E-02
   2  Index         2.6835        7.5411        .22939E-01    .31332E-04
   3  Normalizat    1.3897        .17652        .64182E-01    .68889E-06
   4  Prefactor     .51412        .20842        .10282        .31631E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.49387
  Index      = 2.68349
  Normalizat = 1.38975
  Prefactor  = 0.514118
 **********
 **   18 **HESSE 
 **********

 FCN=   5386.628     FROM HESSE     STATUS=OK            31 CALLS      239 TOTAL
                     EDM=   .31E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4939        3.2096        .15151E-04   -1.5684    
   2  Index         2.6835        1.2332        .91755E-03   -.48172    
   3  Normalizat    1.3897        .29350        .28385E-03   -.80926    
   4  Prefactor     .51412        .29838        .45630E-03   -1.1133    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.10074e-13
Minuit parameter uncertainties:
  1  3.20964
  2  1.24966
  3  0.293852
  4  0.299296
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/734842': 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) = 5386.62755457
delta logL = 0.0334520968991

Extracting fit parameters...

4FGL J1106.0+2813
   Spectrum: PowerLaw
253    Prefactor:  1.494e+00  3.210e+00  0.000e+00  1.000e+06 ( 1.000e-12)
254        Index:  2.683e+00  1.250e+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:  5.141e-01  2.993e-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.390e+00  2.939e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/734842/cmap_HighResolution_695520001_695779201_4FGL_J1106.0+2813_daily_bin1760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.04e-02', job_status='DONE', photon_flux_upper_limit='1.35e-07', time_completed='2023-01-19 00:57:22.643513', job_id='734842', GAL2='0.51', fit_tolerance='1e-08', EG2='1.39', EG='1.40', time_epoch_completed='1674118642.64', return_code2='0', ts='0.40', comment='SUCCESS', return_code='0', GAL='0.51', dlogl='3.35e-02', ts2='0.46', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1760' AND source_name='4FGL J1106.0+2813' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jan 19 00:57:22 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0194>
Subject: Job 734842: <4FGL_J1106.0+2813_daily_bin1760> in cluster <slac> Done

Job <4FGL_J1106.0+2813_daily_bin1760> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jan 19 00:45:12 2023
Job was executed on host(s) <bullet0194>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jan 19 00:45:16 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jan 19 00:45:16 2023
Terminated at Thu Jan 19 00:57:23 2023
Results reported at Thu Jan 19 00:57:23 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1106.0+2813_daily_bin1760 166.502 28.2254 695520001 695779201 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 :                                   631.51 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             300.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   727 sec.
    Turnaround time :                            731 sec.

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

