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


Performing analysis on: 4FGL_J2251.5-4928_daily_bin1720
RA = 342.879, Dec = -49.4691
tmin = 685152001, tmax = 685411201
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='849931', job_status='RUN', time_executed='2022-09-21 01:00:53.043271', time_epoch_executed='1663747253.04' WHERE source_name='4FGL J2251.5-4928' and cadence='daily' and bin_id='1720'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849931

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849931/ft1_4FGL_J2251.5-4928_daily_bin1720.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849931/ft2_4FGL_J2251.5-4928_daily_bin1720.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849931/ft1_4FGL_J2251.5-4928_daily_bin1720.fits outfile=/scratch/kocevski/849931/ft1_filteredMKT_4FGL_J2251.5-4928_daily_bin1720.fits ra=342.879 dec=-49.4691 rad=12.0 tmin=685152001.0 tmax=685411201.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.77
user 3.51
sys 0.21

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

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

Number of photons that the gtmktime cut: 206

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/849931/ft1_filtered_4FGL_J2251.5-4928_daily_bin1720.fits" evtable="EVENTS" scfile=/scratch/kocevski/849931/ft2_4FGL_J2251.5-4928_daily_bin1720.fits sctable="SC_DATA" outfile=/scratch/kocevski/849931/ltcube_685152001_685411201_4FGL_J2251.5-4928_daily_bin1720.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/849931/ft2_4FGL_J2251.5-4928_daily_bin1720.fits
.....................!
real 13.72
user 13.31
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849931/ft1_filtered_4FGL_J2251.5-4928_daily_bin1720.fits evtable="EVENTS" scfile=/scratch/kocevski/849931/ft2_4FGL_J2251.5-4928_daily_bin1720.fits sctable="SC_DATA" expcube=/scratch/kocevski/849931/ltcube_685152001_685411201_4FGL_J2251.5-4928_daily_bin1720.fits outfile=/scratch/kocevski/849931/expmap_685152001_685411201_4FGL_J2251.5-4928_daily_bin1720.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/849931/ltcube_685152001_685411201_4FGL_J2251.5-4928_daily_bin1720.fits
.....................!
real 191.72
user 186.56
sys 4.73

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/849931/ft1_filtered_4FGL_J2251.5-4928_daily_bin1720.fits scfile=/scratch/kocevski/849931/ft2_4FGL_J2251.5-4928_daily_bin1720.fits outfile=/scratch/kocevski/849931/cmap_685152001_685411201_4FGL_J2251.5-4928_daily_bin1720.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.56
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/849931/ft1_filtered_4FGL_J2251.5-4928_daily_bin1720.fits scfile=/scratch/kocevski/849931/ft2_4FGL_J2251.5-4928_daily_bin1720.fits outfile=/scratch/kocevski/849931/cmap_HighResolution_685152001_685411201_4FGL_J2251.5-4928_daily_bin1720.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.58
user 0.38
sys 0.18

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/849931/ft1_filtered_4FGL_J2251.5-4928_daily_bin1720.fits', '/scratch/kocevski/849931/ft2_4FGL_J2251.5-4928_daily_bin1720.fits', expMap='/scratch/kocevski/849931/expmap_685152001_685411201_4FGL_J2251.5-4928_daily_bin1720.fits', expCube='/scratch/kocevski/849931/ltcube_685152001_685411201_4FGL_J2251.5-4928_daily_bin1720.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/849931/Model_4FGL_J2251.5-4928_daily_bin1720.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/849931/ft1_filtered_4FGL_J2251.5-4928_daily_bin1720.fits
Spacecraft file(s): /scratch/kocevski/849931/ft2_4FGL_J2251.5-4928_daily_bin1720.fits
Exposure map: /scratch/kocevski/849931/expmap_685152001_685411201_4FGL_J2251.5-4928_daily_bin1720.fits
Exposure cube: /scratch/kocevski/849931/ltcube_685152001_685411201_4FGL_J2251.5-4928_daily_bin1720.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/849931/Model_4FGL_J2251.5-4928_daily_bin1720.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) = 2314.71453257

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    38.349       1.0000          .0000       .10000E+07
     2 'Prefactor '    .32830E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    11.711       1.0000          .0000       .10000E+07
     4 'Prefactor '    54.232       1.0000          .0000       .10000E+07
     5 'norm      '    .12892E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    1.5709       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10430E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .10575E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .12611E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    34.565       1.0000          .0000       .10000E+07
    11 'Prefactor '    .21795E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    36.366       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.5117       1.0000          .0000       .10000E+07
    14 'norm      '    29.116       1.0000          .0000       .10000E+07
    15 'norm      '    .68390E-03   1.0000          .0000       .10000E+07
    16 'norm      '    .59341E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    11.945       1.0000          .0000       .10000E+07
    18 'Prefactor '    28.683       1.0000          .0000       .10000E+07
    19 'norm      '    .10669E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    6.9552       1.0000          .0000       .10000E+07
    21 'norm      '    .11152E-06   1.0000          .0000       .10000E+07
    22 'norm      '    .36384E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    33.141       1.0000          .0000       .10000E+07
    24 'Prefactor '    .12121E-03   1.0000          .0000       .10000E+07
    25 'Prefactor '    15.040       1.0000          .0000       .10000E+07
    26 'norm      '    .24989E-03   1.0000          .0000       .10000E+07
    27 'Prefactor '    .21871E-03   1.0000          .0000       .10000E+07
    28 'Prefactor '    .93712E-03   1.0000          .0000       .10000E+07
    29 'Normalizat'    .38607       1.0000         .10000E-01   10.000    
    30 'Prefactor '    1.1093       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2314.677     FROM MIGRAD    STATUS=CONVERGED    205 CALLS     2937 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     37.835        15.504        .14439E-05    .14905E-01
   2  Prefactor      .0000        4.5731        .49394E-06** at limit **
   3  Prefactor     11.618        5.8902       -.13988E-05   -.16981E-02
   4  Prefactor     54.163        1.8210       -.24039E-06    .43657E-01
   5  norm          .49682E-07    36.558       -.15290E-05** at limit **
   6  Prefactor     1.5543        3.3183       -.32817E-06    .19224E-02
   7  Prefactor     .23104E-06    42.640       -.51381E-05** at limit **
   8  Prefactor     .61062E-09    7.2528       -.46922E-06** at limit **
   9  Prefactor     .33307E-09    14.289       -.70123E-05** at limit **
  10  Prefactor     34.025        25.185        .38080E-05    .50650E-01
  11  Prefactor     .55511E-10    4.3340        .95614E-06** at limit **
  12  Prefactor     32.050        84.942       -.13283E-04    .64240E-02
  13  Prefactor     2.5007        2.0405        .46252E-06   -.18077E-01
  14  norm          28.903        4.5175        .42293E-06    .35524E-01
  15  norm          .16653E-09    5.7277        .22636E-05** at limit **
  16  norm           .0000        2.9730       -.20194E-05** at limit **
  17  Prefactor     12.245        9.4051        .44069E-06    .47245E-02
  18  Prefactor     27.413        26.801        .29649E-05   -.68205E-01
  19  norm           .0000        2.8265        .14570E-05** at limit **
  20  Prefactor     6.2680        5.9552       -.30030E-06    .43863E-03
  21  norm           .0000        2.2622       -.46813E-06** at limit **
  22  norm          .96756E-07    5.9645        .14691E-05** at limit **
  23  Prefactor     32.397        5.6233       -.36575E-07   -.26156E-01
  24  Prefactor     .20706E-07    11.452        .39506E-05** at limit **
  25  Prefactor     13.018        11.938        .11769E-05    .30825E-01
  26  norm          .40079E-07    9.5735       -.26375E-05** at limit **
  27  Prefactor      .0000        2.6726        .14008E-06** at limit **
  28  Prefactor     .27756E-09    7.5620       -.48741E-06** at limit **
  29  Normalizat    .39492        .30271        .98348E-04   -.30071E-04
  30  Prefactor     1.1065        .29480       -.42022E-04   -.45320E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 37.8347
  Prefactor  = 0
  Prefactor  = 11.6181
  Prefactor  = 54.1626
  norm       = 4.96825e-08
  Prefactor  = 1.55426
  Prefactor  = 2.31037e-07
  Prefactor  = 6.10623e-10
  Prefactor  = 3.33067e-10
  Prefactor  = 34.0251
  Prefactor  = 5.55112e-11
  Prefactor  = 32.0498
  Prefactor  = 2.50072
  norm       = 28.9025
  norm       = 1.66533e-10
  norm       = 0
  Prefactor  = 12.2445
  Prefactor  = 27.4129
  norm       = 0
  Prefactor  = 6.268
  norm       = 0
  norm       = 9.67559e-08
  Prefactor  = 32.3973
  Prefactor  = 2.07057e-08
  Prefactor  = 13.0179
  norm       = 4.00791e-08
  Prefactor  = 0
  Prefactor  = 2.77556e-10
  Normalizat = 0.39492
  Prefactor  = 1.10651
 **********
 **   18 **HESSE 
 **********

 FCN=   2314.677     FROM HESSE     STATUS=OK           650 CALLS     3587 TOTAL
                     EDM=   .81E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     37.835        38.535        .16150E-03   -1.5585    
   2  Prefactor      .0000        4.5758        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.618        5.9174        .29249E-03   -1.5640    
   4  Prefactor     54.163        82.519        .13580E-03   -1.5561    
   5  norm          .49682E-07    37.362        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.5543        3.3686        .84782E-03   -1.5683    
   7  Prefactor     .23104E-06    44.735        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .61062E-09    7.2716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .33307E-09    14.583        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     34.025        38.358        .17011E-03   -1.5591    
  11  Prefactor     .55511E-10    4.3361        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     32.050        85.439        .16584E-03   -1.5595    
  13  Prefactor     2.5007        15.830        .64444E-03   -1.5676    
  14  norm          28.903        32.987        .18535E-03   -1.5600    
  15  norm          .16653E-09    5.7447        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        2.9766        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     12.245        14.598        .28959E-03   -1.5638    
  18  Prefactor     27.413        40.809        .18675E-03   -1.5603    
  19  norm           .0000        2.8330        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.2680        26.711        .38017E-03   -1.5658    
  21  norm           .0000        1.1505        .18985E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .96756E-07    13.321        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     32.397        29.957        .17373E-03   -1.5594    
  24  Prefactor     .20706E-07    13.085        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     13.018        32.290        .25800E-03   -1.5636    
  26  norm          .40079E-07    13.501        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor      .0000        2.6744        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .27756E-09    7.5686        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    .39492        .27256        .70094E-01   -1.1756    
  30  Prefactor     1.1065        .26154        .37242E-01   -.89259    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.05839e-07
