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


Performing analysis on: 4FGL_J1051.6+3253_daily_bin1749
RA = 162.911, Dec = 32.8853
tmin = 692668801, tmax = 692928001
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='947921', job_status='RUN', time_executed='2022-12-17 00:30:45.593304', time_epoch_executed='1671265845.59' WHERE source_name='4FGL J1051.6+3253' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/947921

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/947921/ft1_4FGL_J1051.6+3253_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/947921/ft2_4FGL_J1051.6+3253_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/947921/ft1_4FGL_J1051.6+3253_daily_bin1749.fits outfile=/scratch/kocevski/947921/ft1_filteredMKT_4FGL_J1051.6+3253_daily_bin1749.fits ra=162.911 dec=32.8853 rad=12.0 tmin=692668801.0 tmax=692928001.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.65
user 3.44
sys 0.20

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

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

Number of photons that the gtmktime cut: 592

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/947921/ft1_filtered_4FGL_J1051.6+3253_daily_bin1749.fits" evtable="EVENTS" scfile=/scratch/kocevski/947921/ft2_4FGL_J1051.6+3253_daily_bin1749.fits sctable="SC_DATA" outfile=/scratch/kocevski/947921/ltcube_692668801_692928001_4FGL_J1051.6+3253_daily_bin1749.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/947921/ft2_4FGL_J1051.6+3253_daily_bin1749.fits
.....................!
real 11.78
user 11.47
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/947921/ft1_filtered_4FGL_J1051.6+3253_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/947921/ft2_4FGL_J1051.6+3253_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/947921/ltcube_692668801_692928001_4FGL_J1051.6+3253_daily_bin1749.fits outfile=/scratch/kocevski/947921/expmap_692668801_692928001_4FGL_J1051.6+3253_daily_bin1749.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/947921/ltcube_692668801_692928001_4FGL_J1051.6+3253_daily_bin1749.fits
.....................!
real 190.27
user 185.04
sys 4.90

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/947921/ft1_filtered_4FGL_J1051.6+3253_daily_bin1749.fits scfile=/scratch/kocevski/947921/ft2_4FGL_J1051.6+3253_daily_bin1749.fits outfile=/scratch/kocevski/947921/cmap_692668801_692928001_4FGL_J1051.6+3253_daily_bin1749.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.54
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/947921/ft1_filtered_4FGL_J1051.6+3253_daily_bin1749.fits scfile=/scratch/kocevski/947921/ft2_4FGL_J1051.6+3253_daily_bin1749.fits outfile=/scratch/kocevski/947921/cmap_HighResolution_692668801_692928001_4FGL_J1051.6+3253_daily_bin1749.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.53
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .62368       1.0000          .0000       .10000E+07
     2 'Prefactor '    3.1134       1.0000          .0000       .10000E+07
     3 'norm      '    5.9754       1.0000          .0000       .10000E+07
     4 'Prefactor '    14.698       1.0000          .0000       .10000E+07
     5 'Prefactor '    .90765E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .95125E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .25462E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .70295E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.6984       1.0000          .0000       .10000E+07
    10 'Prefactor '    14.614       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.7188       1.0000          .0000       .10000E+07
    12 'Prefactor '    .35572E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .33899E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .85015E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    74.385       1.0000          .0000       .10000E+07
    16 'Prefactor '    3.9125       1.0000          .0000       .10000E+07
    17 'norm      '    1.4300       1.0000          .0000       .10000E+07
    18 'Prefactor '    .64914       1.0000          .0000       .10000E+07
    19 'Prefactor '    12.540       1.0000          .0000       .10000E+07
    20 'Prefactor '    .35876E-02   1.0000          .0000       .10000E+07
    21 'norm      '    7.0716       1.0000          .0000       .10000E+07
    22 'Prefactor '    .16770E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    .93100E-01   1.0000          .0000       .10000E+07
    24 'Prefactor '    .11940E-02   1.0000          .0000       .10000E+07
    25 'norm      '    .67800E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    .78210E-03   1.0000          .0000       .10000E+07
    27 'Prefactor '    4.0566       1.0000          .0000       .10000E+07
    28 'Normalizat'    1.0051       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .88833       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=   6507.569     FROM MIGRAD    STATUS=CONVERGED    155 CALLS     3972 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .62253        .62551       -.11805E-07    .17616E-02
   2  Prefactor     3.1120        2.0258        .37127E-08   -.32755E-04
   3  norm          5.9599        6.5868       -.77494E-07   -.75793E-02
   4  Prefactor     14.731        5.0656        .13643E-07    .31816E-04
   5  Prefactor     .41078E-08    3.3658        .13847E-06** at limit **
   6  norm          .13878E-08    1.7922        .98497E-07** at limit **
   7  Prefactor      .0000        19.598        .34954E-07** at limit **
   8  Prefactor     .19901E-06    5.4846       -.16250E-06** at limit **
   9  Prefactor     3.7012        3.8888       -.81151E-09   -.13441E-03
  10  Prefactor     14.600        1.5921       -.50969E-08   -.12755E-01
  11  Prefactor     2.7193        2.2897       -.67339E-07   -.26447E-03
  12  Prefactor     .18707E-07    2.5426       -.14864E-07** at limit **
  13  Prefactor     .59175E-07    3.3526        .23970E-07** at limit **
  14  Prefactor     .94369E-09    2.0627        .71984E-07** at limit **
  15  Prefactor     74.413        1.8206       -.54071E-08    .57825E-01
  16  Prefactor     3.9213        6.1049       -.53663E-07   -.26693E-02
  17  norm          1.4299        .32938       -.54764E-08   -.18959E-02
  18  Prefactor     .65016        1.8838       -.63658E-07    .13968E-03
  19  Prefactor     12.556        1.7188        .96046E-08    .13202E-02
  20  Prefactor     .58287E-08    2.6185       -.11053E-07** at limit **
  21  norm          7.1086        3.8729        .11916E-07    .87562E-02
  22  Prefactor     .48850E-08    4.8776       -.38079E-07** at limit **
  23  Prefactor     .16098E-08    29.755       -.82130E-08** at limit **
  24  Prefactor     .68279E-08    8.3264       -.78845E-07** at limit **
  25  norm          .61173E-07    4.0302        .71228E-07** at limit **
  26  Prefactor     .12002E-06    10.878       -.24489E-06** at limit **
  27  Prefactor     4.0045        5.6917        .16279E-06    .21271E-04
  28  Normalizat    1.0052        .19125       -.26522E-05    .15385E-05
  29  Prefactor     .88833        .21117        .39507E-05    .14050E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.622526
  Prefactor  = 3.11204
  norm       = 5.95985
  Prefactor  = 14.7309
  Prefactor  = 4.10783e-09
  norm       = 1.38778e-09
  Prefactor  = 0
  Prefactor  = 1.99007e-07
  Prefactor  = 3.70124
  Prefactor  = 14.5998
  Prefactor  = 2.71929
  Prefactor  = 1.87073e-08
  Prefactor  = 5.91749e-08
  Prefactor  = 9.4369e-10
  Prefactor  = 74.4126
  Prefactor  = 3.92126
  norm       = 1.42991
  Prefactor  = 0.650156
  Prefactor  = 12.5556
  Prefactor  = 5.82867e-09
  norm       = 7.10862
  Prefactor  = 4.88498e-09
  Prefactor  = 1.60982e-09
  Prefactor  = 6.82787e-09
  norm       = 6.11733e-08
  Prefactor  = 1.20015e-07
  Prefactor  = 4.00446
  Normalizat = 1.0052
  Prefactor  = 0.888332
 **********
 **   18 **HESSE 
 **********

 FCN=   6507.569     FROM HESSE     STATUS=OK           615 CALLS     4587 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .62253        19.383        .67133E-03   -1.5692    
   2  Prefactor     3.1120        2.0216        .57440E-03   -1.5673    
   3  norm          5.9599        6.6203        .41054E-03   -1.5659    
   4  Prefactor     14.731        5.1276        .26099E-03   -1.5631    
   5  Prefactor     .41078E-08    4.1742        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .13878E-08    4.1062        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        19.556        .16701E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .19901E-06    13.257        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.7012        3.8980        .52490E-03   -1.5669    
  10  Prefactor     14.600        8.4506        .26175E-03   -1.5632    
  11  Prefactor     2.7193        2.3519        .61739E-03   -1.5675    
  12  Prefactor     .18707E-07    8.2626        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .59175E-07    7.7057        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .94369E-09    3.8422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     74.413        71.333        .11595E-03   -1.5535    
  16  Prefactor     3.9213        6.1416        .50981E-03   -1.5668    
  17  norm          1.4299        .33582        .48399E-03   -1.5684    
  18  Prefactor     .65016        1.9106        .64937E-03   -1.5692    
  19  Prefactor     12.556        14.772        .28262E-03   -1.5637    
  20  Prefactor     .58287E-08    8.1126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          7.1086        9.8543        .37699E-03   -1.5655    
  22  Prefactor     .48850E-08    5.8099        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .16098E-08    29.793        .14118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .68279E-08    11.224        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .61173E-07    1.4275        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .12002E-06    14.700        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     4.0045        5.7228        .50037E-03   -1.5668    
  28  Normalizat    1.0052        .16767        .46231E-01   -.92856    
  29  Prefactor     .88833        .18174        .65565E-01   -.96550    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.72946e-07
