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


Performing analysis on: 4FGL_J2258.1-2759_daily_bin625
RA = 344.529, Dec = -27.9843
tmin = 401328001, tmax = 401587201
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='597373', job_status='RUN', time_executed='2021-09-29 03:03:38.870169', time_epoch_executed='1632909818.87' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='625'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/597373

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/597373/ft1_4FGL_J2258.1-2759_daily_bin625.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/597373/ft2_4FGL_J2258.1-2759_daily_bin625.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/597373/ft1_4FGL_J2258.1-2759_daily_bin625.fits outfile=/scratch/kocevski/597373/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin625.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=401328001.0 tmax=401587201.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.43
user 3.18
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/597373/ft1_filtered_4FGL_J2258.1-2759_daily_bin625.fits" evtable="EVENTS" scfile=/scratch/kocevski/597373/ft2_4FGL_J2258.1-2759_daily_bin625.fits sctable="SC_DATA" outfile=/scratch/kocevski/597373/ltcube_401328001_401587201_4FGL_J2258.1-2759_daily_bin625.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/597373/ft2_4FGL_J2258.1-2759_daily_bin625.fits
.....................!
real 11.99
user 11.62
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/597373/ft1_filtered_4FGL_J2258.1-2759_daily_bin625.fits evtable="EVENTS" scfile=/scratch/kocevski/597373/ft2_4FGL_J2258.1-2759_daily_bin625.fits sctable="SC_DATA" expcube=/scratch/kocevski/597373/ltcube_401328001_401587201_4FGL_J2258.1-2759_daily_bin625.fits outfile=/scratch/kocevski/597373/expmap_401328001_401587201_4FGL_J2258.1-2759_daily_bin625.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/597373/ltcube_401328001_401587201_4FGL_J2258.1-2759_daily_bin625.fits
.....................!
real 190.24
user 184.36
sys 5.53

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/597373/ft1_filtered_4FGL_J2258.1-2759_daily_bin625.fits scfile=/scratch/kocevski/597373/ft2_4FGL_J2258.1-2759_daily_bin625.fits outfile=/scratch/kocevski/597373/cmap_401328001_401587201_4FGL_J2258.1-2759_daily_bin625.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/597373/ft1_filtered_4FGL_J2258.1-2759_daily_bin625.fits scfile=/scratch/kocevski/597373/ft2_4FGL_J2258.1-2759_daily_bin625.fits outfile=/scratch/kocevski/597373/cmap_HighResolution_401328001_401587201_4FGL_J2258.1-2759_daily_bin625.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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/597373/ft1_filtered_4FGL_J2258.1-2759_daily_bin625.fits evtable="EVENTS" scfile=/scratch/kocevski/597373/ft2_4FGL_J2258.1-2759_daily_bin625.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/597373/Model_4FGL_J2258.1-2759_daily_bin625.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/597373/ft1_filtered_4FGL_J2258.1-2759_daily_bin625.fits.....................!
real 49.70
user 48.32
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10275E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    19.337       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.5226       1.0000         .10000E-03   10000.    
     6 'norm      '    2.6445       1.0000         .10000E-03   10000.    
     7 'Prefactor '    16.041       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.5066       1.0000         .10000E-03   10000.    
     9 'norm      '    .15927E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.7495       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.0585       1.0000         .10000E-03   10000.    
    12 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.1788       1.0000         .10000E-03   10000.    
    15 'norm      '    7.4713       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.4123       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    14.102       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .78303       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .87407       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=   6453.503     FROM MIGRAD    STATUS=CONVERGED    487 CALLS     2435 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    6.5951        .31719E-06** at limit **
   2  Prefactor     .10000E-03    3.5431        .11520E-06** at limit **
   3  norm          19.336        17.606        .89578E-07   -.49878E-05
   4  Prefactor     .10000E-03    20.741        .71097E-06** at limit **
   5  Prefactor     9.5235        9.7492        .18206E-06   -.43282E-04
   6  norm          2.6449        2.1912        .15311E-06   -.80226E-04
   7  Prefactor     16.030        35.490       -.10499E-05   -.69860E-04
   8  Prefactor     3.5060        5.8504        .56356E-06    .19424E-03
   9  norm          .10000E-03    1.7589        .13912E-07** at limit **
  10  Prefactor     6.7319        14.322        .12365E-06   -.23345E-04
  11  Prefactor     9.0481        9.5762       -.98782E-07   -.46564E-04
  12  norm          .10000E-03    .14312       -.67910E-08** at limit **
  13  Prefactor     .10000E-03    50.643        .31339E-06** at limit **
  14  Prefactor     3.1842        7.1572        .55903E-06   -.23205E-04
  15  norm          7.4688        7.3628        .24451E-05   -.19044E-03
  16  Prefactor     .10000E-03    21.367       -.52173E-06** at limit **
  17  norm          1.4124        1.4398        .52379E-08    .84861E-05
  18  Prefactor     .10000E-03    12.547       -.37655E-07** at limit **
  19  Prefactor     14.073        52.120       -.22515E-05   -.12792E-03
  20  Prefactor     .10000E-03    12.289       -.58543E-07** at limit **
  21  Normalizat    .78309        .14590        .29016E-06   -.97715E-04
  22  Prefactor     .87394        .14356       -.86694E-06   -.17935E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100023
  Prefactor  = 0.0001
  norm       = 19.3364
  Prefactor  = 0.0001
  Prefactor  = 9.52345
  norm       = 2.64492
  Prefactor  = 16.0297
  Prefactor  = 3.50602
  norm       = 0.0001
  Prefactor  = 6.7319
  Prefactor  = 9.04809
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.18418
  norm       = 7.46881
  Prefactor  = 0.000100001
  norm       = 1.41238
  Prefactor  = 0.0001
  Prefactor  = 14.0733
  Prefactor  = 0.0001
  Normalizat = 0.783088
  Prefactor  = 0.873937
 **********
 **   18 **HESSE 
 **********

 FCN=   6453.503     FROM HESSE     STATUS=OK           358 CALLS     2793 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    8.6160        .71406E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.5893        .14763E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          19.336        17.589        .91081E-04   -1.4828    
   4  Prefactor     .10000E-03    21.083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.5235        9.7443        .12986E-03   -1.5091    
   6  norm          2.6449        2.2352        .86743E-04   -1.5383    
   7  Prefactor     16.030        36.272        .10000E-03   -1.4907    
   8  Prefactor     3.5060        5.8414        .21590E-03   -1.5333    
   9  norm          .10000E-03    5.3082        .19153E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.7319        14.036        .15445E-03   -1.5189    
  11  Prefactor     9.0481        9.3788        .13317E-03   -1.5106    
  12  norm          .10000E-03    .14948        .57032E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    50.887        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.1842        7.0257        .22729E-03   -1.5351    
  15  norm          7.4688        7.4055        .73363E-03   -1.5161    
  16  Prefactor     .10000E-03    21.436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.4124        1.4471        .94434E-04   -1.5470    
  18  Prefactor     .10000E-03    12.647        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     14.073        52.424        .10666E-03   -1.4958    
  20  Prefactor     .10000E-03    12.291        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .78309        .17669        .22132E-03   -1.0070    
  22  Prefactor     .87394        .17278        .21411E-03   -.97058    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.70995e-10
