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


Performing analysis on: 4FGL_J1051.6+2109_daily_bin1763
RA = 162.913, Dec = 21.1651
tmin = 696297601, tmax = 696556801
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='276443', job_status='RUN', time_executed='2023-01-28 00:45:14.489572', time_epoch_executed='1674895514.49' WHERE source_name='4FGL J1051.6+2109' and cadence='daily' and bin_id='1763'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/276443

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/276443/ft1_4FGL_J1051.6+2109_daily_bin1763.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/276443/ft2_4FGL_J1051.6+2109_daily_bin1763.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/276443/ft1_4FGL_J1051.6+2109_daily_bin1763.fits outfile=/scratch/kocevski/276443/ft1_filteredMKT_4FGL_J1051.6+2109_daily_bin1763.fits ra=162.913 dec=21.1651 rad=12.0 tmin=696297601.0 tmax=696556801.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.64
user 3.39
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/276443/ft2_4FGL_J1051.6+2109_daily_bin1763.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/276443/ft1_filteredMKT_4FGL_J1051.6+2109_daily_bin1763.fits evtable="EVENTS" outfile="/scratch/kocevski/276443/ft1_filtered_4FGL_J1051.6+2109_daily_bin1763.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.52
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 487

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/276443/ft1_filtered_4FGL_J1051.6+2109_daily_bin1763.fits" evtable="EVENTS" scfile=/scratch/kocevski/276443/ft2_4FGL_J1051.6+2109_daily_bin1763.fits sctable="SC_DATA" outfile=/scratch/kocevski/276443/ltcube_696297601_696556801_4FGL_J1051.6+2109_daily_bin1763.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/276443/ft2_4FGL_J1051.6+2109_daily_bin1763.fits
.....................!
real 14.29
user 13.81
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/276443/ft1_filtered_4FGL_J1051.6+2109_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/276443/ft2_4FGL_J1051.6+2109_daily_bin1763.fits sctable="SC_DATA" expcube=/scratch/kocevski/276443/ltcube_696297601_696556801_4FGL_J1051.6+2109_daily_bin1763.fits outfile=/scratch/kocevski/276443/expmap_696297601_696556801_4FGL_J1051.6+2109_daily_bin1763.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/276443/ltcube_696297601_696556801_4FGL_J1051.6+2109_daily_bin1763.fits
.....................!
real 192.53
user 186.31
sys 5.72

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/276443/ft1_filtered_4FGL_J1051.6+2109_daily_bin1763.fits scfile=/scratch/kocevski/276443/ft2_4FGL_J1051.6+2109_daily_bin1763.fits outfile=/scratch/kocevski/276443/cmap_696297601_696556801_4FGL_J1051.6+2109_daily_bin1763.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/276443/ft1_filtered_4FGL_J1051.6+2109_daily_bin1763.fits scfile=/scratch/kocevski/276443/ft2_4FGL_J1051.6+2109_daily_bin1763.fits outfile=/scratch/kocevski/276443/cmap_HighResolution_696297601_696556801_4FGL_J1051.6+2109_daily_bin1763.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.38
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/276443/ft1_filtered_4FGL_J1051.6+2109_daily_bin1763.fits', '/scratch/kocevski/276443/ft2_4FGL_J1051.6+2109_daily_bin1763.fits', expMap='/scratch/kocevski/276443/expmap_696297601_696556801_4FGL_J1051.6+2109_daily_bin1763.fits', expCube='/scratch/kocevski/276443/ltcube_696297601_696556801_4FGL_J1051.6+2109_daily_bin1763.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/276443/Model_4FGL_J1051.6+2109_daily_bin1763.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/276443/ft1_filtered_4FGL_J1051.6+2109_daily_bin1763.fits
Spacecraft file(s): /scratch/kocevski/276443/ft2_4FGL_J1051.6+2109_daily_bin1763.fits
Exposure map: /scratch/kocevski/276443/expmap_696297601_696556801_4FGL_J1051.6+2109_daily_bin1763.fits
Exposure cube: /scratch/kocevski/276443/ltcube_696297601_696556801_4FGL_J1051.6+2109_daily_bin1763.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/276443/Model_4FGL_J1051.6+2109_daily_bin1763.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) = 5560.69187031

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.346       1.0000          .0000       .10000E+07
     2 'Prefactor '    .80921E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    11.836       1.0000          .0000       .10000E+07
     4 'Prefactor '    .27325E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .77995E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    11.562       1.0000          .0000       .10000E+07
     7 'Prefactor '    .26251E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .41559E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    16.741       1.0000          .0000       .10000E+07
    10 'Prefactor '    .29060E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .18651E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .13141E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    5.1037       1.0000          .0000       .10000E+07
    14 'Prefactor '    .12651E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .47148       1.0000          .0000       .10000E+07
    16 'Prefactor '    4.0219       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.4345       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .58498       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=   5560.634     FROM MIGRAD    STATUS=CONVERGED    142 CALLS     1099 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.325        8.5176        .66389E-07   -.37261E-02
   2  Prefactor     .20873E-05    12.568        .59254E-05** at limit **
   3  Prefactor     8.8838        143.78       -.13439E-04    .12927E-02
   4  Prefactor     .94835E-06    11.344        .45639E-06** at limit **
   5  Prefactor      .0000        .80036        .70142E-06** at limit **
   6  Prefactor     11.519        7.0338       -.46982E-06   -.85790E-03
   7  Prefactor     .38858E-08    5.9578        .19361E-05** at limit **
   8  Prefactor     .55511E-10    33.995        .41043E-05** at limit **
   9  Prefactor     16.665        10.315        .84037E-06   -.56273E-02
  10  Prefactor     .16226E-06    6.3565       -.17367E-05** at limit **
  11  Prefactor     .54678E-07    7.2120        .33575E-05** at limit **
  12  norm           .0000        1.0087       -.10916E-05** at limit **
  13  Prefactor     5.0946        4.0430        .93298E-06    .15722E-03
  14  Prefactor     .90142E-05    4.7310        .21103E-05** at limit **
  15  norm          .45621        .88414       -.91766E-07    .21569E-02
  16  Prefactor     4.0494        6.2153       -.37401E-06    .79192E-03
  17  Normalizat    1.4361        .21444       -.18045E-04   -.60425E-04
  18  Prefactor     .58455        .20436        .50019E-06    .36151E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.3252
  Prefactor  = 2.08727e-06
  Prefactor  = 8.88384
  Prefactor  = 9.48353e-07
  Prefactor  = 0
  Prefactor  = 11.5193
  Prefactor  = 3.88578e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 16.6649
  Prefactor  = 1.62259e-07
  Prefactor  = 5.46785e-08
  norm       = 0
  Prefactor  = 5.09461
  Prefactor  = 9.01418e-06
  norm       = 0.456214
  Prefactor  = 4.04936
  Normalizat = 1.43609
  Prefactor  = 0.584551
 **********
 **   18 **HESSE 
 **********

 FCN=   5560.634     FROM HESSE     STATUS=OK           284 CALLS     1383 TOTAL
                     EDM=   .82E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.325        8.5563        .31125E-03   -1.5644    
   2  Prefactor     .20873E-05    15.123        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.8838        143.43        .29093E-03   -1.5648    
   4  Prefactor     .94835E-06    12.426        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        .79832        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     11.519        7.0297        .29438E-03   -1.5640    
   7  Prefactor     .38858E-08    5.9595        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .55511E-10    32.856        .15894E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.665        10.319        .24452E-03   -1.5626    
  10  Prefactor     .16226E-06    6.5467        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .54678E-07    7.2681        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .99713        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.0946        4.0248        .44481E-03   -1.5663    
  14  Prefactor     .90142E-05    15.302        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .45621        8.3189        .81632E-02   -1.5694    
  16  Prefactor     4.0494        6.2273        .50260E-03   -1.5668    
  17  Normalizat    1.4361        .18328        .47598E-01   -.79590    
  18  Prefactor     .58455        .17613        .70382E-01   -1.0824    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.2434e-07
