aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  while getting realm
/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 115 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 = 15727
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0115.1+2622_weekly_bin273
RA = 18.7784, Dec = 26.3733
tmin = 404092801, tmax = 404697601
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='116323', job_status='RUN', time_executed='2021-07-03 18:43:09.260850', time_epoch_executed='1625362989.26' WHERE source_name='4FGL J0115.1+2622' and cadence='weekly' and bin_id='273'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/116323

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

Retrieving the FT1 file...

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

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

Retrieving 99 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/116323/ft1_4FGL_J0115.1+2622_weekly_bin273.fits


Retrieving the FT1 file...

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

Retrieving 99 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/116323/ft2_4FGL_J0115.1+2622_weekly_bin273.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/116323/ft1_4FGL_J0115.1+2622_weekly_bin273.fits outfile=/scratch/kocevski/116323/ft1_filteredMKT_4FGL_J0115.1+2622_weekly_bin273.fits ra=18.7784 dec=26.3733 rad=12.0 tmin=404092801.0 tmax=404697601.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 16.84
user 15.97
sys 0.55

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/116323/ft2_4FGL_J0115.1+2622_weekly_bin273.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/116323/ft2_4FGL_J0115.1+2622_weekly_bin273.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/116323/ft1_filteredMKT_4FGL_J0115.1+2622_weekly_bin273.fits evtable="EVENTS" outfile="/scratch/kocevski/116323/ft1_filtered_4FGL_J0115.1+2622_weekly_bin273.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.66
user 0.36
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/116323/ft1_filtered_4FGL_J0115.1+2622_weekly_bin273.fits" evtable="EVENTS" scfile=/scratch/kocevski/116323/ft2_4FGL_J0115.1+2622_weekly_bin273.fits sctable="SC_DATA" outfile=/scratch/kocevski/116323/ltcube_404092801_404697601_4FGL_J0115.1+2622_weekly_bin273.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/116323/ft2_4FGL_J0115.1+2622_weekly_bin273.fits
.....................!
real 24.08
user 23.36
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/116323/ft1_filtered_4FGL_J0115.1+2622_weekly_bin273.fits evtable="EVENTS" scfile=/scratch/kocevski/116323/ft2_4FGL_J0115.1+2622_weekly_bin273.fits sctable="SC_DATA" expcube=/scratch/kocevski/116323/ltcube_404092801_404697601_4FGL_J0115.1+2622_weekly_bin273.fits outfile=/scratch/kocevski/116323/expmap_404092801_404697601_4FGL_J0115.1+2622_weekly_bin273.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/116323/ltcube_404092801_404697601_4FGL_J0115.1+2622_weekly_bin273.fits
.....................!
real 191.04
user 185.46
sys 4.78

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

Setting source of interest to:
4FGL J0115.1+2622 @ 18.7784 26.3733

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/116323/ft1_filtered_4FGL_J0115.1+2622_weekly_bin273.fits scfile=/scratch/kocevski/116323/ft2_4FGL_J0115.1+2622_weekly_bin273.fits outfile=/scratch/kocevski/116323/cmap_404092801_404697601_4FGL_J0115.1+2622_weekly_bin273.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=18.7784 yref=26.3733 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.72
user 0.41
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/116323/ft1_filtered_4FGL_J0115.1+2622_weekly_bin273.fits scfile=/scratch/kocevski/116323/ft2_4FGL_J0115.1+2622_weekly_bin273.fits outfile=/scratch/kocevski/116323/cmap_HighResolution_404092801_404697601_4FGL_J0115.1+2622_weekly_bin273.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=18.7784 yref=26.3733 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.70
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/116323/ft1_filtered_4FGL_J0115.1+2622_weekly_bin273.fits evtable="EVENTS" scfile=/scratch/kocevski/116323/ft2_4FGL_J0115.1+2622_weekly_bin273.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/116323/Model_4FGL_J0115.1+2622_weekly_bin273.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/116323/ft1_filtered_4FGL_J0115.1+2622_weekly_bin273.fits.....................!
real 78.63
user 74.86
sys 1.42

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/116323/ft1_filtered_4FGL_J0115.1+2622_weekly_bin273.fits', '/scratch/kocevski/116323/ft2_4FGL_J0115.1+2622_weekly_bin273.fits', expMap='/scratch/kocevski/116323/expmap_404092801_404697601_4FGL_J0115.1+2622_weekly_bin273.fits', expCube='/scratch/kocevski/116323/ltcube_404092801_404697601_4FGL_J0115.1+2622_weekly_bin273.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/116323/Model_4FGL_J0115.1+2622_weekly_bin273.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0115.1+2622'

4FGL J0115.1+2622
   Spectrum: PowerLaw
