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


Performing analysis on: 4FGL_J1258.6-1759_daily_bin762
RA = 194.663, Dec = -17.9958
tmin = 436838401, tmax = 437097601
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='54878', job_status='RUN', time_executed='2021-09-06 12:35:03.627143', time_epoch_executed='1630956903.63' WHERE source_name='4FGL J1258.6-1759' and cadence='daily' and bin_id='762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/54878

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/54878/ft1_4FGL_J1258.6-1759_daily_bin762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/54878/ft2_4FGL_J1258.6-1759_daily_bin762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/54878/ft1_4FGL_J1258.6-1759_daily_bin762.fits outfile=/scratch/kocevski/54878/ft1_filteredMKT_4FGL_J1258.6-1759_daily_bin762.fits ra=194.663 dec=-17.9958 rad=12.0 tmin=436838401.0 tmax=437097601.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 8.52
user 4.74
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/54878/ft2_4FGL_J1258.6-1759_daily_bin762.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/54878/ft1_filteredMKT_4FGL_J1258.6-1759_daily_bin762.fits evtable="EVENTS" outfile="/scratch/kocevski/54878/ft1_filtered_4FGL_J1258.6-1759_daily_bin762.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 2.87
user 0.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/54878/ft1_filtered_4FGL_J1258.6-1759_daily_bin762.fits" evtable="EVENTS" scfile=/scratch/kocevski/54878/ft2_4FGL_J1258.6-1759_daily_bin762.fits sctable="SC_DATA" outfile=/scratch/kocevski/54878/ltcube_436838401_437097601_4FGL_J1258.6-1759_daily_bin762.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/54878/ft2_4FGL_J1258.6-1759_daily_bin762.fits
.....................!
real 14.39
user 11.46
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/54878/ft1_filtered_4FGL_J1258.6-1759_daily_bin762.fits evtable="EVENTS" scfile=/scratch/kocevski/54878/ft2_4FGL_J1258.6-1759_daily_bin762.fits sctable="SC_DATA" expcube=/scratch/kocevski/54878/ltcube_436838401_437097601_4FGL_J1258.6-1759_daily_bin762.fits outfile=/scratch/kocevski/54878/expmap_436838401_437097601_4FGL_J1258.6-1759_daily_bin762.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/54878/ltcube_436838401_437097601_4FGL_J1258.6-1759_daily_bin762.fits
.....................!
real 200.67
user 184.51
sys 5.14

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/54878/ft1_filtered_4FGL_J1258.6-1759_daily_bin762.fits scfile=/scratch/kocevski/54878/ft2_4FGL_J1258.6-1759_daily_bin762.fits outfile=/scratch/kocevski/54878/cmap_436838401_437097601_4FGL_J1258.6-1759_daily_bin762.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 1.36
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/54878/ft1_filtered_4FGL_J1258.6-1759_daily_bin762.fits scfile=/scratch/kocevski/54878/ft2_4FGL_J1258.6-1759_daily_bin762.fits outfile=/scratch/kocevski/54878/cmap_HighResolution_436838401_437097601_4FGL_J1258.6-1759_daily_bin762.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.76
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/54878/ft1_filtered_4FGL_J1258.6-1759_daily_bin762.fits evtable="EVENTS" scfile=/scratch/kocevski/54878/ft2_4FGL_J1258.6-1759_daily_bin762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/54878/Model_4FGL_J1258.6-1759_daily_bin762.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/54878/ft1_filtered_4FGL_J1258.6-1759_daily_bin762.fits.....................!
real 83.13
user 73.61
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/54878/ft1_filtered_4FGL_J1258.6-1759_daily_bin762.fits', '/scratch/kocevski/54878/ft2_4FGL_J1258.6-1759_daily_bin762.fits', expMap='/scratch/kocevski/54878/expmap_436838401_437097601_4FGL_J1258.6-1759_daily_bin762.fits', expCube='/scratch/kocevski/54878/ltcube_436838401_437097601_4FGL_J1258.6-1759_daily_bin762.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/54878/Model_4FGL_J1258.6-1759_daily_bin762.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/54878/ft1_filtered_4FGL_J1258.6-1759_daily_bin762.fits
Spacecraft file(s): /scratch/kocevski/54878/ft2_4FGL_J1258.6-1759_daily_bin762.fits
Exposure map: /scratch/kocevski/54878/expmap_436838401_437097601_4FGL_J1258.6-1759_daily_bin762.fits
Exposure cube: /scratch/kocevski/54878/ltcube_436838401_437097601_4FGL_J1258.6-1759_daily_bin762.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/54878/Model_4FGL_J1258.6-1759_daily_bin762.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) = 9628.81489211

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.8678       1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.776       1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.158       1.0000         .10000E-03   10000.    
     6 'norm      '    1.0076       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.8278       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.5043       1.0000         .10000E-03   10000.    
    12 'norm      '    19.579       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    71.021       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    9.5450       1.0000         .10000E-03   10000.    
    17 'norm      '    5.3529       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    51.458       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .49658E-01   1.0000         .10000E-03   10000.    
    21 'norm      '    4.8280       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0319       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2138       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=   9628.737     FROM MIGRAD    STATUS=CONVERGED    528 CALLS     2253 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.345        .86629E-07** at limit **
   2  Prefactor     .10000E-03    3.5212        .10937E-07** at limit **
   3  Prefactor     4.8674        2.2161        .14931E-08   -.33741E-04
   4  Prefactor     11.775        15.019        .16058E-05    .26527E-03
   5  Prefactor     13.157        14.431        .17936E-05    .34952E-03
   6  norm          1.0075        1.1839        .26240E-06   -.83969E-04
   7  Prefactor     .10000E-03    73.007        .99354E-07** at limit **
   8  norm          .10000E-03    7.4948       -.72046E-07** at limit **
   9  norm          2.8283        4.2051        .43816E-06   -.14977E-03
  10  Prefactor     .10000E-03    2.7056       -.13052E-06** at limit **
  11  norm          1.5043        1.4724        .19323E-07    .23433E-04
  12  norm          19.578        15.797        .41851E-06    .13249E-03
  13  Prefactor     .10000E-03    1.9429        .78538E-09** at limit **
  14  Prefactor     71.020        16.882        .41184E-06    .27707E-03
  15  Prefactor     .10000E-03    5.7491        .38461E-08** at limit **
  16  norm          9.5442        4.2201        .85756E-07    .19072E-03
  17  norm          5.3529        5.5086        .15260E-06    .63460E-04
  18  Prefactor     .10000E-03    3.4796       -.15491E-07** at limit **
  19  Prefactor     51.459        27.601        .27416E-05    .89157E-03
  20  Prefactor     .20370E-01    5.3952       -.10352E-05    .29456E-03
  21  norm          4.8277        4.0475        .24094E-05   -.12744E-02
  22  Normalizat    1.0319        .27034       -.33077E-05    .78775E-04
  23  Prefactor     1.2138        .12574        .64459E-07    .32338E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.86743
  Prefactor  = 11.7754
  Prefactor  = 13.1568
  norm       = 1.00749
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.82826
  Prefactor  = 0.0001
  norm       = 1.50429
  norm       = 19.5782
  Prefactor  = 0.0001
  Prefactor  = 71.0197
  Prefactor  = 0.0001
  norm       = 9.54421
  norm       = 5.3529
  Prefactor  = 0.0001
  Prefactor  = 51.4585
  Prefactor  = 0.0203695
  norm       = 4.82768
  Normalizat = 1.03191
  Prefactor  = 1.2138
 **********
 **   18 **HESSE 
 **********

 FCN=   9628.737     FROM HESSE     STATUS=OK           380 CALLS     2633 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.360        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.5627        .17967E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.8674        2.2148        .95659E-04   -1.5267    
   4  Prefactor     11.775        15.148        .11674E-03   -1.5022    
   5  Prefactor     13.157        14.654        .11042E-03   -1.4982    
   6  norm          1.0075        1.1558        .10796E-03   -1.5507    
   7  Prefactor     .10000E-03    73.115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    7.6670        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.8283        4.1788        .23480E-03   -1.5372    
  10  Prefactor     .10000E-03    2.7193        .15711E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.5043        1.4694        .11458E-03   -1.5463    
  12  norm          19.578        15.811        .90519E-04   -1.4823    
  13  Prefactor     .10000E-03    1.9434        .13357E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     71.020        16.969        .47635E-04   -1.4020    
  15  Prefactor     .10000E-03    5.7544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          9.5442        4.2198        .12150E-03   -1.5090    
  17  norm          5.3529        5.5042        .17370E-03   -1.5245    
  18  Prefactor     .10000E-03    3.4843        .17871E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     51.459        29.421        .55908E-04   -1.4272    
  20  Prefactor     .20370E-01    8.1490        .67972E-01   -1.5679    
  21  norm          4.8277        4.1914        .90356E-03   -1.5268    
  22  Normalizat    1.0319        .30601        .44058E-03   -.91969    
  23  Prefactor     1.2138        .14399        .20024E-03   -.85908    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.78265e-09
