/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 3 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 = 7475
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2258.1-2759_daily_bin51
RA = 344.529, Dec = -27.9843
tmin = 252547201, tmax = 252806401
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='595573', job_status='RUN', time_executed='2021-09-29 02:55:45.533272', time_epoch_executed='1632909345.53' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='51'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/595573

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/595573/ft1_4FGL_J2258.1-2759_daily_bin51.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/595573/ft2_4FGL_J2258.1-2759_daily_bin51.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/595573/ft1_4FGL_J2258.1-2759_daily_bin51.fits outfile=/scratch/kocevski/595573/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin51.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=252547201.0 tmax=252806401.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 1.39
user 1.20
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/595573/ft2_4FGL_J2258.1-2759_daily_bin51.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/595573/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin51.fits evtable="EVENTS" outfile="/scratch/kocevski/595573/ft1_filtered_4FGL_J2258.1-2759_daily_bin51.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/595573/ft1_filtered_4FGL_J2258.1-2759_daily_bin51.fits" evtable="EVENTS" scfile=/scratch/kocevski/595573/ft2_4FGL_J2258.1-2759_daily_bin51.fits sctable="SC_DATA" outfile=/scratch/kocevski/595573/ltcube_252547201_252806401_4FGL_J2258.1-2759_daily_bin51.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/595573/ft2_4FGL_J2258.1-2759_daily_bin51.fits
.....................!
real 12.89
user 12.55
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/595573/ft1_filtered_4FGL_J2258.1-2759_daily_bin51.fits evtable="EVENTS" scfile=/scratch/kocevski/595573/ft2_4FGL_J2258.1-2759_daily_bin51.fits sctable="SC_DATA" expcube=/scratch/kocevski/595573/ltcube_252547201_252806401_4FGL_J2258.1-2759_daily_bin51.fits outfile=/scratch/kocevski/595573/expmap_252547201_252806401_4FGL_J2258.1-2759_daily_bin51.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/595573/ltcube_252547201_252806401_4FGL_J2258.1-2759_daily_bin51.fits
.....................!
real 190.42
user 184.90
sys 5.18

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/595573/ft1_filtered_4FGL_J2258.1-2759_daily_bin51.fits scfile=/scratch/kocevski/595573/ft2_4FGL_J2258.1-2759_daily_bin51.fits outfile=/scratch/kocevski/595573/cmap_252547201_252806401_4FGL_J2258.1-2759_daily_bin51.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/595573/ft1_filtered_4FGL_J2258.1-2759_daily_bin51.fits scfile=/scratch/kocevski/595573/ft2_4FGL_J2258.1-2759_daily_bin51.fits outfile=/scratch/kocevski/595573/cmap_HighResolution_252547201_252806401_4FGL_J2258.1-2759_daily_bin51.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.36
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/595573/ft1_filtered_4FGL_J2258.1-2759_daily_bin51.fits evtable="EVENTS" scfile=/scratch/kocevski/595573/ft2_4FGL_J2258.1-2759_daily_bin51.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/595573/Model_4FGL_J2258.1-2759_daily_bin51.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/595573/ft1_filtered_4FGL_J2258.1-2759_daily_bin51.fits.....................!
real 45.80
user 44.52
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.380       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.0931       1.0000         .10000E-03   10000.    
     3 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.4242       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.4972       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    67.348       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.7048       1.0000         .10000E-03   10000.    
     9 'norm      '    9.7649       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .80026E-02   1.0000         .10000E-03   10000.    
    12 'norm      '    .23160       1.0000         .10000E-03   10000.    
    13 'Prefactor '    30.899       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10571E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    7.2882       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    7.5444       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11343E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    103.15       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .91497       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .74587       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=   5590.915     FROM MIGRAD    STATUS=CONVERGED    467 CALLS     2386 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.376        21.254        .55602E-06   -.30464E-04
   2  Prefactor     3.0907        7.5809        .70020E-06   -.39876E-04
   3  norm          .10000E-03    19.708        .56335E-06** at limit **
   4  Prefactor     9.4166        21.032        .21839E-08   -.36763E-04
   5  Prefactor     9.4959        9.4235        .14794E-06   -.95519E-04
   6  norm          .10000E-03    .78296        .40298E-06** at limit **
   7  Prefactor     67.364        47.123       -.10455E-05   -.14819E-03
   8  Prefactor     1.7161        22.893        .16292E-05   -.66509E-04
   9  norm          9.7684        4.6994       -.35471E-06   -.83479E-03
  10  Prefactor     .10000E-03    4.9017        .72074E-07** at limit **
  11  Prefactor     .10001E-03    8.7356        .19001E-05** at limit **
  12  norm          .23254        .41265       -.11900E-06   -.27002E-02
  13  Prefactor     30.890        36.469       -.19315E-06   -.44160E-04
  14  Prefactor     .10000E-03    13.488        .55619E-06** at limit **
  15  norm          7.2885        8.2080        .27948E-05   -.17859E-03
  16  Prefactor     .10000E-03    25.640       -.10443E-07** at limit **
  17  norm          7.5433        3.1498        .70410E-07   -.57652E-04
  18  Prefactor     .10000E-03    24.169       -.55023E-06** at limit **
  19  Prefactor     103.07        79.584       -.49565E-06   -.15331E-03
  20  Prefactor     .10000E-03    13.124       -.16306E-06** at limit **
  21  Normalizat    .91523        .17491       -.11677E-05   -.37416E-03
  22  Prefactor     .74563        .15853       -.41366E-06   -.29477E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.3758
  Prefactor  = 3.09072
  norm       = 0.0001
  Prefactor  = 9.41664
  Prefactor  = 9.49586
  norm       = 0.0001
  Prefactor  = 67.3636
  Prefactor  = 1.71609
  norm       = 9.76843
  Prefactor  = 0.0001
  Prefactor  = 0.000100012
  norm       = 0.232536
  Prefactor  = 30.8902
  Prefactor  = 0.0001
  norm       = 7.28847
  Prefactor  = 0.0001
  norm       = 7.54332
  Prefactor  = 0.0001
  Prefactor  = 103.073
  Prefactor  = 0.0001
  Normalizat = 0.915231
  Prefactor  = 0.745628
 **********
 **   18 **HESSE 
 **********

 FCN=   5590.915     FROM HESSE     STATUS=OK           342 CALLS     2728 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.376        21.269        .11875E-03   -1.5033    
   2  Prefactor     3.0907        7.5588        .23059E-03   -1.5356    
   3  norm          .10000E-03    19.816        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.4166        20.979        .13054E-03   -1.5094    
   5  Prefactor     9.4959        9.4187        .13004E-03   -1.5092    
   6  norm          .10000E-03    .78775        .64587E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     67.364        46.944        .48908E-04   -1.4065    
   8  Prefactor     1.7161        22.821        .32208E-03   -1.5446    
   9  norm          9.7684        4.6403        .10412E-03   -1.5083    
  10  Prefactor     .10000E-03    4.9061        .16159E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10001E-03    43.548        .35893E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .23254        .33987        .56133E-03   -1.5612    
  13  Prefactor     30.890        36.463        .72080E-04   -1.4596    
  14  Prefactor     .10000E-03    13.736        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          7.2885        7.9268        .74287E-03   -1.5168    
  16  Prefactor     .10000E-03    25.706        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          7.5433        3.1509        .82329E-04   -1.5159    
  18  Prefactor     .10000E-03    24.392        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     103.07        79.629        .19795E-03   -1.3674    
  20  Prefactor     .10000E-03    13.125        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .91523        .20672        .22415E-03   -.95927    
  22  Prefactor     .74563        .18705        .23882E-03   -1.0176    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.0928e-10
