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


Performing analysis on: 4FGL_J1051.6+3253_daily_bin1714
RA = 162.911, Dec = 32.8853
tmin = 683596801, tmax = 683856001
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='97482', job_status='RUN', time_executed='2022-09-16 15:38:05.200987', time_epoch_executed='1663367885.2' WHERE source_name='4FGL J1051.6+3253' and cadence='daily' and bin_id='1714'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/97482

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/97482/ft1_4FGL_J1051.6+3253_daily_bin1714.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/97482/ft2_4FGL_J1051.6+3253_daily_bin1714.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/97482/ft1_4FGL_J1051.6+3253_daily_bin1714.fits outfile=/scratch/kocevski/97482/ft1_filteredMKT_4FGL_J1051.6+3253_daily_bin1714.fits ra=162.911 dec=32.8853 rad=12.0 tmin=683596801.0 tmax=683856001.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.50
user 3.27
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/97482/ft2_4FGL_J1051.6+3253_daily_bin1714.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/97482/ft2_4FGL_J1051.6+3253_daily_bin1714.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/97482/ft1_filteredMKT_4FGL_J1051.6+3253_daily_bin1714.fits evtable="EVENTS" outfile="/scratch/kocevski/97482/ft1_filtered_4FGL_J1051.6+3253_daily_bin1714.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.36
sys 0.16

Number of photons that the gtmktime cut: 555

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/97482/ft1_filtered_4FGL_J1051.6+3253_daily_bin1714.fits" evtable="EVENTS" scfile=/scratch/kocevski/97482/ft2_4FGL_J1051.6+3253_daily_bin1714.fits sctable="SC_DATA" outfile=/scratch/kocevski/97482/ltcube_683596801_683856001_4FGL_J1051.6+3253_daily_bin1714.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/97482/ft2_4FGL_J1051.6+3253_daily_bin1714.fits
.....................!
real 15.27
user 14.87
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/97482/ft1_filtered_4FGL_J1051.6+3253_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/97482/ft2_4FGL_J1051.6+3253_daily_bin1714.fits sctable="SC_DATA" expcube=/scratch/kocevski/97482/ltcube_683596801_683856001_4FGL_J1051.6+3253_daily_bin1714.fits outfile=/scratch/kocevski/97482/expmap_683596801_683856001_4FGL_J1051.6+3253_daily_bin1714.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/97482/ltcube_683596801_683856001_4FGL_J1051.6+3253_daily_bin1714.fits
.....................!
real 192.57
user 186.70
sys 5.18

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 194 point sources and 0 extended sources

Setting source of interest to:
4FGL J1051.6+3253 @ 162.911 32.8853

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/97482/ft1_filtered_4FGL_J1051.6+3253_daily_bin1714.fits scfile=/scratch/kocevski/97482/ft2_4FGL_J1051.6+3253_daily_bin1714.fits outfile=/scratch/kocevski/97482/cmap_683596801_683856001_4FGL_J1051.6+3253_daily_bin1714.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=162.911 yref=32.8853 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.58
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/97482/ft1_filtered_4FGL_J1051.6+3253_daily_bin1714.fits scfile=/scratch/kocevski/97482/ft2_4FGL_J1051.6+3253_daily_bin1714.fits outfile=/scratch/kocevski/97482/cmap_HighResolution_683596801_683856001_4FGL_J1051.6+3253_daily_bin1714.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=162.911 yref=32.8853 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.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/97482/ft1_filtered_4FGL_J1051.6+3253_daily_bin1714.fits evtable="EVENTS" scfile=/scratch/kocevski/97482/ft2_4FGL_J1051.6+3253_daily_bin1714.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/97482/Model_4FGL_J1051.6+3253_daily_bin1714.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/97482/ft1_filtered_4FGL_J1051.6+3253_daily_bin1714.fits.....................!
real 57.02
user 55.62
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/97482/ft1_filtered_4FGL_J1051.6+3253_daily_bin1714.fits', '/scratch/kocevski/97482/ft2_4FGL_J1051.6+3253_daily_bin1714.fits', expMap='/scratch/kocevski/97482/expmap_683596801_683856001_4FGL_J1051.6+3253_daily_bin1714.fits', expCube='/scratch/kocevski/97482/ltcube_683596801_683856001_4FGL_J1051.6+3253_daily_bin1714.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/97482/Model_4FGL_J1051.6+3253_daily_bin1714.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1051.6+3253'