Minuit parameter uncertainties:
  1  3.40064e-05
  2  1.64543e-06
  3  2.2148
  4  15.1524
  5  14.6577
  6  1.15583
  7  9.89934e-05
  8  1.55133e-05
  9  4.17924
  10  2.74282e-06
  11  1.46944
  12  15.8146
  13  3.92306e-07
  14  16.9697
  15  3.43015e-07
  16  4.21994
  17  5.50474
  18  1.22059e-06
  19  29.4292
  20  0.812949
  21  4.19169
  22  0.306533
  23  0.14404
Done.

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

Extracting fit parameters...

4FGL J1258.6-1759
   Spectrum: LogParabola
297         norm:  1.000e-04  1.551e-05  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.214e+00  1.440e-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:  1.032e+00  3.065e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/54878/likelihoodResults_436838401_437097601_4FGL_J1258.6-1759_daily_bin762.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) = 9628.73796233
delta logL = -0.000621655563009

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9628.73734118
delta logL = -5.00820533489e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12963E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1699       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0320       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2138       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9628.737     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      236 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10013E-03    13.921        .35774E-02** at limit **
   2  alpha         2.0861        3.4616        .16646        .46922E-04
   3  Normalizat    1.0319        .28164        .44059E-03   -.14780E-03
   4  Prefactor     1.2138        .13877        .20024E-03   -.36365E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100129
  alpha      = 2.08614
  Normalizat = 1.03191
  Prefactor  = 1.2138
 **********
 **   18 **HESSE 
 **********

 FCN=   9628.737     FROM HESSE     STATUS=OK            23 CALLS      259 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10013E-03    12.988        .71549E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0861        3.4431        .33291E-01   -.16631    
   3  Normalizat    1.0319        .28182        .17623E-04   -.91969    
   4  Prefactor     1.2138        .13885        .40048E-04   -.85908    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15705e-08