Minuit parameter uncertainties:
  1  21.2833
  2  7.5611
  3  1.57062e-05
  4  20.995
  5  9.42018
  6  1.78769e-06
  7  46.9702
  8  12.5217
  9  4.64047
  10  2.71466e-06
  11  0.00144423
  12  0.339876
  13  36.4894
  14  5.36306e-05
  15  7.92789
  16  1.20317e-05
  17  3.15097
  18  4.97608e-05
  19  79.7115
  20  2.79782e-05
  21  0.206904
  22  0.187208
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  2.325e-01  3.399e-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.456e-01  1.872e-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.152e-01  2.069e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/595573/likelihoodResults_252547201_252806401_4FGL_J2258.1-2759_daily_bin51.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) = 5590.86906643
delta logL = 0.0454675418332

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5590.86622685
delta logL = 0.0483071167164

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .20895       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7592       1.0000          .0000       5.0000    
     3 'Normalizat'    .92144       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74310       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=   5590.866     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      202 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .20872        .60219        .10018E-01    .65502E-03
   2  alpha         1.7596        1.8774        .43706       -.28784E-04
   3  Normalizat    .92138        .16236        .45175E-01    .80756E-05
   4  Prefactor     .74314        .15786        .42972E-01    .15673E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.208723
  alpha      = 1.75961
  Normalizat = 0.92138
  Prefactor  = 0.743136
 **********
 **   18 **HESSE 
 **********

 FCN=   5590.866     FROM HESSE     STATUS=OK            35 CALLS      237 TOTAL
                     EDM=   .81E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .20872        .33455        .56111E-03   -1.5617    
   2  alpha         1.7596        1.4492        .38348E-01   -.30067    
   3  Normalizat    .92138        .18918        .22350E-03   -.95713    
   4  Prefactor     .74314        .18442        .23919E-03   -1.0186    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.13005e-12
Minuit parameter uncertainties:
  1  0.334552
  2  1.55728
  3  0.18932
  4  0.184574
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/595573': 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) = 5590.86622637
delta logL = 0.0483075936145

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  2.087e-01  3.346e-01  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  1.760e+00  1.557e+00  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.431e-01  1.846e-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.214e-01  1.893e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.81
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/595573/cmap_HighResolution_252547201_252806401_4FGL_J2258.1-2759_daily_bin51.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.55e-05', job_status='DONE', photon_flux_upper_limit='6.77e-08', time_completed='2021-09-29 03:05:30.671417', job_id='595573', GAL2='0.74', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1632909930.67', return_code2='0', ts='0.81', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='4.83e-02', ts2='0.91', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='51' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:05:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 595573: <4FGL_J2258.1-2759_daily_bin51> in cluster <slac> Done

Job <4FGL_J2258.1-2759_daily_bin51> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 02:55:33 2021
Job was executed on host(s) <bullet0219>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:55:34 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 02:55:34 2021
Terminated at Wed Sep 29 03:05:31 2021
Results reported at Wed Sep 29 03:05:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin51 344.529 -27.9843 252547201 252806401 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 :                                   583.04 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             299.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   596 sec.
    Turnaround time :                            598 sec.

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

