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


Performing analysis on: 4FGL_J1051.6+3253_daily_bin1750
RA = 162.911, Dec = 32.8853
tmin = 692928001, tmax = 693187201
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='5143', job_status='RUN', time_executed='2022-12-20 00:34:13.436363', time_epoch_executed='1671525253.44' WHERE source_name='4FGL J1051.6+3253' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/5143

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/5143/ft1_4FGL_J1051.6+3253_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/5143/ft2_4FGL_J1051.6+3253_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/5143/ft1_4FGL_J1051.6+3253_daily_bin1750.fits outfile=/scratch/kocevski/5143/ft1_filteredMKT_4FGL_J1051.6+3253_daily_bin1750.fits ra=162.911 dec=32.8853 rad=12.0 tmin=692928001.0 tmax=693187201.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.46
user 3.21
sys 0.23

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

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

Number of photons that the gtmktime cut: 566

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/5143/ft1_filtered_4FGL_J1051.6+3253_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/5143/ft2_4FGL_J1051.6+3253_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/5143/ltcube_692928001_693187201_4FGL_J1051.6+3253_daily_bin1750.fits outfile=/scratch/kocevski/5143/expmap_692928001_693187201_4FGL_J1051.6+3253_daily_bin1750.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/5143/ltcube_692928001_693187201_4FGL_J1051.6+3253_daily_bin1750.fits
.....................!
real 192.27
user 186.82
sys 5.13

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/5143/ft1_filtered_4FGL_J1051.6+3253_daily_bin1750.fits scfile=/scratch/kocevski/5143/ft2_4FGL_J1051.6+3253_daily_bin1750.fits outfile=/scratch/kocevski/5143/cmap_692928001_693187201_4FGL_J1051.6+3253_daily_bin1750.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.53
user 0.36
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10059E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.2706       1.0000          .0000       .10000E+07
     3 'norm      '    .10862E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.1883       1.0000          .0000       .10000E+07
     5 'Prefactor '    9.2359       1.0000          .0000       .10000E+07
     6 'norm      '    .19935E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    .15462E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .67741E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .73902E-06   1.0000          .0000       .10000E+07
    10 'Prefactor '    4.6884       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.8788       1.0000          .0000       .10000E+07
    12 'Prefactor '    .51639E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .93353E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    4.6857       1.0000          .0000       .10000E+07
    15 'Prefactor '    .52824E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    .19109E-03   1.0000          .0000       .10000E+07
    17 'norm      '    1.4893       1.0000          .0000       .10000E+07
    18 'Prefactor '    .32801       1.0000          .0000       .10000E+07
    19 'Prefactor '    7.0348       1.0000          .0000       .10000E+07
    20 'Prefactor '    .95675E-03   1.0000          .0000       .10000E+07
    21 'norm      '    2.6185       1.0000          .0000       .10000E+07
    22 'Prefactor '    .46946E-06   1.0000          .0000       .10000E+07
    23 'Prefactor '    .34631       1.0000          .0000       .10000E+07
    24 'Prefactor '    .54234E-07   1.0000          .0000       .10000E+07
    25 'norm      '    .20656E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    .81813E-03   1.0000          .0000       .10000E+07
    27 'Prefactor '    5.5639       1.0000          .0000       .10000E+07
    28 'Normalizat'    1.1997       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .82090       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=   6126.465     FROM MIGRAD    STATUS=CONVERGED    197 CALLS     2143 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .21483E-07    2.6723       -.52056E-06** at limit **
   2  Prefactor     2.2686        1.9968       -.41061E-07   -.97576E-04
   3  norm          .40246E-07    3.3930        .78857E-06** at limit **
   4  Prefactor     1.2021        4.8415        .45453E-07   -.23890E-02
   5  Prefactor     9.2258        6.3603       -.68883E-07    .14260E-02
   6  norm          .23759E-07    6.4323       -.18483E-05** at limit **
   7  Prefactor     .29365E-06    84.326       -.30265E-05** at limit **
   8  Prefactor     .15568E-05    9.4587        .17557E-06** at limit **
   9  Prefactor     .55511E-10    1.9316       -.30282E-07** at limit **
  10  Prefactor     4.6808        6.1329       -.30032E-07   -.91929E-03
  11  Prefactor     2.8791        2.0151       -.39278E-07    .26670E-02
  12  Prefactor     .89784E-06    12.963        .30230E-05** at limit **
  13  Prefactor     .42844E-06    8.4537       -.41981E-06** at limit **
  14  Prefactor     4.6417        10.556       -.99596E-06   -.31343E-02
  15  Prefactor     .99037E-06    12.164        .63627E-06** at limit **
  16  Prefactor     .36232E-06    5.7569        .33176E-05** at limit **
  17  norm          1.4904        .34163       -.26211E-07    .31369E-01
  18  Prefactor     .31796        3.7287       -.24026E-06   -.48554E-03
  19  Prefactor     6.8220        1.2841        .14055E-06    .11177E-02
  20  Prefactor     .77716E-09    3.0849        .20900E-06** at limit **
  21  norm          2.6369        1.5249        .11005E-06    .17635E-02
  22  Prefactor      .0000        1.7212       -.12337E-06** at limit **
  23  Prefactor     .14059E-03    84.114        .17219E-04** at limit **
  24  Prefactor     .63560E-06    7.4360       -.16307E-05** at limit **
  25  norm          .33307E-09    5.3766        .26181E-06** at limit **
  26  Prefactor     .38908E-06    7.0852       -.41416E-05** at limit **
  27  Prefactor     5.5370        5.4625       -.25962E-07    .21643E-02
  28  Normalizat    1.2002        .20147        .39384E-05    .23148E-03
  29  Prefactor     .82113        .22779        .33048E-05    .14649E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.14828e-08
  Prefactor  = 2.26864
  norm       = 4.02456e-08
  Prefactor  = 1.20206
  Prefactor  = 9.22578
  norm       = 2.37588e-08
  Prefactor  = 2.93654e-07
  Prefactor  = 1.55675e-06
  Prefactor  = 5.55112e-11
  Prefactor  = 4.68077
  Prefactor  = 2.87907
  Prefactor  = 8.97837e-07
  Prefactor  = 4.28435e-07
  Prefactor  = 4.64169
  Prefactor  = 9.90374e-07
  Prefactor  = 3.62321e-07
  norm       = 1.49044
  Prefactor  = 0.317957
  Prefactor  = 6.822
  Prefactor  = 7.77156e-10
  norm       = 2.63695
  Prefactor  = 0
  Prefactor  = 0.000140592
  Prefactor  = 6.35603e-07
  norm       = 3.33067e-10
  Prefactor  = 3.89078e-07
  Prefactor  = 5.53699
  Normalizat = 1.20016
  Prefactor  = 0.821126
 **********
 **   18 **HESSE 
 **********

 FCN=   6126.465     FROM HESSE     STATUS=OK           623 CALLS     2766 TOTAL
                     EDM=   .43E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .21483E-07    5.8651        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.2686        2.0098        .68127E-03   -1.5678    
   3  norm          .40246E-07    5.8246        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.2021        5.6949        .10453E-02   -1.5686    
   5  Prefactor     9.2258        6.8535        .32954E-03   -1.5647    
   6  norm          .23759E-07    6.6004        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .29365E-06    84.923        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .15568E-05    17.721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    1.9288        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.6808        6.1562        .46452E-03   -1.5665    
  11  Prefactor     2.8791        2.0254        .59878E-03   -1.5674    
  12  Prefactor     .89784E-06    14.167        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .42844E-06    21.929        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.6417        10.693        .46465E-03   -1.5665    
  15  Prefactor     .99037E-06    22.469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .36232E-06    8.0421        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.4904        .35587        .47901E-03   -1.5684    
  18  Prefactor     .31796        1.9360        .34681E-02   -1.5697    
  19  Prefactor     6.8220        18.428        .37799E-03   -1.5656    
  20  Prefactor     .77716E-09    8.3492        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.6369        23.976        .63003E-03   -1.5675    
  22  Prefactor      .0000        1.7060        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .14059E-03    24.587        .13441E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .63560E-06    19.496        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .33307E-09    1.0182        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .38908E-06    8.8269        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     5.5370        5.4833        .42568E-03   -1.5661    
  28  Normalizat    1.2002        .17324        .50089E-01   -.86598    
  29  Prefactor     .82113        .19264        .68790E-01   -.98954    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.34206e-07