Minuit parameter uncertainties:
  1  6.9474
  2  2.02164
  3  6.62031
  4  5.12755
  5  0.000261507
  6  0.000149641
  7  1.76147e-05
  8  0.00324843
  9  3.89801
  10  8.45062
  11  2.35191
  12  0.000786525
  13  0.00135027
  14  0.00012114
  15  71.3339
  16  6.14164
  17  0.335815
  18  1.91063
  19  14.772
  20  0.000435495
  21  9.85435
  22  0.000336185
  23  0.000439667
  24  0.000553335
  25  0.000591158
  26  0.00265646
  27  5.72283
  28  0.167762
  29  0.181864
Done.

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

Extracting fit parameters...

4FGL J1051.6+3253
   Spectrum: PowerLaw
293    Prefactor:  5.917e-08  1.350e-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.883e-01  1.819e-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.005e+00  1.678e-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: 3.70e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.79e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/947921/likelihoodResults_692668801_692928001_4FGL_J1051.6+3253_daily_bin1749.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) = 6507.63155156
delta logL = -0.062151350724

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6507.56940337
delta logL = -3.16206842399e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24626E-04   1.0000          .0000       .10000E+07
     2 'Index     '    .96601       1.0000          .0000       10.000    
     3 'Normalizat'    1.0049       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88850       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=   6507.569     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      227 TOTAL
                     EDM=   .43E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22760E-08    .25773        .42118E-03** at limit **
   2  Index         1.6231        8.9724        .45841        .19840E-09
   3  Normalizat    1.0052        .57641E-03    .46228E-01    .24994E-03
   4  Prefactor     .88833        .66744E-03    .65565E-01    .16200E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.27596e-09
  Index      = 1.6231
  Normalizat = 1.0052
  Prefactor  = 0.888332
 **********
 **   18 **HESSE 
 **********

 FCN=   6507.569     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      254 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22760E-08    7.8757        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6231        5.6511        .18336       -.74148    
   3  Normalizat    1.0052        .31856E-02    .23816E-03   -.92856    
   4  Prefactor     .88833        .36856E-02    .29001E-03   -.96550    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.64822e-10
