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


Performing analysis on: 4FGL_J1051.6+3253_daily_bin1765
RA = 162.911, Dec = 32.8853
tmin = 696816001, tmax = 697075201
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='631372', job_status='RUN', time_executed='2023-02-03 00:47:27.175737', time_epoch_executed='1675414047.18' WHERE source_name='4FGL J1051.6+3253' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/631372

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/631372/ft1_4FGL_J1051.6+3253_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/631372/ft2_4FGL_J1051.6+3253_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/631372/ft1_4FGL_J1051.6+3253_daily_bin1765.fits outfile=/scratch/kocevski/631372/ft1_filteredMKT_4FGL_J1051.6+3253_daily_bin1765.fits ra=162.911 dec=32.8853 rad=12.0 tmin=696816001.0 tmax=697075201.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.67
user 3.43
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/631372/ft2_4FGL_J1051.6+3253_daily_bin1765.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/631372/ft1_filteredMKT_4FGL_J1051.6+3253_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/631372/ft1_filtered_4FGL_J1051.6+3253_daily_bin1765.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.54
user 0.35
sys 0.18

Number of photons that the gtmktime cut: 563

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/631372/ft1_filtered_4FGL_J1051.6+3253_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/631372/ft2_4FGL_J1051.6+3253_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/631372/ltcube_696816001_697075201_4FGL_J1051.6+3253_daily_bin1765.fits outfile=/scratch/kocevski/631372/expmap_696816001_697075201_4FGL_J1051.6+3253_daily_bin1765.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/631372/ltcube_696816001_697075201_4FGL_J1051.6+3253_daily_bin1765.fits
.....................!
real 203.54
user 194.90
sys 6.00

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/631372/ft1_filtered_4FGL_J1051.6+3253_daily_bin1765.fits scfile=/scratch/kocevski/631372/ft2_4FGL_J1051.6+3253_daily_bin1765.fits outfile=/scratch/kocevski/631372/cmap_696816001_697075201_4FGL_J1051.6+3253_daily_bin1765.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/631372/ft1_filtered_4FGL_J1051.6+3253_daily_bin1765.fits scfile=/scratch/kocevski/631372/ft2_4FGL_J1051.6+3253_daily_bin1765.fits outfile=/scratch/kocevski/631372/cmap_HighResolution_696816001_697075201_4FGL_J1051.6+3253_daily_bin1765.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.40
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/631372/ft1_filtered_4FGL_J1051.6+3253_daily_bin1765.fits', '/scratch/kocevski/631372/ft2_4FGL_J1051.6+3253_daily_bin1765.fits', expMap='/scratch/kocevski/631372/expmap_696816001_697075201_4FGL_J1051.6+3253_daily_bin1765.fits', expCube='/scratch/kocevski/631372/ltcube_696816001_697075201_4FGL_J1051.6+3253_daily_bin1765.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/631372/Model_4FGL_J1051.6+3253_daily_bin1765.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/631372/ft1_filtered_4FGL_J1051.6+3253_daily_bin1765.fits
Spacecraft file(s): /scratch/kocevski/631372/ft2_4FGL_J1051.6+3253_daily_bin1765.fits
Exposure map: /scratch/kocevski/631372/expmap_696816001_697075201_4FGL_J1051.6+3253_daily_bin1765.fits
Exposure cube: /scratch/kocevski/631372/ltcube_696816001_697075201_4FGL_J1051.6+3253_daily_bin1765.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/631372/Model_4FGL_J1051.6+3253_daily_bin1765.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) = 6320.86241628

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.311       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.9610       1.0000          .0000       .10000E+07
     3 'norm      '    26.373       1.0000          .0000       .10000E+07
     4 'Prefactor '    .19061E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .10767E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .10967E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .32449E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .48863E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    2.1789       1.0000          .0000       .10000E+07
    10 'Prefactor '    2.6590       1.0000          .0000       .10000E+07
    11 'Prefactor '    .83655E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    .58123E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .54057E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    2.5689       1.0000          .0000       .10000E+07
    15 'Prefactor '    .78504E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    18.642       1.0000          .0000       .10000E+07
    17 'norm      '    1.8697       1.0000          .0000       .10000E+07
    18 'Prefactor '    .79622E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    42.746       1.0000          .0000       .10000E+07
    20 'Prefactor '    .15833       1.0000          .0000       .10000E+07
    21 'norm      '    .28166E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .11879E-06   1.0000          .0000       .10000E+07
    23 'Prefactor '    .30301E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    .15023E-02   1.0000          .0000       .10000E+07
    25 'norm      '    5.0144       1.0000          .0000       .10000E+07
    26 'Prefactor '    22.034       1.0000          .0000       .10000E+07
    27 'Prefactor '    12.916       1.0000          .0000       .10000E+07
    28 'Normalizat'    1.1195       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .88029       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=   6320.861     FROM MIGRAD    STATUS=CONVERGED    170 CALLS     2768 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.312        3.7280        .56218E-07    .56450E-01
   2  Prefactor     2.9612        2.1330        .88137E-07    .59247E-02
   3  norm          26.381        4.2978       -.59062E-07   -.62350E-01
   4  Prefactor     .11102E-09    3.2595       -.53796E-07** at limit **
   5  Prefactor     .74940E-07    3.1855       -.41452E-09** at limit **
   6  norm          .40468E-07    4.0822       -.15408E-06** at limit **
   7  Prefactor     .85931E-07    20.052       -.88822E-07** at limit **
   8  Prefactor     .49960E-09    5.0840       -.45631E-08** at limit **
   9  Prefactor     2.1992        5.5452       -.14686E-06   -.70564E-03
  10  Prefactor     2.6646        5.9601       -.11878E-06    .26712E-02
  11  Prefactor      .0000        .88172       -.22662E-07** at limit **
  12  Prefactor     .36254E-01    3.1273        .80646E-07** at limit **
  13  Prefactor     .16093E-06    8.3857       -.27968E-06** at limit **
  14  Prefactor     2.5745        4.1012       -.38561E-07   -.45258E-01
  15  Prefactor     .19318E-06    31.430        .95508E-07** at limit **
  16  Prefactor     18.639        6.4177        .10096E-06    .75995E-01
  17  norm          1.8699        .41709        .11258E-07    .10708E-01
  18  Prefactor     .27756E-09    2.0170       -.86439E-07** at limit **
  19  Prefactor     42.918        11.675       -.28711E-07    .16798    
  20  Prefactor     .93314E-07    48.731        .71453E-06** at limit **
  21  norm          .96984E-06    100.52       -.15021E-05** at limit **
  22  Prefactor     .55511E-10    1.2672       -.87428E-07** at limit **
  23  Prefactor     .28444E-06    6.1776        .12522E-06** at limit **
  24  Prefactor     .56066E-08    8.8352        .39668E-08** at limit **
  25  norm          5.0156        2.8426       -.10838E-07   -.14303E-02
  26  Prefactor     22.029        3.9946       -.51006E-07    .70685E-03
  27  Prefactor     12.908        8.1553        .85765E-07    .36692E-01
  28  Normalizat    1.1191        .21991       -.35770E-05   -.66694E-04
  29  Prefactor     .88061        .24259        .39634E-05    .14453E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.3124
  Prefactor  = 2.96121
  norm       = 26.3806
  Prefactor  = 1.11022e-10
  Prefactor  = 7.49401e-08
  norm       = 4.04676e-08
  Prefactor  = 8.59313e-08
  Prefactor  = 4.996e-10
  Prefactor  = 2.19924
  Prefactor  = 2.66464
  Prefactor  = 0
  Prefactor  = 0.0362542
  Prefactor  = 1.60927e-07
  Prefactor  = 2.57454
  Prefactor  = 1.93179e-07
  Prefactor  = 18.6394
  norm       = 1.86994
  Prefactor  = 2.77556e-10
  Prefactor  = 42.9176
  Prefactor  = 9.33142e-08
  norm       = 9.69835e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 2.84439e-07
  Prefactor  = 5.60663e-09
  norm       = 5.01555
  Prefactor  = 22.029
  Prefactor  = 12.9083
  Normalizat = 1.11914
  Prefactor  = 0.880615
 **********
 **   18 **HESSE 
 **********

 FCN=   6320.861     FROM HESSE     STATUS=OK           617 CALLS     3385 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.312        12.234        .22196E-03   -1.5618    
   2  Prefactor     2.9612        2.1349        .58986E-03   -1.5674    
   3  norm          26.381        12.604        .19476E-03   -1.5605    
   4  Prefactor     .11102E-09    3.2672        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .74940E-07    6.9327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .40468E-07    6.4821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .85931E-07    20.552        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .49960E-09    12.510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.1992        5.5695        .69717E-03   -1.5678    
  10  Prefactor     2.6646        6.0287        .62483E-03   -1.5675    
  11  Prefactor      .0000        .88815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .36254E-01    6.2662        .10391E-01   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .16093E-06    11.827        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.5745        9.0170        .63660E-03   -1.5676    
  15  Prefactor     .19318E-06    34.116        .14547E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     18.639        12.762        .23169E-03   -1.5622    
  17  norm          1.8699        .43359        .52047E-03   -1.5681    
  18  Prefactor     .27756E-09    2.0214        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     42.918        23.532        .15296E-03   -1.5577    
  20  Prefactor     .93314E-07    48.137        .12570E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .96984E-06    100.47        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .55511E-10    1.2711        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .28444E-06    14.032        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .56066E-08    15.277        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          5.0156        2.8556        .44883E-03   -1.5663    
  26  Prefactor     22.029        15.078        .21309E-03   -1.5614    
  27  Prefactor     12.908        8.4259        .27846E-03   -1.5636    
  28  Normalizat    1.1191        .18820        .56592E-01   -.89140    
  29  Prefactor     .88061        .20442        .71596E-01   -.96822    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27005e-06
