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


Performing analysis on: 4FGL_J0258.1+2030_daily_bin1160
RA = 44.5422, Dec = 20.5137
tmin = 540000001, tmax = 540259201
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='983762', job_status='RUN', time_executed='2021-08-17 05:42:03.646928', time_epoch_executed='1629204123.65' WHERE source_name='4FGL J0258.1+2030' and cadence='daily' and bin_id='1160'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/983762

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/983762/ft1_4FGL_J0258.1+2030_daily_bin1160.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/983762/ft2_4FGL_J0258.1+2030_daily_bin1160.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/983762/ft1_4FGL_J0258.1+2030_daily_bin1160.fits outfile=/scratch/kocevski/983762/ft1_filteredMKT_4FGL_J0258.1+2030_daily_bin1160.fits ra=44.5422 dec=20.5137 rad=12.0 tmin=540000001.0 tmax=540259201.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.15
user 2.73
sys 0.33

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/983762/ft2_4FGL_J0258.1+2030_daily_bin1160.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/983762/ft1_filteredMKT_4FGL_J0258.1+2030_daily_bin1160.fits evtable="EVENTS" outfile="/scratch/kocevski/983762/ft1_filtered_4FGL_J0258.1+2030_daily_bin1160.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.91
user 0.29
sys 0.29

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/983762/ft1_filtered_4FGL_J0258.1+2030_daily_bin1160.fits" evtable="EVENTS" scfile=/scratch/kocevski/983762/ft2_4FGL_J0258.1+2030_daily_bin1160.fits sctable="SC_DATA" outfile=/scratch/kocevski/983762/ltcube_540000001_540259201_4FGL_J0258.1+2030_daily_bin1160.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/983762/ft2_4FGL_J0258.1+2030_daily_bin1160.fits
.....................!
real 11.35
user 10.44
sys 0.43

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/983762/ft1_filtered_4FGL_J0258.1+2030_daily_bin1160.fits evtable="EVENTS" scfile=/scratch/kocevski/983762/ft2_4FGL_J0258.1+2030_daily_bin1160.fits sctable="SC_DATA" expcube=/scratch/kocevski/983762/ltcube_540000001_540259201_4FGL_J0258.1+2030_daily_bin1160.fits outfile=/scratch/kocevski/983762/expmap_540000001_540259201_4FGL_J0258.1+2030_daily_bin1160.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/983762/ltcube_540000001_540259201_4FGL_J0258.1+2030_daily_bin1160.fits
.....................!
real 158.17
user 151.44
sys 3.98

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/983762/ft1_filtered_4FGL_J0258.1+2030_daily_bin1160.fits scfile=/scratch/kocevski/983762/ft2_4FGL_J0258.1+2030_daily_bin1160.fits outfile=/scratch/kocevski/983762/cmap_540000001_540259201_4FGL_J0258.1+2030_daily_bin1160.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 0.87
user 0.32
sys 0.27

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/983762/ft1_filtered_4FGL_J0258.1+2030_daily_bin1160.fits scfile=/scratch/kocevski/983762/ft2_4FGL_J0258.1+2030_daily_bin1160.fits outfile=/scratch/kocevski/983762/cmap_HighResolution_540000001_540259201_4FGL_J0258.1+2030_daily_bin1160.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 0.73
user 0.32
sys 0.29

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/983762/ft1_filtered_4FGL_J0258.1+2030_daily_bin1160.fits', '/scratch/kocevski/983762/ft2_4FGL_J0258.1+2030_daily_bin1160.fits', expMap='/scratch/kocevski/983762/expmap_540000001_540259201_4FGL_J0258.1+2030_daily_bin1160.fits', expCube='/scratch/kocevski/983762/ltcube_540000001_540259201_4FGL_J0258.1+2030_daily_bin1160.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/983762/Model_4FGL_J0258.1+2030_daily_bin1160.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/983762/ft1_filtered_4FGL_J0258.1+2030_daily_bin1160.fits
Spacecraft file(s): /scratch/kocevski/983762/ft2_4FGL_J0258.1+2030_daily_bin1160.fits
Exposure map: /scratch/kocevski/983762/expmap_540000001_540259201_4FGL_J0258.1+2030_daily_bin1160.fits
Exposure cube: /scratch/kocevski/983762/ltcube_540000001_540259201_4FGL_J0258.1+2030_daily_bin1160.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/983762/Model_4FGL_J0258.1+2030_daily_bin1160.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) = 11083.4074645

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26472E-01   1.0000         .10000E-03   10000.    
     2 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.077       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.3840       1.0000         .10000E-03   10000.    
     5 'Prefactor '    30.411       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13844E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    14.338       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .18762E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.3792       1.0000         .10000E-03   10000.    
    10 'Prefactor '    31.698       1.0000         .10000E-03   10000.    
    11 'norm      '    15.578       1.0000         .10000E-03   10000.    
    12 'Prefactor '    32.397       1.0000         .10000E-03   10000.    
    13 'Prefactor '    35.777       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .56696       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10349E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    9.6941       1.0000         .10000E-03   10000.    
    18 'norm      '    4.8413       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    10.836       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .67139       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1310       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=   11083.29     FROM MIGRAD    STATUS=CONVERGED    617 CALLS     2980 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .62666E-01    100.35       -.12755E-04    .10160E-04
   2  norm          .10000E-03    59.729        .59863E-07** at limit **
   3  Prefactor     16.074        33.066       -.10182E-05    .12581E-04
   4  Prefactor     8.3864        6.9850       -.53902E-06   -.16885E-04
   5  Prefactor     30.392        47.641        .11284E-05    .20602E-04
   6  Prefactor     .10000E-03    5.9791       -.37645E-07** at limit **
   7  norm          14.339        2.8166       -.75520E-07   -.37724E-03
   8  Prefactor     .10000E-03    21.871        .15215E-05** at limit **
   9  norm          2.3797        .80186       -.15166E-06   -.72993E-03
  10  Prefactor     31.443        54.825       -.30539E-05   -.55824E-04
  11  norm          15.581        14.622       -.25015E-06   -.20553E-04
  12  Prefactor     32.401        21.093       -.80192E-06   -.12629E-03
  13  Prefactor     35.813        39.135       -.11097E-05   -.32263E-05
  14  Prefactor     .55726        33.432       -.14138E-04    .30298E-04
  15  Prefactor     .10000E-03    9.8203       -.16083E-06** at limit **
  16  Prefactor     .10001E-03    105.11       -.52500E-05** at limit **
  17  norm          9.6943        7.5900        .80712E-07   -.66402E-04
  18  norm          4.8433        9.4550        .36241E-06    .55682E-04
  19  Prefactor     .10000E-03    30.085       -.10536E-06** at limit **
  20  Prefactor     .10000E-03    1.2714       -.15563E-06** at limit **
  21  Prefactor     .10000E-03    6.5314       -.25283E-06** at limit **
  22  norm          .10000E-03    .60768       -.33754E-06** at limit **
  23  norm          10.836        11.665       -.32409E-07   -.51417E-04
  24  Normalizat    .67122        .25794        .89088E-05    .12166E-03
  25  Prefactor     1.1310        .85241E-01   -.16259E-05    .86006E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0626658
  norm       = 0.0001
  Prefactor  = 16.0742
  Prefactor  = 8.38637
  Prefactor  = 30.3925
  Prefactor  = 0.0001
  norm       = 14.3386
  Prefactor  = 0.000100001
  norm       = 2.37974
  Prefactor  = 31.4431
  norm       = 15.5812
  Prefactor  = 32.401
  Prefactor  = 35.8132
  Prefactor  = 0.557263
  Prefactor  = 0.0001
  Prefactor  = 0.00010001
  norm       = 9.69433
  norm       = 4.84333
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 10.836
  Normalizat = 0.67122
  Prefactor  = 1.13104
 **********
 **   18 **HESSE 
 **********

 FCN=   11083.29     FROM HESSE     STATUS=OK           437 CALLS     3417 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .62666E-01    4.5489        .58336E-01   -1.5658    
   2  norm          .10000E-03    59.879        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     16.074        33.014        .99888E-04   -1.4906    
   4  Prefactor     8.3864        6.9891        .13845E-03   -1.5129    
   5  Prefactor     30.392        47.553        .72656E-04   -1.4605    
   6  Prefactor     .10000E-03    6.0417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          14.339        2.8122        .73908E-04   -1.4950    
   8  Prefactor     .10000E-03    22.501        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.3797        .80784        .48718E-04   -1.5399    
  10  Prefactor     31.443        55.057        .71168E-04   -1.4586    
  11  norm          15.581        14.601        .10148E-03   -1.4918    
  12  Prefactor     32.401        21.186        .70399E-04   -1.4569    
  13  Prefactor     35.813        39.180        .67001E-04   -1.4510    
  14  Prefactor     .55726        34.100        .45271E-02   -1.5559    
  15  Prefactor     .10000E-03    9.8457        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10001E-03    106.85        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          9.6943        7.5913        .12871E-03   -1.5085    
  18  norm          4.8433        9.4303        .18283E-03   -1.5268    
  19  Prefactor     .10000E-03    30.086        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    1.2743        .11595E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    6.5618        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    .62192        .80231E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          10.836        11.665        .12171E-03   -1.5049    
  24  Normalizat    .67122        .26046        .53514E-03   -1.0504    
  25  Prefactor     1.1310        .86533E-01    .15266E-03   -.88481    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00143e-09
