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 48 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2251.5-4928_daily_bin1701
RA = 342.879, Dec = -49.4691
tmin = 680227201, tmax = 680486401
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='192116', job_status='RUN', time_executed='2022-07-26 02:14:16.261934', time_epoch_executed='1658826856.26' WHERE source_name='4FGL J2251.5-4928' and cadence='daily' and bin_id='1701'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/192116

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/192116/ft1_4FGL_J2251.5-4928_daily_bin1701.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/192116/ft2_4FGL_J2251.5-4928_daily_bin1701.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/192116/ft1_4FGL_J2251.5-4928_daily_bin1701.fits outfile=/scratch/kocevski/192116/ft1_filteredMKT_4FGL_J2251.5-4928_daily_bin1701.fits ra=342.879 dec=-49.4691 rad=12.0 tmin=680227201.0 tmax=680486401.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 2.92
user 2.70
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/192116/ft2_4FGL_J2251.5-4928_daily_bin1701.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/192116/ft2_4FGL_J2251.5-4928_daily_bin1701.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/192116/ft1_filteredMKT_4FGL_J2251.5-4928_daily_bin1701.fits evtable="EVENTS" outfile="/scratch/kocevski/192116/ft1_filtered_4FGL_J2251.5-4928_daily_bin1701.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.33
sys 0.16

Number of photons that the gtmktime cut: 32

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/192116/ft1_filtered_4FGL_J2251.5-4928_daily_bin1701.fits" evtable="EVENTS" scfile=/scratch/kocevski/192116/ft2_4FGL_J2251.5-4928_daily_bin1701.fits sctable="SC_DATA" outfile=/scratch/kocevski/192116/ltcube_680227201_680486401_4FGL_J2251.5-4928_daily_bin1701.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/192116/ft2_4FGL_J2251.5-4928_daily_bin1701.fits
.....................!
real 14.43
user 14.05
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/192116/ft1_filtered_4FGL_J2251.5-4928_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/192116/ft2_4FGL_J2251.5-4928_daily_bin1701.fits sctable="SC_DATA" expcube=/scratch/kocevski/192116/ltcube_680227201_680486401_4FGL_J2251.5-4928_daily_bin1701.fits outfile=/scratch/kocevski/192116/expmap_680227201_680486401_4FGL_J2251.5-4928_daily_bin1701.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/192116/ltcube_680227201_680486401_4FGL_J2251.5-4928_daily_bin1701.fits
.....................!
real 193.69
user 187.64
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 183 point sources and 0 extended sources

Setting source of interest to:
4FGL J2251.5-4928 @ 342.879 -49.4691

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/192116/ft1_filtered_4FGL_J2251.5-4928_daily_bin1701.fits scfile=/scratch/kocevski/192116/ft2_4FGL_J2251.5-4928_daily_bin1701.fits outfile=/scratch/kocevski/192116/cmap_680227201_680486401_4FGL_J2251.5-4928_daily_bin1701.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=342.879 yref=-49.4691 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.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/192116/ft1_filtered_4FGL_J2251.5-4928_daily_bin1701.fits scfile=/scratch/kocevski/192116/ft2_4FGL_J2251.5-4928_daily_bin1701.fits outfile=/scratch/kocevski/192116/cmap_HighResolution_680227201_680486401_4FGL_J2251.5-4928_daily_bin1701.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=342.879 yref=-49.4691 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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/192116/ft1_filtered_4FGL_J2251.5-4928_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/192116/ft2_4FGL_J2251.5-4928_daily_bin1701.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/192116/Model_4FGL_J2251.5-4928_daily_bin1701.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/192116/ft1_filtered_4FGL_J2251.5-4928_daily_bin1701.fits................................!
real 15.72
user 14.39
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/192116/ft1_filtered_4FGL_J2251.5-4928_daily_bin1701.fits', '/scratch/kocevski/192116/ft2_4FGL_J2251.5-4928_daily_bin1701.fits', expMap='/scratch/kocevski/192116/expmap_680227201_680486401_4FGL_J2251.5-4928_daily_bin1701.fits', expCube='/scratch/kocevski/192116/ltcube_680227201_680486401_4FGL_J2251.5-4928_daily_bin1701.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/192116/Model_4FGL_J2251.5-4928_daily_bin1701.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2251.5-4928'

4FGL J2251.5-4928
   Spectrum: PowerLaw
