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


Performing analysis on: 4FGL_J2258.1-2759_daily_bin519
RA = 344.529, Dec = -27.9843
tmin = 373852801, tmax = 374112001
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='597211', job_status='RUN', time_executed='2021-09-29 03:04:09.724644', time_epoch_executed='1632909849.72' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='519'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/597211

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/597211/ft1_4FGL_J2258.1-2759_daily_bin519.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/597211/ft2_4FGL_J2258.1-2759_daily_bin519.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/597211/ft1_4FGL_J2258.1-2759_daily_bin519.fits outfile=/scratch/kocevski/597211/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin519.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=373852801.0 tmax=374112001.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.52
user 4.25
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/597211/ft1_filtered_4FGL_J2258.1-2759_daily_bin519.fits" evtable="EVENTS" scfile=/scratch/kocevski/597211/ft2_4FGL_J2258.1-2759_daily_bin519.fits sctable="SC_DATA" outfile=/scratch/kocevski/597211/ltcube_373852801_374112001_4FGL_J2258.1-2759_daily_bin519.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/597211/ft2_4FGL_J2258.1-2759_daily_bin519.fits
.....................!
real 11.81
user 11.43
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/597211/ft1_filtered_4FGL_J2258.1-2759_daily_bin519.fits evtable="EVENTS" scfile=/scratch/kocevski/597211/ft2_4FGL_J2258.1-2759_daily_bin519.fits sctable="SC_DATA" expcube=/scratch/kocevski/597211/ltcube_373852801_374112001_4FGL_J2258.1-2759_daily_bin519.fits outfile=/scratch/kocevski/597211/expmap_373852801_374112001_4FGL_J2258.1-2759_daily_bin519.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/597211/ltcube_373852801_374112001_4FGL_J2258.1-2759_daily_bin519.fits
.....................!
real 195.08
user 190.34
sys 4.30

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/597211/ft1_filtered_4FGL_J2258.1-2759_daily_bin519.fits scfile=/scratch/kocevski/597211/ft2_4FGL_J2258.1-2759_daily_bin519.fits outfile=/scratch/kocevski/597211/cmap_373852801_374112001_4FGL_J2258.1-2759_daily_bin519.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.57
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/597211/ft1_filtered_4FGL_J2258.1-2759_daily_bin519.fits scfile=/scratch/kocevski/597211/ft2_4FGL_J2258.1-2759_daily_bin519.fits outfile=/scratch/kocevski/597211/cmap_HighResolution_373852801_374112001_4FGL_J2258.1-2759_daily_bin519.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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/597211/ft1_filtered_4FGL_J2258.1-2759_daily_bin519.fits evtable="EVENTS" scfile=/scratch/kocevski/597211/ft2_4FGL_J2258.1-2759_daily_bin519.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/597211/Model_4FGL_J2258.1-2759_daily_bin519.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/597211/ft1_filtered_4FGL_J2258.1-2759_daily_bin519.fits.....................!
real 51.24
user 49.80
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18457E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10679       1.0000         .10000E-03   10000.    
     3 'norm      '    28.786       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.2523       1.0000         .10000E-03   10000.    
     6 'norm      '    4.1241       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.2975       1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.706       1.0000         .10000E-03   10000.    
     9 'norm      '    3.8362       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .18021       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.7268       1.0000         .10000E-03   10000.    
    12 'norm      '    .53266       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10118E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.2380       1.0000         .10000E-03   10000.    
    15 'norm      '    9.8198       1.0000         .10000E-03   10000.    
    16 'Prefactor '    18.463       1.0000         .10000E-03   10000.    
    17 'norm      '    .92086       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.8787       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .12389E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    17.786       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .94179       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .72078       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=   6786.612     FROM MIGRAD    STATUS=CONVERGED    496 CALLS     2099 TOTAL
                     EDM=   .91E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    6.9700       -.25339E-06** at limit **
   2  Prefactor     .98381E-01    4.2314        .13336E-06    .23892E-03
   3  norm          28.783        17.038        .88297E-08   -.13675E-03
   4  Prefactor     .10000E-03    5.6252        .15248E-06** at limit **
   5  Prefactor     7.2507        10.235       -.24510E-05    .37016E-04
   6  norm          4.1235        2.4473       -.44038E-06   -.26938E-03
   7  Prefactor     2.3155        184.36        .12775E-04    .17993E-05
   8  Prefactor     14.707        9.0939       -.21958E-06   -.45236E-05
   9  norm          3.8356        3.1100        .34401E-07   -.42236E-03
  10  Prefactor     .20366        176.45       -.10816E-04    .12323E-04
  11  Prefactor     6.7245        8.8018       -.11647E-05   -.53918E-03
  12  norm          .53272        .45262       -.34029E-07   -.12706E-02
  13  Prefactor     .10000E-03    33.479        .18847E-06** at limit **
  14  Prefactor     2.2383        5.2396       -.14586E-05   -.16437E-03
  15  norm          9.8185        6.4309       -.14895E-06   -.29977E-04
  16  Prefactor     18.457        27.910       -.64313E-08   -.32571E-04
  17  norm          .92062        1.9364       -.12929E-05   -.26984E-03
  18  Prefactor     4.8770        24.612        .14321E-05    .34761E-04
  19  Prefactor     .10004E-03    287.58       -.19131E-05** at limit **
  20  Prefactor     17.791        18.081       -.50019E-06    .14897E-03
  21  Normalizat    .94172        .15992        .28761E-05   -.18136E-03
  22  Prefactor     .72085        .14982       -.24475E-05    .37369E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100007
  Prefactor  = 0.0983815
  norm       = 28.7832
  Prefactor  = 0.0001
  Prefactor  = 7.25073
  norm       = 4.12352
  Prefactor  = 2.31546
  Prefactor  = 14.7066
  norm       = 3.83562
  Prefactor  = 0.203662
  Prefactor  = 6.72451
  norm       = 0.532721
  Prefactor  = 0.0001
  Prefactor  = 2.23831
  norm       = 9.81854
  Prefactor  = 18.4569
  norm       = 0.920621
  Prefactor  = 4.87704
  Prefactor  = 0.00010004
  Prefactor  = 17.7909
  Normalizat = 0.941724
  Prefactor  = 0.720853
 **********
 **   18 **HESSE 
 **********

 FCN=   6786.612     FROM HESSE     STATUS=OK           364 CALLS     2463 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    26.818        .41973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .98381E-01    3.9057        .49608E-01   -1.5645    
   3  norm          28.783        17.026        .74672E-04   -1.4634    
   4  Prefactor     .10000E-03    5.6350        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.2507        10.110        .14894E-03   -1.5169    
   6  norm          4.1235        2.4071        .77146E-04   -1.5302    
   7  Prefactor     2.3155        175.74        .27077E-03   -1.5404    
   8  Prefactor     14.707        9.1101        .10444E-03   -1.4941    
   9  norm          3.8356        3.1557        .11541E-03   -1.5316    
  10  Prefactor     .20366        263.29        .38168E-02   -1.5618    
  11  Prefactor     6.7245        10.152        .15471E-03   -1.5189    
  12  norm          .53272        .43939        .41984E-04   -1.5562    
  13  Prefactor     .10000E-03    33.542        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.2383        5.1830        .26302E-03   -1.5409    
  15  norm          9.8185        6.4298        .12788E-03   -1.5081    
  16  Prefactor     18.457        27.978        .93213E-04   -1.4848    
  17  norm          .92062        1.9309        .15776E-03   -1.5516    
  18  Prefactor     4.8770        24.353        .18211E-03   -1.5266    
  19  Prefactor     .10004E-03    291.81        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     17.791        18.078        .94968E-04   -1.4864    
  21  Normalizat    .94172        .18490        .21197E-03   -.95009    
  22  Prefactor     .72085        .17441        .23894E-03   -1.0272    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.42315e-09
