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


Performing analysis on: 4FGL_J0258.1+2030_daily_bin1425
RA = 44.5422, Dec = 20.5137
tmin = 608688001, tmax = 608947201
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='985567', job_status='RUN', time_executed='2021-08-17 05:52:11.405817', time_epoch_executed='1629204731.41' WHERE source_name='4FGL J0258.1+2030' and cadence='daily' and bin_id='1425'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/985567

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/985567/ft1_4FGL_J0258.1+2030_daily_bin1425.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/985567/ft2_4FGL_J0258.1+2030_daily_bin1425.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/985567/ft1_4FGL_J0258.1+2030_daily_bin1425.fits outfile=/scratch/kocevski/985567/ft1_filteredMKT_4FGL_J0258.1+2030_daily_bin1425.fits ra=44.5422 dec=20.5137 rad=12.0 tmin=608688001.0 tmax=608947201.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 6.05
user 2.87
sys 1.71

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/985567/ft2_4FGL_J0258.1+2030_daily_bin1425.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/985567/ft1_filteredMKT_4FGL_J0258.1+2030_daily_bin1425.fits evtable="EVENTS" outfile="/scratch/kocevski/985567/ft1_filtered_4FGL_J0258.1+2030_daily_bin1425.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.74
user 0.35
sys 1.91

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/985567/ft1_filtered_4FGL_J0258.1+2030_daily_bin1425.fits" evtable="EVENTS" scfile=/scratch/kocevski/985567/ft2_4FGL_J0258.1+2030_daily_bin1425.fits sctable="SC_DATA" outfile=/scratch/kocevski/985567/ltcube_608688001_608947201_4FGL_J0258.1+2030_daily_bin1425.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/985567/ft2_4FGL_J0258.1+2030_daily_bin1425.fits
.....................!
real 16.12
user 13.81
sys 2.00

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/985567/ft1_filtered_4FGL_J0258.1+2030_daily_bin1425.fits evtable="EVENTS" scfile=/scratch/kocevski/985567/ft2_4FGL_J0258.1+2030_daily_bin1425.fits sctable="SC_DATA" expcube=/scratch/kocevski/985567/ltcube_608688001_608947201_4FGL_J0258.1+2030_daily_bin1425.fits outfile=/scratch/kocevski/985567/expmap_608688001_608947201_4FGL_J0258.1+2030_daily_bin1425.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/985567/ltcube_608688001_608947201_4FGL_J0258.1+2030_daily_bin1425.fits
.....................!
real 195.70
user 185.75
sys 7.05

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/985567/ft1_filtered_4FGL_J0258.1+2030_daily_bin1425.fits scfile=/scratch/kocevski/985567/ft2_4FGL_J0258.1+2030_daily_bin1425.fits outfile=/scratch/kocevski/985567/cmap_608688001_608947201_4FGL_J0258.1+2030_daily_bin1425.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 2.19
user 0.38
sys 1.64

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/985567/ft1_filtered_4FGL_J0258.1+2030_daily_bin1425.fits scfile=/scratch/kocevski/985567/ft2_4FGL_J0258.1+2030_daily_bin1425.fits outfile=/scratch/kocevski/985567/cmap_HighResolution_608688001_608947201_4FGL_J0258.1+2030_daily_bin1425.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 2.31
user 0.40
sys 1.58

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     2 'norm      '    .30801       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .73969E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .12713E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    25.334       1.0000         .10000E-03   10000.    
     7 'norm      '    267.05       1.0000         .10000E-03   10000.    
     8 'Prefactor '    103.64       1.0000         .10000E-03   10000.    
     9 'norm      '    3.3165       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .18979E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    105.63       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    81.391       1.0000         .10000E-03   10000.    
    17 'norm      '    19.914       1.0000         .10000E-03   10000.    
    18 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .57587E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .21493E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    19.342       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .25761       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0275       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=   1345.677     FROM MIGRAD    STATUS=CONVERGED    572 CALLS     3348 TOTAL
                     EDM=   .25E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor    10000.0        1809.0        .46670E-06** at limit **
   2  norm          .10188E-03    8402.6       -.27233E-04** at limit **
   3  Prefactor     .10001E-03    1812.1       -.26629E-05** at limit **
   4  Prefactor     .10000E-03    141.44       -.59725E-06** at limit **
   5  Prefactor     .10006E-03    7027.2       -.45869E-05** at limit **
   6  Prefactor     25.291        194.20       -.17018E-05   -.10729E-06
   7  norm          267.18        182.44       -.17162E-05    .16385E-04
   8  Prefactor     103.61        147.39       -.94961E-06   -.69057E-05
   9  norm          3.3182        5.5256        .72159E-07   -.11353E-03
  10  Prefactor     .10000E-03    314.34        .33769E-06** at limit **
  11  norm          105.70        87.548       -.79029E-06   -.56190E-05
  12  Prefactor     .10000E-03    58.001       -.48196E-07** at limit **
  13  Prefactor     .10000E-03    167.38        .37249E-07** at limit **
  14  Prefactor     .10000E-03    39.111        .12650E-07** at limit **
  15  Prefactor     .10000E-03    91.665        .63630E-07** at limit **
  16  Prefactor     80.686        5837.8       -.49219E-05    .23046E-06
  17  norm          19.931        47.776        .57446E-06    .12583E-05
  18  norm          .10000E-03    11.394        .62817E-07** at limit **
  19  Prefactor     .10000E-03    725.87       -.78091E-06** at limit **
  20  Prefactor     .10000E-03    7.4945       -.71447E-07** at limit **
  21  Prefactor     .10000E-03    17.190       -.60347E-07** at limit **
  22  norm          .10000E-03    6.6847       -.80189E-06** at limit **
  23  norm          19.337        46.329       -.36145E-06   -.55725E-05
  24  Normalizat    .25595        .69857        .53911E-04    .22168E-05
  25  Prefactor     1.0278        .22005       -.79989E-05    .14319E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10000
  norm       = 0.000101883
  Prefactor  = 0.000100014
  Prefactor  = 0.000100001
  Prefactor  = 0.000100055
  Prefactor  = 25.2906
  norm       = 267.182
  Prefactor  = 103.613
  norm       = 3.31824
  Prefactor  = 0.000100002
  norm       = 105.701
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 80.6862
  norm       = 19.9306
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 19.3367
  Normalizat = 0.255951
  Prefactor  = 1.02777
 **********
 **   18 **HESSE 
 **********

 FCN=   1345.677     FROM HESSE     STATUS=OK           421 CALLS     3769 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor    10000.0        1809.3        .21363E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10188E-03    8403.0        .20920E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10001E-03    1812.1        .18609E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    141.39        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10006E-03    7027.4        .18173E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     25.291        194.14        .79587E-04   -1.4702    
   7  norm          267.18        182.60        .12405E-03   -1.2424    
   8  Prefactor     103.61        149.38        .19748E-03   -1.3669    
   9  norm          3.3182        5.5884        .91793E-04   -1.5344    
  10  Prefactor     .10000E-03    314.48        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          105.70        87.549        .19563E-03   -1.3648    
  12  Prefactor     .10000E-03    58.002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    167.41        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    39.110        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    91.745        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     80.686        5848.9        .22260E-03   -1.3909    
  17  norm          19.931        47.813        .89753E-04   -1.4815    
  18  norm          .10000E-03    11.453        .12096E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    726.11        .19001E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    7.5002        .98098E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    17.193        .14860E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    14.383        .18139E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          19.337        46.408        .91069E-04   -1.4828    
  24  Normalizat    .25595        .70362        .88411E-03   -1.2557    
  25  Prefactor     1.0278        .22019        .13684E-03   -.91810    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.04658e-11
