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


Performing analysis on: 4FGL_J0115.1+2622_daily_bin1673
RA = 18.7784, Dec = 26.3733
tmin = 672969601, tmax = 673228801
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='350908', job_status='RUN', time_executed='2022-05-03 00:09:54.820227', time_epoch_executed='1651561794.82' WHERE source_name='4FGL J0115.1+2622' and cadence='daily' and bin_id='1673'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/350908

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/350908/ft1_4FGL_J0115.1+2622_daily_bin1673.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/350908/ft2_4FGL_J0115.1+2622_daily_bin1673.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/350908/ft1_4FGL_J0115.1+2622_daily_bin1673.fits outfile=/scratch/kocevski/350908/ft1_filteredMKT_4FGL_J0115.1+2622_daily_bin1673.fits ra=18.7784 dec=26.3733 rad=12.0 tmin=672969601.0 tmax=673228801.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.97
user 2.75
sys 0.20

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

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

Number of photons that the gtmktime cut: 219

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/350908/ft1_filtered_4FGL_J0115.1+2622_daily_bin1673.fits" evtable="EVENTS" scfile=/scratch/kocevski/350908/ft2_4FGL_J0115.1+2622_daily_bin1673.fits sctable="SC_DATA" outfile=/scratch/kocevski/350908/ltcube_672969601_673228801_4FGL_J0115.1+2622_daily_bin1673.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/350908/ft2_4FGL_J0115.1+2622_daily_bin1673.fits
.....................!
real 15.79
user 15.35
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/350908/ft1_filtered_4FGL_J0115.1+2622_daily_bin1673.fits evtable="EVENTS" scfile=/scratch/kocevski/350908/ft2_4FGL_J0115.1+2622_daily_bin1673.fits sctable="SC_DATA" expcube=/scratch/kocevski/350908/ltcube_672969601_673228801_4FGL_J0115.1+2622_daily_bin1673.fits outfile=/scratch/kocevski/350908/expmap_672969601_673228801_4FGL_J0115.1+2622_daily_bin1673.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/350908/ltcube_672969601_673228801_4FGL_J0115.1+2622_daily_bin1673.fits
.....................!
real 192.59
user 186.98
sys 5.23

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/350908/ft1_filtered_4FGL_J0115.1+2622_daily_bin1673.fits scfile=/scratch/kocevski/350908/ft2_4FGL_J0115.1+2622_daily_bin1673.fits outfile=/scratch/kocevski/350908/cmap_672969601_673228801_4FGL_J0115.1+2622_daily_bin1673.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.57
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/350908/ft1_filtered_4FGL_J0115.1+2622_daily_bin1673.fits scfile=/scratch/kocevski/350908/ft2_4FGL_J0115.1+2622_daily_bin1673.fits outfile=/scratch/kocevski/350908/cmap_HighResolution_672969601_673228801_4FGL_J0115.1+2622_daily_bin1673.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.56
user 0.41
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/350908/ft1_filtered_4FGL_J0115.1+2622_daily_bin1673.fits', '/scratch/kocevski/350908/ft2_4FGL_J0115.1+2622_daily_bin1673.fits', expMap='/scratch/kocevski/350908/expmap_672969601_673228801_4FGL_J0115.1+2622_daily_bin1673.fits', expCube='/scratch/kocevski/350908/ltcube_672969601_673228801_4FGL_J0115.1+2622_daily_bin1673.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/350908/Model_4FGL_J0115.1+2622_daily_bin1673.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/350908/ft1_filtered_4FGL_J0115.1+2622_daily_bin1673.fits
Spacecraft file(s): /scratch/kocevski/350908/ft2_4FGL_J0115.1+2622_daily_bin1673.fits
Exposure map: /scratch/kocevski/350908/expmap_672969601_673228801_4FGL_J0115.1+2622_daily_bin1673.fits
Exposure cube: /scratch/kocevski/350908/ltcube_672969601_673228801_4FGL_J0115.1+2622_daily_bin1673.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/350908/Model_4FGL_J0115.1+2622_daily_bin1673.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) = 2412.02118327

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    55.761       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.0104       1.0000         .10000E-03   10000.    
     4 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.6211       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    21.874       1.0000         .10000E-03   10000.    
     8 'norm      '    2.0935       1.0000         .10000E-03   10000.    
     9 'norm      '    3.4502       1.0000         .10000E-03   10000.    
    10 'Prefactor '    161.27       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    37.469       1.0000         .10000E-03   10000.    
    13 'Prefactor '    83.866       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10312E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .19024E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10474E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    13.718       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10171E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1975.6       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .87249       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .82588       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=   2411.259     FROM MIGRAD    STATUS=CONVERGED    474 CALLS     2761 TOTAL
                     EDM=   .66E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     55.766        59.603        .41100E-05   -.18237E-05
   2  Prefactor     .10000E-03    14.905       -.65748E-06** at limit **
   3  norm          4.0105        3.4067        .33870E-07   -.41220E-04
   4  norm          .10000E-03    12.181        .48103E-06** at limit **
   5  Prefactor     8.6225        12.418        .57778E-06   -.26507E-04
   6  Prefactor     .10000E-03    11.299        .43715E-09** at limit **
   7  Prefactor     21.876        53.333        .33788E-05   -.25032E-05
   8  norm          2.0935        1.4871       -.36947E-07   -.80953E-04
   9  norm          3.4500        3.2191        .27383E-06   -.47032E-04
  10  Prefactor     161.25        124.50       -.16063E-04    .11755E-05
  11  Prefactor     .10000E-03    6.1104        .66082E-07** at limit **
  12  Prefactor     37.477        24.515       -.38101E-06    .29270E-04
  13  Prefactor     83.877        49.825        .50206E-05   -.73126E-04
  14  Prefactor     .10000E-03    119.26        .13499E-03** at limit **
  15  Prefactor     .10000E-03    233.23       -.16410E-03** at limit **
  16  norm          .10000E-03    2.1059       -.24105E-06** at limit **
  17  Prefactor     13.734        139.75        .32687E-04   -.20154E-04
  18  Prefactor     .10000E-03    83.574       -.51263E-04** at limit **
  19  norm          .10000E-03    29.045        .97411E-06** at limit **
  20  Prefactor     1975.3        2428.1       -.71754E-04   -.31936E-07
  21  Normalizat    .87235        .34753       -.32714E-05    .36630E-04
  22  Prefactor     .82598        .21209        .17081E-05   -.50650E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 55.7657
  Prefactor  = 0.0001
  norm       = 4.01046
  norm       = 0.0001
  Prefactor  = 8.6225
  Prefactor  = 0.0001
  Prefactor  = 21.8762
  norm       = 2.09349
  norm       = 3.44996
  Prefactor  = 161.25
  Prefactor  = 0.0001
  Prefactor  = 37.4774
  Prefactor  = 83.877
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 13.7341
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1975.29
  Normalizat = 0.872351
  Prefactor  = 0.82598
 **********
 **   18 **HESSE 
 **********

 FCN=   2411.259     FROM HESSE     STATUS=OK           342 CALLS     3103 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     55.766        59.650        .53719E-04   -1.4213    
   2  Prefactor     .10000E-03    14.914        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.0105        3.4078        .79737E-04   -1.5307    
   4  norm          .10000E-03    12.291        .16733E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.6225        12.419        .13652E-03   -1.5121    
   6  Prefactor     .10000E-03    11.311        .16119E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     21.876        53.349        .85642E-04   -1.4772    
   8  norm          2.0935        1.4823        .46227E-04   -1.5419    
   9  norm          3.4500        3.2000        .75060E-04   -1.5336    
  10  Prefactor     161.25        124.42        .15878E-03   -1.3161    
  11  Prefactor     .10000E-03    6.1133        .11849E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     37.477        24.639        .65475E-04   -1.4483    
  13  Prefactor     83.877        49.711        .43864E-04   -1.3874    
  14  Prefactor     .10000E-03    118.97        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    233.72        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    4.0542        .13717E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     13.734        138.96        .10814E-03   -1.4967    
  18  Prefactor     .10000E-03    83.602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    29.054        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1975.3        2424.6        .50231E-04   -.64969    
  21  Normalizat    .87235        .40868        .31645E-03   -.97439    
  22  Prefactor     .82598        .24925        .20846E-03   -.98778    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.83293e-10
