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


Performing analysis on: 4FGL_J2259.8-1552_daily_bin1776
RA = 344.953, Dec = -15.8809
tmin = 699667201, tmax = 699926401
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='846290', job_status='RUN', time_executed='2023-03-08 01:25:29.070277', time_epoch_executed='1678267529.07' WHERE source_name='4FGL J2259.8-1552' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/846290

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/846290/ft1_4FGL_J2259.8-1552_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/846290/ft2_4FGL_J2259.8-1552_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/846290/ft1_4FGL_J2259.8-1552_daily_bin1776.fits outfile=/scratch/kocevski/846290/ft1_filteredMKT_4FGL_J2259.8-1552_daily_bin1776.fits ra=344.953 dec=-15.8809 rad=12.0 tmin=699667201.0 tmax=699926401.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.92
user 3.68
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/846290/ft2_4FGL_J2259.8-1552_daily_bin1776.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/846290/ft1_filteredMKT_4FGL_J2259.8-1552_daily_bin1776.fits evtable="EVENTS" outfile="/scratch/kocevski/846290/ft1_filtered_4FGL_J2259.8-1552_daily_bin1776.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.33
sys 0.15

Number of photons that the gtmktime cut: 605

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/846290/ft1_filtered_4FGL_J2259.8-1552_daily_bin1776.fits" evtable="EVENTS" scfile=/scratch/kocevski/846290/ft2_4FGL_J2259.8-1552_daily_bin1776.fits sctable="SC_DATA" outfile=/scratch/kocevski/846290/ltcube_699667201_699926401_4FGL_J2259.8-1552_daily_bin1776.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/846290/ft2_4FGL_J2259.8-1552_daily_bin1776.fits
.....................!
real 13.25
user 12.88
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/846290/ft1_filtered_4FGL_J2259.8-1552_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/846290/ft2_4FGL_J2259.8-1552_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/846290/ltcube_699667201_699926401_4FGL_J2259.8-1552_daily_bin1776.fits outfile=/scratch/kocevski/846290/expmap_699667201_699926401_4FGL_J2259.8-1552_daily_bin1776.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/846290/ltcube_699667201_699926401_4FGL_J2259.8-1552_daily_bin1776.fits
.....................!
real 191.71
user 185.84
sys 5.51

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/846290/ft1_filtered_4FGL_J2259.8-1552_daily_bin1776.fits scfile=/scratch/kocevski/846290/ft2_4FGL_J2259.8-1552_daily_bin1776.fits outfile=/scratch/kocevski/846290/cmap_699667201_699926401_4FGL_J2259.8-1552_daily_bin1776.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/846290/ft1_filtered_4FGL_J2259.8-1552_daily_bin1776.fits scfile=/scratch/kocevski/846290/ft2_4FGL_J2259.8-1552_daily_bin1776.fits outfile=/scratch/kocevski/846290/cmap_HighResolution_699667201_699926401_4FGL_J2259.8-1552_daily_bin1776.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/846290/ft1_filtered_4FGL_J2259.8-1552_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/846290/ft2_4FGL_J2259.8-1552_daily_bin1776.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/846290/Model_4FGL_J2259.8-1552_daily_bin1776.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/846290/ft1_filtered_4FGL_J2259.8-1552_daily_bin1776.fits.....................!
real 57.58
user 56.26
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/846290/ft1_filtered_4FGL_J2259.8-1552_daily_bin1776.fits', '/scratch/kocevski/846290/ft2_4FGL_J2259.8-1552_daily_bin1776.fits', expMap='/scratch/kocevski/846290/expmap_699667201_699926401_4FGL_J2259.8-1552_daily_bin1776.fits', expCube='/scratch/kocevski/846290/ltcube_699667201_699926401_4FGL_J2259.8-1552_daily_bin1776.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/846290/Model_4FGL_J2259.8-1552_daily_bin1776.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  0.000e+00  1.000e+06 ( 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/846290/ft1_filtered_4FGL_J2259.8-1552_daily_bin1776.fits
Spacecraft file(s): /scratch/kocevski/846290/ft2_4FGL_J2259.8-1552_daily_bin1776.fits
Exposure map: /scratch/kocevski/846290/expmap_699667201_699926401_4FGL_J2259.8-1552_daily_bin1776.fits
Exposure cube: /scratch/kocevski/846290/ltcube_699667201_699926401_4FGL_J2259.8-1552_daily_bin1776.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/846290/Model_4FGL_J2259.8-1552_daily_bin1776.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) = 6685.91393642

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 6685.76962388

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21338E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .86458E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .19507E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    28.129       1.0000          .0000       .10000E+07
     5 'Prefactor '    17.836       1.0000          .0000       .10000E+07
     6 'norm      '    .64103       1.0000          .0000       .10000E+07
     7 'norm      '    .95228       1.0000          .0000       .10000E+07
     8 'Prefactor '    .11440E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    26.297       1.0000          .0000       .10000E+07
    10 'norm      '    .35852       1.0000          .0000       .10000E+07
    11 'Prefactor '    .12763       1.0000          .0000       .10000E+07
    12 'Prefactor '    7.1227       1.0000          .0000       .10000E+07
    13 'Prefactor '    1.2893       1.0000          .0000       .10000E+07
    14 'Prefactor '    .47107E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    7.1394       1.0000          .0000       .10000E+07
    16 'Prefactor '    31.630       1.0000          .0000       .10000E+07
    17 'Prefactor '    .16476E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .94811E-04   1.0000          .0000       .10000E+07
    19 'norm      '    3.7545       1.0000          .0000       .10000E+07
    20 'norm      '    .14760E-06   1.0000          .0000       .10000E+07
    21 'Prefactor '    5.4225       1.0000          .0000       .10000E+07
    22 'norm      '    .31697E-07   1.0000          .0000       .10000E+07
    23 'norm      '    7.6656       1.0000          .0000       .10000E+07
    24 'Normalizat'    1.1307       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1714       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5160E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6685.769     FROM MIGRAD    STATUS=CONVERGED    183 CALLS     2171 TOTAL
                     EDM=   .99E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    14.964        .99176E-07** at limit **
   2  Prefactor     .59230E-07    78.859        .21471E-07** at limit **
   3  norm           .0000        5.9665        .30581E-06** at limit **
   4  Prefactor     27.481        14.243        .14320E-06   -.46437E-01
   5  Prefactor     17.709        14.573        .41638E-07    .24821E-02
   6  norm          .64104        .53660        .28617E-07   -.98196E-03
   7  norm          .95123        1.3479        .43364E-07   -.35442E-03
   8  Prefactor     .93259E-08    39.366       -.79480E-06** at limit **
   9  Prefactor     26.105        4.5400       -.49011E-07    .42498E-01
  10  norm          .37257        1.0688        .13884E-06   -.13026E-02
  11  Prefactor     .34117E-06    6.2765       -.11138E-06** at limit **
  12  Prefactor     6.9161        17.784        .22075E-06    .52238E-02
  13  Prefactor     1.5242        43.847       -.19456E-06   -.12953E-02
  14  Prefactor      .0000        4.0862        .91553E-07** at limit **
  15  Prefactor     7.1076        9.7459       -.56352E-07    .10612E-02
  16  Prefactor     30.539        59.481        .50982E-06    .12282E-01
  17  Prefactor     .23315E-08    11.401        .35321E-06** at limit **
  18  Prefactor     .62728E-08    11.939        .30734E-07** at limit **
  19  norm          3.7061        7.4724        .10199E-06   -.21248E-03
  20  norm           .0000        1.9580       -.98756E-07** at limit **
  21  Prefactor     5.4515        4.2202       -.53484E-07   -.39691E-02
  22  norm           .0000        .17323        .25747E-07** at limit **
  23  norm          7.6699        4.7383        .42918E-07   -.10538E-04
  24  Normalizat    1.1313        .24815        .13297E-05    .11636E-04
  25  Prefactor     1.1718        .20352       -.29324E-05    .21948E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Prefactor  = 5.92304e-08
  norm       = 0
  Prefactor  = 27.481
  Prefactor  = 17.7089
  norm       = 0.641045
  norm       = 0.951227
  Prefactor  = 9.32587e-09
  Prefactor  = 26.1045
  norm       = 0.372566
  Prefactor  = 3.41172e-07
  Prefactor  = 6.9161
  Prefactor  = 1.52415
  Prefactor  = 0
  Prefactor  = 7.1076
  Prefactor  = 30.539
  Prefactor  = 2.33147e-09
  Prefactor  = 6.27276e-09
  norm       = 3.70613
  norm       = 0
  Prefactor  = 5.45149
  norm       = 0
  norm       = 7.66994
  Normalizat = 1.13128
  Prefactor  = 1.17177
 **********
 **   18 **HESSE 
 **********

 FCN=   6685.769     FROM HESSE     STATUS=NOT POSDEF   483 CALLS     2654 TOTAL
                     EDM=   .54E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    14.833        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .59230E-07    78.765        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        5.8433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     27.481        46.815        .18858E-03   -1.5603    
   5  Prefactor     17.709        15.020        .23688E-03   -1.5624    
   6  norm          .64104        .54582        .65630E-04   -1.5692    
   7  norm          .95123        1.3492        .42211E-03   -1.5688    
   8  Prefactor     .93259E-08    39.051        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     26.105        338.01        .19504E-03   -1.5606    
  10  norm          .37257        120.67        .94459E-03   -1.5696    
  11  Prefactor     .34117E-06    34.051        .13239E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.9161        22.882        .37563E-03   -1.5655    
  13  Prefactor     1.5242        75.513        .97516E-03   -1.5683    
  14  Prefactor      .0000        4.0574        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.1076        10.504        .37518E-03   -1.5655    
  16  Prefactor     30.539        61.881        .17783E-03   -1.5597    
  17  Prefactor     .23315E-08    11.484        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .62728E-08    12.298        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.7061        7.5070        .52081E-03   -1.5669    
  20  norm           .0000        1.9364        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     5.4515        16.908        .43129E-03   -1.5661    
  22  norm           .0000        .17133        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          7.6699        4.7351        .36196E-03   -1.5653    
  24  Normalizat    1.1313        .25240        .63962E-01   -.88754    
  25  Prefactor     1.1718        .18214        .53492E-01   -.87204    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.42686e-06
