/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 61 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 = 7460
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1258.6-1759_daily_bin814
RA = 194.663, Dec = -17.9958
tmin = 450316801, tmax = 450576001
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='55893', job_status='RUN', time_executed='2021-09-06 12:39:10.483051', time_epoch_executed='1630957150.48' WHERE source_name='4FGL J1258.6-1759' and cadence='daily' and bin_id='814'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/55893

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/55893/ft1_4FGL_J1258.6-1759_daily_bin814.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/55893/ft2_4FGL_J1258.6-1759_daily_bin814.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/55893/ft1_4FGL_J1258.6-1759_daily_bin814.fits outfile=/scratch/kocevski/55893/ft1_filteredMKT_4FGL_J1258.6-1759_daily_bin814.fits ra=194.663 dec=-17.9958 rad=12.0 tmin=450316801.0 tmax=450576001.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.24
user 3.75
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/55893/ft2_4FGL_J1258.6-1759_daily_bin814.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/55893/ft2_4FGL_J1258.6-1759_daily_bin814.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/55893/ft1_filteredMKT_4FGL_J1258.6-1759_daily_bin814.fits evtable="EVENTS" outfile="/scratch/kocevski/55893/ft1_filtered_4FGL_J1258.6-1759_daily_bin814.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 3.92
user 0.33
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/55893/ft1_filtered_4FGL_J1258.6-1759_daily_bin814.fits" evtable="EVENTS" scfile=/scratch/kocevski/55893/ft2_4FGL_J1258.6-1759_daily_bin814.fits sctable="SC_DATA" outfile=/scratch/kocevski/55893/ltcube_450316801_450576001_4FGL_J1258.6-1759_daily_bin814.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/55893/ft2_4FGL_J1258.6-1759_daily_bin814.fits
.....................!
real 12.87
user 11.43
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/55893/ft1_filtered_4FGL_J1258.6-1759_daily_bin814.fits evtable="EVENTS" scfile=/scratch/kocevski/55893/ft2_4FGL_J1258.6-1759_daily_bin814.fits sctable="SC_DATA" expcube=/scratch/kocevski/55893/ltcube_450316801_450576001_4FGL_J1258.6-1759_daily_bin814.fits outfile=/scratch/kocevski/55893/expmap_450316801_450576001_4FGL_J1258.6-1759_daily_bin814.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/55893/ltcube_450316801_450576001_4FGL_J1258.6-1759_daily_bin814.fits
.....................!
real 196.30
user 184.80
sys 5.06

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 184 point sources and 0 extended sources

Setting source of interest to:
4FGL J1258.6-1759 @ 194.663 -17.9958

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/55893/ft1_filtered_4FGL_J1258.6-1759_daily_bin814.fits scfile=/scratch/kocevski/55893/ft2_4FGL_J1258.6-1759_daily_bin814.fits outfile=/scratch/kocevski/55893/cmap_450316801_450576001_4FGL_J1258.6-1759_daily_bin814.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=194.663 yref=-17.9958 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.74
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/55893/ft1_filtered_4FGL_J1258.6-1759_daily_bin814.fits scfile=/scratch/kocevski/55893/ft2_4FGL_J1258.6-1759_daily_bin814.fits outfile=/scratch/kocevski/55893/cmap_HighResolution_450316801_450576001_4FGL_J1258.6-1759_daily_bin814.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=194.663 yref=-17.9958 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.63
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/55893/ft1_filtered_4FGL_J1258.6-1759_daily_bin814.fits evtable="EVENTS" scfile=/scratch/kocevski/55893/ft2_4FGL_J1258.6-1759_daily_bin814.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/55893/Model_4FGL_J1258.6-1759_daily_bin814.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/55893/ft1_filtered_4FGL_J1258.6-1759_daily_bin814.fits.....................!
real 69.33
user 66.68
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/55893/ft1_filtered_4FGL_J1258.6-1759_daily_bin814.fits', '/scratch/kocevski/55893/ft2_4FGL_J1258.6-1759_daily_bin814.fits', expMap='/scratch/kocevski/55893/expmap_450316801_450576001_4FGL_J1258.6-1759_daily_bin814.fits', expCube='/scratch/kocevski/55893/ltcube_450316801_450576001_4FGL_J1258.6-1759_daily_bin814.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/55893/Model_4FGL_J1258.6-1759_daily_bin814.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1258.6-1759'

4FGL J1258.6-1759
   Spectrum: LogParabola
