/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 138 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 = 7390
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2258.1-2759_daily_bin868
RA = 344.529, Dec = -27.9843
tmin = 464313601, tmax = 464572801
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='598682', job_status='RUN', time_executed='2021-09-29 03:07:54.742659', time_epoch_executed='1632910074.74' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='868'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/598682

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/598682/ft1_4FGL_J2258.1-2759_daily_bin868.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/598682/ft2_4FGL_J2258.1-2759_daily_bin868.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/598682/ft1_4FGL_J2258.1-2759_daily_bin868.fits outfile=/scratch/kocevski/598682/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin868.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=464313601.0 tmax=464572801.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 2.66
user 2.46
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/598682/ft2_4FGL_J2258.1-2759_daily_bin868.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/598682/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin868.fits evtable="EVENTS" outfile="/scratch/kocevski/598682/ft1_filtered_4FGL_J2258.1-2759_daily_bin868.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.41
user 0.28
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/598682/ft1_filtered_4FGL_J2258.1-2759_daily_bin868.fits" evtable="EVENTS" scfile=/scratch/kocevski/598682/ft2_4FGL_J2258.1-2759_daily_bin868.fits sctable="SC_DATA" outfile=/scratch/kocevski/598682/ltcube_464313601_464572801_4FGL_J2258.1-2759_daily_bin868.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/598682/ft2_4FGL_J2258.1-2759_daily_bin868.fits
.....................!
real 9.05
user 8.74
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/598682/ft1_filtered_4FGL_J2258.1-2759_daily_bin868.fits evtable="EVENTS" scfile=/scratch/kocevski/598682/ft2_4FGL_J2258.1-2759_daily_bin868.fits sctable="SC_DATA" expcube=/scratch/kocevski/598682/ltcube_464313601_464572801_4FGL_J2258.1-2759_daily_bin868.fits outfile=/scratch/kocevski/598682/expmap_464313601_464572801_4FGL_J2258.1-2759_daily_bin868.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/598682/ltcube_464313601_464572801_4FGL_J2258.1-2759_daily_bin868.fits
.....................!
real 145.12
user 141.09
sys 3.80

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/598682/ft1_filtered_4FGL_J2258.1-2759_daily_bin868.fits scfile=/scratch/kocevski/598682/ft2_4FGL_J2258.1-2759_daily_bin868.fits outfile=/scratch/kocevski/598682/cmap_464313601_464572801_4FGL_J2258.1-2759_daily_bin868.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.44
user 0.30
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/598682/ft1_filtered_4FGL_J2258.1-2759_daily_bin868.fits scfile=/scratch/kocevski/598682/ft2_4FGL_J2258.1-2759_daily_bin868.fits outfile=/scratch/kocevski/598682/cmap_HighResolution_464313601_464572801_4FGL_J2258.1-2759_daily_bin868.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.44
user 0.28
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/598682/ft1_filtered_4FGL_J2258.1-2759_daily_bin868.fits evtable="EVENTS" scfile=/scratch/kocevski/598682/ft2_4FGL_J2258.1-2759_daily_bin868.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/598682/Model_4FGL_J2258.1-2759_daily_bin868.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/598682/ft1_filtered_4FGL_J2258.1-2759_daily_bin868.fits.....................!
real 26.44
user 25.37
sys 1.02

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.464       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.0564       1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.6432       1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.2142       1.0000         .10000E-03   10000.    
     6 'norm      '    3.4598       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.7595       1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .37782       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    26.110       1.0000         .10000E-03   10000.    
    17 'norm      '    .10117E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .90169       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .75020       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=   3788.286     FROM MIGRAD    STATUS=CONVERGED    463 CALLS     2353 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.445        23.148       -.21146E-04   -.69836E-05
   2  Prefactor     6.0559        10.520       -.19368E-05   -.77374E-04
   3  norm          .10000E-03    25.022        .26439E-05** at limit **
   4  Prefactor     7.6413        19.423       -.31548E-05   -.86576E-05
   5  Prefactor     8.2170        15.562       -.14770E-05   -.35143E-04
   6  norm          3.4603        2.8191       -.39390E-06   -.21221E-03
   7  Prefactor     .10000E-03    36.426        .13269E-04** at limit **
   8  Prefactor     4.7594        7.3528       -.61418E-06   -.61325E-04
   9  norm          .10000E-03    1.3092       -.24565E-07** at limit **
  10  Prefactor     .10000E-03    11.125       -.54922E-06** at limit **
  11  Prefactor     .10000E-03    3.8975       -.15151E-07** at limit **
  12  norm          .37753        .48227       -.22224E-06   -.97803E-03
  13  Prefactor     .10000E-03    39.843       -.12355E-05** at limit **
  14  Prefactor     .10000E-03    5.2746       -.76974E-07** at limit **
  15  norm          .10000E-03    2.1380        .10058E-06** at limit **
  16  Prefactor     26.073        47.660       -.57341E-04    .27711E-04
  17  norm          .10000E-03    2.4064       -.25770E-06** at limit **
  18  Prefactor     .10000E-03    15.055        .21295E-05** at limit **
  19  Prefactor     .10000E-03    40.833       -.65348E-05** at limit **
  20  Prefactor     .10000E-03    22.633       -.81480E-05** at limit **
  21  Normalizat    .90166        .19271        .74126E-05   -.14373E-03
  22  Prefactor     .75030        .18374        .17556E-05    .18711E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.4453
  Prefactor  = 6.05589
  norm       = 0.0001
  Prefactor  = 7.64135
  Prefactor  = 8.21695
  norm       = 3.46027
  Prefactor  = 0.0001
  Prefactor  = 4.7594
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.377535
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 26.0732
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.901656
  Prefactor  = 0.750296
 **********
 **   18 **HESSE 
 **********

 FCN=   3788.286     FROM HESSE     STATUS=OK           340 CALLS     2693 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.445        23.229        .12386E-03   -1.5061    
   2  Prefactor     6.0559        10.533        .16315E-03   -1.5216    
   3  norm          .10000E-03    25.104        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.6413        19.398        .14505E-03   -1.5155    
   5  Prefactor     8.2170        15.596        .13988E-03   -1.5135    
   6  norm          3.4603        2.8153        .89111E-04   -1.5336    
   7  Prefactor     .10000E-03    36.454        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.7594        7.3452        .18443E-03   -1.5272    
   9  norm          .10000E-03    1.3137        .68727E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    11.168        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.9152        .11834E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .37753        .44986        .46037E-03   -1.5585    
  13  Prefactor     .10000E-03    39.870        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.2979        .13792E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.1397        .87894E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     26.073        47.766        .78398E-04   -1.4686    
  17  norm          .10000E-03    2.5177        .18632E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    15.080        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    40.847        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    22.644        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .90166        .23141        .21429E-03   -.96402    
  22  Prefactor     .75030        .22118        .22712E-03   -1.0159    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.95524e-10
