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


Performing analysis on: 4FGL_J1051.6+3253_daily_bin1716
RA = 162.911, Dec = 32.8853
tmin = 684115201, tmax = 684374401
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='97485', job_status='RUN', time_executed='2022-09-16 15:37:33.444490', time_epoch_executed='1663367853.44' WHERE source_name='4FGL J1051.6+3253' and cadence='daily' and bin_id='1716'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/97485

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/97485/ft1_4FGL_J1051.6+3253_daily_bin1716.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/97485/ft2_4FGL_J1051.6+3253_daily_bin1716.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/97485/ft1_4FGL_J1051.6+3253_daily_bin1716.fits outfile=/scratch/kocevski/97485/ft1_filteredMKT_4FGL_J1051.6+3253_daily_bin1716.fits ra=162.911 dec=32.8853 rad=12.0 tmin=684115201.0 tmax=684374401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.11
user 3.85
sys 0.23

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

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

Number of photons that the gtmktime cut: 572

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/97485/ft1_filtered_4FGL_J1051.6+3253_daily_bin1716.fits" evtable="EVENTS" scfile=/scratch/kocevski/97485/ft2_4FGL_J1051.6+3253_daily_bin1716.fits sctable="SC_DATA" outfile=/scratch/kocevski/97485/ltcube_684115201_684374401_4FGL_J1051.6+3253_daily_bin1716.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/97485/ft2_4FGL_J1051.6+3253_daily_bin1716.fits
.....................!
real 14.94
user 14.43
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/97485/ft1_filtered_4FGL_J1051.6+3253_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/97485/ft2_4FGL_J1051.6+3253_daily_bin1716.fits sctable="SC_DATA" expcube=/scratch/kocevski/97485/ltcube_684115201_684374401_4FGL_J1051.6+3253_daily_bin1716.fits outfile=/scratch/kocevski/97485/expmap_684115201_684374401_4FGL_J1051.6+3253_daily_bin1716.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/97485/ltcube_684115201_684374401_4FGL_J1051.6+3253_daily_bin1716.fits
.....................!
real 193.06
user 187.29
sys 4.74

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/97485/ft1_filtered_4FGL_J1051.6+3253_daily_bin1716.fits scfile=/scratch/kocevski/97485/ft2_4FGL_J1051.6+3253_daily_bin1716.fits outfile=/scratch/kocevski/97485/cmap_684115201_684374401_4FGL_J1051.6+3253_daily_bin1716.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/97485/ft1_filtered_4FGL_J1051.6+3253_daily_bin1716.fits scfile=/scratch/kocevski/97485/ft2_4FGL_J1051.6+3253_daily_bin1716.fits outfile=/scratch/kocevski/97485/cmap_HighResolution_684115201_684374401_4FGL_J1051.6+3253_daily_bin1716.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.56
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80437E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .19555E-05   1.0000          .0000       .10000E+07
     3 'norm      '    10.217       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.8243       1.0000          .0000       .10000E+07
     5 'Prefactor '    .31230       1.0000          .0000       .10000E+07
     6 'norm      '    .33120E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    24.050       1.0000          .0000       .10000E+07
     8 'Prefactor '    17.477       1.0000          .0000       .10000E+07
     9 'Prefactor '    .28422E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.0004       1.0000          .0000       .10000E+07
    11 'Prefactor '    .52754       1.0000          .0000       .10000E+07
    12 'Prefactor '    6.9158       1.0000          .0000       .10000E+07
    13 'Prefactor '    .27784E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .52090E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .56971       1.0000          .0000       .10000E+07
    16 'Prefactor '    1.1541       1.0000          .0000       .10000E+07
    17 'norm      '    1.1800       1.0000          .0000       .10000E+07
    18 'Prefactor '    3.4545       1.0000          .0000       .10000E+07
    19 'Prefactor '    9.1208       1.0000          .0000       .10000E+07
    20 'Prefactor '    .32582E-02   1.0000          .0000       .10000E+07
    21 'norm      '    .14509E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    .99483       1.0000          .0000       .10000E+07
    23 'Prefactor '    32.328       1.0000          .0000       .10000E+07
    24 'Prefactor '    .34256E-03   1.0000          .0000       .10000E+07
    25 'norm      '    1.3252       1.0000          .0000       .10000E+07
    26 'Prefactor '    .43942E-03   1.0000          .0000       .10000E+07
    27 'Prefactor '    2.6161       1.0000          .0000       .10000E+07
    28 'Normalizat'    1.0619       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.1264       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=   6261.522     FROM MIGRAD    STATUS=CONVERGED    160 CALLS     2643 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16653E-09    3.0054       -.12128E-06** at limit **
   2  Prefactor      .0000        1.3228        .59863E-07** at limit **
   3  norm          10.219        1.8513        .34573E-07    .82772E-02
   4  Prefactor     3.8203        3.2646       -.92827E-07    .48714E-05
   5  Prefactor     .30928        9.1998        .10213E-05    .38923E-03
   6  norm          .25757E-07    5.7021       -.14034E-06** at limit **
   7  Prefactor     23.981        12.934       -.22115E-06    .79415E-01
   8  Prefactor     17.456        1.0354        .41558E-08    .43123E-03
   9  Prefactor      .0000        2.3832       -.15012E-06** at limit **
  10  Prefactor     .98434        2.2946        .15554E-07    .23728E-01
  11  Prefactor     .52636        1.7149       -.24225E-06   -.12557E-02
  12  Prefactor     6.9386        7.3869       -.68902E-07    .35309E-01
  13  Prefactor     .84932E-08    5.0410       -.27594E-06** at limit **
  14  Prefactor     .11657E-08    10.820       -.55406E-06** at limit **
  15  Prefactor     .15812E-05    62.000        .28668E-06** at limit **
  16  Prefactor     1.1554        15.853       -.75247E-06   -.16442E-01
  17  norm          1.1800        .34028       -.49027E-08    .26729E-03
  18  Prefactor     3.4499        3.1008        .64482E-07    .43494E-02
  19  Prefactor     9.1427        2.0664        .41294E-07   -.10092E-01
  20  Prefactor     .17653E-07    4.9844        .68526E-07** at limit **
  21  norm          .28050E-06    29.568       -.10284E-05** at limit **
  22  Prefactor     .98188        1.7054        .11754E-06    .20056E-02
  23  Prefactor     32.411        5.7201        .86038E-07   -.34022E-01
  24  Prefactor     .61062E-09    4.4436       -.28653E-06** at limit **
  25  norm          1.3250        1.6041        .14971E-09    .39511E-03
  26  Prefactor     .55511E-10    3.3202        .12255E-06** at limit **
  27  Prefactor     2.6622        4.5018        .81359E-07    .56310E-03
  28  Normalizat    1.0619        .20380        .34331E-05    .39485E-04
  29  Prefactor     1.1264        .24224       -.12477E-05    .23925E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  norm       = 10.2194
  Prefactor  = 3.82027
  Prefactor  = 0.30928
  norm       = 2.57572e-08
  Prefactor  = 23.9812
  Prefactor  = 17.4565
  Prefactor  = 0
  Prefactor  = 0.984338
  Prefactor  = 0.526356
  Prefactor  = 6.93862
  Prefactor  = 8.49321e-09
  Prefactor  = 1.16573e-09
  Prefactor  = 1.58124e-06
  Prefactor  = 1.15539
  norm       = 1.17996
  Prefactor  = 3.44989
  Prefactor  = 9.14269
  Prefactor  = 1.76525e-08
  norm       = 2.80498e-07
  Prefactor  = 0.981879
  Prefactor  = 32.4108
  Prefactor  = 6.10623e-10
  norm       = 1.32498
  Prefactor  = 5.55112e-11
  Prefactor  = 2.66222
  Normalizat = 1.0619
  Prefactor  = 1.12642
 **********
 **   18 **HESSE 
 **********

 FCN=   6261.522     FROM HESSE     STATUS=OK           621 CALLS     3264 TOTAL
                     EDM=   .63E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16653E-09    3.0091        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        1.3211        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          10.219        9.1788        .31322E-03   -1.5644    
   4  Prefactor     3.8203        3.3485        .51586E-03   -1.5669    
   5  Prefactor     .30928        2.3811        .62572E-02   -1.5697    
   6  norm          .25757E-07    6.3542        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     23.981        41.865        .20396E-03   -1.5610    
   8  Prefactor     17.456        20.195        .23931E-03   -1.5624    
   9  Prefactor      .0000        2.3721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .98434        17.622        .43780E-03   -1.5688    
  11  Prefactor     .52636        1.8174        .75986E-03   -1.5693    
  12  Prefactor     6.9386        11.216        .38126E-03   -1.5655    
  13  Prefactor     .84932E-08    9.4639        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .11657E-08    11.149        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .15812E-05    74.531        .71986E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.1554        22.535        .10751E-02   -1.5686    
  17  norm          1.1800        .34770        .53781E-03   -1.5686    
  18  Prefactor     3.4499        3.2298        .54389E-03   -1.5671    
  19  Prefactor     9.1427        11.683        .33162E-03   -1.5647    
  20  Prefactor     .17653E-07    5.4466        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .28050E-06    30.521        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .98188        1.8658        .43582E-03   -1.5688    
  23  Prefactor     32.411        38.159        .17590E-03   -1.5594    
  24  Prefactor     .61062E-09    9.6069        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          1.3250        1.6589        .95462E-03   -1.5685    
  26  Prefactor     .55511E-10    3.3238        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     2.6622        4.5429        .63035E-03   -1.5675    
  28  Normalizat    1.0619        .17788        .39821E-01   -.90985    
  29  Prefactor     1.1264        .20791        .64650E-01   -.88627    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.25777e-07