Minuit parameter uncertainties:
  1  8.55631
  2  0.0112367
  3  71.3942
  4  0.00686555
  5  4.82645e-08
  6  7.02966
  7  0.000303828
  8  6.58751e-05
  9  10.3192
  10  0.00206148
  11  0.0012611
  12  1.45605e-06
  13  4.02479
  14  0.0234891
  15  3.89625
  16  6.2273
  17  0.183361
  18  0.176298
Done.

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

Extracting fit parameters...

4FGL J1051.6+2109
   Spectrum: PowerLaw
244    Prefactor:  3.886e-09  3.038e-04  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:  5.846e-01  1.763e-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.436e+00  1.834e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 162.913 21.165
Photon Flux Upper Limit: 9.61e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/276443/likelihoodResults_696297601_696556801_4FGL_J1051.6+2109_daily_bin1763.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) = 5560.63455004
delta logL = -0.00037698210599

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5560.6341737
delta logL = -6.47169144941e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24478E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.1034       1.0000          .0000       10.000    
     3 'Normalizat'    1.4361       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .58451       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5560.634     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      285 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .75265E-01    .11795E-02** at limit **
   2  Index         6.1944        1.7765        .25702E-03     .0000    
   3  Normalizat    1.4361        1.0571        .31006E-04    .68248E-03
   4  Prefactor     .58455        .93175       -.64809E-04    .53350E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 6.19435
  Normalizat = 1.43609
  Prefactor  = 0.584552
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5560.634     FROM HESSE     STATUS=FAILED         9 CALLS      294 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .75265E-01    .11795E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6721        2.4394        .25702E-03    .24120    
   3  Normalizat    1.4361        1.0571        .31006E-04   -.79590    
   4  Prefactor     .58455        .93175       -.64809E-04   -1.0824    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.21335e-09