4FGL J1051.6+3253
   Spectrum: PowerLaw
293    Prefactor:  1.091e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
294        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
295        Scale:  2.968e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/97482/ft1_filtered_4FGL_J1051.6+3253_daily_bin1714.fits
Spacecraft file(s): /scratch/kocevski/97482/ft2_4FGL_J1051.6+3253_daily_bin1714.fits
Exposure map: /scratch/kocevski/97482/expmap_683596801_683856001_4FGL_J1051.6+3253_daily_bin1714.fits
Exposure cube: /scratch/kocevski/97482/ltcube_683596801_683856001_4FGL_J1051.6+3253_daily_bin1714.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/97482/Model_4FGL_J1051.6+3253_daily_bin1714.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) = 6170.31678073

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .93896E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .15929E-05   1.0000          .0000       .10000E+07
     3 'norm      '    21.541       1.0000          .0000       .10000E+07
     4 'Prefactor '    8.5130       1.0000          .0000       .10000E+07
     5 'Prefactor '    .17922E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .16887       1.0000          .0000       .10000E+07
     7 'Prefactor '    .39208E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    3.7123       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.7601       1.0000          .0000       .10000E+07
    10 'Prefactor '    .88680E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .14833E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    19.181       1.0000          .0000       .10000E+07
    13 'Prefactor '    .41535E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    15.294       1.0000          .0000       .10000E+07
    15 'Prefactor '    .16883E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    .10184E-03   1.0000          .0000       .10000E+07
    17 'norm      '    .69917       1.0000          .0000       .10000E+07
    18 'Prefactor '    3.8666       1.0000          .0000       .10000E+07
    19 'Prefactor '    .23495E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .59672E-03   1.0000          .0000       .10000E+07
    21 'norm      '    24.667       1.0000          .0000       .10000E+07
    22 'Prefactor '    .55396E-05   1.0000          .0000       .10000E+07
    23 'Prefactor '    .12007E-06   1.0000          .0000       .10000E+07
    24 'Prefactor '    .36918E-03   1.0000          .0000       .10000E+07
    25 'norm      '    .28660E-03   1.0000          .0000       .10000E+07
    26 'Prefactor '    .25874E-05   1.0000          .0000       .10000E+07
    27 'Prefactor '    .43305       1.0000          .0000       .10000E+07
    28 'Normalizat'    1.0373       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.1256       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6170.266     FROM MIGRAD    STATUS=CONVERGED    158 CALLS     2063 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .30309E-07    4.2767        .13421E-05** at limit **
   2  Prefactor     .55511E-10    .70580       -.53002E-07** at limit **
   3  norm          21.570        1.2750       -.74105E-08   -.29414E-02
   4  Prefactor     8.4906        4.6665        .68123E-07   -.37027E-02
   5  Prefactor     .12768E-07    6.8826       -.18041E-05** at limit **
   6  norm          .30619E-02    27.866       -.88981E-05** at limit **
   7  Prefactor     .44409E-09    33.549       -.27064E-06** at limit **
   8  Prefactor     3.6672        2.8947        .11912E-05   -.13221E-01
   9  Prefactor     3.7678        4.6146       -.10733E-06    .69488E-02
  10  Prefactor     .17264E-07    5.4292        .26687E-05** at limit **
  11  Prefactor     .22204E-09    .78400       -.10778E-06** at limit **
  12  Prefactor     19.160        1.3567        .16423E-07    .21903E-02
  13  Prefactor     .13967E-06    18.996        .25450E-05** at limit **
  14  Prefactor     15.322        1.4328        .13634E-06    .24723E-02
  15  Prefactor     .57904E-06    59.537       -.28239E-05** at limit **
  16  Prefactor     .22760E-07    3.8440       -.27597E-06** at limit **
  17  norm          .69912        .24262       -.20915E-09   -.18063E-02
  18  Prefactor     3.8643        3.0914       -.17261E-07    .53961E-04
  19  Prefactor     .33307E-09    3.7740        .33222E-06** at limit **
  20  Prefactor     .52292E-07    2.6059       -.12201E-05** at limit **
  21  norm          24.693        2.1769        .17091E-06   -.10280E-01
  22  Prefactor      .0000        .68067       -.59335E-07** at limit **
  23  Prefactor     .14988E-08    10.930        .15717E-05** at limit **
  24  Prefactor     .14155E-07    7.9744       -.26656E-05** at limit **
  25  norm          .36776E-06    3.2606       -.49644E-06** at limit **
  26  Prefactor     .10641E-06    8.5763       -.28742E-05** at limit **
  27  Prefactor     .44079        15.524       -.21968E-05   -.41378E-02
  28  Normalizat    1.0375        .21220        .54257E-05    .35450E-03
  29  Prefactor     1.1255        .24271       -.41755E-05    .32734E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.03091e-08
  Prefactor  = 5.55112e-11
  norm       = 21.5699
  Prefactor  = 8.49056
  Prefactor  = 1.27676e-08
  norm       = 0.00306192
  Prefactor  = 4.44089e-10
  Prefactor  = 3.66723
  Prefactor  = 3.76783
  Prefactor  = 1.7264e-08
  Prefactor  = 2.22045e-10
  Prefactor  = 19.1604
  Prefactor  = 1.39666e-07
  Prefactor  = 15.3215
  Prefactor  = 5.79037e-07
  Prefactor  = 2.27596e-08
  norm       = 0.699116
  Prefactor  = 3.86429
  Prefactor  = 3.33067e-10
  Prefactor  = 5.22915e-08
  norm       = 24.693
  Prefactor  = 0
  Prefactor  = 1.4988e-09
  Prefactor  = 1.41553e-08
  norm       = 3.67761e-07
  Prefactor  = 1.06415e-07
  Prefactor  = 0.440788
  Normalizat = 1.03751
  Prefactor  = 1.12555
 **********
 **   18 **HESSE 
 **********

 FCN=   6170.266     FROM HESSE     STATUS=OK           617 CALLS     2680 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .30309E-07    4.8174        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    .70753        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          21.570        11.927        .21552E-03   -1.5615    
   4  Prefactor     8.4906        4.6916        .34333E-03   -1.5650    
   5  Prefactor     .12768E-07    7.1401        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .30619E-02    12.226        .83491E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .44409E-09    33.405        .16000E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.6672        88.949        .52387E-03   -1.5670    
   9  Prefactor     3.7678        4.8115        .52041E-03   -1.5669    
  10  Prefactor     .17264E-07    6.3294        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .22204E-09    .78647        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     19.160        16.404        .22841E-03   -1.5620    
  13  Prefactor     .13967E-06    19.679        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.322        12.734        .25584E-03   -1.5630    
  15  Prefactor     .57904E-06    60.125        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .22760E-07    5.3496        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .69912        .24203        .50125E-03   -1.5691    
  18  Prefactor     3.8643        3.1015        .51293E-03   -1.5669    
  19  Prefactor     .33307E-09    3.8073        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .52292E-07    5.0240        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          24.693        13.482        .20139E-03   -1.5609    
  22  Prefactor      .0000        .68335        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .14988E-08    12.913        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .14155E-07    17.122        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .36776E-06    .97325        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10641E-06    16.851        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .44079        4.5923        .52937E-02   -1.5695    
  28  Normalizat    1.0375        .18491        .41504E-01   -.91784    
  29  Prefactor     1.1255        .20710        .63729E-01   -.88654    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46123e-07
