aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 214 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7579
number of fields = 31
RA_SUN column already exists. File will not be modified.DDone.


Performing analysis on: 4FGL_J0258.1+2030_daily_bin1740
RA = 44.5422, Dec = 20.5137
tmin = 690336001, tmax = 690595201
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='823017', job_status='RUN', time_executed='2022-11-20 00:15:17.581167', time_epoch_executed='1668932117.58' WHERE source_name='4FGL J0258.1+2030' and cadence='daily' and bin_id='1740'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/823017

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/823017/ft1_4FGL_J0258.1+2030_daily_bin1740.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/823017/ft2_4FGL_J0258.1+2030_daily_bin1740.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/823017/ft1_4FGL_J0258.1+2030_daily_bin1740.fits outfile=/scratch/kocevski/823017/ft1_filteredMKT_4FGL_J0258.1+2030_daily_bin1740.fits ra=44.5422 dec=20.5137 rad=12.0 tmin=690336001.0 tmax=690595201.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 2.96
user 2.72
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/823017/ft2_4FGL_J0258.1+2030_daily_bin1740.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/823017/ft1_filteredMKT_4FGL_J0258.1+2030_daily_bin1740.fits evtable="EVENTS" outfile="/scratch/kocevski/823017/ft1_filtered_4FGL_J0258.1+2030_daily_bin1740.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.49
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 48

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/823017/ft1_filtered_4FGL_J0258.1+2030_daily_bin1740.fits" evtable="EVENTS" scfile=/scratch/kocevski/823017/ft2_4FGL_J0258.1+2030_daily_bin1740.fits sctable="SC_DATA" outfile=/scratch/kocevski/823017/ltcube_690336001_690595201_4FGL_J0258.1+2030_daily_bin1740.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/823017/ft2_4FGL_J0258.1+2030_daily_bin1740.fits
.....................!
real 14.70
user 14.30
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/823017/ft1_filtered_4FGL_J0258.1+2030_daily_bin1740.fits evtable="EVENTS" scfile=/scratch/kocevski/823017/ft2_4FGL_J0258.1+2030_daily_bin1740.fits sctable="SC_DATA" expcube=/scratch/kocevski/823017/ltcube_690336001_690595201_4FGL_J0258.1+2030_daily_bin1740.fits outfile=/scratch/kocevski/823017/expmap_690336001_690595201_4FGL_J0258.1+2030_daily_bin1740.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/823017/ltcube_690336001_690595201_4FGL_J0258.1+2030_daily_bin1740.fits
.....................!
real 191.11
user 185.77
sys 4.99

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/823017/ft1_filtered_4FGL_J0258.1+2030_daily_bin1740.fits scfile=/scratch/kocevski/823017/ft2_4FGL_J0258.1+2030_daily_bin1740.fits outfile=/scratch/kocevski/823017/cmap_690336001_690595201_4FGL_J0258.1+2030_daily_bin1740.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.58
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/823017/ft1_filtered_4FGL_J0258.1+2030_daily_bin1740.fits scfile=/scratch/kocevski/823017/ft2_4FGL_J0258.1+2030_daily_bin1740.fits outfile=/scratch/kocevski/823017/cmap_HighResolution_690336001_690595201_4FGL_J0258.1+2030_daily_bin1740.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.55
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/823017/ft1_filtered_4FGL_J0258.1+2030_daily_bin1740.fits', '/scratch/kocevski/823017/ft2_4FGL_J0258.1+2030_daily_bin1740.fits', expMap='/scratch/kocevski/823017/expmap_690336001_690595201_4FGL_J0258.1+2030_daily_bin1740.fits', expCube='/scratch/kocevski/823017/ltcube_690336001_690595201_4FGL_J0258.1+2030_daily_bin1740.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/823017/Model_4FGL_J0258.1+2030_daily_bin1740.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  0.000e+00  1.000e+06 ( 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 -5.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/823017/ft1_filtered_4FGL_J0258.1+2030_daily_bin1740.fits
Spacecraft file(s): /scratch/kocevski/823017/ft2_4FGL_J0258.1+2030_daily_bin1740.fits
Exposure map: /scratch/kocevski/823017/expmap_690336001_690595201_4FGL_J0258.1+2030_daily_bin1740.fits
Exposure cube: /scratch/kocevski/823017/ltcube_690336001_690595201_4FGL_J0258.1+2030_daily_bin1740.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/823017/Model_4FGL_J0258.1+2030_daily_bin1740.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) = 631.804934478

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .46998E-02   1.0000          .0000       .10000E+07
     2 'norm      '    1317.4       1.0000          .0000       .10000E+07
     3 'Prefactor '    201.99       1.0000          .0000       .10000E+07
     4 'Prefactor '    290.66       1.0000          .0000       .10000E+07
     5 'Prefactor '    .27058E-01   1.0000          .0000       .10000E+07
     6 'norm      '    11.901       1.0000          .0000       .10000E+07
     7 'Prefactor '    13.015       1.0000          .0000       .10000E+07
     8 'norm      '    1.1136       1.0000          .0000       .10000E+07
     9 'Prefactor '    .59402       1.0000          .0000       .10000E+07
    10 'norm      '    .21811E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .52501E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    86.198       1.0000          .0000       .10000E+07
    13 'Prefactor '    .13172E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .75174E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .96983       1.0000          .0000       .10000E+07
    16 'norm      '    .16459E-01   1.0000          .0000       .10000E+07
    17 'norm      '    41.330       1.0000          .0000       .10000E+07
    18 'Prefactor '    .40768E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    .41576E-01   1.0000          .0000       .10000E+07
    20 'norm      '    .14992       1.0000          .0000       .10000E+07
    21 'Normalizat'    .51707       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .54711       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5250E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   631.7871     FROM MIGRAD    STATUS=CONVERGED    233 CALLS     2396 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    60.125        .73974E-06** at limit **
   2  norm          1318.0        15.041       -.42116E-07   -.19215    
   3  Prefactor     212.03        122.77       -.19708E-05    .20248    
   4  Prefactor     296.07        86.635       -.85222E-06   -.23456    
   5  Prefactor     .31641E-08    73.729        .19285E-05** at limit **
   6  norm          11.894        12.850       -.14752E-05   -.89242E-02
   7  Prefactor     6.4638        285.52        .27120E-04   -.41833E-02
   8  norm          1.3439        4.2621       -.14608E-05   -.54337E-02
   9  Prefactor     .16297E-05    319.74       -.29632E-06** at limit **
  10  norm          .86597E-08    39.325        .32149E-05** at limit **
  11  Prefactor     .11102E-09    53.665       -.12581E-06** at limit **
  12  Prefactor     100.84        216.30       -.13852E-05   -.19561E-01
  13  Prefactor     .73275E-07    118.54       -.16228E-05** at limit **
  14  Prefactor     .22204E-09    85.577        .45681E-06** at limit **
  15  Prefactor     .24150E-02    990.58        .11450E-04** at limit **
  16  norm          .55511E-09    49.993        .83747E-06** at limit **
  17  norm          41.286        41.720       -.34103E-06    .72172E-02
  18  Prefactor      .0000        166.11        .13488E-06** at limit **
  19  Prefactor     .11213E-07    376.45       -.32181E-05** at limit **
  20  norm          .10547E-08    103.60        .11363E-05** at limit **
  21  Normalizat    .48648        .88492        .13470E-04   -.11606E-03
  22  Prefactor     .55237        .33579       -.16318E-04   -.34237E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  norm       = 1317.95
  Prefactor  = 212.029
  Prefactor  = 296.068
  Prefactor  = 3.16414e-09
  norm       = 11.8937
  Prefactor  = 6.4638
  norm       = 1.34391
  Prefactor  = 1.6297e-06
  norm       = 8.65974e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 100.842
  Prefactor  = 7.32747e-08
  Prefactor  = 2.22045e-10
  Prefactor  = 0.00241497
  norm       = 5.55112e-10
  norm       = 41.2865
  Prefactor  = 0
  Prefactor  = 1.12133e-08
  norm       = 1.05471e-09
  Normalizat = 0.486479
  Prefactor  = 0.552374
 **********
 **   18 **HESSE 
 **********

 FCN=   631.7871     FROM HESSE     STATUS=OK           376 CALLS     2772 TOTAL
                     EDM=   .38E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    60.048        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1318.0        674.82        .27570E-04   -1.4982    
   3  Prefactor     212.03        205.85        .70368E-04   -1.5417    
   4  Prefactor     296.07        297.33        .58664E-04   -1.5364    
   5  Prefactor     .31641E-08    72.295        .16610E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          11.894        12.905        .29013E-03   -1.5639    
   7  Prefactor     6.4638        263.72        .27740E-03   -1.5657    
   8  norm          1.3439        4.0413        .11167E-02   -1.5685    
   9  Prefactor     .16297E-05    318.52        .69766E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .86597E-08    38.982        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .11102E-09    53.464        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     100.84        243.35        .10772E-03   -1.5507    
  13  Prefactor     .73275E-07    118.59        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .22204E-09    85.319        .14651E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .24150E-02    1113.2        .42695E-03   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .55511E-09    50.032        .17282E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          41.286        41.800        .15556E-03   -1.5579    
  18  Prefactor      .0000        166.00        .15929E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .11213E-07    375.52        .15893E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10547E-08    103.77        .12745E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .48648        .87094        .11864       -1.1305    
  22  Prefactor     .55237        .31308        .40328E-01   -1.0963    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.77411e-05
