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 158 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_J2258.1-2759_daily_bin1665
RA = 344.529, Dec = -27.9843
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='358114', job_status='RUN', time_executed='2022-04-09 00:43:00.256091', time_epoch_executed='1649490180.26' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='1665'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/358114

Creating custom pfile directory:
/scratch/kocevski/358114/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/358114/ft1_4FGL_J2258.1-2759_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/358114/ft2_4FGL_J2258.1-2759_daily_bin1665.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/358114/ft1_4FGL_J2258.1-2759_daily_bin1665.fits outfile=/scratch/kocevski/358114/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin1665.fits ra=344.529 dec=-27.9843 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.41
user 5.10
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/358114/ft2_4FGL_J2258.1-2759_daily_bin1665.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/358114/ft2_4FGL_J2258.1-2759_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/358114/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin1665.fits evtable="EVENTS" outfile="/scratch/kocevski/358114/ft1_filtered_4FGL_J2258.1-2759_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.53
user 0.36
sys 0.13

Number of photons that the gtmktime cut: 627

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/358114/ft1_filtered_4FGL_J2258.1-2759_daily_bin1665.fits" evtable="EVENTS" scfile=/scratch/kocevski/358114/ft2_4FGL_J2258.1-2759_daily_bin1665.fits sctable="SC_DATA" outfile=/scratch/kocevski/358114/ltcube_670896001_671155201_4FGL_J2258.1-2759_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/358114/ft2_4FGL_J2258.1-2759_daily_bin1665.fits
.....................!
real 11.86
user 11.49
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/358114/ft1_filtered_4FGL_J2258.1-2759_daily_bin1665.fits evtable="EVENTS" scfile=/scratch/kocevski/358114/ft2_4FGL_J2258.1-2759_daily_bin1665.fits sctable="SC_DATA" expcube=/scratch/kocevski/358114/ltcube_670896001_671155201_4FGL_J2258.1-2759_daily_bin1665.fits outfile=/scratch/kocevski/358114/expmap_670896001_671155201_4FGL_J2258.1-2759_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/358114/ltcube_670896001_671155201_4FGL_J2258.1-2759_daily_bin1665.fits
.....................!
real 188.85
user 184.93
sys 3.59

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

