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


Performing analysis on: 4FGL_J2259.8-1552_daily_bin1665
RA = 344.953, Dec = -15.8809
tmin = 670896001, tmax = 671155201
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='358117', job_status='RUN', time_executed='2022-04-09 00:41:24.465571', time_epoch_executed='1649490084.47' WHERE source_name='4FGL J2259.8-1552' and cadence='daily' and bin_id='1665'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/358117

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/358117/ft1_4FGL_J2259.8-1552_daily_bin1665.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/358117/ft2_4FGL_J2259.8-1552_daily_bin1665.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/358117/ft1_4FGL_J2259.8-1552_daily_bin1665.fits outfile=/scratch/kocevski/358117/ft1_filteredMKT_4FGL_J2259.8-1552_daily_bin1665.fits ra=344.953 dec=-15.8809 rad=12.0 tmin=670896001.0 tmax=671155201.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 5.36
user 5.10
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/358117/ft2_4FGL_J2259.8-1552_daily_bin1665.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/358117/ft2_4FGL_J2259.8-1552_daily_bin1665.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/358117/ft1_filteredMKT_4FGL_J2259.8-1552_daily_bin1665.fits evtable="EVENTS" outfile="/scratch/kocevski/358117/ft1_filtered_4FGL_J2259.8-1552_daily_bin1665.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.49
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 654

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/358117/ft1_filtered_4FGL_J2259.8-1552_daily_bin1665.fits" evtable="EVENTS" scfile=/scratch/kocevski/358117/ft2_4FGL_J2259.8-1552_daily_bin1665.fits sctable="SC_DATA" outfile=/scratch/kocevski/358117/ltcube_670896001_671155201_4FGL_J2259.8-1552_daily_bin1665.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/358117/ft2_4FGL_J2259.8-1552_daily_bin1665.fits
.....................!
real 11.86
user 11.50
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/358117/ft1_filtered_4FGL_J2259.8-1552_daily_bin1665.fits evtable="EVENTS" scfile=/scratch/kocevski/358117/ft2_4FGL_J2259.8-1552_daily_bin1665.fits sctable="SC_DATA" expcube=/scratch/kocevski/358117/ltcube_670896001_671155201_4FGL_J2259.8-1552_daily_bin1665.fits outfile=/scratch/kocevski/358117/expmap_670896001_671155201_4FGL_J2259.8-1552_daily_bin1665.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/358117/ltcube_670896001_671155201_4FGL_J2259.8-1552_daily_bin1665.fits
.....................!
real 190.60
user 185.09
sys 5.03

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 161 point sources and 0 extended sources

Setting source of interest to:
4FGL J2259.8-1552 @ 344.953 -15.8809

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/358117/ft1_filtered_4FGL_J2259.8-1552_daily_bin1665.fits scfile=/scratch/kocevski/358117/ft2_4FGL_J2259.8-1552_daily_bin1665.fits outfile=/scratch/kocevski/358117/cmap_670896001_671155201_4FGL_J2259.8-1552_daily_bin1665.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=344.953 yref=-15.8809 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/358117/ft1_filtered_4FGL_J2259.8-1552_daily_bin1665.fits scfile=/scratch/kocevski/358117/ft2_4FGL_J2259.8-1552_daily_bin1665.fits outfile=/scratch/kocevski/358117/cmap_HighResolution_670896001_671155201_4FGL_J2259.8-1552_daily_bin1665.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=344.953 yref=-15.8809 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/358117/ft1_filtered_4FGL_J2259.8-1552_daily_bin1665.fits evtable="EVENTS" scfile=/scratch/kocevski/358117/ft2_4FGL_J2259.8-1552_daily_bin1665.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/358117/Model_4FGL_J2259.8-1552_daily_bin1665.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/358117/ft1_filtered_4FGL_J2259.8-1552_daily_bin1665.fits.....................!
real 57.44
user 56.06
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/358117/ft1_filtered_4FGL_J2259.8-1552_daily_bin1665.fits', '/scratch/kocevski/358117/ft2_4FGL_J2259.8-1552_daily_bin1665.fits', expMap='/scratch/kocevski/358117/expmap_670896001_671155201_4FGL_J2259.8-1552_daily_bin1665.fits', expCube='/scratch/kocevski/358117/ltcube_670896001_671155201_4FGL_J2259.8-1552_daily_bin1665.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/358117/Model_4FGL_J2259.8-1552_daily_bin1665.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2259.8-1552'

4FGL J2259.8-1552
   Spectrum: PowerLaw