Minuit parameter uncertainties:
  1  59.7144
  2  7.52293e-07
  3  3.40797
  4  1.07289e-05
  5  12.4227
  6  1.01381e-05
  7  53.4656
  8  1.48236
  9  3.20017
  10  124.621
  11  3.31138e-05
  12  24.6454
  13  49.7356
  14  0.000668166
  15  0.00038377
  16  4.28816e-05
  17  87.6351
  18  5.12174e-06
  19  3.3829e-06
  20  2606.98
  21  0.410135
  22  0.249594
Done.

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

Extracting fit parameters...

4FGL J0115.1+2622
   Spectrum: PowerLaw
240    Prefactor:  1.613e+02  1.246e+02  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:  8.260e-01  2.496e-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:  8.724e-01  4.101e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.54
Ra Dec: 18.778 26.373
Photon Index (Fixed Index): 2.21 +/- 0.00
Photon Flux (Fixed Index): 1.58e-07 +/- 1.22e-07
Energy Flux (Fixed Index): 6.93e-05 +/- 5.36e-05

TS (Fixed Index): 2.54
Ra Dec: 18.778 26.373
Photon Flux Upper Limit: 3.91e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.98e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/350908/likelihoodResults_672969601_673228801_4FGL_J0115.1+2622_daily_bin1673.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) = 2410.50122209
delta logL = 0.758179395091

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2410.48616788
delta logL = 0.773233609753

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.788       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1185       1.0000          .0000       10.000    
     3 'Normalizat'    .74922       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88402       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=   2410.486     FROM MIGRAD    STATUS=FAILED        89 CALLS      313 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.724        6132.3        .75998E-04    .50114E-03
   2  Index         3.1190        6.1684        .21091E-02    .42313E-03
   3  Normalizat    .74866        .80810        .33753E-03   -.92928E-04
   4  Prefactor     .88472        .55297        .20186E-03   -.40855E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   2410.486     FROM SIMPLEX   STATUS=UNCHANGED    107 CALLS      420 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.724        6132.3        .41221E-03   -1.4654    
   2  Index         3.1190        6.1684        .40679E-03   -.38570    
   3  Normalizat    .74866        .80810        .15553E-03   -1.0200    
   4  Prefactor     .88472        .55297        .12914E-03   -.96677    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2410.486     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      448 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.725        65.859        .15200E-04    .54952E-03
   2  Index         3.1189        .91651        .84365E-04    .36846E-03
   3  Normalizat    .74866        .39107        .13501E-04   -.89678E-04
   4  Prefactor     .88471        .25057        .40372E-04   -.40119E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.7252
  Index      = 3.11894
  Normalizat = 0.748664
  Prefactor  = 0.884715
 **********
 **   18 **HESSE 
 **********

 FCN=   2410.486     FROM HESSE     STATUS=OK            23 CALLS      471 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.725        64.638        .30399E-05   -1.4654    
   2  Index         3.1189        .89967        .16873E-04   -.38570    
   3  Normalizat    .74866        .39065        .27002E-05   -1.0200    
   4  Prefactor     .88471        .25029        .80745E-05   -.96677    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.95984e-10
