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


Performing analysis on: 4FGL_J1051.6+2109_daily_bin1764
RA = 162.913, Dec = 21.1651
tmin = 696556801, tmax = 696816001
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='442368', job_status='RUN', time_executed='2023-01-31 00:40:32.876974', time_epoch_executed='1675154432.88' WHERE source_name='4FGL J1051.6+2109' and cadence='daily' and bin_id='1764'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/442368

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/442368/ft1_4FGL_J1051.6+2109_daily_bin1764.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/442368/ft2_4FGL_J1051.6+2109_daily_bin1764.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/442368/ft1_4FGL_J1051.6+2109_daily_bin1764.fits outfile=/scratch/kocevski/442368/ft1_filteredMKT_4FGL_J1051.6+2109_daily_bin1764.fits ra=162.913 dec=21.1651 rad=12.0 tmin=696556801.0 tmax=696816001.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.68
user 3.44
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/442368/ft2_4FGL_J1051.6+2109_daily_bin1764.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/442368/ft2_4FGL_J1051.6+2109_daily_bin1764.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/442368/ft1_filteredMKT_4FGL_J1051.6+2109_daily_bin1764.fits evtable="EVENTS" outfile="/scratch/kocevski/442368/ft1_filtered_4FGL_J1051.6+2109_daily_bin1764.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.50
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 511

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/442368/ft1_filtered_4FGL_J1051.6+2109_daily_bin1764.fits" evtable="EVENTS" scfile=/scratch/kocevski/442368/ft2_4FGL_J1051.6+2109_daily_bin1764.fits sctable="SC_DATA" outfile=/scratch/kocevski/442368/ltcube_696556801_696816001_4FGL_J1051.6+2109_daily_bin1764.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/442368/ft2_4FGL_J1051.6+2109_daily_bin1764.fits
.....................!
real 13.25
user 12.85
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/442368/ft1_filtered_4FGL_J1051.6+2109_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/442368/ft2_4FGL_J1051.6+2109_daily_bin1764.fits sctable="SC_DATA" expcube=/scratch/kocevski/442368/ltcube_696556801_696816001_4FGL_J1051.6+2109_daily_bin1764.fits outfile=/scratch/kocevski/442368/expmap_696556801_696816001_4FGL_J1051.6+2109_daily_bin1764.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/442368/ltcube_696556801_696816001_4FGL_J1051.6+2109_daily_bin1764.fits
.....................!
real 191.98
user 186.13
sys 5.46

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

Setting source of interest to:
4FGL J1051.6+2109 @ 162.913 21.1651

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/442368/ft1_filtered_4FGL_J1051.6+2109_daily_bin1764.fits scfile=/scratch/kocevski/442368/ft2_4FGL_J1051.6+2109_daily_bin1764.fits outfile=/scratch/kocevski/442368/cmap_696556801_696816001_4FGL_J1051.6+2109_daily_bin1764.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.913 yref=21.1651 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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/442368/ft1_filtered_4FGL_J1051.6+2109_daily_bin1764.fits scfile=/scratch/kocevski/442368/ft2_4FGL_J1051.6+2109_daily_bin1764.fits outfile=/scratch/kocevski/442368/cmap_HighResolution_696556801_696816001_4FGL_J1051.6+2109_daily_bin1764.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.913 yref=21.1651 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.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/442368/ft1_filtered_4FGL_J1051.6+2109_daily_bin1764.fits evtable="EVENTS" scfile=/scratch/kocevski/442368/ft2_4FGL_J1051.6+2109_daily_bin1764.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/442368/Model_4FGL_J1051.6+2109_daily_bin1764.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/442368/ft1_filtered_4FGL_J1051.6+2109_daily_bin1764.fits.....................!
real 55.79
user 54.33
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/442368/ft1_filtered_4FGL_J1051.6+2109_daily_bin1764.fits', '/scratch/kocevski/442368/ft2_4FGL_J1051.6+2109_daily_bin1764.fits', expMap='/scratch/kocevski/442368/expmap_696556801_696816001_4FGL_J1051.6+2109_daily_bin1764.fits', expCube='/scratch/kocevski/442368/ltcube_696556801_696816001_4FGL_J1051.6+2109_daily_bin1764.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/442368/Model_4FGL_J1051.6+2109_daily_bin1764.xml', optimizer='MINUIT')

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

4FGL J1051.6+2109
   Spectrum: PowerLaw
