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


Performing analysis on: 4FGL_J2258.1-2759_daily_bin876
RA = 344.529, Dec = -27.9843
tmin = 466387201, tmax = 466646401
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='598693', job_status='RUN', time_executed='2021-09-29 03:05:47.494117', time_epoch_executed='1632909947.49' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='876'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/598693

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/598693/ft1_4FGL_J2258.1-2759_daily_bin876.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/598693/ft2_4FGL_J2258.1-2759_daily_bin876.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/598693/ft1_4FGL_J2258.1-2759_daily_bin876.fits outfile=/scratch/kocevski/598693/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin876.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=466387201.0 tmax=466646401.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.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/598693/ft1_filtered_4FGL_J2258.1-2759_daily_bin876.fits" evtable="EVENTS" scfile=/scratch/kocevski/598693/ft2_4FGL_J2258.1-2759_daily_bin876.fits sctable="SC_DATA" outfile=/scratch/kocevski/598693/ltcube_466387201_466646401_4FGL_J2258.1-2759_daily_bin876.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/598693/ft2_4FGL_J2258.1-2759_daily_bin876.fits
.....................!
real 11.89
user 11.54
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/598693/ft1_filtered_4FGL_J2258.1-2759_daily_bin876.fits evtable="EVENTS" scfile=/scratch/kocevski/598693/ft2_4FGL_J2258.1-2759_daily_bin876.fits sctable="SC_DATA" expcube=/scratch/kocevski/598693/ltcube_466387201_466646401_4FGL_J2258.1-2759_daily_bin876.fits outfile=/scratch/kocevski/598693/expmap_466387201_466646401_4FGL_J2258.1-2759_daily_bin876.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/598693/ltcube_466387201_466646401_4FGL_J2258.1-2759_daily_bin876.fits
.....................!
real 190.72
user 184.94
sys 5.44

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/598693/ft1_filtered_4FGL_J2258.1-2759_daily_bin876.fits scfile=/scratch/kocevski/598693/ft2_4FGL_J2258.1-2759_daily_bin876.fits outfile=/scratch/kocevski/598693/cmap_466387201_466646401_4FGL_J2258.1-2759_daily_bin876.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/598693/ft1_filtered_4FGL_J2258.1-2759_daily_bin876.fits scfile=/scratch/kocevski/598693/ft2_4FGL_J2258.1-2759_daily_bin876.fits outfile=/scratch/kocevski/598693/cmap_HighResolution_466387201_466646401_4FGL_J2258.1-2759_daily_bin876.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.53
user 0.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/598693/ft1_filtered_4FGL_J2258.1-2759_daily_bin876.fits evtable="EVENTS" scfile=/scratch/kocevski/598693/ft2_4FGL_J2258.1-2759_daily_bin876.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/598693/Model_4FGL_J2258.1-2759_daily_bin876.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/598693/ft1_filtered_4FGL_J2258.1-2759_daily_bin876.fits.....................!
real 46.41
user 45.14
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .43030       1.0000         .10000E-03   10000.    
     3 'norm      '    40.555       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .40571       1.0000         .10000E-03   10000.    
     6 'norm      '    2.2470       1.0000         .10000E-03   10000.    
     7 'Prefactor '    23.040       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.3188       1.0000         .10000E-03   10000.    
     9 'norm      '    3.4753       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11037E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10090E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.5509       1.0000         .10000E-03   10000.    
    15 'norm      '    20.493       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    28.405       1.0000         .10000E-03   10000.    
    20 'Prefactor '    19.540       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .78476       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0136       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=   6067.542     FROM MIGRAD    STATUS=CONVERGED    484 CALLS     2399 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.9530       -.41359E-06** at limit **
   2  Prefactor     .42343        3.0869        .38152E-06   -.15067E-03
   3  norm          40.557        23.095       -.24529E-06    .16548E-04
   4  Prefactor     .10000E-03    8.1304        .67307E-06** at limit **
   5  Prefactor     .36951        8.7590        .18654E-05   -.57047E-03
   6  norm          2.2468        2.2438       -.45497E-06   -.18614E-03
   7  Prefactor     23.070        42.116        .40197E-05    .12976E-03
   8  Prefactor     6.3157        8.9353        .31105E-06   -.13353E-05
   9  norm          3.4750        3.0723        .20273E-05   -.15502E-03
  10  Prefactor     .10000E-03    7.2016       -.13073E-05** at limit **
  11  Prefactor     .10000E-03    2.7381       -.50695E-06** at limit **
  12  norm          .10000E-03    .17751       -.18097E-06** at limit **
  13  Prefactor     .10000E-03    43.774       -.59094E-06** at limit **
  14  Prefactor     3.5503        4.9118       -.22173E-06    .92589E-04
  15  norm          20.492        7.9561        .99448E-07    .41709E-05
  16  Prefactor     .10000E-03    15.837       -.21261E-07** at limit **
  17  norm          .10000E-03    .63957        .69419E-08** at limit **
  18  Prefactor     .10000E-03    7.9513        .38930E-06** at limit **
  19  Prefactor     28.386        64.873       -.36455E-05   -.58515E-04
  20  Prefactor     19.524        36.022       -.33991E-05   -.10124E-03
  21  Normalizat    .78516        .16832       -.19124E-05   -.14339E-04
  22  Prefactor     1.0133        .16525        .32715E-06   -.11826E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.423434
  norm       = 40.5566
  Prefactor  = 0.0001
  Prefactor  = 0.369506
  norm       = 2.24676
  Prefactor  = 23.0698
  Prefactor  = 6.31571
  norm       = 3.47505
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.55033
  norm       = 20.4918
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.3863
  Prefactor  = 19.524
  Normalizat = 0.785162
  Prefactor  = 1.01326
 **********
 **   18 **HESSE 
 **********

 FCN=   6067.542     FROM HESSE     STATUS=OK           348 CALLS     2747 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.9931        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .42343        15.754        .26007E-02   -1.5578    
   3  norm          40.557        23.083        .62944E-04   -1.4433    
   4  Prefactor     .10000E-03    8.1578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .36951        52.418        .41012E-02   -1.5586    
   6  norm          2.2468        2.2498        .10062E-03   -1.5408    
   7  Prefactor     23.070        44.037        .83450E-04   -1.4747    
   8  Prefactor     6.3157        8.9342        .15968E-03   -1.5205    
   9  norm          3.4750        3.1722        .63577E-03   -1.5335    
  10  Prefactor     .10000E-03    7.3209        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.5549        .23860E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .43646        .60758E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    43.860        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.5503        4.8318        .19317E-03   -1.5331    
  15  norm          20.492        7.9579        .88477E-04   -1.4802    
  16  Prefactor     .10000E-03    15.876        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .64383        .60830E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    7.9679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     28.386        65.467        .75171E-04   -1.4642    
  20  Prefactor     19.524        36.325        .90607E-04   -1.4824    
  21  Normalizat    .78516        .20308        .23762E-03   -1.0062    
  22  Prefactor     1.0133        .20152        .21737E-03   -.92289    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.61006e-09
