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


Performing analysis on: 4FGL_J2258.1-2759_daily_bin845
RA = 344.529, Dec = -27.9843
tmin = 458352001, tmax = 458611201
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='598646', job_status='RUN', time_executed='2021-09-29 03:08:42.370094', time_epoch_executed='1632910122.37' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='845'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/598646

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/598646/ft1_4FGL_J2258.1-2759_daily_bin845.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/598646/ft2_4FGL_J2258.1-2759_daily_bin845.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/598646/ft1_4FGL_J2258.1-2759_daily_bin845.fits outfile=/scratch/kocevski/598646/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin845.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=458352001.0 tmax=458611201.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 4.45
user 4.20
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/598646/ft2_4FGL_J2258.1-2759_daily_bin845.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/598646/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin845.fits evtable="EVENTS" outfile="/scratch/kocevski/598646/ft1_filtered_4FGL_J2258.1-2759_daily_bin845.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/598646/ft1_filtered_4FGL_J2258.1-2759_daily_bin845.fits" evtable="EVENTS" scfile=/scratch/kocevski/598646/ft2_4FGL_J2258.1-2759_daily_bin845.fits sctable="SC_DATA" outfile=/scratch/kocevski/598646/ltcube_458352001_458611201_4FGL_J2258.1-2759_daily_bin845.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/598646/ft2_4FGL_J2258.1-2759_daily_bin845.fits
.....................!
real 11.70
user 11.34
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/598646/ft1_filtered_4FGL_J2258.1-2759_daily_bin845.fits evtable="EVENTS" scfile=/scratch/kocevski/598646/ft2_4FGL_J2258.1-2759_daily_bin845.fits sctable="SC_DATA" expcube=/scratch/kocevski/598646/ltcube_458352001_458611201_4FGL_J2258.1-2759_daily_bin845.fits outfile=/scratch/kocevski/598646/expmap_458352001_458611201_4FGL_J2258.1-2759_daily_bin845.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/598646/ltcube_458352001_458611201_4FGL_J2258.1-2759_daily_bin845.fits
.....................!
real 190.91
user 185.80
sys 4.77

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/598646/ft1_filtered_4FGL_J2258.1-2759_daily_bin845.fits scfile=/scratch/kocevski/598646/ft2_4FGL_J2258.1-2759_daily_bin845.fits outfile=/scratch/kocevski/598646/cmap_458352001_458611201_4FGL_J2258.1-2759_daily_bin845.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.53
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/598646/ft1_filtered_4FGL_J2258.1-2759_daily_bin845.fits scfile=/scratch/kocevski/598646/ft2_4FGL_J2258.1-2759_daily_bin845.fits outfile=/scratch/kocevski/598646/cmap_HighResolution_458352001_458611201_4FGL_J2258.1-2759_daily_bin845.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.55
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/598646/ft1_filtered_4FGL_J2258.1-2759_daily_bin845.fits evtable="EVENTS" scfile=/scratch/kocevski/598646/ft2_4FGL_J2258.1-2759_daily_bin845.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/598646/Model_4FGL_J2258.1-2759_daily_bin845.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/598646/ft1_filtered_4FGL_J2258.1-2759_daily_bin845.fits.....................!
real 40.74
user 39.30
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.532       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10623E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10592E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.7551       1.0000         .10000E-03   10000.    
     6 'norm      '    2.6253       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .16352E-01   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.9485       1.0000         .10000E-03   10000.    
     9 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10356E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.680       1.0000         .10000E-03   10000.    
    12 'norm      '    .56484       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10301E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10249E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .39374E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10640E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10927E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .14939E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10179E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3478       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .70801       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=   4838.864     FROM MIGRAD    STATUS=CONVERGED    853 CALLS     2766 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.535        12.488        .12346E-03    .62616E-05
   2  Prefactor     .10000E-03    3.5663        .12811E-02** at limit **
   3  norm          .10000E-03    13.413        .18142E-02** at limit **
   4  Prefactor     .10000E-03    18.037        .18142E-02** at limit **
   5  Prefactor     5.7625        20.235        .16742E-03    .26822E-04
   6  norm          2.6238        2.5702        .97325E-04    .14052E-03
   7  Prefactor     .10000E-03    97.722        .14680    ** at limit **
   8  Prefactor     3.9618        13.685        .20300E-03    .66643E-05
   9  norm          .10000E-03    1.8348        .91770E-03** at limit **
  10  Prefactor     .10000E-03    16.212        .18142E-02** at limit **
  11  Prefactor     13.691        12.676        .10830E-03   -.18350E-03
  12  norm          .56417        .70206        .55315E-03   -.12529E-03
  13  Prefactor     .10000E-03    19.242        .18142E-02** at limit **
  14  Prefactor     .10000E-03    14.702        .18142E-02** at limit **
  15  norm          .10072E-03    8.4913        .57118E-01** at limit **
  16  Prefactor     .10000E-03    15.588        .18142E-02** at limit **
  17  norm          .10000E-03    5.2132        .20859E-02** at limit **
  18  Prefactor     .10000E-03    41.232        .18142E-02** at limit **
  19  Prefactor     .10000E-03    111.96        .18142E-02** at limit **
  20  Prefactor     .10000E-03    37.452        .18142E-02** at limit **
  21  Normalizat    1.3477        .25545        .21934E-03    .14963E-03
  22  Prefactor     .70805        .22903        .27566E-03    .52377E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.5348
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.76252
  norm       = 2.62377
  Prefactor  = 0.000100002
  Prefactor  = 3.96176
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.6908
  norm       = 0.564173
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100722
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.3477
  Prefactor  = 0.708046
 **********
 **   18 **HESSE 
 **********

 FCN=   4838.864     FROM HESSE     STATUS=OK           342 CALLS     3108 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.535        12.488        .49385E-05   -1.5059    
   2  Prefactor     .10000E-03    3.5665        .25623E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    13.416        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    18.040        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.7625        20.253        .66970E-05   -1.5228    
   6  norm          2.6238        2.5797        .38930E-05   -1.5384    
   7  Prefactor     .10000E-03    109.82        .13756       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.9618        13.683        .81202E-05   -1.5310    
   9  norm          .10000E-03    1.8349        .18354E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    16.214        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.691        12.665        .43318E-05   -1.4968    
  12  norm          .56417        .70127        .22126E-04   -1.5558    
  13  Prefactor     .10000E-03    19.242        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    14.710        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10072E-03    8.3164        .57972E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    15.589        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    5.2400        .41718E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    41.248        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    111.96        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    37.452        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.3477        .25570        .43868E-04   -.82153    
  22  Prefactor     .70805        .22927        .11026E-04   -1.0321    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.1557e-10