Setting source of interest to:
4FGL J2258.1-2759 @ 344.529 -27.9843

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/358114/ft1_filtered_4FGL_J2258.1-2759_daily_bin1665.fits scfile=/scratch/kocevski/358114/ft2_4FGL_J2258.1-2759_daily_bin1665.fits outfile=/scratch/kocevski/358114/cmap_670896001_671155201_4FGL_J2258.1-2759_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.529 yref=-27.9843 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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/358114/ft1_filtered_4FGL_J2258.1-2759_daily_bin1665.fits scfile=/scratch/kocevski/358114/ft2_4FGL_J2258.1-2759_daily_bin1665.fits outfile=/scratch/kocevski/358114/cmap_HighResolution_670896001_671155201_4FGL_J2258.1-2759_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.529 yref=-27.9843 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/358114/ft1_filtered_4FGL_J2258.1-2759_daily_bin1665.fits evtable="EVENTS" scfile=/scratch/kocevski/358114/ft2_4FGL_J2258.1-2759_daily_bin1665.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/358114/Model_4FGL_J2258.1-2759_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/358114/ft1_filtered_4FGL_J2258.1-2759_daily_bin1665.fits.....................!
real 51.52
user 50.31
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/358114/ft1_filtered_4FGL_J2258.1-2759_daily_bin1665.fits', '/scratch/kocevski/358114/ft2_4FGL_J2258.1-2759_daily_bin1665.fits', expMap='/scratch/kocevski/358114/expmap_670896001_671155201_4FGL_J2258.1-2759_daily_bin1665.fits', expCube='/scratch/kocevski/358114/ltcube_670896001_671155201_4FGL_J2258.1-2759_daily_bin1665.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/358114/Model_4FGL_J2258.1-2759_daily_bin1665.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2258.1-2759'

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.011e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  2.287e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
344         beta:  1.979e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
345           Eb:  7.783e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/358114/ft1_filtered_4FGL_J2258.1-2759_daily_bin1665.fits
Spacecraft file(s): /scratch/kocevski/358114/ft2_4FGL_J2258.1-2759_daily_bin1665.fits
Exposure map: /scratch/kocevski/358114/expmap_670896001_671155201_4FGL_J2258.1-2759_daily_bin1665.fits
Exposure cube: /scratch/kocevski/358114/ltcube_670896001_671155201_4FGL_J2258.1-2759_daily_bin1665.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/358114/Model_4FGL_J2258.1-2759_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) = 6784.19722926

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.8097       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.4054       1.0000         .10000E-03   10000.    
     3 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.396       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10353E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.9410       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.3535       1.0000         .10000E-03   10000.    
     9 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    34.637       1.0000         .10000E-03   10000.    
    12 'norm      '    .56138       1.0000         .10000E-03   10000.    
    13 'Prefactor '    26.979       1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.539       1.0000         .10000E-03   10000.    
    15 'norm      '    11.429       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11727E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    6.8202       1.0000         .10000E-03   10000.    
    18 'Prefactor '    55.725       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    39.826       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .99119       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .56882       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6784.054     FROM MIGRAD    STATUS=CONVERGED    467 CALLS     2031 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.8090        9.9054       -.12319E-06    .13597E-04
   2  Prefactor     9.4046        6.1226       -.22005E-05   -.47706E-04
   3  norm          .10000E-03    14.364       -.31681E-05** at limit **
   4  Prefactor     11.395        12.089       -.27393E-06    .10087E-04
   5  Prefactor     .10000E-03    13.203        .43354E-05** at limit **
   6  norm          .10000E-03    .92311        .98617E-06** at limit **
   7  Prefactor     2.9124        71.793       -.67686E-04   -.75928E-04
   8  Prefactor     8.3531        7.9871       -.66298E-06   -.35468E-04
   9  norm          .10000E-03    1.9344        .90568E-07** at limit **
  10  Prefactor     .10000E-03    6.0948       -.85970E-08** at limit **
  11  Prefactor     34.633        10.613        .93453E-06    .43768E-03
  12  norm          .56157        .53237       -.47619E-07    .49888E-03
  13  Prefactor     26.982        29.383        .21008E-05    .92848E-05
  14  Prefactor     11.537        7.7514       -.12336E-05    .11265E-03
  15  norm          11.428        7.3362        .11908E-06   -.51777E-04
  16  Prefactor     .10000E-03    66.096        .27188E-05** at limit **
  17  norm          6.8202        2.8973       -.12316E-06   -.21192E-04
  18  Prefactor     55.724        26.698       -.83854E-06    .22729E-04
  19  Prefactor     .10000E-03    23.426        .68587E-07** at limit **
  20  Prefactor     39.815        37.107       -.11602E-04    .53690E-05
  21  Normalizat    .99134        .14934        .33733E-05   -.46187E-04
  22  Prefactor     .56865        .13638        .86447E-07    .22219E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.809
  Prefactor  = 9.40462
  norm       = 0.0001
  Prefactor  = 11.395
  Prefactor  = 0.000100003
  norm       = 0.000100002
  Prefactor  = 2.91242
  Prefactor  = 8.35306
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 34.6333
  norm       = 0.561569
  Prefactor  = 26.9825
  Prefactor  = 11.5366
  norm       = 11.4284
  Prefactor  = 0.000100001
  norm       = 6.82018
  Prefactor  = 55.7244
  Prefactor  = 0.0001
  Prefactor  = 39.8147
  Normalizat = 0.991337
  Prefactor  = 0.56865
 **********
 **   18 **HESSE 
 **********

 FCN=   6784.054     FROM HESSE     STATUS=OK           352 CALLS     2383 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.8090        9.9052        .13504E-03   -1.5114    
   2  Prefactor     9.4046        6.1242        .13068E-03   -1.5095    
   3  norm          .10000E-03    14.435        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.395        12.091        .11867E-03   -1.5033    
   5  Prefactor     .10000E-03    13.826        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .96681        .15576E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.9124        73.465        .23684E-03   -1.5367    
   8  Prefactor     8.3531        8.0002        .13871E-03   -1.5130    
   9  norm          .10000E-03    1.9552        .11167E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.1114        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     34.633        10.454        .68090E-04   -1.4530    
  12  norm          .56157        .51484        .47986E-04   -1.5558    
  13  Prefactor     26.982        29.396        .77127E-04   -1.4669    
  14  Prefactor     11.537        7.7367        .11793E-03   -1.5029    
  15  norm          11.428        7.3469        .11850E-03   -1.5032    
  16  Prefactor     .10000E-03    66.756        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.8202        2.8968        .86824E-04   -1.5186    
  18  Prefactor     55.724        26.752        .53736E-04   -1.4214    
  19  Prefactor     .10000E-03    23.430        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     39.815        36.946        .63515E-04   -1.4445    
  21  Normalizat    .99134        .17949        .21272E-03   -.93321    
  22  Prefactor     .56865        .16273        .26432E-03   -1.0892    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.33123e-09