Minuit parameter uncertainties:
  1  0.000710081
  2  2.00975
  3  0.000968481
  4  5.23283
  5  6.85355
  6  0.000792322
  7  0.00998725
  8  0.0105047
  9  2.40182e-05
  10  6.15624
  11  2.02539
  12  0.00713295
  13  0.00613016
  14  10.6932
  15  0.0094346
  16  0.003414
  17  0.35587
  18  1.56917
  19  18.4283
  20  0.000161138
  21  15.9029
  22  1.13533e-05
  23  0.117589
  24  0.00704044
  25  3.66536e-05
  26  0.00370649
  27  5.48334
  28  0.173324
  29  0.192796
Done.

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

Extracting fit parameters...

4FGL J1051.6+3253
   Spectrum: PowerLaw
293    Prefactor:  4.284e-07  6.130e-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.211e-01  1.928e-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.200e+00  1.733e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 162.911 32.885
Photon Flux Upper Limit: 5.80e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.36e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/5143/likelihoodResults_692928001_693187201_4FGL_J1051.6+3253_daily_bin1750.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) = 6126.48691416
delta logL = -0.0221450473764

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6126.23776572
delta logL = 0.22700339368

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .32658E-01   1.0000          .0000       .10000E+07
     2 'Index     '    4.4570       1.0000          .0000       10.000    
     3 'Normalizat'    1.1559       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85174       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=   6126.238     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      266 TOTAL
                     EDM=   .93E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .32167E-01    .64008        .45802E-03** at limit **
   2  Index         4.4618        1.9938        .90585E-01    .19444E-03
   3  Normalizat    1.1559        .26599E-01    .36075E-01   -.15485E-03
   4  Prefactor     .85166        .31033E-01    .67687E-01   -.58974E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0321666
  Index      = 4.4618
  Normalizat = 1.15593
  Prefactor  = 0.851658
 **********
 **   18 **HESSE 
 **********

 FCN=   6126.238     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      297 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .32167E-01    3.5013        .20088E-05   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.4618        7.2155        .51814E-02   -.10785    
   3  Normalizat    1.1559        .15131        .22502E-03   -.87976    
   4  Prefactor     .85166        .17180        .29944E-03   -.97851    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.22633e-06