240    Prefactor:  2.667e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
241        Index:  2.211e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
242        Scale:  2.453e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/116323/ft1_filtered_4FGL_J0115.1+2622_weekly_bin273.fits
Spacecraft file(s): /scratch/kocevski/116323/ft2_4FGL_J0115.1+2622_weekly_bin273.fits
Exposure map: /scratch/kocevski/116323/expmap_404092801_404697601_4FGL_J0115.1+2622_weekly_bin273.fits
Exposure cube: /scratch/kocevski/116323/ltcube_404092801_404697601_4FGL_J0115.1+2622_weekly_bin273.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/116323/Model_4FGL_J0115.1+2622_weekly_bin273.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) = 7895.34203259

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.8943       1.0000         .10000E-03   10000.    
     4 'norm      '    3.1535       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.976       1.0000         .10000E-03   10000.    
     8 'norm      '    .22749       1.0000         .10000E-03   10000.    
     9 'norm      '    .17639       1.0000         .10000E-03   10000.    
    10 'Prefactor '    17.870       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.035       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10315E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    130.07       1.0000         .10000E-03   10000.    
    16 'norm      '    1.0730       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.6033       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.2729       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .77165       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1883       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7895.333     FROM MIGRAD    STATUS=CONVERGED    505 CALLS     2413 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.262       -.40096E-05** at limit **
   2  Prefactor     .10000E-03    12.936       -.15828E-06** at limit **
   3  norm          1.8943        1.8405       -.83123E-08   -.13785E-03
   4  norm          3.1534        3.9970        .17894E-08    .27944E-06
   5  Prefactor     .10000E-03    2.6574        .68322E-08** at limit **
   6  Prefactor     .10000E-03    14.425        .28547E-05** at limit **
   7  Prefactor     12.980        33.230       -.15533E-05   -.26372E-04
   8  norm          .22747        .26353        .10406E-06   -.35339E-02
   9  norm          .17630        .70391       -.46992E-07   -.38944E-03
  10  Prefactor     17.873        30.206       -.24582E-05   -.48368E-04
  11  Prefactor     .10000E-03    3.4560        .73035E-07** at limit **
  12  Prefactor     10.037        7.0017        .57626E-09   -.44723E-04
  13  Prefactor     .10000E-03    6.2784        .38184E-06** at limit **
  14  Prefactor     .10000E-03    41.626       -.31102E-06** at limit **
  15  Prefactor     130.07        79.522       -.16438E-05   -.38570E-04
  16  norm          1.0730        .59624        .18939E-07   -.88291E-04
  17  Prefactor     4.6025        11.138        .15126E-05   -.12184E-04
  18  Prefactor     .10000E-03    16.269        .12836E-05** at limit **
  19  norm          1.2727        2.9399       -.77389E-08   -.21786E-03
  20  Prefactor     .10000E-03    304.24       -.12289E-05** at limit **
  21  Normalizat    .77156        .18424        .21054E-07   -.89649E-04
  22  Prefactor     1.1884        .12128        .32559E-07   -.12728E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.89426
  norm       = 3.15342
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.9797
  norm       = 0.227472
  norm       = 0.1763
  Prefactor  = 17.8733
  Prefactor  = 0.0001
  Prefactor  = 10.0371
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 130.065
  norm       = 1.07299
  Prefactor  = 4.60248
  Prefactor  = 0.0001
  norm       = 1.2727
  Prefactor  = 0.0001
  Normalizat = 0.77156
  Prefactor  = 1.18838
 **********
 **   18 **HESSE 
 **********

 FCN=   7895.333     FROM HESSE     STATUS=OK           346 CALLS     2759 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.273        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    12.956        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.8943        1.8300        .11523E-03   -1.5433    
   4  norm          3.1534        3.9919        .19523E-03   -1.5353    
   5  Prefactor     .10000E-03    2.6605        .14145E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    14.758        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     12.980        35.189        .11120E-03   -1.4987    
   8  norm          .22747        .54875        .20205E-03   -1.5613    
   9  norm          .17630        1.2950        .13844E-02   -1.5624    
  10  Prefactor     17.873        30.175        .94745E-04   -1.4862    
  11  Prefactor     .10000E-03    3.4945        .16107E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.037        6.9102        .12649E-03   -1.5074    
  13  Prefactor     .10000E-03    55.314        .41661E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    41.914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     130.07        79.037        .35304E-04   -1.3422    
  16  norm          1.0730        .58798        .48368E-04   -1.5501    
  17  Prefactor     4.6025        11.136        .18760E-03   -1.5279    
  18  Prefactor     .10000E-03    16.314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.2727        2.9129        .22677E-03   -1.5482    
  20  Prefactor     .10000E-03    305.75        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .77156        .20728        .32732E-03   -1.0113    
  22  Prefactor     1.1884        .13867        .18351E-03   -.86690    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.41644e-08
