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


Performing analysis on: 4FGL_J0258.1+2030_daily_bin1358
RA = 44.5422, Dec = 20.5137
tmin = 591321601, tmax = 591580801
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='984057', job_status='RUN', time_executed='2021-08-17 05:46:32.024630', time_epoch_executed='1629204392.02' WHERE source_name='4FGL J0258.1+2030' and cadence='daily' and bin_id='1358'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/984057

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/984057/ft1_4FGL_J0258.1+2030_daily_bin1358.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/984057/ft2_4FGL_J0258.1+2030_daily_bin1358.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/984057/ft1_4FGL_J0258.1+2030_daily_bin1358.fits outfile=/scratch/kocevski/984057/ft1_filteredMKT_4FGL_J0258.1+2030_daily_bin1358.fits ra=44.5422 dec=20.5137 rad=12.0 tmin=591321601.0 tmax=591580801.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.01
user 2.20
sys 0.72

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/984057/ft2_4FGL_J0258.1+2030_daily_bin1358.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/984057/ft2_4FGL_J0258.1+2030_daily_bin1358.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/984057/ft1_filteredMKT_4FGL_J0258.1+2030_daily_bin1358.fits evtable="EVENTS" outfile="/scratch/kocevski/984057/ft1_filtered_4FGL_J0258.1+2030_daily_bin1358.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 1.37
user 0.28
sys 0.69

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/984057/ft1_filtered_4FGL_J0258.1+2030_daily_bin1358.fits" evtable="EVENTS" scfile=/scratch/kocevski/984057/ft2_4FGL_J0258.1+2030_daily_bin1358.fits sctable="SC_DATA" outfile=/scratch/kocevski/984057/ltcube_591321601_591580801_4FGL_J0258.1+2030_daily_bin1358.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/984057/ft2_4FGL_J0258.1+2030_daily_bin1358.fits
.....................!
real 14.38
user 12.87
sys 0.87

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/984057/ft1_filtered_4FGL_J0258.1+2030_daily_bin1358.fits evtable="EVENTS" scfile=/scratch/kocevski/984057/ft2_4FGL_J0258.1+2030_daily_bin1358.fits sctable="SC_DATA" expcube=/scratch/kocevski/984057/ltcube_591321601_591580801_4FGL_J0258.1+2030_daily_bin1358.fits outfile=/scratch/kocevski/984057/expmap_591321601_591580801_4FGL_J0258.1+2030_daily_bin1358.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/984057/ltcube_591321601_591580801_4FGL_J0258.1+2030_daily_bin1358.fits
.....................!
real 157.56
user 151.43
sys 4.40

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

Setting source of interest to:
4FGL J0258.1+2030 @ 44.5422 20.5137

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/984057/ft1_filtered_4FGL_J0258.1+2030_daily_bin1358.fits scfile=/scratch/kocevski/984057/ft2_4FGL_J0258.1+2030_daily_bin1358.fits outfile=/scratch/kocevski/984057/cmap_591321601_591580801_4FGL_J0258.1+2030_daily_bin1358.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=44.5422 yref=20.5137 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.02
user 0.32
sys 0.66

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/984057/ft1_filtered_4FGL_J0258.1+2030_daily_bin1358.fits scfile=/scratch/kocevski/984057/ft2_4FGL_J0258.1+2030_daily_bin1358.fits outfile=/scratch/kocevski/984057/cmap_HighResolution_591321601_591580801_4FGL_J0258.1+2030_daily_bin1358.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=44.5422 yref=20.5137 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.10
user 0.32
sys 0.66

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/984057/ft1_filtered_4FGL_J0258.1+2030_daily_bin1358.fits evtable="EVENTS" scfile=/scratch/kocevski/984057/ft2_4FGL_J0258.1+2030_daily_bin1358.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/984057/Model_4FGL_J0258.1+2030_daily_bin1358.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/984057/ft1_filtered_4FGL_J0258.1+2030_daily_bin1358.fits.....................!
real 78.20
user 73.16
sys 1.77

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/984057/ft1_filtered_4FGL_J0258.1+2030_daily_bin1358.fits', '/scratch/kocevski/984057/ft2_4FGL_J0258.1+2030_daily_bin1358.fits', expMap='/scratch/kocevski/984057/expmap_591321601_591580801_4FGL_J0258.1+2030_daily_bin1358.fits', expCube='/scratch/kocevski/984057/ltcube_591321601_591580801_4FGL_J0258.1+2030_daily_bin1358.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/984057/Model_4FGL_J0258.1+2030_daily_bin1358.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0258.1+2030'

4FGL J0258.1+2030
   Spectrum: LogParabola