314    Prefactor:  2.289e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  2.132e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/358117/ft1_filtered_4FGL_J2259.8-1552_daily_bin1665.fits
Spacecraft file(s): /scratch/kocevski/358117/ft2_4FGL_J2259.8-1552_daily_bin1665.fits
Exposure map: /scratch/kocevski/358117/expmap_670896001_671155201_4FGL_J2259.8-1552_daily_bin1665.fits
Exposure cube: /scratch/kocevski/358117/ltcube_670896001_671155201_4FGL_J2259.8-1552_daily_bin1665.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/358117/Model_4FGL_J2259.8-1552_daily_bin1665.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) = 7109.31582292

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5101       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.8779       1.0000         .10000E-03   10000.    
     4 'norm      '    2.6328       1.0000         .10000E-03   10000.    
     5 'Prefactor '    128.82       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    3.1602       1.0000         .10000E-03   10000.    
     8 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    20.672       1.0000         .10000E-03   10000.    
    11 'norm      '    .10206E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.5736       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11949E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.521       1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.840       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    12.582       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    6.0245       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    43.414       1.0000         .10000E-03   10000.    
    26 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    7.5734       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.1180       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .64777       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5160E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7109.312     FROM MIGRAD    STATUS=CONVERGED    714 CALLS     3665 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5104        33.187       -.20738E-05   -.16784E-03
   2  Prefactor     .10000E-03    32.424       -.36218E-05** at limit **
   3  Prefactor     8.8776        35.341       -.21504E-05   -.21054E-03
   4  norm          2.6328        2.6425       -.17156E-07   -.28424E-03
   5  Prefactor     128.82        83.477        .10433E-05   -.23892E-05
   6  Prefactor     .10000E-03    6.4950       -.38378E-07** at limit **
   7  norm          3.1602        .91433       -.17906E-07   -.13609E-03
   8  norm          .10000E-03    .71448        .24411E-06** at limit **
   9  Prefactor     .10000E-03    62.126       -.17730E-04** at limit **
  10  Prefactor     20.679        15.068       -.70622E-06   -.23586E-03
  11  norm          .10000E-03    .62679        .54149E-07** at limit **
  12  Prefactor     6.5799        25.305        .26642E-05   -.84246E-04
  13  Prefactor     .10000E-03    16.577        .12864E-05** at limit **
  14  Prefactor     15.520        10.363        .67278E-07   -.35062E-04
  15  Prefactor     16.840        10.971       -.31412E-06   -.73625E-04
  16  Prefactor     .10000E-03    7.7415        .75785E-05** at limit **
  17  Prefactor     12.581        8.3411       -.20744E-07    .83302E-06
  18  Prefactor     .10000E-03    44.706        .21637E-04** at limit **
  19  Prefactor     .10000E-03    24.303       -.68391E-05** at limit **
  20  Prefactor     .10000E-03    4.2204        .21934E-06** at limit **
  21  norm          .10000E-03    2.1281       -.41439E-06** at limit **
  22  norm          6.0247        2.7139       -.50698E-09   -.60590E-04
  23  Prefactor     .10000E-03    21.527        .40735E-05** at limit **
  24  Prefactor     .10000E-03    7.8613       -.70665E-05** at limit **
  25  Prefactor     43.415        25.915        .48243E-06    .23073E-05
  26  norm          .10000E-03    .12299       -.34091E-07** at limit **
  27  norm          7.5739        3.8212       -.87363E-08    .75591E-04
  28  Normalizat    1.1179        .16588       -.31218E-06   -.67781E-04
  29  Prefactor     .64780        .13500       -.49683E-06   -.74652E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.51043
  Prefactor  = 0.0001
  Prefactor  = 8.87763
  norm       = 2.63279
  Prefactor  = 128.825
  Prefactor  = 0.0001
  norm       = 3.1602
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.6795
  norm       = 0.0001
  Prefactor  = 6.57986
  Prefactor  = 0.0001
  Prefactor  = 15.5196
  Prefactor  = 16.8401
  Prefactor  = 0.0001
  Prefactor  = 12.5813
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.02473
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 43.415
  norm       = 0.0001
  norm       = 7.57395
  Normalizat = 1.11794
  Prefactor  = 0.647795
 **********
 **   18 **HESSE 
 **********

 FCN=   7109.312     FROM HESSE     STATUS=OK           551 CALLS     4216 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5104        33.934        .34809E-03   -1.5462    
   2  Prefactor     .10000E-03    32.427        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     8.8776        35.852        .67261E-03   -1.5112    
   4  norm          2.6328        2.6341        .13129E-03   -1.5383    
   5  Prefactor     128.82        83.425        .35472E-04   -1.3433    
   6  Prefactor     .10000E-03    6.6110        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          3.1602        .91398        .41356E-04   -1.5352    
   8  norm          .10000E-03    .72732        .69586E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    62.521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     20.679        13.752        .88094E-04   -1.4798    
  11  norm          .10000E-03    .79054        .11046E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.5799        24.791        .15652E-03   -1.5195    
  13  Prefactor     .10000E-03    16.867        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.520        10.283        .10166E-03   -1.4920    
  15  Prefactor     16.840        10.957        .97599E-04   -1.4887    
  16  Prefactor     .10000E-03    7.7963        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     12.581        8.3297        .11293E-03   -1.4998    
  18  Prefactor     .10000E-03    44.623        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    24.730        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.2469        .16912E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    2.1421        .12011E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          6.0247        2.7145        .88925E-04   -1.5217    
  23  Prefactor     .10000E-03    21.597        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    7.8922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     43.415        25.934        .60844E-04   -1.4389    
  26  norm          .10000E-03    .12605        .57340E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          7.5739        3.8003        .11272E-03   -1.5157    
  28  Normalizat    1.1179        .19107        .23026E-03   -.89178    
  29  Prefactor     .64780        .15517        .24648E-03   -1.0561    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09213e-09
