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


Performing analysis on: 4FGL_J2251.5-4928_daily_bin1736
RA = 342.879, Dec = -49.4691
tmin = 689299201, tmax = 689558401
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='963405', job_status='RUN', time_executed='2022-11-08 00:41:28.945120', time_epoch_executed='1667896888.95' WHERE source_name='4FGL J2251.5-4928' and cadence='daily' and bin_id='1736'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/963405

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/963405/ft1_4FGL_J2251.5-4928_daily_bin1736.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/963405/ft2_4FGL_J2251.5-4928_daily_bin1736.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/963405/ft1_4FGL_J2251.5-4928_daily_bin1736.fits outfile=/scratch/kocevski/963405/ft1_filteredMKT_4FGL_J2251.5-4928_daily_bin1736.fits ra=342.879 dec=-49.4691 rad=12.0 tmin=689299201.0 tmax=689558401.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.59
user 3.38
sys 0.20

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

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

Number of photons that the gtmktime cut: 599

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/963405/ft1_filtered_4FGL_J2251.5-4928_daily_bin1736.fits" evtable="EVENTS" scfile=/scratch/kocevski/963405/ft2_4FGL_J2251.5-4928_daily_bin1736.fits sctable="SC_DATA" outfile=/scratch/kocevski/963405/ltcube_689299201_689558401_4FGL_J2251.5-4928_daily_bin1736.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/963405/ft2_4FGL_J2251.5-4928_daily_bin1736.fits
.....................!
real 12.05
user 11.68
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/963405/ft1_filtered_4FGL_J2251.5-4928_daily_bin1736.fits evtable="EVENTS" scfile=/scratch/kocevski/963405/ft2_4FGL_J2251.5-4928_daily_bin1736.fits sctable="SC_DATA" expcube=/scratch/kocevski/963405/ltcube_689299201_689558401_4FGL_J2251.5-4928_daily_bin1736.fits outfile=/scratch/kocevski/963405/expmap_689299201_689558401_4FGL_J2251.5-4928_daily_bin1736.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/963405/ltcube_689299201_689558401_4FGL_J2251.5-4928_daily_bin1736.fits
.....................!
real 190.49
user 185.49
sys 4.58

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/963405/ft1_filtered_4FGL_J2251.5-4928_daily_bin1736.fits scfile=/scratch/kocevski/963405/ft2_4FGL_J2251.5-4928_daily_bin1736.fits outfile=/scratch/kocevski/963405/cmap_689299201_689558401_4FGL_J2251.5-4928_daily_bin1736.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/963405/ft1_filtered_4FGL_J2251.5-4928_daily_bin1736.fits scfile=/scratch/kocevski/963405/ft2_4FGL_J2251.5-4928_daily_bin1736.fits outfile=/scratch/kocevski/963405/cmap_HighResolution_689299201_689558401_4FGL_J2251.5-4928_daily_bin1736.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/963405/ft1_filtered_4FGL_J2251.5-4928_daily_bin1736.fits evtable="EVENTS" scfile=/scratch/kocevski/963405/ft2_4FGL_J2251.5-4928_daily_bin1736.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/963405/Model_4FGL_J2251.5-4928_daily_bin1736.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/963405/ft1_filtered_4FGL_J2251.5-4928_daily_bin1736.fits.....................!
real 46.56
user 45.27
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    66.506       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.4841       1.0000          .0000       .10000E+07
     3 'Prefactor '    8.7846       1.0000          .0000       .10000E+07
     4 'Prefactor '    .14612E-01   1.0000          .0000       .10000E+07
     5 'norm      '    2.7206       1.0000          .0000       .10000E+07
     6 'Prefactor '    .32418E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    6.2359       1.0000          .0000       .10000E+07
     8 'Prefactor '    .10810E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .98427E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .43961E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.5668       1.0000          .0000       .10000E+07
    12 'Prefactor '    .14124E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    7.2901       1.0000          .0000       .10000E+07
    14 'norm      '    .24447E-06   1.0000          .0000       .10000E+07
    15 'norm      '    .30789E-04   1.0000          .0000       .10000E+07
    16 'norm      '    4.5362       1.0000          .0000       .10000E+07
    17 'Prefactor '    7.7684       1.0000          .0000       .10000E+07
    18 'Prefactor '    10.537       1.0000          .0000       .10000E+07
    19 'norm      '    .20931E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .22038E-07   1.0000          .0000       .10000E+07
    21 'norm      '    .67701       1.0000          .0000       .10000E+07
    22 'norm      '    .89317E-07   1.0000          .0000       .10000E+07
    23 'Prefactor '    9.6877       1.0000          .0000       .10000E+07
    24 'Prefactor '    1.6141       1.0000          .0000       .10000E+07
    25 'Prefactor '    5.9675       1.0000          .0000       .10000E+07
    26 'norm      '    20.875       1.0000          .0000       .10000E+07
    27 'Prefactor '    .16153E-03   1.0000          .0000       .10000E+07
    28 'Prefactor '    .21198E-04   1.0000          .0000       .10000E+07
    29 'Normalizat'    1.1419       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .49318       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=   6484.082     FROM MIGRAD    STATUS=CONVERGED    191 CALLS     2242 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     63.451        35.471       -.48195E-06    .39966E-01
   2  Prefactor     1.8337        8.9819        .22365E-06   -.44026E-03
   3  Prefactor     8.7552        4.0413        .26630E-07   -.27722E-03
   4  Prefactor     .11232E-05    56.503       -.13725E-06** at limit **
   5  norm          2.7204        3.2942       -.10325E-06   -.38231E-03
   6  Prefactor     .55511E-10    1.6099       -.13624E-06** at limit **
   7  Prefactor     6.2027        1.9660        .64865E-07    .83083E-03
   8  Prefactor     .84210E-07    4.7668       -.65624E-06** at limit **
   9  Prefactor     .22815E-07    6.0872        .38927E-06** at limit **
  10  Prefactor     .55511E-10    3.9615       -.27583E-07** at limit **
  11  Prefactor     1.5442        2.8506       -.17052E-07   -.25096E-03
  12  Prefactor     .71998E-07    8.0016       -.56968E-07** at limit **
  13  Prefactor     7.2786        6.0086        .17927E-07    .12554E-01
  14  norm          .27756E-09    2.5013        .21239E-07** at limit **
  15  norm          .16653E-09    2.0861       -.16853E-06** at limit **
  16  norm          4.5409        3.2758       -.38557E-07    .13628E-02
  17  Prefactor     7.7577        5.3181       -.81210E-07   -.16145E-02
  18  Prefactor     10.529        16.048       -.10944E-05   -.52083E-01
  19  norm          .12949E-05    15.680        .23174E-05** at limit **
  20  Prefactor     .70499E-08    3.9225        .87771E-08** at limit **
  21  norm          .67640        .63277        .63930E-08   -.82571E-03
  22  norm           .0000        1.3443        .11325E-06** at limit **
  23  Prefactor     9.7297        1.6491       -.53156E-07   -.43034E-02
  24  Prefactor     1.6098        1.7506        .41591E-07    .92643E-04
  25  Prefactor     6.0556        3.5725        .12278E-06    .12124E-01
  26  norm          20.758        13.000       -.52591E-06   -.15083E-01
  27  Prefactor     .59397E-08    6.3442       -.27510E-06** at limit **
  28  Prefactor     .11102E-09    2.0358       -.19817E-07** at limit **
  29  Normalizat    1.1423        .16853       -.13658E-05   -.76333E-04
  30  Prefactor     .49357        .15840        .10676E-05   -.45561E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 63.4507
  Prefactor  = 1.83374
  Prefactor  = 8.75516
  Prefactor  = 1.12316e-06
  norm       = 2.72039
  Prefactor  = 5.55112e-11
  Prefactor  = 6.20267
  Prefactor  = 8.42104e-08
  Prefactor  = 2.28151e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 1.5442
  Prefactor  = 7.1998e-08
  Prefactor  = 7.27863
  norm       = 2.77556e-10
  norm       = 1.66533e-10
  norm       = 4.5409
  Prefactor  = 7.75767
  Prefactor  = 10.5285
  norm       = 1.29491e-06
  Prefactor  = 7.04992e-09
  norm       = 0.676396
  norm       = 0
  Prefactor  = 9.7297
  Prefactor  = 1.60984
  Prefactor  = 6.0556
  norm       = 20.7579
  Prefactor  = 5.93969e-09
  Prefactor  = 1.11022e-10
  Normalizat = 1.14228
  Prefactor  = 0.493566
 **********
 **   18 **HESSE 
 **********

 FCN=   6484.082     FROM HESSE     STATUS=OK           654 CALLS     2896 TOTAL
                     EDM=   .14E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     63.451        39.083        .12263E-03   -1.5549    
   2  Prefactor     1.8337        9.9732        .88033E-03   -1.5681    
   3  Prefactor     8.7552        4.0741        .33795E-03   -1.5649    
   4  Prefactor     .11232E-05    60.658        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.7204        3.2969        .61716E-03   -1.5675    
   6  Prefactor     .55511E-10    1.5988        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.2027        16.041        .40175E-03   -1.5658    
   8  Prefactor     .84210E-07    10.313        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .22815E-07    6.2470        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .55511E-10    4.7634        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.5442        2.8837        .84927E-03   -1.5683    
  12  Prefactor     .71998E-07    10.064        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.2786        10.271        .37125E-03   -1.5654    
  14  norm          .27756E-09    2.5007        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .16653E-09    2.0866        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.5409        3.3277        .47243E-03   -1.5665    
  17  Prefactor     7.7577        5.3529        .35953E-03   -1.5652    
  18  Prefactor     10.529        25.619        .30842E-03   -1.5643    
  19  norm          .12949E-05    3.6180        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .70499E-08    4.6452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .67640        .63417        .62595E-03   -1.5692    
  22  norm           .0000        1.3389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     9.7297        13.442        .32172E-03   -1.5646    
  24  Prefactor     1.6098        1.8028        .83317E-03   -1.5683    
  25  Prefactor     6.0556        14.707        .41081E-03   -1.5659    
  26  norm          20.758        16.133        .21893E-03   -1.5617    
  27  Prefactor     .59397E-08    6.3488        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .11102E-09    2.0316        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.1423        .14789        .36505E-01   -.88406    
  30  Prefactor     .49357        .13811        .61627E-01   -1.1227    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39091e-06