Minuit parameter uncertainties:
  1  1.91837e-05
  2  5.16647
  3  23.0877
  4  3.88393e-05
  5  8.80868
  6  2.24986
  7  44.0989
  8  8.93606
  9  3.17234
  10  9.41213e-05
  11  0.000126638
  12  1.1595e-06
  13  3.03576e-05
  14  4.83233
  15  7.95834
  16  1.45077e-05
  17  1.21572e-06
  18  3.33012e-05
  19  65.6331
  20  36.3663
  21  0.203275
  22  0.201666
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.000e-04  1.160e-06  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.013e+00  2.017e-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:  7.852e-01  2.033e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/598693/likelihoodResults_466387201_466646401_4FGL_J2258.1-2759_daily_bin876.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) = 6067.55306529
delta logL = -0.0113209790779

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6067.54174359
delta logL = 7.15431269782e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2744       1.0000          .0000       5.0000    
     3 'Normalizat'    .78515       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0133       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6067.542     FROM MIGRAD    STATUS=FAILED        99 CALLS      254 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    110.40        .61181E-03** at limit **
   2  alpha         2.1591        2.5845        .16546        .56589E-06
   3  Normalizat    .78516        .16408        .23762E-03    .18937E-03
   4  Prefactor     1.0133        .16986        .21737E-03    .24044E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6067.542     FROM SIMPLEX   STATUS=UNCHANGED    210 CALLS      464 TOTAL
                     EDM=   .84E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    110.40        .95434E-04** at limit **
   2  alpha         2.1591        2.5845        .18668E-06    .56589E-06
   3  Normalizat    .78516        .16408        .81418E-07    .18937E-03
   4  Prefactor     1.0133        .16986        .20189E-07    .24044E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6067.542     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      494 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .45329        .12236E-03** at limit **
   2  alpha         2.1589        2.9835        .66185E-02    .25766E-06
   3  Normalizat    .78516        .19342        .95048E-05    .18779E-03
   4  Prefactor     1.0133        .19985        .43473E-04    .23829E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.15891
  Normalizat = 0.785162
  Prefactor  = 1.01326
 **********
 **   18 **HESSE 
 **********

 FCN=   6067.542     FROM HESSE     STATUS=OK            23 CALLS      517 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .45333        .24472E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1589        2.9671        .26474E-03   -.13686    
   3  Normalizat    .78516        .19333        .19010E-05   -1.0062    
   4  Prefactor     1.0133        .19978        .86947E-05   -.92289    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13921e-10
Minuit parameter uncertainties:
  1  5.92947e-06
  2  47.6701
  3  0.193498
  4  0.199924
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/598693': 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) = 6067.54174051
delta logL = 3.7926256482e-06

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.000e-04  5.929e-06  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  2.159e+00  4.767e+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.013e+00  1.999e-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:  7.852e-01  1.935e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 344.529 -27.984

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/598693/cmap_HighResolution_466387201_466646401_4FGL_J2258.1-2759_daily_bin876.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.66e-05', job_status='DONE', photon_flux_upper_limit='4.40e-08', time_completed='2021-09-29 03:16:21.022453', job_id='598693', GAL2='1.01', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1632910581.02', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='3.79e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='876' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:16:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 598693: <4FGL_J2258.1-2759_daily_bin876> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin876 344.529 -27.9843 466387201 466646401 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 :                                   631.21 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             299.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   652 sec.
    Turnaround time :                            653 sec.

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