Minuit parameter uncertainties:
  1  1.06705
  2  0.000203419
  3  33.0519
  4  6.98981
  5  47.6119
  6  1.69502e-05
  7  2.81221
  8  0.000218344
  9  0.807844
  10  55.1461
  11  14.604
  12  21.1914
  13  39.2086
  14  8.72283
  15  3.6524e-06
  16  0.0021221
  17  7.59205
  18  9.43318
  19  2.18402e-05
  20  3.53486e-06
  21  8.82493e-06
  22  3.69636e-06
  23  11.6677
  24  0.260937
  25  0.0865438
Done.

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

Extracting fit parameters...

4FGL J0258.1+2030
   Spectrum: LogParabola
272         norm:  9.694e+00  7.592e+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

GAL_V02
   Spectrum: PowerLaw
522    Prefactor:  1.131e+00  8.654e-02  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.712e-01  2.609e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.65
Ra Dec: 44.542 20.514
Photon Index (Fixed Index): 1.96 +/- 0.00
Photon Flux (Fixed Index): 1.71e-08 +/- 1.34e-08
Energy Flux (Fixed Index): 1.96e-05 +/- 1.53e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11082.3920427
delta logL = 0.90132744808

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11082.3649614
delta logL = 0.928408738308

Fit tolerance = 1e-08

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

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

 FCN=   11082.36     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      213 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.945        11.726        .28985E-02    .13077E-04
   2  alpha         1.1280        .64393        .50000       -.56849E-05
   3  Normalizat    .67211        .21994        .12056        .48833E-04
   4  Prefactor     1.1324        .80109E-01    .36468E-01   -.85766E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 11.9445
  alpha      = 1.12805
  Normalizat = 0.672112
  Prefactor  = 1.13239
 **********
 **   18 **HESSE 
 **********

 FCN=   11082.36     FROM HESSE     STATUS=OK            33 CALLS      246 TOTAL
                     EDM=   .48E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.945        9.9722        .11594E-03   -1.5017    
   2  alpha         1.1280        .59487        .25864E-01   -.58090    
   3  Normalizat    .67211        .23142        .53479E-03   -1.0500    
   4  Prefactor     1.1324        .84749E-01    .15258E-03   -.88438    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.79259e-11