244    Prefactor:  1.594e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
245        Index:  2.771e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  5.065e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/442368/ft1_filtered_4FGL_J1051.6+2109_daily_bin1764.fits
Spacecraft file(s): /scratch/kocevski/442368/ft2_4FGL_J1051.6+2109_daily_bin1764.fits
Exposure map: /scratch/kocevski/442368/expmap_696556801_696816001_4FGL_J1051.6+2109_daily_bin1764.fits
Exposure cube: /scratch/kocevski/442368/ltcube_696556801_696816001_4FGL_J1051.6+2109_daily_bin1764.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/442368/Model_4FGL_J1051.6+2109_daily_bin1764.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) = 5887.31287459

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.223       1.0000          .0000       .10000E+07
     2 'Prefactor '    10.396       1.0000          .0000       .10000E+07
     3 'Prefactor '    54.396       1.0000          .0000       .10000E+07
     4 'Prefactor '    .11600E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    3.2484       1.0000          .0000       .10000E+07
     6 'Prefactor '    24.100       1.0000          .0000       .10000E+07
     7 'Prefactor '    4.1211       1.0000          .0000       .10000E+07
     8 'Prefactor '    38.800       1.0000          .0000       .10000E+07
     9 'Prefactor '    .92657       1.0000          .0000       .10000E+07
    10 'Prefactor '    .27634E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .46760E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .21746E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .31193E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .27369E-05   1.0000          .0000       .10000E+07
    15 'norm      '    .28910E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    11.653       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0908       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .92833       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5887.309     FROM MIGRAD    STATUS=CONVERGED    101 CALLS     1271 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.230        7.7739        .92484E-06    .20993E-01
   2  Prefactor     10.252        26.029       -.22238E-05    .31919E-02
   3  Prefactor     54.408        2.0236       -.87449E-07    .47829E-01
   4  Prefactor     .10547E-08    2.9796       -.79846E-06** at limit **
   5  Prefactor     3.2409        2.4166        .25354E-06    .27676E-02
   6  Prefactor     24.080        4.8561       -.46144E-06    .12598E-01
   7  Prefactor     4.0994        1.3238       -.26805E-07   -.10254E-01
   8  Prefactor     38.836        3.2731        .15265E-06   -.18408E-01
   9  Prefactor     .92950        .83743       -.95519E-07   -.16451E-01
  10  Prefactor     .33706E-06    3.0516       -.28368E-06** at limit **
  11  Prefactor     .20484E-07    6.6739       -.44371E-06** at limit **
  12  norm           .0000        1.2895       -.92601E-06** at limit **
  13  Prefactor      .0000        2.5101       -.16201E-05** at limit **
  14  Prefactor     .11102E-08    2.9458        .89388E-06** at limit **
  15  norm          .18052E-06    5.5370        .16270E-06** at limit **
  16  Prefactor     11.645        1.3398       -.13972E-06    .86381E-02
  17  Normalizat    1.0918        .21027       -.10050E-04   -.53875E-05
  18  Prefactor     .92780        .21611        .13037E-04    .70522E-07
                               ERR DEF=  .500    
Final values: 
  norm       = 13.23
  Prefactor  = 10.2517
  Prefactor  = 54.4081
  Prefactor  = 1.05471e-09
  Prefactor  = 3.2409
  Prefactor  = 24.0798
  Prefactor  = 4.0994
  Prefactor  = 38.8359
  Prefactor  = 0.929496
  Prefactor  = 3.37064e-07
  Prefactor  = 2.04836e-08
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.11022e-09
  norm       = 1.80522e-07
  Prefactor  = 11.6446
  Normalizat = 1.09175
  Prefactor  = 0.927797
 **********
 **   18 **HESSE 
 **********

 FCN=   5887.309     FROM HESSE     STATUS=OK           282 CALLS     1553 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.230        9.3069        .27520E-03   -1.5635    
   2  Prefactor     10.252        26.528        .31051E-03   -1.5644    
   3  Prefactor     54.408        58.314        .13560E-03   -1.5560    
   4  Prefactor     .10547E-08    2.9894        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.2409        2.4386        .56170E-03   -1.5672    
   6  Prefactor     24.080        9.7121        .20375E-03   -1.5610    
   7  Prefactor     4.0994        11.096        .49632E-03   -1.5667    
   8  Prefactor     38.836        32.366        .16056E-03   -1.5583    
   9  Prefactor     .92950        16.654        .43940E-03   -1.5689    
  10  Prefactor     .33706E-06    7.8540        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .20484E-07    6.9508        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        1.2338        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        2.4594        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .11102E-08    2.9671        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .18052E-06    8.0399        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.645        10.173        .29321E-03   -1.5640    
  17  Normalizat    1.0918        .18982        .38388E-01   -.90017    
  18  Prefactor     .92780        .18788        .45365E-01   -.95176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.40316e-07