297         norm:  4.083e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
298        alpha:  2.233e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
299         beta:  1.374e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
300           Eb:  6.757e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/55893/ft1_filtered_4FGL_J1258.6-1759_daily_bin814.fits
Spacecraft file(s): /scratch/kocevski/55893/ft2_4FGL_J1258.6-1759_daily_bin814.fits
Exposure map: /scratch/kocevski/55893/expmap_450316801_450576001_4FGL_J1258.6-1759_daily_bin814.fits
Exposure cube: /scratch/kocevski/55893/ltcube_450316801_450576001_4FGL_J1258.6-1759_daily_bin814.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/55893/Model_4FGL_J1258.6-1759_daily_bin814.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) = 8555.10912524

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.5902       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.1925       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.9020       1.0000         .10000E-03   10000.    
     6 'norm      '    3.1336       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.7261       1.0000         .10000E-03   10000.    
     9 'norm      '    1.8384       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    11.637       1.0000         .10000E-03   10000.    
    17 'norm      '    13.098       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    59.940       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .91614       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0407       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8555.107     FROM MIGRAD    STATUS=CONVERGED    505 CALLS     2498 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    29.954       -.36431E-05** at limit **
   2  Prefactor     2.5902        2.7585        .58623E-07    .11173E-03
   3  Prefactor     5.1926        1.9567       -.19968E-07    .14427E-03
   4  Prefactor     .10000E-03    9.7467        .10140E-07** at limit **
   5  Prefactor     8.9017        6.7455       -.72840E-06   -.12009E-02
   6  norm          3.1335        1.1141        .19933E-07   -.31003E-03
   7  Prefactor     .10001E-03    23.271        .74998E-05** at limit **
   8  norm          3.7262        6.4155       -.31925E-06   -.23301E-03
   9  norm          1.8377        3.4999       -.20933E-05   -.38412E-03
  10  Prefactor     .10000E-03    1.5382        .86456E-07** at limit **
  11  norm          .10000E-03    1.2968       -.94441E-08** at limit **
  12  norm          .10000E-03    6.2725       -.94296E-06** at limit **
  13  Prefactor     .10000E-03    4.8503        .13232E-06** at limit **
  14  Prefactor     .10000E-03    2.7231        .11960E-06** at limit **
  15  Prefactor     .10000E-03    18.884       -.42883E-05** at limit **
  16  norm          11.635        4.5995       -.45283E-06   -.23955E-02
  17  norm          13.098        7.8626       -.32083E-07   -.60642E-03
  18  Prefactor     .10000E-03    4.3097        .12962E-06** at limit **
  19  Prefactor     59.939        33.964       -.73184E-06    .65344E-04
  20  Prefactor     .10000E-03    6.5852        .99837E-06** at limit **
  21  norm          .10000E-03    3.1417        .27504E-07** at limit **
  22  Normalizat    .91617        .21496        .10018E-05    .42451E-05
  23  Prefactor     1.0406        .10815        .13205E-06    .68918E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Prefactor  = 2.59024
  Prefactor  = 5.19256
  Prefactor  = 0.0001
  Prefactor  = 8.90171
  norm       = 3.13351
  Prefactor  = 0.000100008
  norm       = 3.72617
  norm       = 1.83766
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  norm       = 11.6354
  norm       = 13.0979
  Prefactor  = 0.0001
  Prefactor  = 59.9394
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.916166
  Prefactor  = 1.04064
 **********
 **   18 **HESSE 
 **********

 FCN=   8555.107     FROM HESSE     STATUS=OK           364 CALLS     2862 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    29.761        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.5902        2.7626        .15382E-03   -1.5386    
   3  Prefactor     5.1926        1.9565        .77020E-04   -1.5252    
   4  Prefactor     .10000E-03    9.8493        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.9017        7.1215        .67169E-03   -1.5111    
   6  norm          3.1335        1.1127        .55417E-04   -1.5354    
   7  Prefactor     .10001E-03    21.754        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.7262        6.4315        .20919E-03   -1.5322    
   9  norm          1.8377        3.6759        .24220E-03   -1.5437    
  10  Prefactor     .10000E-03    1.5472        .11196E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.3576        .20561E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    6.3035        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.8752        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.7307        .14904E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    18.173        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          11.635        4.8782        .58718E-03   -1.5026    
  17  norm          13.098        7.8665        .55339E-03   -1.4984    
  18  Prefactor     .10000E-03    4.3229        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     59.939        33.985        .51823E-04   -1.4158    
  20  Prefactor     .10000E-03    6.6167        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    3.2325        .32013E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .91617        .24781        .37916E-03   -.95894    
  23  Prefactor     1.0406        .12506        .18247E-03   -.91387    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.89471e-09
