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


Performing analysis on: 4FGL_J2258.1-2759_daily_bin1296
RA = 344.529, Dec = -27.9843
tmin = 575251201, tmax = 575510401
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='600411', job_status='RUN', time_executed='2021-09-29 03:12:11.316410', time_epoch_executed='1632910331.32' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='1296'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/600411

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/600411/ft1_4FGL_J2258.1-2759_daily_bin1296.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/600411/ft2_4FGL_J2258.1-2759_daily_bin1296.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/600411/ft1_4FGL_J2258.1-2759_daily_bin1296.fits outfile=/scratch/kocevski/600411/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin1296.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=575251201.0 tmax=575510401.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 5.31
user 5.03
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/600411/ft1_filtered_4FGL_J2258.1-2759_daily_bin1296.fits" evtable="EVENTS" scfile=/scratch/kocevski/600411/ft2_4FGL_J2258.1-2759_daily_bin1296.fits sctable="SC_DATA" outfile=/scratch/kocevski/600411/ltcube_575251201_575510401_4FGL_J2258.1-2759_daily_bin1296.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/600411/ft2_4FGL_J2258.1-2759_daily_bin1296.fits
.....................!
real 13.32
user 12.93
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/600411/ft1_filtered_4FGL_J2258.1-2759_daily_bin1296.fits evtable="EVENTS" scfile=/scratch/kocevski/600411/ft2_4FGL_J2258.1-2759_daily_bin1296.fits sctable="SC_DATA" expcube=/scratch/kocevski/600411/ltcube_575251201_575510401_4FGL_J2258.1-2759_daily_bin1296.fits outfile=/scratch/kocevski/600411/expmap_575251201_575510401_4FGL_J2258.1-2759_daily_bin1296.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/600411/ltcube_575251201_575510401_4FGL_J2258.1-2759_daily_bin1296.fits
.....................!
real 189.41
user 184.73
sys 4.24

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/600411/ft1_filtered_4FGL_J2258.1-2759_daily_bin1296.fits scfile=/scratch/kocevski/600411/ft2_4FGL_J2258.1-2759_daily_bin1296.fits outfile=/scratch/kocevski/600411/cmap_575251201_575510401_4FGL_J2258.1-2759_daily_bin1296.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.54
user 0.36
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.4584       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    77.410       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.9815       1.0000         .10000E-03   10000.    
     9 'norm      '    .11569E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.154       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.4682       1.0000         .10000E-03   10000.    
    12 'norm      '    2.2159       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.2612       1.0000         .10000E-03   10000.    
    15 'norm      '    .10069E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11603       1.0000         .10000E-03   10000.    
    17 'norm      '    5.2659       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .13893E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    17.119       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .53283       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2492       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6991.114     FROM MIGRAD    STATUS=CONVERGED    856 CALLS     2795 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.4586        8.3083        .15793E-03   -.15693E-04
   2  Prefactor     .10000E-03    5.4351        .36285E-03** at limit **
   3  norm          .10000E-03    15.846        .18142E-02** at limit **
   4  Prefactor     .10000E-03    8.7580        .18142E-02** at limit **
   5  Prefactor     .10000E-03    7.8951        .18142E-02** at limit **
   6  norm          .10000E-03    2.8869        .18022E-02** at limit **
   7  Prefactor     77.399        40.832        .45641E-04   -.16714E-03
   8  Prefactor     2.9848        9.0319        .23512E-03   -.68660E-05
   9  norm          .10000E-03    6.0587        .23477E-02** at limit **
  10  Prefactor     10.153        11.969        .12574E-03   -.35251E-03
  11  Prefactor     4.4718        10.698        .19049E-03   -.48611E-03
  12  norm          2.2151        .83171        .33919E-04   -.17214E-02
  13  Prefactor     .10000E-03    17.305        .18142E-02** at limit **
  14  Prefactor     3.2656        7.1567        .22425E-03   -.51811E-04
  15  norm          .10000E-03    4.5280        .17252E-02** at limit **
  16  Prefactor     .90247E-01    15.623        .10331        .12288E-03
  17  norm          5.2652        2.6597        .93310E-04   -.35369E-03
  18  Prefactor     .10000E-03    59.855        .18142E-02** at limit **
  19  Prefactor     .10000E-03    19.272        .18142E-02** at limit **
  20  Prefactor     17.121        19.959        .96800E-04    .45804E-05
  21  Normalizat    .53277        .17940        .28537E-03   -.35257E-03
  22  Prefactor     1.2492        .18122        .20284E-03   -.20454E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.45864
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 77.3988
  Prefactor  = 2.98479
  norm       = 0.000100002
  Prefactor  = 10.1527
  Prefactor  = 4.47183
  norm       = 2.21509
  Prefactor  = 0.0001
  Prefactor  = 3.26558
  norm       = 0.0001
  Prefactor  = 0.0902468
  norm       = 5.26523
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 17.1205
  Normalizat = 0.532769
  Prefactor  = 1.2492
 **********
 **   18 **HESSE 
 **********

 FCN=   6991.114     FROM HESSE     STATUS=OK           330 CALLS     3125 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.4586        8.3083        .63170E-05   -1.5200    
   2  Prefactor     .10000E-03    5.4353        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    15.852        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.7592        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.8980        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.8970        .36044E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     77.399        40.774        .91283E-05   -1.3946    
   8  Prefactor     2.9848        9.0295        .94049E-05   -1.5362    
   9  norm          .10000E-03    6.1170        .46955E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     10.153        11.962        .50298E-05   -1.5071    
  11  Prefactor     4.4718        10.677        .76195E-05   -1.5285    
  12  norm          2.2151        .83108        .13568E-05   -1.5410    
  13  Prefactor     .10000E-03    17.306        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.2656        7.1528        .89702E-05   -1.5347    
  15  norm          .10000E-03    4.5302        .34505E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .90247E-01    14.840        .10829       -1.5648    
  17  norm          5.2652        2.6596        .37324E-05   -1.5249    
  18  Prefactor     .10000E-03    59.900        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    19.272        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     17.121        19.961        .38720E-05   -1.4880    
  21  Normalizat    .53277        .17952        .11415E-04   -1.1092    
  22  Prefactor     1.2492        .18136        .40568E-04   -.84830    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08314e-09