Minuit parameter uncertainties:
  1  5.36628e-05
  2  0.00432003
  3  1.04086e-05
  4  46.8152
  5  15.0197
  6  0.545818
  7  1.34917
  8  0.00120528
  9  187.88
  10  13.4105
  11  0.00681669
  12  22.8819
  13  21.4566
  14  8.38237e-07
  15  10.5039
  16  61.882
  17  0.000328032
  18  0.000555891
  19  7.50703
  20  1.57415e-06
  21  16.9078
  22  2.0462e-07
  23  4.73508
  24  0.252667
  25  0.182242
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 6685.76856019

Extracting fit parameters...

4FGL J2259.8-1552
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  8.382e-07  0.000e+00  1.000e+06 ( 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:  1.172e+00  1.822e-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.131e+00  2.527e-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.27e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.00e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/846290/likelihoodResults_699667201_699926401_4FGL_J2259.8-1552_daily_bin1776.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) = 6685.77449434
delta logL = -0.00593414828745

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6685.76856077
delta logL = -5.83810106036e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21483E-07   1.0000          .0000       .10000E+07
     2 'Index     '    2.3438       1.0000          .0000       10.000    
     3 'Normalizat'    1.1311       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1720       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6685.769     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      228 TOTAL
                     EDM=   .24E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.1146        .42118E-03** at limit **
   2  Index         .65778        .59228       -.11285E-04     .0000    
   3  Normalizat    1.1313        1.1361       -.24934E-05   -.24654E-04
   4  Prefactor     1.1718        1.1128        .26572E-05   -.46205E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.657783
  Normalizat = 1.13128
  Prefactor  = 1.17177
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6685.769     FROM HESSE     STATUS=FAILED         9 CALLS      237 TOTAL
                     EDM=   .24E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.1146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .19107E-03    .78335       -.11285E-04   -1.0521    
   3  Normalizat    1.1313        1.1361       -.24934E-05   -.88754    
   4  Prefactor     1.1718        1.1128        .26572E-05   -.87204    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.36628e-12