Minuit parameter uncertainties:
  1  23.249
  2  10.5366
  3  6.06088e-05
  4  19.4142
  5  15.6037
  6  2.81545
  7  8.21796e-05
  8  7.34658
  9  2.84466e-06
  10  1.55373e-05
  11  7.35489e-06
  12  0.449865
  13  7.89592e-05
  14  1.91402e-05
  15  1.54527e-05
  16  47.8358
  17  4.15365e-05
  18  5.803e-05
  19  2.51795e-05
  20  5.74056e-06
  21  0.231663
  22  0.221445
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  3.775e-01  4.499e-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:  7.503e-01  2.214e-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.017e-01  2.317e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.08
Ra Dec: 344.529 -27.984
Photon Index (Fixed Index): 2.29 +/- 0.00
Photon Flux (Fixed Index): 2.14e-08 +/- 2.55e-08
Energy Flux (Fixed Index): 8.07e-06 +/- 9.61e-06

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

Saving results to:
/scratch/kocevski/598682/likelihoodResults_464313601_464572801_4FGL_J2258.1-2759_daily_bin868.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) = 3788.10231955
delta logL = 0.183470090816

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3788.09288018
delta logL = 0.192909456789

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .48351       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7906       1.0000          .0000       5.0000    
     3 'Normalizat'    .91046       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74260       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=   3788.093     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      230 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .48391        28.028        .10062E-01    .57723E-03
   2  alpha         1.7907        3.8926        .43362        .46318E-04
   3  Normalizat    .91003        .93583E-01    .45035E-01    .67803E-04
   4  Prefactor     .74300        .10829        .42965E-01    .12952E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.483912
  alpha      = 1.79069
  Normalizat = 0.910026
  Prefactor  = 0.742995
 **********
 **   18 **HESSE 
 **********

 FCN=   3788.093     FROM HESSE     STATUS=OK            35 CALLS      265 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .48391        .51999        .46926E-03   -1.5569    
   2  alpha         1.7907        .75339        .17015E-01   -.28768    
   3  Normalizat    .91003        .22084        .21337E-03   -.96109    
   4  Prefactor     .74300        .21723        .22803E-03   -1.0187    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.35838e-10
Minuit parameter uncertainties:
  1  0.519994
  2  0.766379
  3  0.22106
  4  0.217475
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/598682': 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) = 3788.09287785
delta logL = 0.192911782046

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  4.839e-01  5.200e-01  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  1.791e+00  7.664e-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:  7.430e-01  2.175e-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.100e-01  2.211e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.48
Ra Dec: 344.529 -27.984
Photon Index (Free Index): 1.79 +/- 0.77
Photon Flux (Free Index): 1.70e-08 +/- 2.07e-08
Energy Flux (Free Index): 1.17e-05 +/- 1.40e-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/598682/cmap_HighResolution_464313601_464572801_4FGL_J2258.1-2759_daily_bin868.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.26e-05', comment='SUCCESS', photon_flux='2.14e-08', energy_flux2='1.17e-05', photon_flux_error='2.55e-08', dlogl='1.93e-01', energy_flux='8.07e-06', photon_flux2='1.70e-08', job_status='DONE', time_completed='2021-09-29 03:14:04.841923', photon_index_error2='0.77', photon_index2='1.79', ts='1.08', fit_tolerance='1e-08', GAL='0.75', photon_index_error='0.00', photon_flux_upper_limit='8.64e-08', energy_flux_error2='1.40e-05', EG='0.90', time_epoch_completed='1632910444.84', return_code='0', job_id='598682', GAL2='0.74', EG2='0.91', return_code2='0', energy_flux_error='9.61e-06', photon_flux_error2='2.07e-08', ts2='1.48', photon_index='2.29' WHERE bin_id='868' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:14:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0033>
Subject: Job 598682: <4FGL_J2258.1-2759_daily_bin868> in cluster <slac> Done

Job <4FGL_J2258.1-2759_daily_bin868> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 03:05:27 2021
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 03:05:28 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 03:05:28 2021
Terminated at Wed Sep 29 03:14:05 2021
Results reported at Wed Sep 29 03:14:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin868 344.529 -27.9843 464313601 464572801 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 :                                   370.05 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             216.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   517 sec.
    Turnaround time :                            518 sec.

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