Minuit parameter uncertainties:
  1  0.000268418
  2  39321
  3  0.00318556
  4  0.00368559
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/947921': 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) = 6507.56940021
delta logL = 3.72165231965e-09

Extracting fit parameters...

4FGL J1051.6+3253
   Spectrum: PowerLaw
293    Prefactor:  2.276e-09  2.684e-04  0.000e+00  1.000e+06 ( 1.000e-14)
294        Index:  1.623e+00  3.932e+04  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.883e-01  3.686e-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.005e+00  3.186e-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/947921/cmap_HighResolution_692668801_692928001_4FGL_J1051.6+3253_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.79e-03', job_status='DONE', photon_flux_upper_limit='3.70e-08', time_completed='2022-12-17 00:45:11.572885', job_id='947921', GAL2='0.89', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1671266711.57', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='3.72e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='1749' AND source_name='4FGL J1051.6+3253' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 00:45:11 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 947921: <4FGL_J1051.6+3253_daily_bin1749> in cluster <slac> Done

Job <4FGL_J1051.6+3253_daily_bin1749> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Dec 17 00:30:27 2022
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 00:30:27 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 00:30:27 2022
Terminated at Sat Dec 17 00:45:12 2022
Results reported at Sat Dec 17 00:45:12 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1051.6+3253_daily_bin1749 162.911 32.8853 692668801 692928001 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 :                                   868.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             327.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   884 sec.
    Turnaround time :                            885 sec.

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

