/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 206 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 = 7493
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2258.1-2759_daily_bin132
RA = 344.529, Dec = -27.9843
tmin = 273542401, tmax = 273801601
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='595693', job_status='RUN', time_executed='2021-09-29 02:59:17.655933', time_epoch_executed='1632909557.66' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='132'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/595693

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/595693/ft1_4FGL_J2258.1-2759_daily_bin132.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/595693/ft2_4FGL_J2258.1-2759_daily_bin132.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/595693/ft1_4FGL_J2258.1-2759_daily_bin132.fits outfile=/scratch/kocevski/595693/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin132.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=273542401.0 tmax=273801601.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.61
user 3.37
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/595693/ft2_4FGL_J2258.1-2759_daily_bin132.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/595693/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin132.fits evtable="EVENTS" outfile="/scratch/kocevski/595693/ft1_filtered_4FGL_J2258.1-2759_daily_bin132.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.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/595693/ft1_filtered_4FGL_J2258.1-2759_daily_bin132.fits" evtable="EVENTS" scfile=/scratch/kocevski/595693/ft2_4FGL_J2258.1-2759_daily_bin132.fits sctable="SC_DATA" outfile=/scratch/kocevski/595693/ltcube_273542401_273801601_4FGL_J2258.1-2759_daily_bin132.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/595693/ft2_4FGL_J2258.1-2759_daily_bin132.fits
.....................!
real 11.89
user 11.53
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/595693/ft1_filtered_4FGL_J2258.1-2759_daily_bin132.fits evtable="EVENTS" scfile=/scratch/kocevski/595693/ft2_4FGL_J2258.1-2759_daily_bin132.fits sctable="SC_DATA" expcube=/scratch/kocevski/595693/ltcube_273542401_273801601_4FGL_J2258.1-2759_daily_bin132.fits outfile=/scratch/kocevski/595693/expmap_273542401_273801601_4FGL_J2258.1-2759_daily_bin132.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/595693/ltcube_273542401_273801601_4FGL_J2258.1-2759_daily_bin132.fits
.....................!
real 191.57
user 185.53
sys 5.69

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/595693/ft1_filtered_4FGL_J2258.1-2759_daily_bin132.fits scfile=/scratch/kocevski/595693/ft2_4FGL_J2258.1-2759_daily_bin132.fits outfile=/scratch/kocevski/595693/cmap_273542401_273801601_4FGL_J2258.1-2759_daily_bin132.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.59
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/595693/ft1_filtered_4FGL_J2258.1-2759_daily_bin132.fits scfile=/scratch/kocevski/595693/ft2_4FGL_J2258.1-2759_daily_bin132.fits outfile=/scratch/kocevski/595693/cmap_HighResolution_273542401_273801601_4FGL_J2258.1-2759_daily_bin132.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.56
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/595693/ft1_filtered_4FGL_J2258.1-2759_daily_bin132.fits evtable="EVENTS" scfile=/scratch/kocevski/595693/ft2_4FGL_J2258.1-2759_daily_bin132.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/595693/Model_4FGL_J2258.1-2759_daily_bin132.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/595693/ft1_filtered_4FGL_J2258.1-2759_daily_bin132.fits.....................!
real 43.60
user 42.25
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/595693/ft1_filtered_4FGL_J2258.1-2759_daily_bin132.fits', '/scratch/kocevski/595693/ft2_4FGL_J2258.1-2759_daily_bin132.fits', expMap='/scratch/kocevski/595693/expmap_273542401_273801601_4FGL_J2258.1-2759_daily_bin132.fits', expCube='/scratch/kocevski/595693/ltcube_273542401_273801601_4FGL_J2258.1-2759_daily_bin132.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/595693/Model_4FGL_J2258.1-2759_daily_bin132.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/595693/ft1_filtered_4FGL_J2258.1-2759_daily_bin132.fits
Spacecraft file(s): /scratch/kocevski/595693/ft2_4FGL_J2258.1-2759_daily_bin132.fits
Exposure map: /scratch/kocevski/595693/expmap_273542401_273801601_4FGL_J2258.1-2759_daily_bin132.fits
Exposure cube: /scratch/kocevski/595693/ltcube_273542401_273801601_4FGL_J2258.1-2759_daily_bin132.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/595693/Model_4FGL_J2258.1-2759_daily_bin132.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) = 5346.66823693

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    24.502       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    24.053       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.4523       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.8638       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11171E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.5937       1.0000         .10000E-03   10000.    
    12 'norm      '    1.0868       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10070E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    21.444       1.0000         .10000E-03   10000.    
    17 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .15236E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10151E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .97414       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0196       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5346.554     FROM MIGRAD    STATUS=CONVERGED    852 CALLS     2723 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.503        20.404        .80925E-04   -.64623E-05
   2  Prefactor     .10000E-03    3.3932        .13094E-02** at limit **
   3  norm          .10000E-03    9.0147        .18142E-02** at limit **
   4  Prefactor     24.068        18.078        .81675E-04   -.36051E-04
   5  Prefactor     5.4526        7.7065        .17208E-03    .11759E-04
   6  norm          .10000E-03    .64314        .57071E-03** at limit **
   7  Prefactor     8.8603        29.168        .13463E-03    .76000E-05
   8  Prefactor     .10000E-03    24.236        .36285E-03** at limit **
   9  norm          .10000E-03    1.2417        .79430E-03** at limit **
  10  Prefactor     .10000E-03    5.3733        .16537E-02** at limit **
  11  Prefactor     5.6099        14.007        .16986E-03    .35694E-03
  12  norm          1.0861        1.0078        .43181E-04    .25064E-02
  13  Prefactor     .10000E-03    18.831        .18142E-02** at limit **
  14  Prefactor     .10000E-03    10.599        .18142E-02** at limit **
  15  norm          .10000E-03    5.2721        .16317E-02** at limit **
  16  Prefactor     21.357        37.626        .86496E-04   -.11664E-03
  17  norm          .10000E-03    1.4551        .85652E-03** at limit **
  18  Prefactor     .10000E-03    32.379        .10854    ** at limit **
  19  Prefactor     .10000E-03    81.469        .18142E-02** at limit **
  20  Prefactor     .10000E-03    44.827        .18142E-02** at limit **
  21  Normalizat    .97394        .23436        .23769E-03    .16578E-03
  22  Prefactor     1.0198        .22443        .23404E-03   -.17816E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.5032
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 24.0675
  Prefactor  = 5.45256
  norm       = 0.0001
  Prefactor  = 8.86029
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.6099
  norm       = 1.08605
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 21.3573
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.973943
  Prefactor  = 1.01976
 **********
 **   18 **HESSE 
 **********

 FCN=   5346.554     FROM HESSE     STATUS=OK           330 CALLS     3053 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.503        20.404        .32370E-05   -1.4718    
   2  Prefactor     .10000E-03    3.3938        .26188E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    9.0162        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     24.068        18.079        .32670E-05   -1.4726    
   5  Prefactor     5.4526        7.7061        .68834E-05   -1.5241    
   6  norm          .10000E-03    .64314        .11414E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.8603        29.166        .53852E-05   -1.5113    
   8  Prefactor     .10000E-03    24.238        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    1.2417        .15886E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.3733        .33075E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.6099        13.996        .67944E-05   -1.5234    
  12  norm          1.0861        1.0071        .17272E-05   -1.5500    
  13  Prefactor     .10000E-03    18.831        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.605        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    5.2738        .32634E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     21.357        37.626        .17299E-04   -1.4783    
  17  norm          .10000E-03    1.4552        .17130E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    31.157        .11138       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    81.472        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    44.829        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .97394        .23457        .95076E-05   -.93909    
  22  Prefactor     1.0198        .22468        .46808E-04   -.92074    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12685e-09