Minuit parameter uncertainties:
  1  12.2341
  2  2.13487
  3  12.6037
  4  3.39104e-05
  5  0.00144157
  6  0.00102416
  7  0.00265792
  8  0.000153979
  9  5.56954
  10  6.02875
  11  3.11348e-06
  12  0.953264
  13  0.00275938
  14  9.01705
  15  0.00513419
  16  12.7619
  17  0.433586
  18  4.53297e-05
  19  23.532
  20  0.00423831
  21  0.0197427
  22  2.0515e-05
  23  0.00399577
  24  0.000584628
  25  2.85556
  26  15.0777
  27  8.42589
  28  0.188315
  29  0.204594
Done.

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

Extracting fit parameters...

4FGL J1051.6+3253
   Spectrum: PowerLaw
293    Prefactor:  1.609e-07  2.759e-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:  8.806e-01  2.046e-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.119e+00  1.883e-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: 5.28e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.98e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/631372/likelihoodResults_696816001_697075201_4FGL_J1051.6+3253_daily_bin1765.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) = 6320.90137165
delta logL = -0.0404859853279

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6320.86088632
delta logL = -6.5866879595e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14825E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .61202       1.0000          .0000       10.000    
     3 'Normalizat'    1.1194       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88041       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=   6320.861     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      243 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    565.15        .42118E-03** at limit **
   2  Index         2.4862        5.6486        .41218        .27582E-10
   3  Normalizat    1.1191        .39183E-01    .56592E-01    .62701E-04
   4  Prefactor     .88061        .44762E-01    .71596E-01   -.48582E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Index      = 2.48619
  Normalizat = 1.11914
  Prefactor  = 0.880612
 **********
 **   18 **HESSE 
 **********

 FCN=   6320.861     FROM HESSE     STATUS=OK            33 CALLS      276 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    9.2584        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4862        6.2427        .51000       -.52679    
   3  Normalizat    1.1191        .20979        .25025E-03   -.89140    
   4  Prefactor     .88061        .23939        .31678E-03   -.96822    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.99435e-11