Minuit parameter uncertainties:
  1  12.4913
  2  4.48256e-06
  3  7.87246e-06
  4  1.70557e-05
  5  20.2767
  6  2.57981
  7  0.000835625
  8  13.6934
  9  1.3249e-06
  10  6.5694e-05
  11  12.6678
  12  0.701277
  13  4.11022e-05
  14  5.08854e-05
  15  0.0049002
  16  2.90146e-06
  17  4.64984e-05
  18  0.000171036
  19  2.56858e-05
  20  0.000195071
  21  0.255942
  22  0.229577
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  5.642e-01  7.013e-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.080e-01  2.296e-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.348e+00  2.559e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.64
Ra Dec: 344.529 -27.984
Photon Index (Fixed Index): 2.29 +/- 0.00
Photon Flux (Fixed Index): 3.19e-08 +/- 3.97e-08
Energy Flux (Fixed Index): 1.21e-05 +/- 1.50e-05

TS (Fixed Index): 1.64
Ra Dec: 344.529 -27.984
Photon Flux Upper Limit: 1.15e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.35e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/598646/likelihoodResults_458352001_458611201_4FGL_J2258.1-2759_daily_bin845.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) = 4837.75997958
delta logL = 1.10360205751

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4837.75534409
delta logL = 1.10823754672

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .26643       1.0000         .10000E-03   10000.    
     2 'alpha     '    .73155       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3604       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70673       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=   4837.755     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      216 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .26643        .29453        .67448E-02   -.85431E-03
   2  alpha         .73155        .58312        .38271       -.41825E-04
   3  Normalizat    1.3604        .19652        .49411E-01   -.28853E-05
   4  Prefactor     .70675        .18625        .62374E-01    .19387E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.266427
  alpha      = 0.731552
  Normalizat = 1.36041
  Prefactor  = 0.706753
 **********
 **   18 **HESSE 
 **********

 FCN=   4837.755     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .26643        .37716        .30316E-04   -1.5605    
   2  alpha         .73155        .71094        .17873E-01   -.78578    
   3  Normalizat    1.3604        .23777        .21844E-03   -.81781    
   4  Prefactor     .70675        .22509        .27592E-03   -1.0326    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62301e-10
Minuit parameter uncertainties:
  1  0.377167
  2  0.731672
  3  0.237966
  4  0.225379
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/598646': 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) = 4837.75534407
delta logL = 1.10823756871

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  2.664e-01  3.772e-01  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  7.316e-01  7.317e-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.068e-01  2.254e-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.360e+00  2.380e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.88
Ra Dec: 344.529 -27.984
Photon Index (Free Index): 0.73 +/- 0.73
Photon Flux (Free Index): 8.62e-09 +/- 8.68e-09
Energy Flux (Free Index): 4.17e-05 +/- 5.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/598646/cmap_HighResolution_458352001_458611201_4FGL_J2258.1-2759_daily_bin845.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.35e-05', comment='SUCCESS', photon_flux='3.19e-08', energy_flux2='4.17e-05', photon_flux_error='3.97e-08', dlogl='1.11e+00', energy_flux='1.21e-05', photon_flux2='8.62e-09', job_status='DONE', time_completed='2021-09-29 03:18:18.672572', photon_index_error2='0.73', photon_index2='0.73', ts='1.64', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', photon_flux_upper_limit='1.15e-07', energy_flux_error2='5.15e-05', EG='1.35', time_epoch_completed='1632910698.67', return_code='0', job_id='598646', GAL2='0.71', EG2='1.36', return_code2='0', energy_flux_error='1.50e-05', photon_flux_error2='8.68e-09', ts2='3.88', photon_index='2.29' WHERE bin_id='845' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:18:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 598646: <4FGL_J2258.1-2759_daily_bin845> in cluster <slac> Done

Job <4FGL_J2258.1-2759_daily_bin845> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 03:05:25 2021
Job was executed on host(s) <bullet0077>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 03:05:26 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:26 2021
Terminated at Wed Sep 29 03:18:19 2021
Results reported at Wed Sep 29 03:18:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin845 344.529 -27.9843 458352001 458611201 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 :                                   575.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             283.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   772 sec.
    Turnaround time :                            774 sec.

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