Minuit parameter uncertainties:
  1  0.00083949
  2  1.23921
  3  17.029
  4  8.27775e-06
  5  10.1122
  6  2.4072
  7  40.4671
  8  9.11096
  9  3.15581
  10  14.7071
  11  10.1546
  12  0.439389
  13  2.70207e-06
  14  5.18404
  15  6.43024
  16  27.9982
  17  1.93101
  18  21.8103
  19  0.00682864
  20  18.084
  21  0.185026
  22  0.174542
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  5.327e-01  4.394e-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.209e-01  1.745e-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.417e-01  1.850e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.12
Ra Dec: 344.529 -27.984
Photon Index (Fixed Index): 2.29 +/- 0.00
Photon Flux (Fixed Index): 3.02e-08 +/- 2.49e-08
Energy Flux (Fixed Index): 1.14e-05 +/- 9.39e-06

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) = 6786.56820278
delta logL = 0.0439538271703

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6786.56586873
delta logL = 0.0462878721828

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .55195       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0522       1.0000          .0000       5.0000    
     3 'Normalizat'    .94772       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71738       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=   6786.566     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      198 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55198        9.8847        .97576E-02    .30958E-03
   2  alpha         2.0532        2.5999        .42018        .80536E-05
   3  Normalizat    .94776        .57188E-01    .45509E-01    .98892E-05
   4  Prefactor     .71744        .48751E-01    .42632E-01    .19283E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.551982
  alpha      = 2.05315
  Normalizat = 0.947758
  Prefactor  = 0.717442
 **********
 **   18 **HESSE 
 **********

 FCN=   6786.566     FROM HESSE     STATUS=OK            33 CALLS      231 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55198        .40051        .44064E-04   -1.5559    
   2  alpha         2.0532        .76234        .20016E-01   -.17970    
   3  Normalizat    .94776        .17033        .21144E-03   -.94802    
   4  Prefactor     .71744        .17019        .23948E-03   -1.0285    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03695e-10