272         norm:  1.040e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
273        alpha:  1.961e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
274         beta:  2.458e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
275           Eb:  2.394e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/984057/ft1_filtered_4FGL_J0258.1+2030_daily_bin1358.fits
Spacecraft file(s): /scratch/kocevski/984057/ft2_4FGL_J0258.1+2030_daily_bin1358.fits
Exposure map: /scratch/kocevski/984057/expmap_591321601_591580801_4FGL_J0258.1+2030_daily_bin1358.fits
Exposure cube: /scratch/kocevski/984057/ltcube_591321601_591580801_4FGL_J0258.1+2030_daily_bin1358.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/984057/Model_4FGL_J0258.1+2030_daily_bin1358.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) = 5329.06891912

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10132E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10856E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .19779E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    13.885       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .77667       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10178E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10921E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    18.752       1.0000         .10000E-03   10000.    
    15 'Prefactor '    22.433       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.5426       1.0000         .10000E-03   10000.    
    17 'norm      '    9.2100       1.0000         .10000E-03   10000.    
    18 'norm      '    11.571       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11871E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    7.6176       1.0000         .10000E-03   10000.    
    23 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .70894       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .97575       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5250E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5329.067     FROM MIGRAD    STATUS=CONVERGED    585 CALLS     2841 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.4457        .35518E-06** at limit **
   2  norm          .10000E-03    93.344        .24870E-06** at limit **
   3  Prefactor     .10000E-03    53.811        .71327E-06** at limit **
   4  Prefactor     .10000E-03    10.110        .24085E-06** at limit **
   5  Prefactor     .10000E-03    132.19        .12675E-05** at limit **
   6  Prefactor     .10000E-03    7.1974        .24350E-06** at limit **
   7  norm          13.887        4.8326       -.64704E-07   -.12388E-03
   8  Prefactor     .10000E-03    12.345       -.17413E-07** at limit **
   9  norm          .77669        1.1928        .89366E-06    .84942E-03
  10  Prefactor     .10000E-03    24.081        .12940E-06** at limit **
  11  norm          .10000E-03    25.078        .11538E-05** at limit **
  12  Prefactor     .10000E-03    33.540        .81962E-06** at limit **
  13  Prefactor     .10000E-03    23.164        .29955E-06** at limit **
  14  Prefactor     18.747        16.181        .26008E-06   -.28299E-04
  15  Prefactor     22.456        41.632       -.48837E-06   -.15224E-04
  16  Prefactor     2.1589        2059.4       -.20016E-03    .76803E-05
  17  norm          9.2104        17.241        .61681E-06    .13177E-04
  18  norm          11.574        17.021        .11510E-05    .20790E-04
  19  Prefactor     .10000E-03    87.992        .33034E-06** at limit **
  20  Prefactor     .10000E-03    4.5319        .32694E-06** at limit **
  21  Prefactor     .10000E-03    9.0275        .28388E-06** at limit **
  22  norm          7.6171        3.6576        .29705E-06    .49664E-04
  23  norm          .10000E-03    5.1809        .62886E-07** at limit **
  24  Normalizat    .70904        .36501       -.40994E-05   -.98016E-04
  25  Prefactor     .97578        .10738       -.19235E-06   -.34142E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 13.8872
  Prefactor  = 0.0001
  norm       = 0.776689
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.7468
  Prefactor  = 22.4556
  Prefactor  = 2.15892
  norm       = 9.21044
  norm       = 11.5745
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.6171
  norm       = 0.0001
  Normalizat = 0.709045
  Prefactor  = 0.975779
 **********
 **   18 **HESSE 
 **********

 FCN=   5329.067     FROM HESSE     STATUS=OK           421 CALLS     3262 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.4594        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    93.381        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    53.914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    10.129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    132.47        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.2050        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          13.887        4.8310        .88806E-04   -1.4962    
   8  Prefactor     .10000E-03    12.356        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .77669        1.1704        .92674E-04   -1.5532    
  10  Prefactor     .10000E-03    24.081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    25.278        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    33.585        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    23.173        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     18.747        16.168        .92491E-04   -1.4842    
  15  Prefactor     22.456        41.450        .84569E-04   -1.4760    
  16  Prefactor     2.1589        2083.0        .25610E-02   -1.5414    
  17  norm          9.2104        17.295        .13206E-03   -1.5101    
  18  norm          11.574        17.042        .11777E-03   -1.5027    
  19  Prefactor     .10000E-03    88.021        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.5694        .15171E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    9.0387        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          7.6171        3.6495        .88589E-04   -1.5156    
  23  norm          .10000E-03    5.1833        .16229E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .70904        .38199        .53117E-03   -1.0354    
  25  Prefactor     .97578        .11488        .14574E-03   -.93541    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.77227e-10