Minuit parameter uncertainties:
  1  0.000764185
  2  1.22091e-05
  3  11.9266
  4  4.69162
  5  0.000603974
  6  0.386961
  7  0.000237036
  8  36.1224
  9  4.81154
  10  0.00066161
  11  2.50256e-05
  12  16.4044
  13  0.00331544
  14  12.7342
  15  0.0118009
  16  0.000697863
  17  0.242032
  18  3.10154
  19  6.95799e-05
  20  0.00102512
  21  13.482
  22  7.06536e-06
  23  0.000276205
  24  0.000984744
  25  0.0011965
  26  0.00267804
  27  2.84551
  28  0.185025
  29  0.207249
Done.

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

Extracting fit parameters...

4FGL J1051.6+3253
   Spectrum: PowerLaw
293    Prefactor:  1.397e-07  3.315e-03  0.000e+00  1.000e+06 ( 1.000e-14)
294        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
295        Scale:  2.968e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.126e+00  2.072e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.038e+00  1.850e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 162.911 32.885
Photon Flux Upper Limit: 6.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.01e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/97482/likelihoodResults_683596801_683856001_4FGL_J1051.6+3253_daily_bin1714.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) = 6170.29055083
delta logL = -0.024413881597

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6168.56635246
delta logL = 1.69978448519

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12584E-01   1.0000          .0000       .10000E+07
     2 'Index     '    5.1106       1.0000          .0000       10.000    
     3 'Normalizat'    .90538       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2226       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6168.566     FROM MIGRAD    STATUS=CONVERGED    171 CALLS      404 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12485E-01    .11046        .11685E-03** at limit **
   2  Index         5.1131        1.5811        .64960E-01    .20070E-03
   3  Normalizat    .90533        .48582E-01    .44970E-01    .50390E-04
   4  Prefactor     1.2227        .57270E-01    .61482E-01    .48232E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0124846
  Index      = 5.11307
  Normalizat = 0.905335
  Prefactor  = 1.22268
 **********
 **   18 **HESSE 
 **********

 FCN=   6168.566     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      437 TOTAL
                     EDM=   .33E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12485E-01    .23291        .52694E-06   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.1131        2.5923        .25503E-02    .22616E-01
   3  Normalizat    .90533        .18360        .26311E-03   -.96273    
   4  Prefactor     1.2227        .21245        .27192E-03   -.85636    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.2523e-07