Minuit parameter uncertainties:
  1  9.97355
  2  0.603211
  3  0.23176
  4  0.084759
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/983762': 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) = 11082.3649612
delta logL = 0.92840893092

Extracting fit parameters...

4FGL J0258.1+2030
   Spectrum: LogParabola
272         norm:  1.194e+01  9.974e+00  1.000e-04  1.000e+04 ( 1.000e-13)
273        alpha:  1.128e+00  6.032e-01  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:  1.132e+00  8.476e-02  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.721e-01  2.318e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.50
Ra Dec: 44.542 20.514
Photon Index (Free Index): 1.13 +/- 0.60
Photon Flux (Free Index): 1.02e-08 +/- 8.95e-09
Energy Flux (Free Index): 4.85e-05 +/- 4.98e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/983762/cmap_HighResolution_540000001_540259201_4FGL_J0258.1+2030_daily_bin1160.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.71e-08', energy_flux2='4.85e-05', photon_flux_error='1.34e-08', dlogl='9.28e-01', energy_flux='1.96e-05', photon_flux2='1.02e-08', job_status='DONE', time_completed='2021-08-17 05:55:23.266009', photon_index_error2='0.60', photon_index2='1.13', ts='7.65', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', energy_flux_error2='4.98e-05', EG='0.67', time_epoch_completed='1629204923.27', return_code='0', job_id='983762', GAL2='1.13', EG2='0.67', return_code2='0', energy_flux_error='1.53e-05', photon_flux_error2='8.95e-09', ts2='9.50', photon_index='1.96' WHERE bin_id='1160' AND source_name='4FGL J0258.1+2030' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 17 05:55:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 983762: <4FGL_J0258.1+2030_daily_bin1160> in cluster <slac> Done

Job <4FGL_J0258.1+2030_daily_bin1160> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Aug 17 05:40:30 2021
Job was executed on host(s) <bullet0189>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 17 05:40:53 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:40:53 2021
Terminated at Tue Aug 17 05:55:24 2021
Results reported at Tue Aug 17 05:55:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0258.1+2030_daily_bin1160 44.5422 20.5137 540000001 540259201 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 :                                   784.19 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             316.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   870 sec.
    Turnaround time :                            894 sec.

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

