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


Performing analysis on: 4FGL_J1106.0+2813_daily_bin1718
RA = 166.502, Dec = 28.2254
tmin = 684633601, tmax = 684892801
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='100381', job_status='RUN', time_executed='2022-09-16 15:48:02.821301', time_epoch_executed='1663368482.82' WHERE source_name='4FGL J1106.0+2813' and cadence='daily' and bin_id='1718'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/100381

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/100381/ft1_4FGL_J1106.0+2813_daily_bin1718.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/100381/ft2_4FGL_J1106.0+2813_daily_bin1718.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/100381/ft1_4FGL_J1106.0+2813_daily_bin1718.fits outfile=/scratch/kocevski/100381/ft1_filteredMKT_4FGL_J1106.0+2813_daily_bin1718.fits ra=166.502 dec=28.2254 rad=12.0 tmin=684633601.0 tmax=684892801.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.20
user 2.97
sys 0.22

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

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

Number of photons that the gtmktime cut: 97

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/100381/ft1_filtered_4FGL_J1106.0+2813_daily_bin1718.fits" evtable="EVENTS" scfile=/scratch/kocevski/100381/ft2_4FGL_J1106.0+2813_daily_bin1718.fits sctable="SC_DATA" outfile=/scratch/kocevski/100381/ltcube_684633601_684892801_4FGL_J1106.0+2813_daily_bin1718.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/100381/ft2_4FGL_J1106.0+2813_daily_bin1718.fits
.....................!
real 15.83
user 15.41
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/100381/ft1_filtered_4FGL_J1106.0+2813_daily_bin1718.fits evtable="EVENTS" scfile=/scratch/kocevski/100381/ft2_4FGL_J1106.0+2813_daily_bin1718.fits sctable="SC_DATA" expcube=/scratch/kocevski/100381/ltcube_684633601_684892801_4FGL_J1106.0+2813_daily_bin1718.fits outfile=/scratch/kocevski/100381/expmap_684633601_684892801_4FGL_J1106.0+2813_daily_bin1718.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/100381/ltcube_684633601_684892801_4FGL_J1106.0+2813_daily_bin1718.fits
.....................!
real 192.92
user 186.99
sys 5.53

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/100381/ft1_filtered_4FGL_J1106.0+2813_daily_bin1718.fits scfile=/scratch/kocevski/100381/ft2_4FGL_J1106.0+2813_daily_bin1718.fits outfile=/scratch/kocevski/100381/cmap_684633601_684892801_4FGL_J1106.0+2813_daily_bin1718.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/100381/ft1_filtered_4FGL_J1106.0+2813_daily_bin1718.fits scfile=/scratch/kocevski/100381/ft2_4FGL_J1106.0+2813_daily_bin1718.fits outfile=/scratch/kocevski/100381/cmap_HighResolution_684633601_684892801_4FGL_J1106.0+2813_daily_bin1718.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.56
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17913       1.0000          .0000       .10000E+07
     2 'Prefactor '    .17018E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    46.807       1.0000          .0000       .10000E+07
     4 'Prefactor '    .32807E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .92926E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .26332       1.0000          .0000       .10000E+07
     7 'Prefactor '    .12442E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .41366E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .48617E-02   1.0000          .0000       .10000E+07
    10 'norm      '    1.3608       1.0000          .0000       .10000E+07
    11 'Prefactor '    .69520E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .31934E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .90604E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .11935E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .75451E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    .53352E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .64171E-07   1.0000          .0000       .10000E+07
    18 'Prefactor '    .33193E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .56523E-01   1.0000          .0000       .10000E+07
    20 'norm      '    .62490E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    .34029E-01   1.0000          .0000       .10000E+07
    22 'Prefactor '    .27224E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    167.75       1.0000          .0000       .10000E+07
    24 'Prefactor '    .99888E+06   1.0000          .0000       .10000E+07
    25 'norm      '    .99968E+06   1.0000          .0000       .10000E+07
    26 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    27 'Prefactor '    .33147       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=   883.9508     FROM MIGRAD    STATUS=CONVERGED    234 CALLS     3172 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .71576E-05    38.303        .44082E-05** at limit **
   2  Prefactor     .14377E-07    13.329       -.75795E-06** at limit **
   3  Prefactor     46.920        23.645       -.47181E-06   -.26805E-02
   4  Prefactor      .0000        1.5875        .10991E-06** at limit **
   5  Prefactor     .14377E-06    16.347       -.29656E-06** at limit **
   6  Prefactor     .13403E-04    61.244       -.62219E-05** at limit **
   7  Prefactor     .75911E-06    11.004        .20327E-05** at limit **
   8  Prefactor     .18818E-07    10.863        .17775E-05** at limit **
   9  Prefactor     .88568E-06    12.425        .14529E-05** at limit **
  10  norm          1.3606        .61853        .11458E-06   -.77372E-03
  11  Prefactor      .0000        3.6905       -.39267E-06** at limit **
  12  Prefactor     .10403E-06    15.277       -.11307E-05** at limit **
  13  Prefactor     .88818E-09    10.617        .62381E-06** at limit **
  14  norm          .63421E-06    11.091       -.18735E-05** at limit **
  15  Prefactor     .41145E-06    18.580       -.16629E-05** at limit **
  16  Prefactor      .0000        119.86        .85094E-06** at limit **
  17  Prefactor      .0000        2.5576       -.78781E-06** at limit **
  18  Prefactor      .0000        48.974        .90579E-06** at limit **
  19  Prefactor      .0000        64.413       -.26225E-06** at limit **
  20  norm           .0000        3.6885       -.15405E-06** at limit **
  21  Prefactor      .0000        59.844       -.36547E-06** at limit **
  22  Prefactor     .19984E-08    11.774        .29594E-06** at limit **
  23  Prefactor     39.345        7865.6        .21054E-04   -.30429    
  24  Prefactor     .99912E+06    1054.6       -.39349E-05   -.74393    
  25  norm          .99996E+06    2748.3       -.11915E-04   -.26287    
  26  Normalizat    .10000E-01    .16818        .38239E-04** at limit **
  27  Prefactor     .33159        .16862       -.12298E-04    .16620E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.15755e-06
  Prefactor  = 1.43774e-08
  Prefactor  = 46.9196
  Prefactor  = 0
  Prefactor  = 1.43774e-07
  Prefactor  = 1.34032e-05
  Prefactor  = 7.59115e-07
  Prefactor  = 1.88183e-08
  Prefactor  = 8.8568e-07
  norm       = 1.36061
  Prefactor  = 0
  Prefactor  = 1.04028e-07
  Prefactor  = 8.88178e-10
  norm       = 6.34215e-07
  Prefactor  = 4.11449e-07
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.9984e-09
  Prefactor  = 39.3451
  Prefactor  = 999121
  norm       = 999956
  Normalizat = 0.01
  Prefactor  = 0.331588
 **********
 **   18 **HESSE 
 **********

 FCN=   883.9508     FROM HESSE     STATUS=OK           522 CALLS     3694 TOTAL
                     EDM=   .51E-01    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .71576E-05    138.99        .12160E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .14377E-07    18.755        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     46.920        23.666        .14618E-03   -1.5571    
   4  Prefactor      .0000        1.5877        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .14377E-06    17.966        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .13403E-04    100.67        .10742E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .75911E-06    11.128        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .18818E-07    10.866        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .88568E-06    19.556        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.3606        .61801        .34820E-03   -1.5685    
  11  Prefactor      .0000        3.6878        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10403E-06    15.908        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .88818E-09    10.616        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .63421E-06    11.190        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .41145E-06    19.996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        119.86        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        2.5577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        48.976        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        64.400        .15289E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        3.6885        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        59.844        .16245E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .19984E-08    11.773        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     39.345        10271.        .77216E-04   -1.5833    
  24  Prefactor     .99912E+06    19777.        .29863E-04    1.5115    
  25  norm          .99996E+06    12536.        .55651E-04    1.5576    
  26  Normalizat    .10000E-01    .13746        .16900       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .33159        .18467        .57077E-01   -1.2046    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.0514439
