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


Performing analysis on: 4FGL_J2258.1-2759_daily_bin848
RA = 344.529, Dec = -27.9843
tmin = 459129601, tmax = 459388801
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='598651', job_status='RUN', time_executed='2021-09-29 03:09:09.496088', time_epoch_executed='1632910149.5' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='848'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/598651

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/598651/ft1_4FGL_J2258.1-2759_daily_bin848.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/598651/ft2_4FGL_J2258.1-2759_daily_bin848.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/598651/ft1_4FGL_J2258.1-2759_daily_bin848.fits outfile=/scratch/kocevski/598651/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin848.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=459129601.0 tmax=459388801.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.87
user 3.66
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/598651/ft1_filtered_4FGL_J2258.1-2759_daily_bin848.fits evtable="EVENTS" scfile=/scratch/kocevski/598651/ft2_4FGL_J2258.1-2759_daily_bin848.fits sctable="SC_DATA" expcube=/scratch/kocevski/598651/ltcube_459129601_459388801_4FGL_J2258.1-2759_daily_bin848.fits outfile=/scratch/kocevski/598651/expmap_459129601_459388801_4FGL_J2258.1-2759_daily_bin848.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/598651/ltcube_459129601_459388801_4FGL_J2258.1-2759_daily_bin848.fits
.....................!
real 190.93
user 185.58
sys 5.01

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/598651/ft1_filtered_4FGL_J2258.1-2759_daily_bin848.fits scfile=/scratch/kocevski/598651/ft2_4FGL_J2258.1-2759_daily_bin848.fits outfile=/scratch/kocevski/598651/cmap_459129601_459388801_4FGL_J2258.1-2759_daily_bin848.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.56
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/598651/ft1_filtered_4FGL_J2258.1-2759_daily_bin848.fits scfile=/scratch/kocevski/598651/ft2_4FGL_J2258.1-2759_daily_bin848.fits outfile=/scratch/kocevski/598651/cmap_HighResolution_459129601_459388801_4FGL_J2258.1-2759_daily_bin848.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/598651/ft1_filtered_4FGL_J2258.1-2759_daily_bin848.fits evtable="EVENTS" scfile=/scratch/kocevski/598651/ft2_4FGL_J2258.1-2759_daily_bin848.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/598651/Model_4FGL_J2258.1-2759_daily_bin848.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/598651/ft1_filtered_4FGL_J2258.1-2759_daily_bin848.fits.....................!
real 37.54
user 35.99
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.350       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.4886       1.0000         .10000E-03   10000.    
     4 'Prefactor '    39.369       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.7847       1.0000         .10000E-03   10000.    
     6 'norm      '    1.9369       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.325       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.6342       1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.724       1.0000         .10000E-03   10000.    
    12 'norm      '    .41594       1.0000         .10000E-03   10000.    
    13 'Prefactor '    32.947       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.2012       1.0000         .10000E-03   10000.    
    16 'Prefactor '    123.78       1.0000         .10000E-03   10000.    
    17 'norm      '    .10074E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    24.490       1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.971       1.0000         .10000E-03   10000.    
    20 'Prefactor '    44.718       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .43838       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.3450       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=   4390.086     FROM MIGRAD    STATUS=CONVERGED    461 CALLS     2687 TOTAL
                     EDM=   .25E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.349        18.626       -.49970E-06    .10527E-04
   2  Prefactor     .10000E-03    5.2786        .15362E-07** at limit **
   3  norm          1.4856        124.33       -.12605E-04   -.35840E-05
   4  Prefactor     39.368        25.221       -.14119E-05    .99024E-06
   5  Prefactor     6.7839        17.072        .84976E-06    .19854E-04
   6  norm          1.9370        2.0418        .15699E-08    .88568E-04
   7  Prefactor     .10000E-03    52.660        .11076E-05** at limit **
   8  Prefactor     14.326        17.468       -.11140E-05    .10319E-04
   9  norm          .10000E-03    1.9148       -.65451E-07** at limit **
  10  Prefactor     6.6331        13.438       -.23942E-05   -.12484E-06
  11  Prefactor     11.729        16.756        .15276E-05    .42881E-04
  12  norm          .41572        1.0361       -.25473E-06   -.44767E-03
  13  Prefactor     32.951        32.553        .50945E-05    .17996E-05
  14  Prefactor     .10000E-03    6.4055        .26441E-06** at limit **
  15  norm          1.2012        1.2613        .22369E-06   -.73439E-03
  16  Prefactor     123.78        68.684       -.24869E-05    .10897E-05
  17  norm          .10000E-03    2.1388       -.16036E-06** at limit **
  18  Prefactor     24.491        28.906        .12578E-05    .21654E-04
  19  Prefactor     12.961        229.50       -.26482E-04    .50231E-06
  20  Prefactor     44.719        45.910        .14366E-05    .24293E-05
  21  Normalizat    .43819        .23641        .19423E-05    .63270E-04
  22  Prefactor     1.3452        .21095        .27151E-06    .77807E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.349
  Prefactor  = 0.0001
  norm       = 1.48557
  Prefactor  = 39.3678
  Prefactor  = 6.78392
  norm       = 1.93702
  Prefactor  = 0.0001
  Prefactor  = 14.3263
  norm       = 0.0001
  Prefactor  = 6.63313
  Prefactor  = 11.7288
  norm       = 0.415725
  Prefactor  = 32.951
  Prefactor  = 0.0001
  norm       = 1.2012
  Prefactor  = 123.781
  norm       = 0.0001
  Prefactor  = 24.4909
  Prefactor  = 12.9612
  Prefactor  = 44.7191
  Normalizat = 0.438193
  Prefactor  = 1.34517
 **********
 **   18 **HESSE 
 **********

 FCN=   4390.086     FROM HESSE     STATUS=OK           350 CALLS     3037 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.349        18.629        .93498E-04   -1.4851    
   2  Prefactor     .10000E-03    5.2999        .14865E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.4856        125.13        .35145E-03   -1.5464    
   4  Prefactor     39.368        25.220        .63881E-04   -1.4452    
   5  Prefactor     6.7839        16.988        .15404E-03   -1.5187    
   6  norm          1.9370        2.0240        .92930E-04   -1.5430    
   7  Prefactor     .10000E-03    52.781        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     14.326        17.477        .10582E-03   -1.4951    
   9  norm          .10000E-03    1.9185        .89433E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.6331        13.387        .15580E-03   -1.5193    
  11  Prefactor     11.729        16.955        .11699E-03   -1.5023    
  12  norm          .41572        1.0637        .21845E-03   -1.5579    
  13  Prefactor     32.951        32.479        .69811E-04   -1.4559    
  14  Prefactor     .10000E-03    6.4129        .16356E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.2012        4.7936        .14222E-02   -1.5489    
  16  Prefactor     123.78        68.874        .36177E-04   -1.3478    
  17  norm          .10000E-03    4.0255        .18575E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     24.491        28.716        .80944E-04   -1.4718    
  19  Prefactor     12.961        230.06        .11122E-03   -1.4988    
  20  Prefactor     44.719        45.898        .59954E-04   -1.4370    
  21  Normalizat    .43819        .26540        .34558E-03   -1.1537    
  22  Prefactor     1.3452        .24352        .20682E-03   -.81974    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07997e-09
