/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 154 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7471
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2258.1-2759_daily_bin226
RA = 344.529, Dec = -27.9843
tmin = 297907201, tmax = 298166401
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='595837', job_status='RUN', time_executed='2021-09-29 02:58:39.250198', time_epoch_executed='1632909519.25' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='226'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/595837

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/595837/ft1_4FGL_J2258.1-2759_daily_bin226.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/595837/ft2_4FGL_J2258.1-2759_daily_bin226.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/595837/ft1_4FGL_J2258.1-2759_daily_bin226.fits outfile=/scratch/kocevski/595837/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin226.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=297907201.0 tmax=298166401.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.54
user 3.32
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/595837/ft2_4FGL_J2258.1-2759_daily_bin226.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/595837/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin226.fits evtable="EVENTS" outfile="/scratch/kocevski/595837/ft1_filtered_4FGL_J2258.1-2759_daily_bin226.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.51
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/595837/ft1_filtered_4FGL_J2258.1-2759_daily_bin226.fits" evtable="EVENTS" scfile=/scratch/kocevski/595837/ft2_4FGL_J2258.1-2759_daily_bin226.fits sctable="SC_DATA" outfile=/scratch/kocevski/595837/ltcube_297907201_298166401_4FGL_J2258.1-2759_daily_bin226.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/595837/ft2_4FGL_J2258.1-2759_daily_bin226.fits
.....................!
real 12.01
user 11.61
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/595837/ft1_filtered_4FGL_J2258.1-2759_daily_bin226.fits evtable="EVENTS" scfile=/scratch/kocevski/595837/ft2_4FGL_J2258.1-2759_daily_bin226.fits sctable="SC_DATA" expcube=/scratch/kocevski/595837/ltcube_297907201_298166401_4FGL_J2258.1-2759_daily_bin226.fits outfile=/scratch/kocevski/595837/expmap_297907201_298166401_4FGL_J2258.1-2759_daily_bin226.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/595837/ltcube_297907201_298166401_4FGL_J2258.1-2759_daily_bin226.fits
.....................!
real 190.23
user 185.22
sys 4.69

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/595837/ft1_filtered_4FGL_J2258.1-2759_daily_bin226.fits scfile=/scratch/kocevski/595837/ft2_4FGL_J2258.1-2759_daily_bin226.fits outfile=/scratch/kocevski/595837/cmap_297907201_298166401_4FGL_J2258.1-2759_daily_bin226.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/595837/ft1_filtered_4FGL_J2258.1-2759_daily_bin226.fits scfile=/scratch/kocevski/595837/ft2_4FGL_J2258.1-2759_daily_bin226.fits outfile=/scratch/kocevski/595837/cmap_HighResolution_297907201_298166401_4FGL_J2258.1-2759_daily_bin226.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/595837/ft1_filtered_4FGL_J2258.1-2759_daily_bin226.fits evtable="EVENTS" scfile=/scratch/kocevski/595837/ft2_4FGL_J2258.1-2759_daily_bin226.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/595837/Model_4FGL_J2258.1-2759_daily_bin226.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/595837/ft1_filtered_4FGL_J2258.1-2759_daily_bin226.fits......................!
real 38.00
user 36.68
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.3180       1.0000         .10000E-03   10000.    
     3 'norm      '    24.833       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.8192       1.0000         .10000E-03   10000.    
     9 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    28.502       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    39.986       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    8.9742       1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.0390       1.0000         .10000E-03   10000.    
    17 'norm      '    .74790E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    21.171       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1292       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1203       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=   4092.863     FROM MIGRAD    STATUS=CONVERGED    466 CALLS     2835 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    41.549       -.11796E-06** at limit **
   2  Prefactor     3.3193        9.9455       -.39492E-06    .10224E-03
   3  norm          24.827        30.176        .13407E-06   -.46528E-05
   4  Prefactor     .10000E-03    14.080        .27613E-06** at limit **
   5  Prefactor     .10000E-03    9.5196       -.61005E-07** at limit **
   6  norm          .10000E-03    2.1669       -.32108E-07** at limit **
   7  Prefactor     .10000E-03    27.900        .24655E-08** at limit **
   8  Prefactor     2.8211        30.969        .87550E-06   -.12530E-04
   9  norm          .10001E-03    6.8651        .10770E-05** at limit **
  10  Prefactor     .10000E-03    14.426        .12368E-06** at limit **
  11  Prefactor     28.509        17.033        .16274E-06   -.38925E-03
  12  norm          .10000E-03    .46748        .14322E-06** at limit **
  13  Prefactor     39.935        64.160        .30393E-05    .52927E-04
  14  Prefactor     .10000E-03    28.468        .15978E-06** at limit **
  15  norm          8.9743        12.226        .28093E-06    .44149E-04
  16  Prefactor     7.1416        157.49       -.97844E-05   -.44053E-04
  17  norm          .10000E-03    2.4213       -.12017E-06** at limit **
  18  Prefactor     21.166        45.660        .10575E-05    .23454E-04
  19  Prefactor     .10000E-03    38.008       -.40159E-06** at limit **
  20  Prefactor     .10000E-03    25.550        .33969E-06** at limit **
  21  Normalizat    1.1286        .31384       -.38220E-05   -.36090E-04
  22  Prefactor     1.1208        .27203        .35865E-05   -.88095E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.3193
  norm       = 24.827
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.82111
  norm       = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 28.5091
  norm       = 0.0001
  Prefactor  = 39.9351
  Prefactor  = 0.0001
  norm       = 8.97434
  Prefactor  = 7.1416
  norm       = 0.000100001
  Prefactor  = 21.1661
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.1286
  Prefactor  = 1.12079
 **********
 **   18 **HESSE 
 **********

 FCN=   4092.863     FROM HESSE     STATUS=OK           344 CALLS     3179 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    41.823        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.3193        10.024        .11112E-02   -1.5344    
   3  norm          24.827        30.157        .80385E-04   -1.4711    
   4  Prefactor     .10000E-03    14.115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.5449        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.2101        .91848E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    27.917        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.8211        30.788        .24224E-03   -1.5372    
   9  norm          .10001E-03    15.262        .28569E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    14.445        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     28.509        15.209        .75042E-04   -1.4640    
  12  norm          .10000E-03    .53721        .79772E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     39.935        64.579        .31694E-03   -1.4443    
  14  Prefactor     .10000E-03    28.660        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          8.9743        12.246        .66897E-03   -1.5109    
  16  Prefactor     7.1416        173.65        .15120E-03   -1.5173    
  17  norm          .10000E-03    37.513        .18524E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     21.166        44.364        .87051E-04   -1.4788    
  19  Prefactor     .10000E-03    38.016        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    25.562        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1286        .33709        .26553E-03   -.88839    
  22  Prefactor     1.1208        .29138        .25347E-03   -.88805    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.75839e-10