Minuit parameter uncertainties:
  1  0.0630831
  2  0.00103825
  3  23.6664
  4  3.78389e-08
  5  0.00321422
  6  0.0734672
  7  0.00581284
  8  0.000904825
  9  0.00832341
  10  0.618007
  11  3.75903e-06
  12  0.00257296
  13  0.000192378
  14  0.00532804
  15  0.00573682
  16  3.29815e-06
  17  3.51229e-06
  18  2.98175e-05
  19  9.59576e-06
  20  2.62399e-06
  21  7.08738e-06
  22  0.000305626
  23  1273.63
  24  8372.32
  25  1485.25
  26  1.39285e-07
  27  0.184994
Done.

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

Extracting fit parameters...

4FGL J1106.0+2813
   Spectrum: PowerLaw
253    Prefactor:  0.000e+00  3.759e-06  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:  3.316e-01  1.850e-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.000e-02  1.393e-07  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/100381/likelihoodResults_684633601_684892801_4FGL_J1106.0+2813_daily_bin1718.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): 102
logL (Free Index) = 883.967017015
delta logL = -0.0162588261795

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 883.950760395
delta logL = -2.20590118261e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29387E-05   1.0000          .0000       .10000E+07
     2 'Index     '    3.0668       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .33172       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=   883.9508     FROM MIGRAD    STATUS=CONVERGED     40 CALLS      238 TOTAL
                     EDM=   .20E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.9592        .15285E-06** at limit **
   2  Index         .93077        1.8797        .19401E-04     .0000    
   3  Normalizat    .10000E-01    .16962       -.21178E-04** at limit **
   4  Prefactor     .33159        .15526        .17340E-05   -.48242E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.930773
  Normalizat = 0.01
  Prefactor  = 0.331588
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   883.9508     FROM HESSE     STATUS=FAILED        11 CALLS      249 TOTAL
                     EDM=   .20E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.9086        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .30251E-01    .99823        .19401E-04   -.95074    
   3  Normalizat    .10000E-01    .25754       -.21178E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .33159        .65178        .17340E-05   -1.2046    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.01262e-12