Minuit parameter uncertainties:
  1  0.00258633
  2  2.46996
  3  0.282231
  4  0.138896
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/54878': 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) = 9628.73733801
delta logL = 2.66796814685e-06

Extracting fit parameters...

4FGL J1258.6-1759
   Spectrum: LogParabola
297         norm:  1.001e-04  2.586e-03  1.000e-04  1.000e+04 ( 1.000e-12)
298        alpha:  2.086e+00  2.470e+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.214e+00  1.389e-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:  1.032e+00  2.822e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/54878/cmap_HighResolution_436838401_437097601_4FGL_J1258.6-1759_daily_bin762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.88e-05', job_status='DONE', photon_flux_upper_limit='7.66e-08', time_completed='2021-09-06 12:49:29.973130', job_id='54878', GAL2='1.21', fit_tolerance='1e-08', EG2='1.03', EG='1.03', time_epoch_completed='1630957769.97', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='2.67e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='762' AND source_name='4FGL J1258.6-1759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep  6 12:49:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0288>
Subject: Job 54878: <4FGL_J1258.6-1759_daily_bin762> in cluster <slac> Done

Job <4FGL_J1258.6-1759_daily_bin762> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Mon Sep  6 12:32:57 2021
Job was executed on host(s) <bullet0288>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep  6 12:32:59 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:32:59 2021
Terminated at Mon Sep  6 12:49:32 2021
Results reported at Mon Sep  6 12:49:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1258.6-1759_daily_bin762 194.663 -17.9958 436838401 437097601 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 :                                   822.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             304.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   992 sec.
    Turnaround time :                            995 sec.

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