Minuit parameter uncertainties:
  1  9.90701
  2  6.12458
  3  0.000141084
  4  12.0935
  5  0.000392186
  6  9.67424e-05
  7  29.2945
  8  8.00121
  9  1.17813e-05
  10  7.91504e-06
  11  10.455
  12  0.514849
  13  29.4118
  14  7.73739
  15  7.34748
  16  0.000382398
  17  2.89687
  18  26.7577
  19  4.23866e-06
  20  36.9673
  21  0.1796
  22  0.162861
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  5.616e-01  5.148e-01  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  2.287e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
344         beta:  1.979e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
345           Eb:  7.783e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  5.686e-01  1.629e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  9.913e-01  1.796e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.85
Ra Dec: 344.529 -27.984
Photon Index (Fixed Index): 2.29 +/- 0.00
Photon Flux (Fixed Index): 3.18e-08 +/- 2.91e-08
Energy Flux (Fixed Index): 1.20e-05 +/- 1.10e-05

TS (Fixed Index): 3.85
Ra Dec: 344.529 -27.984
Photon Flux Upper Limit: 9.12e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.44e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/358114/likelihoodResults_670896001_671155201_4FGL_J2258.1-2759_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): 0
logL (Free Index) = 6783.12030773
delta logL = 0.933720325411

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6783.0895911
delta logL = 0.964436961845

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .20456       1.0000         .10000E-03   10000.    
     2 'alpha     '    .92546       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0051       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .56567       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6783.090     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      215 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .20446        .21379        .79546E-02   -.49484E-03
   2  alpha         .92442        .59684        .47576       -.31750E-04
   3  Normalizat    1.0051        .14050        .46230E-01    .13506E-04
   4  Prefactor     .56555        .13595        .59981E-01    .25451E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.20446
  alpha      = 0.924419
  Normalizat = 1.00515
  Prefactor  = 0.565549
 **********
 **   18 **HESSE 
 **********

 FCN=   6783.090     FROM HESSE     STATUS=OK            33 CALLS      248 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .20446        .41392        .32296E-03   -1.5618    
   2  alpha         .92442        1.0096        .21351E-02   -.68185    
   3  Normalizat    1.0051        .16607        .21172E-03   -.92858    
   4  Prefactor     .56555        .16058        .26536E-03   -1.0906    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.55639e-10
Minuit parameter uncertainties:
  1  0.413926
  2  1.0618
  3  0.166153
  4  0.160706
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/358114': 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) = 6783.08958945
delta logL = 0.964438610093

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  2.045e-01  4.139e-01  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  9.244e-01  1.062e+00  0.000e+00  5.000e+00 ( 1.000e+00)
344         beta:  1.979e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
345           Eb:  7.783e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  5.655e-01  1.607e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.005e+00  1.662e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.84
Ra Dec: 344.529 -27.984
Photon Index (Free Index): 0.92 +/- 1.06
Photon Flux (Free Index): 5.87e-09 +/- 9.58e-09
Energy Flux (Free Index): 1.93e-05 +/- 2.45e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/358114/cmap_HighResolution_670896001_671155201_4FGL_J2258.1-2759_daily_bin1665.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.44e-05', comment='SUCCESS', photon_flux='3.18e-08', energy_flux2='1.93e-05', photon_flux_error='2.91e-08', dlogl='9.64e-01', energy_flux='1.20e-05', photon_flux2='5.87e-09', job_status='DONE', time_completed='2022-04-09 00:53:34.167142', photon_index_error2='1.06', photon_index2='0.92', ts='3.85', fit_tolerance='1e-08', GAL='0.57', photon_index_error='0.00', photon_flux_upper_limit='9.12e-08', energy_flux_error2='2.45e-05', EG='0.99', time_epoch_completed='1649490814.17', return_code='0', job_id='358114', GAL2='0.57', EG2='1.01', return_code2='0', energy_flux_error='1.10e-05', photon_flux_error2='9.58e-09', ts2='5.84', photon_index='2.29' WHERE bin_id='1665' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Apr  9 00:53:34 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 358114: <4FGL_J2258.1-2759_daily_bin1665> in cluster <slac> Done

Job <4FGL_J2258.1-2759_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) <bullet0225>, 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:53:34 2022
Results reported at Sat Apr  9 00:53:34 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin1665 344.529 -27.9843 670896001 671155201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2258.1-2759 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   627.33 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             322.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   802 sec.
    Turnaround time :                            803 sec.

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