Minuit parameter uncertainties:
  1  64.8022
  2  0.905428
  3  0.392117
  4  0.250618
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/350908': 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) = 2410.48616058
delta logL = 0.773240907796

Extracting fit parameters...

4FGL J0115.1+2622
   Spectrum: PowerLaw
240    Prefactor:  2.773e+01  6.480e+01  1.000e-04  1.000e+04 ( 1.000e-14)
241        Index:  3.119e+00  9.054e-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:  8.847e-01  2.506e-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.487e-01  3.921e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.26
Ra Dec: 18.778 26.373
Photon Index (Free Index): 3.12 +/- 0.91
Photon Flux (Free Index): 2.83e-07 +/- 1.76e-07
Energy Flux (Free Index): 5.35e-05 +/- 3.28e-05

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/350908/cmap_HighResolution_672969601_673228801_4FGL_J0115.1+2622_daily_bin1673.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.98e-02', comment='SUCCESS', photon_flux='1.58e-07', energy_flux2='5.35e-05', photon_flux_error='1.22e-07', dlogl='7.73e-01', energy_flux='6.93e-05', photon_flux2='2.83e-07', job_status='DONE', time_completed='2022-05-03 00:17:32.254601', photon_index_error2='0.91', photon_index2='3.12', ts='2.54', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', photon_flux_upper_limit='3.91e-07', energy_flux_error2='3.28e-05', EG='0.87', time_epoch_completed='1651562252.25', return_code='0', job_id='350908', GAL2='0.88', EG2='0.75', return_code2='0', energy_flux_error='5.36e-05', photon_flux_error2='1.76e-07', ts2='4.26', photon_index='2.21' WHERE bin_id='1673' AND source_name='4FGL J0115.1+2622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue May  3 00:17:32 PDT 2022

------------------------------------------------------------
Sender: LSF System <lsf@bullet0154>
Subject: Job 350907: <4FGL_J0115.1+2622_daily_bin1673> in cluster <slac> Done

Job <4FGL_J0115.1+2622_daily_bin1673> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue May  3 00:05:26 2022
Job was executed on host(s) <bullet0154>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May  3 00:06:40 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May  3 00:06:40 2022
Terminated at Tue May  3 00:16:45 2022
Results reported at Tue May  3 00:16:45 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0115.1+2622_daily_bin1673 18.7784 26.3733 672969601 673228801 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 :                                   461.52 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             279.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   605 sec.
    Turnaround time :                            679 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0169>
Subject: Job 350908: <4FGL_J0115.1+2622_daily_bin1673> in cluster <slac> Done

Job <4FGL_J0115.1+2622_daily_bin1673> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Tue May  3 00:05:26 2022
Job was executed on host(s) <bullet0169>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May  3 00:06:40 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May  3 00:06:40 2022
Terminated at Tue May  3 00:17:33 2022
Results reported at Tue May  3 00:17:33 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0115.1+2622_daily_bin1673 18.7784 26.3733 672969601 673228801 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 :                                   459.63 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             242.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   652 sec.
    Turnaround time :                            727 sec.

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