403    Prefactor:  7.449e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
404        Index:  1.851e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
405        Scale:  2.716e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/192116/ft1_filtered_4FGL_J2251.5-4928_daily_bin1701.fits
Spacecraft file(s): /scratch/kocevski/192116/ft2_4FGL_J2251.5-4928_daily_bin1701.fits
Exposure map: /scratch/kocevski/192116/expmap_680227201_680486401_4FGL_J2251.5-4928_daily_bin1701.fits
Exposure cube: /scratch/kocevski/192116/ltcube_680227201_680486401_4FGL_J2251.5-4928_daily_bin1701.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/192116/Model_4FGL_J2251.5-4928_daily_bin1701.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) = 391.282976332

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    113.37       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9999.8       1.0000         .10000E-03   10000.    
     3 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     4 'Prefactor '    200.11       1.0000         .10000E-03   10000.    
     5 'norm      '   10000.0       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11116E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .22902E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11758E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    11 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .23528E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    43.998       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .38616E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12473E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    42.259       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    11.191       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .13904E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10150E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10233E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .18642E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    6.6562       1.0000         .10000E-03   10000.    
    31 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    32 'Prefactor '    .89778       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   385.8586     FROM MIGRAD    STATUS=CONVERGED    897 CALLS     5204 TOTAL
                     EDM=   .26E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor    10000.0        8999.7        .23234E-04** at limit **
   2  Prefactor    10000.0       10000.0        .12772E-04** at limit **
   3  Prefactor    10000.0        7904.7       -.15340E-05** at limit **
   4  Prefactor    10000.0        6770.7        .90167E-05** at limit **
   5  norm         10000.0        9788.9        .11423E-04** at limit **
   6  Prefactor     .10000E-03    187.98       -.22446E-05** at limit **
   7  Prefactor     .10000E-03    497.33        .27408E-06** at limit **
   8  Prefactor     .10000E-03    1008.1       -.81198E-06** at limit **
   9  Prefactor     .10000E-03    149.14        .22068E-05** at limit **
  10  Prefactor    10000.0        7249.8       -.29782E-05** at limit **
  11  Prefactor    10000.0        6601.9       -.34540E-05** at limit **
  12  Prefactor     .10000E-03    8904.7        .17175E-06** at limit **
  13  Prefactor     44.000        53.777       -.28009E-07    .61932E-05
  14  Prefactor     .10001E-03    643.56        .29747E-04** at limit **
  15  Prefactor     .10000E-03    36.037       -.28876E-06** at limit **
  16  norm          .10000E-03    21.018        .22869E-07** at limit **
  17  norm          .10000E-03    15.071       -.12928E-07** at limit **
  18  norm          .10000E-03    15.909        .64182E-06** at limit **
  19  Prefactor     42.190        29.039       -.18172E-06   -.64535E-04
  20  Prefactor     .10000E-03    175.92       -.53705E-05** at limit **
  21  norm          11.196        10.896       -.62127E-06   -.78467E-04
  22  Prefactor     .10000E-03    237.95        .56071E-05** at limit **
  23  norm          .10000E-03    1.4342        .51520E-07** at limit **
  24  norm          .10000E-03    8.1492        .52612E-06** at limit **
  25  Prefactor     .10000E-03    19.975        .78236E-07** at limit **
  26  Prefactor     .10000E-03    2.9004       -.52850E-07** at limit **
  27  Prefactor     .10000E-03    25.113       -.41488E-06** at limit **
  28  norm          .10000E-03    18.304       -.18741E-06** at limit **
  29  Prefactor     .10000E-03    149.05        .44752E-05** at limit **
  30  Prefactor     6.6418        8.6467        .39130E-06    .27232E-04
  31  Normalizat    .10000E-01    .36270       -.16120E-05** at limit **
  32  Prefactor     .89612        .34000        .87087E-06   -.58982E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 10000
  norm       = 10000
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 0.000100002
  Prefactor  = 44.0002
  Prefactor  = 0.000100011
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 42.1902
  Prefactor  = 0.000100001
  norm       = 11.196
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.64179
  Normalizat = 0.01
  Prefactor  = 0.89612
 **********
 **   18 **HESSE 
 **********

 FCN=   385.8586     FROM HESSE     STATUS=OK           641 CALLS     5845 TOTAL
                     EDM=   .56E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor    10000.0        8948.7        .18891E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor    10000.0        9999.6        .19865E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor    10000.0        7904.6        .21351E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor    10000.0        6693.0        .14282E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm         10000.0        9787.2        .18635E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    198.09        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    494.46        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1006.8        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    151.24        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor    10000.0        7242.9        .21004E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor    10000.0        6587.9        .20476E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    8890.4        .18280E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     44.000        54.003        .30220E-03   -1.4380    
  14  Prefactor     .10001E-03    656.98        .21280E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    36.543        .11616E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    21.198        .88410E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    15.165        .74762E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    16.098        .76835E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     42.190        29.140        .61667E-04   -1.4408    
  20  Prefactor     .10000E-03    188.85        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          11.196        10.983        .59938E-04   -1.5039    
  22  Prefactor     .10000E-03    237.73        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    1.4363        .22983E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          .10000E-03    8.2639        .54809E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    20.118        .86170E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    2.8968        .32701E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    25.307        .96733E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    18.416        .82443E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    148.30        .12496E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     6.6418        8.7006        .62026E-04   -1.5192    
  31  Normalizat    .10000E-01    .36375        .65415E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .89612        .34139        .20296E-03   -.96277    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.55563e-11