Minuit parameter uncertainties:
  1  0.67119
  2  6.72078
  3  0.151364
  4  0.17191
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/5143': 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) = 6126.23776362
delta logL = 0.227005494607

Extracting fit parameters...

4FGL J1051.6+3253
   Spectrum: PowerLaw
293    Prefactor:  3.217e-02  6.712e-01  0.000e+00  1.000e+06 ( 1.000e-14)
294        Index:  4.462e+00  6.721e+00  0.000e+00  1.000e+01 (-1.000e+00)
295        Scale:  2.968e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  8.517e-01  1.719e-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.156e+00  1.514e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/5143/cmap_HighResolution_692928001_693187201_4FGL_J1051.6+3253_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.36e-03', job_status='DONE', photon_flux_upper_limit='5.80e-08', time_completed='2022-12-20 00:45:47.100179', job_id='5143', GAL2='0.85', fit_tolerance='1e-08', EG2='1.16', EG='1.20', time_epoch_completed='1671525947.1', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='2.27e-01', ts2='0.49', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='1750' AND source_name='4FGL J1051.6+3253' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 00:45:47 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0176>
Subject: Job 5143: <4FGL_J1051.6+3253_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1051.6+3253_daily_bin1750> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Tue Dec 20 00:30:21 2022
Job was executed on host(s) <bullet0176>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 00:30:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 00:30:22 2022
Terminated at Tue Dec 20 00:45:47 2022
Results reported at Tue Dec 20 00:45:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1051.6+3253_daily_bin1750 162.911 32.8853 692928001 693187201 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 :                                   696.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             268.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   925 sec.
    Turnaround time :                            926 sec.

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