Minuit parameter uncertainties:
  1  0.00142558
  2  1.45814
  3  0.0104841
  4  0.000562852
  5  0.0323795
  6  140.779
  7  182.992
  8  149.924
  9  5.58927
  10  0.00150008
  11  87.6562
  12  3.3557e-06
  13  5.41086e-05
  14  3.1699e-05
  15  7.30241e-05
  16  939.878
  17  47.9055
  18  3.56684e-06
  19  0.00138555
  20  2.1467e-06
  21  2.18848e-07
  22  1.9806e-05
  23  46.4947
  24  0.730423
  25  0.220381
Done.

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

Extracting fit parameters...

4FGL J0258.1+2030
   Spectrum: LogParabola
272         norm:  1.993e+01  4.791e+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:  1.028e+00  2.204e-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:  2.560e-01  7.304e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.24
Ra Dec: 44.542 20.514
Photon Flux Upper Limit: 3.27e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.75e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/985567/likelihoodResults_608688001_608947201_4FGL_J0258.1+2030_daily_bin1425.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) = 1345.6613896
delta logL = 0.0152534838996

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1345.65561624
delta logL = 0.0210268452931

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    26.321       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6662       1.0000          .0000       5.0000    
     3 'Normalizat'    .26057       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0264       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=   1345.656     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      277 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          26.344        63.198        .78084E-04    .42506E-04
   2  alpha         1.6666        1.3208        .15694E-01    .41550E-05
   3  Normalizat    .26065        .70017        .87712E-03   -.84735E-05
   4  Prefactor     1.0264        .21852        .13690E-03    .25863E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 26.3439
  alpha      = 1.66658
  Normalizat = 0.26065
  Prefactor  = 1.02639
 **********
 **   18 **HESSE 
 **********

 FCN=   1345.656     FROM HESSE     STATUS=OK            25 CALLS      302 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          26.344        62.310        .15617E-04   -1.4681    
   2  alpha         1.6666        1.3046        .62775E-03   -.33987    
   3  Normalizat    .26065        .69897        .35085E-04   -1.2527    
   4  Prefactor     1.0264        .21813        .27379E-04   -.91855    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.84077e-10