Minuit parameter uncertainties:
  1  0.000245231
  2  674.858
  3  205.857
  4  297.346
  5  0.000958658
  6  12.9054
  7  82.5785
  8  4.04133
  9  0.0455692
  10  0.00116278
  11  0.000137185
  12  243.375
  13  0.00589484
  14  0.00028184
  15  3.2798
  16  0.000330271
  17  41.8003
  18  0.000118156
  19  0.00410116
  20  0.000654361
  21  0.897267
  22  0.314069
Done.

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

Extracting fit parameters...

4FGL J0258.1+2030
   Spectrum: LogParabola
272         norm:  5.551e-10  3.303e-04  0.000e+00  1.000e+06 ( 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 -5.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:  5.524e-01  3.141e-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:  4.865e-01  8.973e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/823017/likelihoodResults_690336001_690595201_4FGL_J0258.1+2030_daily_bin1740.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): 102
logL (Free Index) = 631.796458021
delta logL = -0.00937619487706

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 631.787081897
delta logL = -7.16560180081e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .92886E-05   1.0000          .0000       .10000E+07
     2 'alpha     '    1.6020       1.0000          .0000       5.0000    
     3 'Normalizat'    .48651       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .55237       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=   631.7871     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      227 TOTAL
                     EDM=   .81E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .27756E-09    35.560        .42118E-03** at limit **
   2  alpha         .13331E-01    3.1801        .45145        .12591E-11
   3  Normalizat    .48647        .73161        .11864       -.16028E-04
   4  Prefactor     .55238        .28560        .40400E-01    .26962E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.77556e-10
  alpha      = 0.0133315
  Normalizat = 0.486474
  Prefactor  = 0.55238
 **********
 **   18 **HESSE 
 **********

 FCN=   631.7871     FROM HESSE     STATUS=OK            27 CALLS      254 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .27756E-09    35.558        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .13331E-01    3.1800        .51000       -1.6741    
   3  Normalizat    .48647        .75732        .52660E-03   -1.1305    
   4  Prefactor     .55238        .29721        .18451E-03   -1.0963    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1624e-10