Minuit parameter uncertainties:
  1  0.400513
  2  0.775106
  3  0.170423
  4  0.170312
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/597211': 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) = 6786.56586712
delta logL = 0.0462894900693

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  5.520e-01  4.005e-01  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  2.053e+00  7.751e-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.174e-01  1.703e-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.478e-01  1.704e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.27
Ra Dec: 344.529 -27.984
Photon Index (Free Index): 2.05 +/- 0.78
Photon Flux (Free Index): 2.44e-08 +/- 2.54e-08
Energy Flux (Free Index): 1.18e-05 +/- 8.82e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/597211/cmap_HighResolution_373852801_374112001_4FGL_J2258.1-2759_daily_bin519.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.02e-08', energy_flux2='1.18e-05', photon_flux_error='2.49e-08', dlogl='4.63e-02', energy_flux='1.14e-05', photon_flux2='2.44e-08', job_status='DONE', time_completed='2021-09-29 03:13:52.176811', photon_index_error2='0.78', photon_index2='2.05', ts='4.12', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', energy_flux_error2='8.82e-06', EG='0.94', time_epoch_completed='1632910432.18', return_code='0', job_id='597211', GAL2='0.72', EG2='0.95', return_code2='0', energy_flux_error='9.39e-06', photon_flux_error2='2.54e-08', ts2='4.27', photon_index='2.29' WHERE bin_id='519' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:13:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 597211: <4FGL_J2258.1-2759_daily_bin519> in cluster <slac> Done

Job <4FGL_J2258.1-2759_daily_bin519> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 03:00:37 2021
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 03:00:38 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:38 2021
Terminated at Wed Sep 29 03:13:52 2021
Results reported at Wed Sep 29 03:13:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin519 344.529 -27.9843 373852801 374112001 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 :                                   578.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             236.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   794 sec.
    Turnaround time :                            795 sec.

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