Minuit parameter uncertainties:
  1  4.43962e-05
  2  1.66419e-06
  3  9.17881
  4  3.34855
  5  1.71629
  6  0.000809286
  7  41.8651
  8  20.1948
  9  4.03484e-06
  10  8.32962
  11  1.81743
  12  11.2156
  13  0.000567268
  14  0.000229299
  15  0.021712
  16  10.2052
  17  0.347698
  18  3.2298
  19  11.6827
  20  0.000619848
  21  0.00585205
  22  1.86581
  23  38.1598
  24  0.000153732
  25  1.65893
  26  1.99687e-05
  27  4.54296
  28  0.177982
  29  0.208059
Done.

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

Extracting fit parameters...

4FGL J1051.6+3253
   Spectrum: PowerLaw
293    Prefactor:  8.493e-09  5.673e-04  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.081e-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.062e+00  1.780e-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: 4.46e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.36e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/97485/likelihoodResults_684115201_684374401_4FGL_J1051.6+3253_daily_bin1716.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) = 6261.57256878
delta logL = -0.0505812492838

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6261.52198756
delta logL = -3.33593561663e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24092E-07   1.0000          .0000       .10000E+07
     2 'Index     '    .65590       1.0000          .0000       10.000    
     3 'Normalizat'    1.0619       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1264       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=   6261.522     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      234 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .54401E-08    .64630        .42118E-03** at limit **
   2  Index         1.7435        5.2509        .41811        .46224E-09
   3  Normalizat    1.0619        .99090E-03    .39822E-01    .77759E-03
   4  Prefactor     1.1264        .12062E-02    .64650E-01    .69354E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.44009e-09
  Index      = 1.74349
  Normalizat = 1.0619
  Prefactor  = 1.12642
 **********
 **   18 **HESSE 
 **********

 FCN=   6261.522     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      263 TOTAL
                     EDM=   .86E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .54401E-08    1.9383        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7435        8.2025        .50000       -.70930    
   3  Normalizat    1.0619        .17152E-02    .24223E-03   -.90985    
   4  Prefactor     1.1264        .20862E-02    .28597E-03   -.88627    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.57287e-11