Minuit parameter uncertainties:
  1  18.6347
  2  1.78536e-06
  3  27.3267
  4  25.2269
  5  17.0002
  6  2.02409
  7  3.18771e-05
  8  17.4833
  9  1.62576e-06
  10  13.3926
  11  16.9624
  12  1.06376
  13  32.4966
  14  1.30604e-05
  15  4.79517
  16  68.9186
  17  3.73713e-05
  18  28.7322
  19  109.708
  20  45.9346
  21  0.266171
  22  0.243728
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  4.157e-01  1.064e+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

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.345e+00  2.437e-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:  4.382e-01  2.662e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/598651/likelihoodResults_459129601_459388801_4FGL_J2258.1-2759_daily_bin848.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) = 4389.80741978
delta logL = 0.278380450306

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4389.79361771
delta logL = 0.292182514887

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .25652       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.3872       1.0000          .0000       5.0000    
     3 'Normalizat'    .39289       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3713       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=   4389.794     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      242 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .25485        4.0428        .77297E-02    .65315E-02
   2  alpha         3.3912        4.1883        .45030        .13203E-03
   3  Normalizat    .39223        .38938E-01    .82225E-01    .11214E-03
   4  Prefactor     1.3719        .39131E-01    .46364E-01    .26565E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.254852
  alpha      = 3.39119
  Normalizat = 0.392234
  Prefactor  = 1.3719
 **********
 **   18 **HESSE 
 **********

 FCN=   4389.794     FROM HESSE     STATUS=OK            31 CALLS      273 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .25485        .97279        .34804E-04   -1.5607    
   2  alpha         3.3912        3.8632        .15809E-01    .36450    
   3  Normalizat    .39223        .25085        .36421E-03   -1.1770    
   4  Prefactor     1.3719        .24577        .20493E-03   -.81193    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96678e-09
Minuit parameter uncertainties:
  1  0.972853
  2  2.77688
  3  0.251572
  4  0.245982
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/598651': 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) = 4389.79361027
delta logL = 0.292189954375

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  2.549e-01  9.729e-01  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  3.391e+00  2.777e+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:  1.372e+00  2.460e-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:  3.922e-01  2.516e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.03
Ra Dec: 344.529 -27.984
Photon Index (Free Index): 3.39 +/- 2.78
Photon Flux (Free Index): 6.55e-08 +/- 8.33e-08
Energy Flux (Free Index): 1.27e-05 +/- 1.47e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/598651/cmap_HighResolution_459129601_459388801_4FGL_J2258.1-2759_daily_bin848.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.45e-05', comment='SUCCESS', energy_flux2='1.27e-05', dlogl='2.92e-01', photon_flux2='6.55e-08', job_status='DONE', time_completed='2021-09-29 03:18:04.926910', photon_index_error2='2.78', photon_index2='3.39', ts='0.40', fit_tolerance='1e-08', GAL='1.35', photon_index_error='0.00', photon_flux_upper_limit='1.18e-07', energy_flux_error2='1.47e-05', EG='0.44', time_epoch_completed='1632910684.93', return_code='0', job_id='598651', GAL2='1.37', EG2='0.39', return_code2='0', photon_flux_error2='8.33e-08', ts2='1.03', photon_index='2.29' WHERE bin_id='848' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:18:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 598651: <4FGL_J2258.1-2759_daily_bin848> in cluster <slac> Done

Job <4FGL_J2258.1-2759_daily_bin848> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 03:05:25 2021
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 03:05:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 03:05:26 2021
Terminated at Wed Sep 29 03:18:05 2021
Results reported at Wed Sep 29 03:18:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin848 344.529 -27.9843 459129601 459388801 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 :                                   535.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             252.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   759 sec.
    Turnaround time :                            760 sec.

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

