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


Performing analysis on: 4FGL_J2251.5-4928_daily_bin1773
RA = 342.879, Dec = -49.4691
tmin = 698889601, tmax = 699148801
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='807207', job_status='RUN', time_executed='2023-02-27 10:42:42.670182', time_epoch_executed='1677523362.67' WHERE source_name='4FGL J2251.5-4928' and cadence='daily' and bin_id='1773'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/807207

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/807207/ft1_4FGL_J2251.5-4928_daily_bin1773.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/807207/ft2_4FGL_J2251.5-4928_daily_bin1773.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/807207/ft1_4FGL_J2251.5-4928_daily_bin1773.fits outfile=/scratch/kocevski/807207/ft1_filteredMKT_4FGL_J2251.5-4928_daily_bin1773.fits ra=342.879 dec=-49.4691 rad=12.0 tmin=698889601.0 tmax=699148801.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.01
user 2.80
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/807207/ft1_filtered_4FGL_J2251.5-4928_daily_bin1773.fits" evtable="EVENTS" scfile=/scratch/kocevski/807207/ft2_4FGL_J2251.5-4928_daily_bin1773.fits sctable="SC_DATA" outfile=/scratch/kocevski/807207/ltcube_698889601_699148801_4FGL_J2251.5-4928_daily_bin1773.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/807207/ft2_4FGL_J2251.5-4928_daily_bin1773.fits
.....................!
real 14.99
user 14.56
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/807207/ft1_filtered_4FGL_J2251.5-4928_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/807207/ft2_4FGL_J2251.5-4928_daily_bin1773.fits sctable="SC_DATA" expcube=/scratch/kocevski/807207/ltcube_698889601_699148801_4FGL_J2251.5-4928_daily_bin1773.fits outfile=/scratch/kocevski/807207/expmap_698889601_699148801_4FGL_J2251.5-4928_daily_bin1773.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/807207/ltcube_698889601_699148801_4FGL_J2251.5-4928_daily_bin1773.fits
.....................!
real 192.48
user 186.39
sys 4.54

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/807207/ft1_filtered_4FGL_J2251.5-4928_daily_bin1773.fits scfile=/scratch/kocevski/807207/ft2_4FGL_J2251.5-4928_daily_bin1773.fits outfile=/scratch/kocevski/807207/cmap_698889601_699148801_4FGL_J2251.5-4928_daily_bin1773.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.57
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/807207/ft1_filtered_4FGL_J2251.5-4928_daily_bin1773.fits scfile=/scratch/kocevski/807207/ft2_4FGL_J2251.5-4928_daily_bin1773.fits outfile=/scratch/kocevski/807207/cmap_HighResolution_698889601_699148801_4FGL_J2251.5-4928_daily_bin1773.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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/807207/ft1_filtered_4FGL_J2251.5-4928_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/807207/ft2_4FGL_J2251.5-4928_daily_bin1773.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/807207/Model_4FGL_J2251.5-4928_daily_bin1773.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/807207/ft1_filtered_4FGL_J2251.5-4928_daily_bin1773.fits.......................!
real 20.29
user 18.96
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/807207/ft1_filtered_4FGL_J2251.5-4928_daily_bin1773.fits', '/scratch/kocevski/807207/ft2_4FGL_J2251.5-4928_daily_bin1773.fits', expMap='/scratch/kocevski/807207/expmap_698889601_699148801_4FGL_J2251.5-4928_daily_bin1773.fits', expCube='/scratch/kocevski/807207/ltcube_698889601_699148801_4FGL_J2251.5-4928_daily_bin1773.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/807207/Model_4FGL_J2251.5-4928_daily_bin1773.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  0.000e+00  1.000e+06 ( 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/807207/ft1_filtered_4FGL_J2251.5-4928_daily_bin1773.fits
Spacecraft file(s): /scratch/kocevski/807207/ft2_4FGL_J2251.5-4928_daily_bin1773.fits
Exposure map: /scratch/kocevski/807207/expmap_698889601_699148801_4FGL_J2251.5-4928_daily_bin1773.fits
Exposure cube: /scratch/kocevski/807207/ltcube_698889601_699148801_4FGL_J2251.5-4928_daily_bin1773.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/807207/Model_4FGL_J2251.5-4928_daily_bin1773.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) = 1245.03349049

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .60479E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .17564E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    166.75       1.0000          .0000       .10000E+07
     4 'Prefactor '    .31488E-04   1.0000          .0000       .10000E+07
     5 'norm      '    .86776E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    902.69       1.0000          .0000       .10000E+07
     7 'Prefactor '    .33418E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .37340E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .24042E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    67.601       1.0000          .0000       .10000E+07
    11 'Prefactor '    .43437E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .64419E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    51.361       1.0000          .0000       .10000E+07
    14 'norm      '    .50232E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .36859E-07   1.0000          .0000       .10000E+07
    16 'norm      '    .14516E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .77049E-07   1.0000          .0000       .10000E+07
    18 'Prefactor '    .15077E-06   1.0000          .0000       .10000E+07
    19 'norm      '    .90872E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    .65725E-06   1.0000          .0000       .10000E+07
    21 'norm      '    1.8468       1.0000          .0000       .10000E+07
    22 'norm      '    .16653E-09   1.0000          .0000       .10000E+07
    23 'Prefactor '    .38464E-06   1.0000          .0000       .10000E+07
    24 'Prefactor '    8.9023       1.0000          .0000       .10000E+07
    25 'Prefactor '    .88207E-07   1.0000          .0000       .10000E+07
    26 'norm      '    .51292E-07   1.0000          .0000       .10000E+07
    27 'Prefactor '    .58947E-06   1.0000          .0000       .10000E+07
    28 'Prefactor '    13.490       1.0000          .0000       .10000E+07
    29 'Normalizat'    .10493E-01   1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.4891       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=   1244.696     FROM MIGRAD    STATUS=CONVERGED   1126 CALLS     5188 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 25.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14433E-08    368.30        .69577E-07** at limit **
   2  Prefactor      .0000        80.035       -.20943E-08** at limit **
   3  Prefactor     166.79        99.742        .11062E-06    .68937E-03
   4  Prefactor     .24636E-06    2874.4       -.10476E-05** at limit **
   5  norm           .0000        54.321       -.54586E-09** at limit **
   6  Prefactor     901.67        450.54        .39199E-06    .56634E-04
   7  Prefactor     .55012E-07    943.57        .46220E-06** at limit **
   8  Prefactor     .19984E-08    95.598       -.29619E-07** at limit **
   9  Prefactor     .10325E-07    521.21       -.25866E-06** at limit **
  10  Prefactor     67.496        137.42        .17625E-06    .21398E-03
  11  Prefactor     .55511E-10    19.346       -.62632E-08** at limit **
  12  Prefactor      .0000        85.215       -.15898E-07** at limit **
  13  Prefactor     51.383        42.235        .12034E-06    .67495E-03
  14  norm          .59397E-08    127.22       -.81628E-07** at limit **
  15  norm           .0000        5.2351        .54217E-09** at limit **
  16  norm           .0000        4.7319       -.11606E-08** at limit **
  17  Prefactor      .0000        5.5894       -.53804E-08** at limit **
  18  Prefactor      .0000        18.626       -.31075E-08** at limit **
  19  norm           .0000        2.6568       -.18676E-08** at limit **
  20  Prefactor     .55511E-10    10.277       -.69933E-08** at limit **
  21  norm          1.8483        2.2301        .13591E-07    .34328E-02
  22  norm           .0000        2.5503       -.11044E-08** at limit **
  23  Prefactor      .0000        14.856        .89712E-08** at limit **
  24  Prefactor     8.9100        7.0435        .98617E-07    .15092E-02
  25  Prefactor      .0000        49.295       -.13751E-07** at limit **
  26  norm           .0000        17.405       -.22400E-08** at limit **
  27  Prefactor      .0000        6.4771        .11069E-08** at limit **
  28  Prefactor     13.495        10.197        .86011E-07    .64373E-03
  29  Normalizat    .10000E-01    .56772       -.84825E-04** at limit **
  30  Prefactor     1.4901        .22838        .12685E-04    .29545E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.44329e-09
  Prefactor  = 0
  Prefactor  = 166.793
  Prefactor  = 2.46358e-07
  norm       = 0
  Prefactor  = 901.667
  Prefactor  = 5.50116e-08
  Prefactor  = 1.9984e-09
  Prefactor  = 1.03251e-08
  Prefactor  = 67.4961
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 51.383
  norm       = 5.93969e-09
  norm       = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 5.55112e-11
  norm       = 1.84828
  norm       = 0
  Prefactor  = 0
  Prefactor  = 8.90998
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 13.4946
  Normalizat = 0.01
  Prefactor  = 1.49014
 **********
 **   18 **HESSE 
 **********

 FCN=   1244.696     FROM HESSE     STATUS=OK           574 CALLS     5762 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14433E-08    368.32        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        80.038        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     166.79        100.13        .15489E-04   -1.5450    
   4  Prefactor     .24636E-06    2874.3        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        54.321        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     901.67        457.35        .66597E-05   -1.5107    
   7  Prefactor     .55012E-07    943.75        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .19984E-08    95.664        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10325E-07    521.22        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     67.496        137.57        .48653E-05   -1.5544    
  11  Prefactor     .55511E-10    19.348        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        85.224        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     51.383        42.417        .55818E-05   -1.5565    
  14  norm          .59397E-08    127.72        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm           .0000        5.2350        .78846E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        4.7320        .74961E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        5.5908        .81467E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        18.627        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        2.6569        .56169E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .55511E-10    10.279        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.8483        2.2097        .51770E-05   -1.5681    
  22  norm           .0000        2.5504        .55032E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor      .0000        14.864        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     8.9100        7.2240        .76002E-05   -1.5648    
  25  Prefactor      .0000        49.326        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm           .0000        17.406        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor      .0000        6.4843        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     13.495        10.359        .93805E-05   -1.5634    
  29  Normalizat    .10000E-01    6.1449        .14983       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     1.4901        .38080        .19968E-03   -.77816    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.77216e-10