Minuit parameter uncertainties:
  1  0.000205193
  2  6288.22
  3  0.00171519
  4  0.00208619
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/97485': 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) = 6261.52198753
delta logL = -1.027729013e-10

Extracting fit parameters...

4FGL J1051.6+3253
   Spectrum: PowerLaw
293    Prefactor:  5.440e-09  2.052e-04  0.000e+00  1.000e+06 ( 1.000e-14)
294        Index:  1.743e+00  6.288e+03  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.126e+00  2.086e-03  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.062e+00  1.715e-03  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/97485/cmap_HighResolution_684115201_684374401_4FGL_J1051.6+3253_daily_bin1716.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.36e-03', job_status='DONE', photon_flux_upper_limit='4.46e-08', time_completed='2022-09-16 15:50:05.752193', job_id='97485', GAL2='1.13', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1663368605.75', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='-1.03e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='1716' AND source_name='4FGL J1051.6+3253' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:50:05 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 97485: <4FGL_J1051.6+3253_daily_bin1716> in cluster <slac> Done

Job <4FGL_J1051.6+3253_daily_bin1716> 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) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:36:15 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:15 2022
Terminated at Fri Sep 16 15:50:06 2022
Results reported at Fri Sep 16 15:50:06 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1051.6+3253_daily_bin1716 162.911 32.8853 684115201 684374401 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 :                                   753.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             313.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   831 sec.
    Turnaround time :                            890 sec.

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