Minuit parameter uncertainties:
  1  14.3272
  2  2.54509e-05
  3  35.7177
  4  2.63418
  5  83.5017
  6  1.49271e-05
  7  0.913984
  8  2.31206e-06
  9  0.000229287
  10  13.7542
  11  7.46791e-06
  12  24.8298
  13  1.81812e-05
  14  10.2838
  15  10.9587
  16  2.1612e-05
  17  8.33051
  18  1.88605e-05
  19  0.000102748
  20  2.21956e-06
  21  1.16978e-07
  22  2.71459
  23  3.71597e-05
  24  2.82543e-05
  25  25.9408
  26  3.8226e-07
  27  3.80039
  28  0.191189
  29  0.155275
Done.

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

Extracting fit parameters...

4FGL J2259.8-1552
   Spectrum: PowerLaw
314    Prefactor:  1.000e-04  2.161e-05  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  2.132e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
513    Prefactor:  6.478e-01  1.553e-01  0.000e+00  1.000e+01 ( 1.000e+00)
514        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
515        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
512   Normalization:  1.118e+00  1.912e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 344.953 -15.881
Photon Flux Upper Limit: 5.31e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.02e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/358117/likelihoodResults_670896001_671155201_4FGL_J2259.8-1552_daily_bin1665.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) = 7109.3127468
delta logL = -0.000611337224655

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7109.31213598
delta logL = -5.19349669048e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7109.312     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      200 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    335.45        .90712E-02** at limit **
   2  Index         2.1590        5.5888        .50000       -.15023E-04
   3  Normalizat    1.1179        .27246E-01    .37317E-01    .74205E-04
   4  Prefactor     .64780        .22878E-01    .41703E-01    .81526E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.159
  Normalizat = 1.11794
  Prefactor  = 0.647795
 **********
 **   18 **HESSE 
 **********

 FCN=   7109.312     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      233 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    651.52        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1590        7.3199        .50000       -.60432    
   3  Normalizat    1.1179        .40116E-01    .23026E-03   -.89178    
   4  Prefactor     .64780        .33675E-01    .24648E-03   -1.0561    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.08079e-08
Minuit parameter uncertainties:
  1  0.000541321
  2  37.8055
  3  0.0401174
  4  0.0336757
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/358117': 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) = 7109.31213537
delta logL = 9.55824361881e-08

Extracting fit parameters...

4FGL J2259.8-1552
   Spectrum: PowerLaw
314    Prefactor:  1.000e-04  5.413e-04  1.000e-04  1.000e+04 ( 1.000e-13)
315        Index:  2.159e+00  3.781e+01  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
513    Prefactor:  6.478e-01  3.368e-02  0.000e+00  1.000e+01 ( 1.000e+00)
514        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
515        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
512   Normalization:  1.118e+00  4.012e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 344.953 -15.881

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/358117/cmap_HighResolution_670896001_671155201_4FGL_J2259.8-1552_daily_bin1665.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.02e-03', job_status='DONE', photon_flux_upper_limit='5.31e-08', time_completed='2022-04-09 00:55:49.265236', job_id='358117', GAL2='0.65', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1649490949.27', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.65', dlogl='9.56e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1665' AND source_name='4FGL J2259.8-1552' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Apr  9 00:55:49 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 358117: <4FGL_J2259.8-1552_daily_bin1665> in cluster <slac> Done

Job <4FGL_J2259.8-1552_daily_bin1665> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Apr  9 00:40:11 2022
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Apr  9 00:40:12 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Apr  9 00:40:12 2022
Terminated at Sat Apr  9 00:55:49 2022
Results reported at Sat Apr  9 00:55:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2259.8-1552_daily_bin1665 344.953 -15.8809 670896001 671155201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2259.8-1552 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   855.16 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             316.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   937 sec.
    Turnaround time :                            938 sec.

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