Minuit parameter uncertainties:
  1  0.00146295
  2  4.04845e-05
  3  100.135
  4  0.0532451
  5  1.67542e-05
  6  457.363
  7  0.0144157
  8  0.000880482
  9  0.00463532
  10  137.58
  11  5.81929e-05
  12  5.41965e-05
  13  42.4174
  14  0.00174235
  15  7.44478e-06
  16  3.78426e-06
  17  1.9222e-05
  18  2.97788e-05
  19  6.6006e-06
  20  3.9016e-05
  21  2.20973
  22  3.73067e-06
  23  3.53237e-05
  24  7.22405
  25  4.27192e-05
  26  1.83224e-05
  27  1.41522e-05
  28  10.3594
  29  0.000194987
  30  0.381527
Done.

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

Extracting fit parameters...

4FGL J2251.5-4928
   Spectrum: PowerLaw
403    Prefactor:  0.000e+00  5.420e-05  0.000e+00  1.000e+06 ( 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:  1.490e+00  3.815e-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  1.950e-04  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.26e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.67e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/807207/likelihoodResults_698889601_699148801_4FGL_J2251.5-4928_daily_bin1773.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) = 1244.70175237
delta logL = -0.00559081462734

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1244.69616612
delta logL = -4.55833264823e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .63061E-07   1.0000          .0000       .10000E+07
     2 'Index     '    2.0325       1.0000          .0000       10.000    
     3 'Normalizat'    .10067E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4899       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=   1244.696     FROM MIGRAD    STATUS=CONVERGED    107 CALLS      346 TOTAL
                     EDM=   .32E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .88818E-09    13.196        .42118E-03** at limit **
   2  Index         .86090        5.3524        .50000       -.23874E-10
   3  Normalizat    .10000E-01    .11655E-03    .20626    ** at limit **
   4  Prefactor     1.4901        .37434E-02    .45181E-01    .14702E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.88178e-10
  Index      = 0.8609
  Normalizat = 0.01
  Prefactor  = 1.49014
 **********
 **   18 **HESSE 
 **********

 FCN=   1244.696     FROM HESSE     STATUS=NOT POSDEF    37 CALLS      383 TOTAL
                     EDM=   .16E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .88818E-09    66.032        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .86090        5.0101        .50000       -.97521    
   3  Normalizat    .10000E-01    .10413E-02    .14983       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.4901        .83793E-02    .19968E-03   -.77816    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.58633e-12