Minuit parameter uncertainties:
  1  2.05716e-06
  2  0.598068
  3  1.16219
  4  1.13632
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/846290': 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) = 6685.76856019
delta logL = -9.09494701773e-13

Extracting fit parameters...

4FGL J2259.8-1552
   Spectrum: PowerLaw
314    Prefactor:  0.000e+00  2.057e-06  0.000e+00  1.000e+06 ( 1.000e-13)
315        Index:  6.578e-01  5.981e-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:  1.172e+00  1.136e+00  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.131e+00  1.162e+00  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 -2.355e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.614e-03 [aplpy.core]
Saving /scratch/kocevski/846290/cmap_HighResolution_699667201_699926401_4FGL_J2259.8-1552_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.00e-03', job_status='DONE', photon_flux_upper_limit='5.27e-08', time_completed='2023-03-08 01:35:46.014160', job_id='846290', GAL2='1.17', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1678268146.01', return_code2='101', ts='0.00', comment='SUCCESS', return_code='102', GAL='1.17', dlogl='-9.09e-13', ts2='0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1776' AND source_name='4FGL J2259.8-1552' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 01:35:46 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0158>
Subject: Job 846290: <4FGL_J2259.8-1552_daily_bin1776> in cluster <slac> Done

Job <4FGL_J2259.8-1552_daily_bin1776> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Mar  8 01:25:16 2023
Job was executed on host(s) <bullet0158>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 01:25:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 01:25:17 2023
Terminated at Wed Mar  8 01:35:46 2023
Results reported at Wed Mar  8 01:35:46 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2259.8-1552_daily_bin1776 344.953 -15.8809 699667201 699926401 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 :                                   619.26 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             332.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   629 sec.
    Turnaround time :                            630 sec.

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