Minuit parameter uncertainties:
  1  8.04368e-05
  2  3.02197e-06
  3  1.83009
  4  3.99225
  5  4.26958e-07
  6  2.06614e-05
  7  35.245
  8  0.548763
  9  0.955384
  10  30.2006
  11  1.91448e-05
  12  6.91078
  13  0.000145909
  14  2.40664e-05
  15  79.1012
  16  0.58798
  17  11.1412
  18  2.48438e-05
  19  2.91322
  20  0.000182296
  21  0.207494
  22  0.138711
Done.

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

Extracting fit parameters...

4FGL J0115.1+2622
   Spectrum: PowerLaw
240    Prefactor:  1.787e+01  3.020e+01  1.000e-04  1.000e+04 ( 1.000e-14)
241        Index:  2.211e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
242        Scale:  2.453e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.188e+00  1.387e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  7.716e-01  2.075e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.46
Ra Dec: 18.778 26.373
Photon Flux Upper Limit: 8.80e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.71e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/116323/likelihoodResults_404092801_404697601_4FGL_J0115.1+2622_weekly_bin273.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) = 7895.22894887
delta logL = 0.104474089354

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7895.22696788
delta logL = 0.106455085374

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.6949       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6482       1.0000          .0000       10.000    
     3 'Normalizat'    .76059       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1917       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7895.227     FROM MIGRAD    STATUS=FAILED        96 CALLS      319 TOTAL
                     EDM=   .87E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.6830        41.456        .12870E-03   -.13930E-03
   2  Index         2.6500        1.6288        .76892E-02    .73990E-03
   3  Normalizat    .76022        .20431        .32953E-03    .56303E-04
   4  Prefactor     1.1918        .13862        .18326E-03   -.16792E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7895.227     FROM SIMPLEX   STATUS=UNCHANGED     74 CALLS      393 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.6830        41.456        .45832E-03   -1.5086    
   2  Index         2.6500        1.6288        .11643E-02   -.48928    
   3  Normalizat    .76022        .20431        .37569E-03   -1.0156    
   4  Prefactor     1.1918        .13862        .16315E-03   -.86584    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7895.227     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      422 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.6832        25.410        .51480E-05   -.21642E-04
   2  Index         2.6500        1.0471        .15378E-02   -.21453E-04
   3  Normalizat    .76022        .20273        .13181E-04    .29497E-04
   4  Prefactor     1.1918        .13777        .36653E-04   -.69913E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.68324
  Index      = 2.65004
  Normalizat = 0.76022
  Prefactor  = 1.19182
 **********
 **   18 **HESSE 
 **********

 FCN=   7895.227     FROM HESSE     STATUS=OK            25 CALLS      447 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.6832        23.875        .10296E-05   -1.5086    
   2  Index         2.6500        .98553        .61514E-04   -.48928    
   3  Normalizat    .76022        .20256        .26363E-05   -1.0156    
   4  Prefactor     1.1918        .13768        .73305E-05   -.86584    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.40968e-11
Minuit parameter uncertainties:
  1  23.8989
  2  0.993909
  3  0.202764
  4  0.137723
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/116323': 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) = 7895.22696283
delta logL = 0.106460129527

Extracting fit parameters...

4FGL J0115.1+2622
   Spectrum: PowerLaw
240    Prefactor:  9.683e+00  2.390e+01  1.000e-04  1.000e+04 ( 1.000e-14)
241        Index:  2.650e+00  9.939e-01  0.000e+00  1.000e+01 (-1.000e+00)
242        Scale:  2.453e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.192e+00  1.377e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  7.602e-01  2.028e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.46
Ra Dec: 18.778 26.373

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/116323/cmap_HighResolution_404092801_404697601_4FGL_J0115.1+2622_weekly_bin273.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.71e-03', job_status='DONE', photon_flux_upper_limit='8.80e-08', time_completed='2021-07-03 18:57:01.690423', job_id='116323', GAL2='1.19', fit_tolerance='1e-08', EG2='0.76', EG='0.77', time_epoch_completed='1625363821.69', return_code2='0', ts='0.46', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='1.06e-01', ts2='0.67', photon_index_error='0.00', photon_index='2.21' WHERE bin_id='273' AND source_name='4FGL J0115.1+2622' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Sat Jul  3 18:57:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0150>
Subject: Job 116323: <4FGL_J0115.1+2622_weekly_bin273> in cluster <slac> Done

Job <4FGL_J0115.1+2622_weekly_bin273> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Sat Jul  3 18:40:41 2021
Job was executed on host(s) <bullet0150>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  3 18:40:43 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul  3 18:40:43 2021
Terminated at Sat Jul  3 18:57:06 2021
Results reported at Sat Jul  3 18:57:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0115.1+2622_weekly_bin273 18.7784 26.3733 404092801 404697601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0115.1+2622 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   816.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             293.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   982 sec.
    Turnaround time :                            985 sec.

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