Minuit parameter uncertainties:
  1  9.30693
  2  26.5285
  3  58.3146
  4  0.000111519
  5  2.43856
  6  9.71213
  7  11.0963
  8  32.3659
  9  7.8688
  10  0.00325405
  11  0.000754385
  12  1.22076e-06
  13  2.08876e-06
  14  0.000115385
  15  0.00240961
  16  10.1725
  17  0.189934
  18  0.188009
Done.

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

Extracting fit parameters...

4FGL J1051.6+2109
   Spectrum: PowerLaw
244    Prefactor:  4.099e+00  1.110e+01  0.000e+00  1.000e+06 ( 1.000e-12)
245        Index:  2.771e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  5.065e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  9.278e-01  1.880e-01  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
572   Normalization:  1.092e+00  1.899e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.19
Ra Dec: 162.913 21.165
Photon Flux Upper Limit: 1.34e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.06e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/442368/likelihoodResults_696556801_696816001_4FGL_J1051.6+2109_daily_bin1764.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) = 5887.28592874
delta logL = 0.02323098951

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5887.11166469
delta logL = 0.197495041763

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5887.112     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      269 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .83930E-01    1.5872        .64430E-03** at limit **
   2  Index         6.4264        3.7482        .21029        .95594E-04
   3  Normalizat    1.0463        .30686E-01    .40821E-01    .30838E-04
   4  Prefactor     .96717        .31675E-01    .45853E-01    .33408E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0839301
  Index      = 6.42645
  Normalizat = 1.04629
  Prefactor  = 0.967166
 **********
 **   18 **HESSE 
 **********

 FCN=   5887.112     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      302 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .83930E-01    7.3957        .28875E-05   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.4264        7.5097        .10293E-01    .28931    
   3  Normalizat    1.0463        .16834        .24554E-03   -.91495    
   4  Prefactor     .96717        .16806        .26146E-03   -.93832    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.49276e-09
Minuit parameter uncertainties:
  1  1.57572
  2  12.5992
  3  0.168429
  4  0.168151
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/442368': 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) = 5887.11164212
delta logL = 0.197517613377

Extracting fit parameters...

4FGL J1051.6+2109
   Spectrum: PowerLaw
244    Prefactor:  8.393e-02  1.576e+00  0.000e+00  1.000e+06 ( 1.000e-12)
245        Index:  6.426e+00  1.260e+01  0.000e+00  1.000e+01 (-1.000e+00)
246        Scale:  5.065e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
573    Prefactor:  9.672e-01  1.682e-01  0.000e+00  1.000e+01 ( 1.000e+00)
574        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
575        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
572   Normalization:  1.046e+00  1.684e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.19
Ra Dec: 162.913 21.165

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/442368/cmap_HighResolution_696556801_696816001_4FGL_J1051.6+2109_daily_bin1764.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', job_status='DONE', photon_flux_upper_limit='1.34e-07', time_completed='2023-01-31 00:49:15.360757', job_id='442368', GAL2='0.97', fit_tolerance='1e-08', EG2='1.05', EG='1.09', time_epoch_completed='1675154955.36', return_code2='102', ts='0.19', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.98e-01', ts2='0.65', photon_index_error='0.00', photon_index='2.77' WHERE bin_id='1764' AND source_name='4FGL J1051.6+2109' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 31 00:49:15 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 442368: <4FGL_J1051.6+2109_daily_bin1764> in cluster <slac> Done

Job <4FGL_J1051.6+2109_daily_bin1764> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Jan 31 00:35:27 2023
Job was executed on host(s) <bullet0094>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 31 00:38:52 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 31 00:38:52 2023
Terminated at Tue Jan 31 00:49:16 2023
Results reported at Tue Jan 31 00:49:16 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1051.6+2109_daily_bin1764 162.913 21.1651 696556801 696816001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1051.6+2109 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   524.28 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             301.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   623 sec.
    Turnaround time :                            829 sec.

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