Minuit parameter uncertainties:
  1  38.5356
  2  2.07138e-05
  3  5.91745
  4  82.5204
  5  0.00272481
  6  3.36857
  7  0.00642971
  8  0.000130272
  9  0.000144607
  10  38.3579
  11  2.57765e-05
  12  85.4419
  13  12.5836
  14  32.9874
  15  5.6789e-05
  16  1.5737e-05
  17  14.5982
  18  40.8094
  19  1.47001e-05
  20  25.8787
  21  6.26355e-06
  22  0.00227091
  23  29.9576
  24  0.00104165
  25  32.2904
  26  0.00147148
  27  3.60204e-06
  28  8.88376e-05
  29  0.273476
  30  0.261849
Done.

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

Extracting fit parameters...

4FGL J2251.5-4928
   Spectrum: PowerLaw
403    Prefactor:  3.205e+01  8.544e+01  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.107e+00  2.618e-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:  3.949e-01  2.735e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.16
Ra Dec: 342.879 -49.469
Photon Flux Upper Limit: 1.26e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.34e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/849931/likelihoodResults_685152001_685411201_4FGL_J2251.5-4928_daily_bin1720.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) = 2314.51832894
delta logL = 0.159163457271

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2314.51111238
delta logL = 0.166380022917

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.433       1.0000          .0000       .10000E+07
     2 'Index     '    2.5092       1.0000          .0000       10.000    
     3 'Normalizat'    .37012       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1213       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2314.511     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      314 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.364        241.47        .10921E-04    .57669E-03
   2  Index         2.5107        2.8221        .48763E-02    .43609E-04
   3  Normalizat    .36902        .29548        .32061E-03    .14003E-03
   4  Prefactor     1.1222        .30115        .19154E-03   -.32781E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.3638
  Index      = 2.51072
  Normalizat = 0.369025
  Prefactor  = 1.12221
 **********
 **   18 **HESSE 
 **********

 FCN=   2314.511     FROM HESSE     STATUS=OK            25 CALLS      339 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.364        50.717        .43685E-06   -1.5635    
   2  Index         2.5107        1.3482        .19505E-03   -.52112    
   3  Normalizat    .36902        .29151        .12824E-04   -1.1893    
   4  Prefactor     1.1222        .29436        .38309E-04   -.88760    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.5868e-09