Minuit parameter uncertainties:
  1  7.77799e-05
  2  4.43914
  3  0.209946
  4  0.239679
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/631372': 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) = 6320.86088566
delta logL = 6.76664058119e-09

Extracting fit parameters...

4FGL J1051.6+3253
   Spectrum: PowerLaw
293    Prefactor:  1.665e-10  7.778e-05  0.000e+00  1.000e+06 ( 1.000e-14)
294        Index:  2.486e+00  4.439e+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:  8.806e-01  2.397e-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.119e+00  2.099e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 162.911 32.885

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/631372/cmap_HighResolution_696816001_697075201_4FGL_J1051.6+3253_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.98e-03', job_status='DONE', photon_flux_upper_limit='5.28e-08', time_completed='2023-02-03 01:00:22.143106', job_id='631372', GAL2='0.88', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1675414822.14', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='6.77e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='1765' AND source_name='4FGL J1051.6+3253' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 01:00:22 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0205>
Subject: Job 631372: <4FGL_J1051.6+3253_daily_bin1765> in cluster <slac> Done

Job <4FGL_J1051.6+3253_daily_bin1765> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Feb  3 00:45:22 2023
Job was executed on host(s) <bullet0205>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 00:46:37 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 00:46:37 2023
Terminated at Fri Feb  3 01:00:22 2023
Results reported at Fri Feb  3 01:00:22 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1051.6+3253_daily_bin1765 162.911 32.8853 696816001 697075201 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 :                                   768.48 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             311.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   825 sec.
    Turnaround time :                            900 sec.

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