Minuit parameter uncertainties:
  1  39.083
  2  8.55299
  3  4.07406
  4  0.0165081
  5  3.29695
  6  1.57978e-05
  7  16.0416
  8  0.001864
  9  0.000755385
  10  3.43446e-05
  11  2.88367
  12  0.0017023
  13  10.2712
  14  5.00673e-05
  15  3.62392e-05
  16  3.32765
  17  5.35287
  18  25.6188
  19  0.00432894
  20  0.000362434
  21  0.634173
  22  1.15673e-05
  23  13.4425
  24  1.80283
  25  14.7075
  26  16.1334
  27  0.000388408
  28  3.1111e-05
  29  0.147948
  30  0.138207
Done.

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

Extracting fit parameters...

4FGL J2251.5-4928
   Spectrum: PowerLaw
403    Prefactor:  7.200e-08  1.702e-03  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:  4.936e-01  1.382e-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.142e+00  1.479e-01  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.62e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.94e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/963405/likelihoodResults_689299201_689558401_4FGL_J2251.5-4928_daily_bin1736.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) = 6484.12915893
delta logL = -0.0475601455782

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6484.08159985
delta logL = -1.06454717752e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19102E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .92527       1.0000          .0000       10.000    
     3 'Normalizat'    1.1421       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .49378       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=   6484.082     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      186 TOTAL
                     EDM=   .22E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        9.2958       -.96805E-07** at limit **
   2  Index         1.9245        3.2682        .74130E-05     .0000    
   3  Normalizat    1.1423        .16323       -.20310E-05   -.98438E-05
   4  Prefactor     .49357        .15753        .55895E-06   -.13914E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.92449
  Normalizat = 1.14228
  Prefactor  = 0.493566
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6484.082     FROM HESSE     STATUS=FAILED        11 CALLS      197 TOTAL
                     EDM=   .22E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        9.3904        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .39135        1.8437        .74130E-05   -.66252    
   3  Normalizat    1.1423        1.1304       -.20310E-05   -.88406    
   4  Prefactor     .49357        .83524        .55895E-06   -1.1227    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.23618e-13