Minuit parameter uncertainties:
  1  0.000899175
  2  1.02148e-06
  3  17.5939
  4  0.000169124
  5  9.74593
  6  2.23522
  7  36.3215
  8  5.84234
  9  4.19263e-06
  10  14.0431
  11  9.38033
  12  2.11702e-07
  13  8.66507e-05
  14  7.0275
  15  7.4064
  16  0.00020769
  17  1.44709
  18  1.92171e-05
  19  52.5964
  20  7.02125e-06
  21  0.176816
  22  0.172891
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.000e-04  2.117e-07  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:  8.739e-01  1.729e-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.831e-01  1.768e-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: 3.90e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.47e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/597373/likelihoodResults_401328001_401587201_4FGL_J2258.1-2759_daily_bin625.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) = 6453.50346915
delta logL = -0.000116277428788

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6453.50335258
delta logL = 2.89190211333e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2808       1.0000          .0000       5.0000    
     3 'Normalizat'    .78309       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87393       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=   6453.503     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      215 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.9250        .90712E-02** at limit **
   2  alpha         2.0943        3.0520        .41353        .97375E-07
   3  Normalizat    .78309        .15485E-01    .43389E-01    .27974E-04
   4  Prefactor     .87394        .15847E-01    .44672E-01    .29310E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.09432
  Normalizat = 0.78309
  Prefactor  = 0.873936
 **********
 **   18 **HESSE 
 **********

 FCN=   6453.503     FROM HESSE     STATUS=OK            31 CALLS      246 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .15166        .59615E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0943        3.0701        .16541       -.16299    
   3  Normalizat    .78309        .16473        .22132E-03   -1.0070    
   4  Prefactor     .87394        .16862        .21411E-03   -.97058    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13204e-11
Minuit parameter uncertainties:
  1  4.14217e-09
  2  63.2415
  3  0.16483
  4  0.16872
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/597373': 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) = 6453.50334848
delta logL = 4.39357063442e-06

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.000e-04  4.142e-09  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  2.094e+00  6.324e+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:  8.739e-01  1.687e-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.831e-01  1.648e-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/597373/cmap_HighResolution_401328001_401587201_4FGL_J2258.1-2759_daily_bin625.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.47e-05', job_status='DONE', photon_flux_upper_limit='3.90e-08', time_completed='2021-09-29 03:14:18.979288', job_id='597373', GAL2='0.87', fit_tolerance='1e-08', EG2='0.78', EG='0.78', time_epoch_completed='1632910458.98', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='4.39e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='625' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:14:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 597373: <4FGL_J2258.1-2759_daily_bin625> in cluster <slac> Done

Job <4FGL_J2258.1-2759_daily_bin625> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 03:00:51 2021
Job was executed on host(s) <bullet0049>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 03:00:53 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:00:53 2021
Terminated at Wed Sep 29 03:14:19 2021
Results reported at Wed Sep 29 03:14:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin625 344.529 -27.9843 401328001 401587201 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 :                                   639.48 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             279.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   806 sec.
    Turnaround time :                            808 sec.

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