Minuit parameter uncertainties:
  1  2.61169e-05
  2  10.0287
  3  30.1754
  4  1.75935e-05
  5  4.51626e-06
  6  5.79319e-06
  7  5.42195e-06
  8  18.6513
  9  0.000671842
  10  1.44767e-05
  11  15.2113
  12  3.94891e-06
  13  64.6919
  14  1.86068e-05
  15  12.2494
  16  70.6613
  17  0.000467276
  18  44.4335
  19  4.54971e-05
  20  3.87413e-05
  21  0.337739
  22  0.291795
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.000e-04  3.949e-06  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.121e+00  2.918e-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:  1.129e+00  3.377e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/595837/likelihoodResults_297907201_298166401_4FGL_J2258.1-2759_daily_bin226.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) = 4092.86331931
delta logL = 2.77907029158e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4092.86330403
delta logL = 4.30675422649e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6924       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1286       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1208       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=   4092.648     FROM MIGRAD    STATUS=CONVERGED    139 CALLS      334 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .40016E-01    .58961E-01    .41078E-02   -.13871E-02
   2  alpha         4.6107        .94693        .41307        .18712E-04
   3  Normalizat    1.0542        .25091        .61728E-01    .12257E-03
   4  Prefactor     1.1628        .23141        .56360E-01    .37296E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0400157
  alpha      = 4.61066
  Normalizat = 1.0542
  Prefactor  = 1.16277
 **********
 **   18 **HESSE 
 **********

 FCN=   4092.648     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      365 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .40016E-01    4.2324        .17832E-04   -1.5748    
   2  alpha         4.6107        4.6715        .45431E-01    1.0052    
   3  Normalizat    1.0542        .27039        .27304E-03   -.91236    
   4  Prefactor     1.1628        .24731        .24921E-03   -.87485    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.35672e-08
Minuit parameter uncertainties:
  1  0.822106
  2  11.2441
  3  0.27074
  4  0.247553
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/595837': 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): 102
logL (Free Index) = 4092.64780857
delta logL = 0.215538529281

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  4.002e-02  8.221e-01  1.000e-04  1.000e+04 ( 1.000e-11)
343        alpha:  4.611e+00  1.124e+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.163e+00  2.476e-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:  1.054e+00  2.707e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 344.529 -27.984

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.88e-05', job_status='DONE', photon_flux_upper_limit='1.03e-07', time_completed='2021-09-29 03:07:39.385072', job_id='595837', GAL2='1.16', fit_tolerance='1e-08', EG2='1.05', EG='1.13', time_epoch_completed='1632910059.39', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='2.16e-01', ts2='0.48', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='226' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 03:07:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 595837: <4FGL_J2258.1-2759_daily_bin226> in cluster <slac> Done

Job <4FGL_J2258.1-2759_daily_bin226> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 02:55:52 2021
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 02:55:54 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:54 2021
Terminated at Wed Sep 29 03:07:40 2021
Results reported at Wed Sep 29 03:07:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin226 344.529 -27.9843 297907201 298166401 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.08 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             291.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   705 sec.
    Turnaround time :                            708 sec.

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