Minuit parameter uncertainties:
  1  5.15444e-07
  2  1.8187
  3  1.07388
  4  0.95817
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/276443': 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): 101
logL (Free Index) = 5560.63417306
delta logL = 8.73114913702e-11

Extracting fit parameters...

4FGL J1051.6+2109
   Spectrum: PowerLaw
244    Prefactor:  0.000e+00  5.154e-07  0.000e+00  1.000e+06 ( 1.000e-12)
245        Index:  6.194e+00  1.819e+00  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:  5.846e-01  9.582e-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.436e+00  1.074e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/276443/cmap_HighResolution_696297601_696556801_4FGL_J1051.6+2109_daily_bin1763.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.59e-03', job_status='DONE', photon_flux_upper_limit='9.61e-08', time_completed='2023-01-28 00:53:36.486677', job_id='276443', GAL2='0.58', fit_tolerance='1e-08', EG2='1.44', EG='1.44', time_epoch_completed='1674896016.49', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.58', dlogl='8.73e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.77' WHERE bin_id='1763' AND source_name='4FGL J1051.6+2109' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan 28 00:53:36 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 276443: <4FGL_J1051.6+2109_daily_bin1763> in cluster <slac> Done

Job <4FGL_J1051.6+2109_daily_bin1763> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Jan 28 00:40:31 2023
Job was executed on host(s) <bullet0041>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan 28 00:42:13 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan 28 00:42:13 2023
Terminated at Sat Jan 28 00:53:37 2023
Results reported at Sat Jan 28 00:53:37 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1051.6+2109_daily_bin1763 162.913 21.1651 696297601 696556801 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 :                                   504.10 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             268.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   683 sec.
    Turnaround time :                            786 sec.

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