Minuit parameter uncertainties:
  1  20.4099
  2  3.14544e-06
  3  7.71667e-07
  4  18.0828
  5  7.70755
  6  1.19011e-06
  7  29.2128
  8  7.38872e-05
  9  1.2304e-05
  10  5.45745e-05
  11  14.0043
  12  1.00711
  13  6.33184e-07
  14  0.000191029
  15  5.62942e-05
  16  37.6676
  17  4.11142e-06
  18  0.000406289
  19  5.65846e-05
  20  1.26945e-05
  21  0.234822
  22  0.224883
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.086e+00  1.007e+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

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.020e+00  2.249e-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.739e-01  2.348e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.66
Ra Dec: 344.529 -27.984
Photon Index (Fixed Index): 2.29 +/- 0.00
Photon Flux (Fixed Index): 6.15e-08 +/- 5.70e-08
Energy Flux (Fixed Index): 2.32e-05 +/- 2.15e-05

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) = 5345.77786832
delta logL = 0.776578078789

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5345.77491523
delta logL = 0.779531171724

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .63393       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1174       1.0000          .0000       5.0000    
     3 'Normalizat'    .91024       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0619       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=   5345.775     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      203 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .63383        4.4985        .60712E-02    .56696E-03
   2  alpha         3.1178        4.0053        .23886        .50063E-04
   3  Normalizat    .91028        .67194E-01    .45032E-01    .51703E-05
   4  Prefactor     1.0619        .60946E-01    .39256E-01    .29652E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.633828
  alpha      = 3.11779
  Normalizat = 0.910282
  Prefactor  = 1.06186
 **********
 **   18 **HESSE 
 **********

 FCN=   5345.775     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .63383        .63315        .27170E-04   -1.5549    
   2  alpha         3.1178        .76325        .97492E-02    .24970    
   3  Normalizat    .91028        .22495        .24460E-03   -.96100    
   4  Prefactor     1.0619        .22228        .22973E-03   -.90695    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.66033e-09