Minuit parameter uncertainties:
  1  2.38301e-06
  2  1.78687
  3  1.15588
  4  0.85746
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/963405': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6484.08159878
delta logL = 3.57795215677e-09

Extracting fit parameters...

4FGL J2251.5-4928
   Spectrum: PowerLaw
403    Prefactor:  0.000e+00  2.383e-06  0.000e+00  1.000e+06 ( 1.000e-14)
404        Index:  1.924e+00  1.787e+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:  4.936e-01  8.575e-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.142e+00  1.156e+00  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/963405/cmap_HighResolution_689299201_689558401_4FGL_J2251.5-4928_daily_bin1736.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.94e-03', job_status='DONE', photon_flux_upper_limit='2.62e-08', time_completed='2022-11-08 00:52:47.597548', job_id='963405', GAL2='0.49', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1667897567.6', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.49', dlogl='3.58e-09', ts2='0.00', photon_index_error='0.00', photon_index='1.85' WHERE bin_id='1736' AND source_name='4FGL J2251.5-4928' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Nov  8 00:52:47 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0117>
Subject: Job 963405: <4FGL_J2251.5-4928_daily_bin1736> in cluster <slac> Done

Job <4FGL_J2251.5-4928_daily_bin1736> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Nov  8 00:40:21 2022
Job was executed on host(s) <bullet0117>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Nov  8 00:40:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Nov  8 00:40:22 2022
Terminated at Tue Nov  8 00:52:48 2022
Results reported at Tue Nov  8 00:52:48 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2251.5-4928_daily_bin1736 342.879 -49.4691 689299201 689558401 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 :                                   680.25 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             346.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   745 sec.
    Turnaround time :                            747 sec.

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