Minuit parameter uncertainties:
  1  0.237886
  2  0.0119553
  3  0.00866928
  4  0.0637942
  5  0.00118135
  6  0.00133214
  7  0.000674661
  8  0.0005793
  9  4.75378e-05
  10  0.00153552
  11  0.00359401
  12  0.00837463
  13  54.0628
  14  0.00555224
  15  7.59129e-05
  16  3.19506e-05
  17  4.59868e-06
  18  1.6461e-05
  19  29.1495
  20  0.000691771
  21  10.9848
  22  0.00031604
  23  2.16283e-07
  24  2.01017e-07
  25  3.00888e-05
  26  1.86535e-06
  27  3.31008e-06
  28  4.18267e-05
  29  0.000345736
  30  8.70221
  31  7.43483e-07
  32  0.342211
Done.

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

Extracting fit parameters...

4FGL J2251.5-4928
   Spectrum: PowerLaw
403    Prefactor:  1.000e-04  5.552e-03  1.000e-04  1.000e+04 ( 1.000e-14)
404        Index:  1.851e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
405        Scale:  2.716e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
589    Prefactor:  8.961e-01  3.422e-01  0.000e+00  1.000e+01 ( 1.000e+00)
590        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
591        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
588   Normalization:  1.000e-02  7.435e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 342.879 -49.469
Photon Flux Upper Limit: 2.10e-06 ph cm-2 s-1
Energy Flux Upper Limit: 1.56e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/192116/likelihoodResults_680227201_680486401_4FGL_J2251.5-4928_daily_bin1701.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) = 385.858562738
delta logL = -7.3562202374e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 385.858562467
delta logL = -7.0844650395e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96199E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8511       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89613       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   385.8586     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      208 TOTAL
                     EDM=   .89E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1291.0        .90728E-02** at limit **
   2  Index         1.8234        7.4394        .50000        .29952E-06
   3  Normalizat    .10000E-01    .11303E-02    .16591    ** at limit **
   4  Prefactor     .89612        .18895E-01    .44956E-01   -.19054E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 1.82341
  Normalizat = 0.01
  Prefactor  = 0.89612
 **********
 **   18 **HESSE 
 **********

 FCN=   385.8586     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      239 TOTAL
                     EDM=   .44E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7655.6        .18146E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8234        5.2641        .50000       -.68842    
   3  Normalizat    .10000E-01    .72155E-02    .65301E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .89612        .42286E-01    .20306E-03   -.96277    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.38707e-08
Minuit parameter uncertainties:
  1  0.00784238
  2  2773.07
  3  4.5058e-08
  4  0.0422876
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/192116': 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) = 385.85855538
delta logL = 2.21405116463e-09

Extracting fit parameters...

4FGL J2251.5-4928
   Spectrum: PowerLaw
403    Prefactor:  1.000e-04  7.842e-03  1.000e-04  1.000e+04 ( 1.000e-14)
404        Index:  1.823e+00  2.773e+03  0.000e+00  1.000e+01 (-1.000e+00)
405        Scale:  2.716e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
589    Prefactor:  8.961e-01  4.229e-02  0.000e+00  1.000e+01 ( 1.000e+00)
590        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
591        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
588   Normalization:  1.000e-02  4.506e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 342.879 -49.469

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/192116/cmap_HighResolution_680227201_680486401_4FGL_J2251.5-4928_daily_bin1701.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.56e-01', job_status='DONE', photon_flux_upper_limit='2.10e-06', time_completed='2022-07-26 02:20:21.523317', job_id='192116', GAL2='0.90', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1658827221.52', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='2.21e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.85' WHERE bin_id='1701' AND source_name='4FGL J2251.5-4928' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul 26 02:20:21 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 192116: <4FGL_J2251.5-4928_daily_bin1701> in cluster <slac> Done

Job <4FGL_J2251.5-4928_daily_bin1701> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Jul 26 02:10:31 2022
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 26 02:13:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul 26 02:13:19 2022
Terminated at Tue Jul 26 02:20:22 2022
Results reported at Tue Jul 26 02:20:22 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2251.5-4928_daily_bin1701 342.879 -49.4691 680227201 680486401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2251.5-4928 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   368.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             355.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   422 sec.
    Turnaround time :                            591 sec.

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