Minuit parameter uncertainties:
  1  0.000189084
  2  0.257836
  3  0.77427
  4  0.298055
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/823017': 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) = 631.787081825
delta logL = 2.85581336357e-10

Extracting fit parameters...

4FGL J0258.1+2030
   Spectrum: LogParabola
272         norm:  2.776e-10  1.891e-04  0.000e+00  1.000e+06 ( 1.000e-13)
273        alpha:  1.333e-02  2.578e-01  0.000e+00  5.000e+00 ( 1.000e+00)
274         beta:  2.458e-01  0.000e+00 -5.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:  5.524e-01  2.981e-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:  4.865e-01  7.743e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/823017/cmap_HighResolution_690336001_690595201_4FGL_J0258.1+2030_daily_bin1740.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.01e-04', job_status='DONE', photon_flux_upper_limit='5.25e-07', time_completed='2022-11-20 00:21:02.924662', job_id='823017', GAL2='0.55', fit_tolerance='1e-08', EG2='0.49', EG='0.49', time_epoch_completed='1668932462.92', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.55', dlogl='2.86e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.96' WHERE bin_id='1740' AND source_name='4FGL J0258.1+2030' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Nov 20 00:21:02 PST 2022

------------------------------------------------------------
Sender: LSF System <scs@bullet0284>
Subject: Job 823016: <4FGL_J0258.1+2030_daily_bin1740> in cluster <slac> Done

Job <4FGL_J0258.1+2030_daily_bin1740> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Nov 20 00:05:24 2022
Job was executed on host(s) <bullet0284>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Nov 20 00:11:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Nov 20 00:11:33 2022
Terminated at Sun Nov 20 00:18:40 2022
Results reported at Sun Nov 20 00:18:40 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0258.1+2030_daily_bin1740 44.5422 20.5137 690336001 690595201 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 :                                   348.23 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             294.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   426 sec.
    Turnaround time :                            796 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 823017: <4FGL_J0258.1+2030_daily_bin1740> in cluster <slac> Done

Job <4FGL_J0258.1+2030_daily_bin1740> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Nov 20 00:05:24 2022
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Nov 20 00:11:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Nov 20 00:11:33 2022
Terminated at Sun Nov 20 00:21:03 2022
Results reported at Sun Nov 20 00:21:03 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0258.1+2030_daily_bin1740 44.5422 20.5137 690336001 690595201 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 :                                   346.62 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             256.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   570 sec.
    Turnaround time :                            939 sec.

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