Minuit parameter uncertainties:
  1  9.47722e-09
  2  0.637971
  3  7.79414e-07
  4  0.667106
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/100381': 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): 101
logL (Free Index) = 883.950758189
delta logL = -1.13686837722e-13

Extracting fit parameters...

4FGL J1106.0+2813
   Spectrum: PowerLaw
253    Prefactor:  0.000e+00  9.477e-09  0.000e+00  1.000e+06 ( 1.000e-12)
254        Index:  9.308e-01  6.380e-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:  3.316e-01  6.671e-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.000e-02  7.794e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
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/100381/cmap_HighResolution_684633601_684892801_4FGL_J1106.0+2813_daily_bin1718.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.56e-02', job_status='DONE', photon_flux_upper_limit='2.02e-07', time_completed='2022-09-16 15:54:47.086571', job_id='100381', GAL2='0.33', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1663368887.09', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.33', dlogl='-1.14e-13', ts2='0.00', photon_index_error='0.00', photon_index='2.37' WHERE bin_id='1718' AND source_name='4FGL J1106.0+2813' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:54:47 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 100381: <4FGL_J1106.0+2813_daily_bin1718> in cluster <slac> Done

Job <4FGL_J1106.0+2813_daily_bin1718> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 16 15:45:27 2022
Job was executed on host(s) <bullet0070>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:47:07 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 15:47:07 2022
Terminated at Fri Sep 16 15:54:47 2022
Results reported at Fri Sep 16 15:54:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1106.0+2813_daily_bin1718 166.502 28.2254 684633601 684892801 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 :                                   407.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             314.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   460 sec.
    Turnaround time :                            560 sec.

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