Minuit parameter uncertainties:
  1  0.000505094
  2  2.76274
  3  1.95653
  4  9.15495e-06
  5  7.12218
  6  1.11267
  7  0.000856581
  8  6.43267
  9  3.67636
  10  1.06786e-05
  11  1.58426e-06
  12  6.03526e-05
  13  4.31215e-06
  14  3.91686e-06
  15  0.000561401
  16  4.87834
  17  7.86708
  18  8.51455e-06
  19  33.9963
  20  6.91956e-05
  21  3.59334e-06
  22  0.248122
  23  0.125098
Done.

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

Extracting fit parameters...

4FGL J1258.6-1759
   Spectrum: LogParabola
297         norm:  3.726e+00  6.433e+00  1.000e-04  1.000e+04 ( 1.000e-12)
298        alpha:  2.233e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
299         beta:  1.374e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
300           Eb:  6.757e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  1.041e+00  1.251e-01  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  9.162e-01  2.481e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.44
Ra Dec: 194.663 -17.996
Photon Flux Upper Limit: 9.03e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.40e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/55893/likelihoodResults_450316801_450576001_4FGL_J1258.6-1759_daily_bin814.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) = 8555.01308005
delta logL = 0.0936834624517

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8555.01104964
delta logL = 0.0957138733465

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6589       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7944       1.0000          .0000       5.0000    
     3 'Normalizat'    .89882       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0447       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8555.011     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      209 TOTAL
                     EDM=   .34E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 22.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6511        2.9221       -.11921E-06   -.23750E-03
   2  alpha         2.7912        1.4725        .14156E-05   -.18563E-04
   3  Normalizat    .89873        .21516        .83863E-09   -.74533E-04
   4  Prefactor     1.0448        .10845        .73824E-08   -.64748E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.65109
  alpha      = 2.79124
  Normalizat = 0.898733
  Prefactor  = 1.04479
 **********
 **   18 **HESSE 
 **********

 FCN=   8555.011     FROM HESSE     STATUS=OK            29 CALLS      238 TOTAL
                     EDM=   .67E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6511        6.1893        .10559E-02   -1.5326    
   2  alpha         2.7912        1.2665        .83036E-02    .11676    
   3  Normalizat    .89873        .24750        .38253E-03   -.96505    
   4  Prefactor     1.0448        .12515        .18214E-03   -.91251    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.68916e-11
Minuit parameter uncertainties:
  1  6.19038
  2  1.32903
  3  0.247809
  4  0.125188
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/55893': 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) = 8555.01104149
delta logL = 0.0957220291384

Extracting fit parameters...

4FGL J1258.6-1759
   Spectrum: LogParabola
297         norm:  3.651e+00  6.190e+00  1.000e-04  1.000e+04 ( 1.000e-12)
298        alpha:  2.791e+00  1.329e+00  0.000e+00  5.000e+00 ( 1.000e+00)
299         beta:  1.374e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
300           Eb:  6.757e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  1.045e+00  1.252e-01  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  8.987e-01  2.478e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.44
Ra Dec: 194.663 -17.996

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/55893/cmap_HighResolution_450316801_450576001_4FGL_J1258.6-1759_daily_bin814.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.40e-05', job_status='DONE', photon_flux_upper_limit='9.03e-08', time_completed='2021-09-06 12:52:46.648924', job_id='55893', GAL2='1.04', fit_tolerance='1e-08', EG2='0.90', EG='0.92', time_epoch_completed='1630957966.65', return_code2='0', ts='0.44', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='9.57e-02', ts2='0.66', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='814' AND source_name='4FGL J1258.6-1759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 12:52:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0109>
Subject: Job 55893: <4FGL_J1258.6-1759_daily_bin814> in cluster <slac> Done

Job <4FGL_J1258.6-1759_daily_bin814> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Mon Sep  6 12:37:06 2021
Job was executed on host(s) <bullet0109>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 12:37:07 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep  6 12:37:07 2021
Terminated at Mon Sep  6 12:52:49 2021
Results reported at Mon Sep  6 12:52:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1258.6-1759_daily_bin814 194.663 -17.9958 450316801 450576001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1258.6-1759 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   793.23 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             320.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   941 sec.
    Turnaround time :                            943 sec.

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