Minuit parameter uncertainties:
  1  50.7188
  2  1.37093
  3  0.292714
  4  0.294785
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849931': 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): 0
logL (Free Index) = 2314.51110366
delta logL = 0.166388740086

Extracting fit parameters...

4FGL J2251.5-4928
   Spectrum: PowerLaw
403    Prefactor:  1.336e+01  5.072e+01  0.000e+00  1.000e+06 ( 1.000e-14)
404        Index:  2.511e+00  1.371e+00  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.122e+00  2.948e-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:  3.690e-01  2.927e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.16
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/849931/cmap_HighResolution_685152001_685411201_4FGL_J2251.5-4928_daily_bin1720.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.34e-03', job_status='DONE', photon_flux_upper_limit='1.26e-07', time_completed='2022-09-21 01:09:08.985624', job_id='849931', GAL2='1.12', fit_tolerance='1e-08', EG2='0.37', EG='0.39', time_epoch_completed='1663747748.99', return_code2='0', ts='0.16', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='1.66e-01', ts2='0.51', photon_index_error='0.00', photon_index='1.85' WHERE bin_id='1720' AND source_name='4FGL J2251.5-4928' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 21 01:09:09 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0025>
Subject: Job 849931: <4FGL_J2251.5-4928_daily_bin1720> in cluster <slac> Done

Job <4FGL_J2251.5-4928_daily_bin1720> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Wed Sep 21 00:55:19 2022
Job was executed on host(s) <bullet0025>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 21 00:56:58 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 21 00:56:58 2022
Terminated at Wed Sep 21 01:09:09 2022
Results reported at Wed Sep 21 01:09:09 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2251.5-4928_daily_bin1720 342.879 -49.4691 685152001 685411201 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 :                                   497.56 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             250.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   731 sec.
    Turnaround time :                            830 sec.

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