Minuit parameter uncertainties:
  1  0.633153
  2  0.776473
  3  0.225187
  4  0.222469
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/595693': 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) = 5345.77491473
delta logL = 0.779531669096

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  6.338e-01  6.332e-01  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  3.118e+00  7.765e-01  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:  1.062e+00  2.225e-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.103e-01  2.252e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.34
Ra Dec: 344.529 -27.984
Photon Index (Free Index): 3.12 +/- 0.78
Photon Flux (Free Index): 1.08e-07 +/- 6.02e-08
Energy Flux (Free Index): 2.32e-05 +/- 1.15e-05

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/595693/cmap_HighResolution_273542401_273801601_4FGL_J2258.1-2759_daily_bin132.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.15e-08', energy_flux2='2.32e-05', photon_flux_error='5.70e-08', dlogl='7.80e-01', energy_flux='2.32e-05', photon_flux2='1.08e-07', job_status='DONE', time_completed='2021-09-29 03:08:25.079348', photon_index_error2='0.78', photon_index2='3.12', ts='4.66', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='1.15e-05', EG='0.97', time_epoch_completed='1632910105.08', return_code='0', job_id='595693', GAL2='1.06', EG2='0.91', return_code2='0', energy_flux_error='2.15e-05', photon_flux_error2='6.02e-08', ts2='6.34', photon_index='2.29' WHERE bin_id='132' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:08:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 595693: <4FGL_J2258.1-2759_daily_bin132> in cluster <slac> Done

Job <4FGL_J2258.1-2759_daily_bin132> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 02:55:41 2021
Job was executed on host(s) <bullet0040>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:55:42 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 02:55:42 2021
Terminated at Wed Sep 29 03:08:25 2021
Results reported at Wed Sep 29 03:08:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin132 344.529 -27.9843 273542401 273801601 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 :                                   545.49 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             228.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   763 sec.
    Turnaround time :                            764 sec.

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