Minuit parameter uncertainties:
  1  8.3098
  2  1.68397e-05
  3  0.00021053
  4  9.80276e-05
  5  4.67306e-05
  6  1.51786e-05
  7  40.7883
  8  9.03362
  9  0.000209884
  10  11.9647
  11  10.6819
  12  0.831087
  13  4.17569e-05
  14  7.15471
  15  9.84717e-08
  16  2.31383
  17  2.65968
  18  2.198e-05
  19  0.000274593
  20  19.969
  21  0.179719
  22  0.181453
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  2.215e+00  8.311e-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:  1.249e+00  1.815e-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:  5.328e-01  1.797e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 29.93
Ra Dec: 344.529 -27.984
Photon Index (Fixed Index): 2.29 +/- 0.00
Photon Flux (Fixed Index): 1.25e-07 +/- 4.70e-08
Energy Flux (Fixed Index): 4.73e-05 +/- 1.78e-05

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) = 6990.48553693
delta logL = 0.628488280033

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6990.4808104
delta logL = 0.633214805419

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7846       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6396       1.0000          .0000       5.0000    
     3 'Normalizat'    .49974       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2695       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=   6990.481     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      213 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7844        6.1703        .64416E-02    .21392E-03
   2  alpha         2.6395        3.6669        .16213        .68202E-04
   3  Normalizat    .49972        .91837E-01    .66358E-01    .41456E-04
   4  Prefactor     1.2695        .75400E-01    .33164E-01   -.22121E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.78444
  alpha      = 2.63954
  Normalizat = 0.499716
  Prefactor  = 1.2695
 **********
 **   18 **HESSE 
 **********

 FCN=   6990.481     FROM HESSE     STATUS=OK            33 CALLS      246 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7844        .68098        .28545E-04   -1.5441    
   2  alpha         2.6395        .32557        .69058E-02    .55845E-01
   3  Normalizat    .49972        .17211        .29370E-03   -1.1243    
   4  Prefactor     1.2695        .17974        .20125E-03   -.84219    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27264e-09
Minuit parameter uncertainties:
  1  0.680984
  2  0.326499
  3  0.172297
  4  0.179825
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/600411': 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) = 6990.48081018
delta logL = 0.633215031822

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.784e+00  6.810e-01  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  2.640e+00  3.265e-01  0.000e+00  5.000e+00 ( 1.000e+00)
344         beta:  1.979e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
345           Eb:  7.783e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  1.269e+00  1.798e-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.997e-01  1.723e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 31.89
Ra Dec: 344.529 -27.984
Photon Index (Free Index): 2.64 +/- 0.33
Photon Flux (Free Index): 1.56e-07 +/- 4.80e-08
Energy Flux (Free Index): 4.39e-05 +/- 1.21e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/600411/cmap_HighResolution_575251201_575510401_4FGL_J2258.1-2759_daily_bin1296.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.25e-07', energy_flux2='4.39e-05', photon_flux_error='4.70e-08', dlogl='6.33e-01', energy_flux='4.73e-05', photon_flux2='1.56e-07', job_status='DONE', time_completed='2021-09-29 03:22:56.954992', photon_index_error2='0.33', photon_index2='2.64', ts='29.93', fit_tolerance='1e-08', GAL='1.25', photon_index_error='0.00', energy_flux_error2='1.21e-05', EG='0.53', time_epoch_completed='1632910976.96', return_code='0', job_id='600411', GAL2='1.27', EG2='0.50', return_code2='0', energy_flux_error='1.78e-05', photon_flux_error2='4.80e-08', ts2='31.89', photon_index='2.29' WHERE bin_id='1296' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:22:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 600411: <4FGL_J2258.1-2759_daily_bin1296> in cluster <slac> Done

Job <4FGL_J2258.1-2759_daily_bin1296> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep 29 03:11:06 2021
Job was executed on host(s) <bullet0222>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 03:11:07 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:11:07 2021
Terminated at Wed Sep 29 03:22:57 2021
Results reported at Wed Sep 29 03:22:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin1296 344.529 -27.9843 575251201 575510401 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 :                                   642.17 sec.
    Max Memory :                                 1010 MB
    Average Memory :                             322.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   710 sec.
    Turnaround time :                            711 sec.

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