Minuit parameter uncertainties:
  1  0.107847
  2  2.72537
  3  0.183726
  4  0.212594
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/97482': 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): 102
logL (Free Index) = 6168.5663514
delta logL = 1.69978554517

Extracting fit parameters...

4FGL J1051.6+3253
   Spectrum: PowerLaw
293    Prefactor:  1.248e-02  1.078e-01  0.000e+00  1.000e+06 ( 1.000e-14)
294        Index:  5.113e+00  2.725e+00  0.000e+00  1.000e+01 (-1.000e+00)
295        Scale:  2.968e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.223e+00  2.126e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  9.053e-01  1.837e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.70
Ra Dec: 162.911 32.885
Photon Index (Free Index): 5.11 +/- 2.73
Photon Flux (Free Index): 1.03e-07 +/- 6.35e-08
Energy Flux (Free Index): 1.36e-05 +/- 9.03e-06

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/97482/cmap_HighResolution_683596801_683856001_4FGL_J1051.6+3253_daily_bin1714.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.01e-03', comment='SUCCESS', energy_flux2='1.36e-05', dlogl='1.70e+00', photon_flux2='1.03e-07', job_status='DONE', time_completed='2022-09-16 15:50:33.145927', photon_index_error2='2.73', photon_index2='5.11', ts='-0.00', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='6.65e-08', energy_flux_error2='9.03e-06', EG='1.04', time_epoch_completed='1663368633.15', return_code='0', job_id='97482', GAL2='1.22', EG2='0.91', return_code2='102', photon_flux_error2='6.35e-08', ts2='3.70', photon_index='2.05' WHERE bin_id='1714' AND source_name='4FGL J1051.6+3253' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:50:33 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 97482: <4FGL_J1051.6+3253_daily_bin1714> in cluster <slac> Done

Job <4FGL_J1051.6+3253_daily_bin1714> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 16 15:35:16 2022
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:36:14 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:36:14 2022
Terminated at Fri Sep 16 15:50:34 2022
Results reported at Fri Sep 16 15:50:34 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1051.6+3253_daily_bin1714 162.911 32.8853 683596801 683856001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1051.6+3253 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   748.37 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             309.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   859 sec.
    Turnaround time :                            918 sec.

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