Minuit parameter uncertainties:
  1  0.000478216
  2  203633
  3  1.24655e-06
  4  0.00837928
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/807207': 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) = 1244.69616156
delta logL = 2.15777617996e-10

Extracting fit parameters...

4FGL J2251.5-4928
   Spectrum: PowerLaw
403    Prefactor:  8.882e-10  4.782e-04  0.000e+00  1.000e+06 ( 1.000e-14)
404        Index:  8.609e-01  2.036e+05  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:  1.490e+00  8.379e-03  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  1.247e-06  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/807207/cmap_HighResolution_698889601_699148801_4FGL_J2251.5-4928_daily_bin1773.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.67e-02', job_status='DONE', photon_flux_upper_limit='2.26e-07', time_completed='2023-02-27 10:50:05.615076', job_id='807207', GAL2='1.49', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1677523805.62', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.49', dlogl='2.16e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.85' WHERE bin_id='1773' AND source_name='4FGL J2251.5-4928' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 27 10:50:05 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0173>
Subject: Job 807207: <4FGL_J2251.5-4928_daily_bin1773> in cluster <slac> Done

Job <4FGL_J2251.5-4928_daily_bin1773> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Feb 27 10:40:11 2023
Job was executed on host(s) <bullet0173>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 10:40:12 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 27 10:40:12 2023
Terminated at Mon Feb 27 10:50:06 2023
Results reported at Mon Feb 27 10:50:06 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2251.5-4928_daily_bin1773 342.879 -49.4691 698889601 699148801 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 :                                   443.47 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             267.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   593 sec.
    Turnaround time :                            595 sec.

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