Minuit parameter uncertainties:
  1  1.75768e-05
  2  0.000128955
  3  6.70142e-06
  4  7.05506e-06
  5  0.000223883
  6  8.36337e-06
  7  4.8311
  8  4.30662e-05
  9  1.1704
  10  4.53826e-06
  11  0.000106363
  12  2.06197e-05
  13  4.46299e-06
  14  16.172
  15  41.5034
  16  139.288
  17  17.3044
  18  17.0489
  19  0.000133613
  20  1.33832e-05
  21  1.92499e-05
  22  3.6496
  23  4.1875e-06
  24  0.383439
  25  0.114904
Done.

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

Extracting fit parameters...

4FGL J0258.1+2030
   Spectrum: LogParabola
272         norm:  9.210e+00  1.730e+01  1.000e-04  1.000e+04 ( 1.000e-13)
273        alpha:  1.961e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
274         beta:  2.458e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
275           Eb:  2.394e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
522    Prefactor:  9.758e-01  1.149e-01  0.000e+00  1.000e+01 ( 1.000e+00)
523        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
524        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
521   Normalization:  7.090e-01  3.834e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.36
Ra Dec: 44.542 20.514
Photon Flux Upper Limit: 9.70e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.11e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/984057/likelihoodResults_591321601_591580801_4FGL_J0258.1+2030_daily_bin1358.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) = 5328.90616984
delta logL = 0.160589401281

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5328.89043556
delta logL = 0.176323675658

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.6265       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7207       1.0000          .0000       5.0000    
     3 'Normalizat'    .69535       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97320       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5250E+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=   5328.890     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      273 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.6159        18.957        .77944E-03   -.25989E-03
   2  alpha         2.7213        1.5792        .16015E-01   -.26840E-04
   3  Normalizat    .69532        .35872        .53592E-03    .16385E-03
   4  Prefactor     .97323        .11421        .14585E-03    .11940E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 6.6159
  alpha      = 2.72133
  Normalizat = 0.69532
  Prefactor  = 0.973228
 **********
 **   18 **HESSE 
 **********

 FCN=   5328.890     FROM HESSE     STATUS=OK            25 CALLS      298 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.6159        13.832        .31178E-04   -1.5193    
   2  alpha         2.7213        1.1948        .64058E-03    .88646E-01
   3  Normalizat    .69532        .35309        .21437E-04   -1.0408    
   4  Prefactor     .97323        .11330        .29171E-04   -.93627    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08436e-09
Minuit parameter uncertainties:
  1  13.8385
  2  1.24621
  3  0.354246
  4  0.11333
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/984057': 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) = 5328.89043525
delta logL = 0.176323990855

Extracting fit parameters...

4FGL J0258.1+2030
   Spectrum: LogParabola
272         norm:  6.616e+00  1.384e+01  1.000e-04  1.000e+04 ( 1.000e-13)
273        alpha:  2.721e+00  1.246e+00  0.000e+00  5.000e+00 ( 1.000e+00)
274         beta:  2.458e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
275           Eb:  2.394e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
522    Prefactor:  9.732e-01  1.133e-01  0.000e+00  1.000e+01 ( 1.000e+00)
523        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
524        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
521   Normalization:  6.953e-01  3.542e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.36
Ra Dec: 44.542 20.514

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/984057/cmap_HighResolution_591321601_591580801_4FGL_J0258.1+2030_daily_bin1358.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.11e-04', job_status='DONE', photon_flux_upper_limit='9.70e-08', time_completed='2021-08-17 05:55:56.352278', job_id='984057', GAL2='0.97', fit_tolerance='1e-08', EG2='0.70', EG='0.71', time_epoch_completed='1629204956.35', return_code2='0', ts='0.36', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='1.76e-01', ts2='0.71', photon_index_error='0.00', photon_index='1.96' WHERE bin_id='1358' AND source_name='4FGL J0258.1+2030' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 17 05:55:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 984057: <4FGL_J0258.1+2030_daily_bin1358> in cluster <slac> Done

Job <4FGL_J0258.1+2030_daily_bin1358> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Aug 17 05:40:50 2021
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 17 05:43:09 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 17 05:43:09 2021
Terminated at Tue Aug 17 05:55:57 2021
Results reported at Tue Aug 17 05:55:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0258.1+2030_daily_bin1358 44.5422 20.5137 591321601 591580801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0258.1+2030 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   557.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             305.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   767 sec.
    Turnaround time :                            907 sec.

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