Minuit parameter uncertainties:
  1  62.4641
  2  1.38258
  3  0.724677
  4  0.218316
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/985567': 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) = 1345.65561607
delta logL = 0.0210270148502

Extracting fit parameters...

4FGL J0258.1+2030
   Spectrum: LogParabola
272         norm:  2.634e+01  6.246e+01  1.000e-04  1.000e+04 ( 1.000e-13)
273        alpha:  1.667e+00  1.383e+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:  1.026e+00  2.183e-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:  2.607e-01  7.247e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.24
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/985567/cmap_HighResolution_608688001_608947201_4FGL_J0258.1+2030_daily_bin1425.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.75e-04', job_status='DONE', photon_flux_upper_limit='3.27e-07', time_completed='2021-08-17 05:59:53.990093', job_id='985567', GAL2='1.03', fit_tolerance='1e-08', EG2='0.26', EG='0.26', time_epoch_completed='1629205193.99', return_code2='0', ts='0.24', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.10e-02', ts2='0.28', photon_index_error='0.00', photon_index='1.96' WHERE bin_id='1425' AND source_name='4FGL J0258.1+2030' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 17 05:59:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 985567: <4FGL_J0258.1+2030_daily_bin1425> in cluster <slac> Done

Job <4FGL_J0258.1+2030_daily_bin1425> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 17 05:46:13 2021
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 17 05:47:38 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:47:38 2021
Terminated at Tue Aug 17 05:59:55 2021
Results reported at Tue Aug 17 05:59:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0258.1+2030_daily_bin1425 44.5422 20.5137 608688001 608947201 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 :                                   454.45 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             233.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   736 sec.
    Turnaround time :                            822 sec.

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

