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


Performing analysis on: 4FGL_J0115.1+2622_daily_bin1672
RA = 18.7784, Dec = 26.3733
tmin = 672710401, tmax = 672969601
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='153900', job_status='RUN', time_executed='2022-04-30 00:10:41.956906', time_epoch_executed='1651302641.96' WHERE source_name='4FGL J0115.1+2622' and cadence='daily' and bin_id='1672'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/153900

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/153900/ft1_4FGL_J0115.1+2622_daily_bin1672.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/153900/ft2_4FGL_J0115.1+2622_daily_bin1672.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/153900/ft1_4FGL_J0115.1+2622_daily_bin1672.fits outfile=/scratch/kocevski/153900/ft1_filteredMKT_4FGL_J0115.1+2622_daily_bin1672.fits ra=18.7784 dec=26.3733 rad=12.0 tmin=672710401.0 tmax=672969601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.10
user 2.89
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/153900/ft2_4FGL_J0115.1+2622_daily_bin1672.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/153900/ft1_filteredMKT_4FGL_J0115.1+2622_daily_bin1672.fits evtable="EVENTS" outfile="/scratch/kocevski/153900/ft1_filtered_4FGL_J0115.1+2622_daily_bin1672.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.33
sys 0.16

Number of photons that the gtmktime cut: 258

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/153900/ft1_filtered_4FGL_J0115.1+2622_daily_bin1672.fits" evtable="EVENTS" scfile=/scratch/kocevski/153900/ft2_4FGL_J0115.1+2622_daily_bin1672.fits sctable="SC_DATA" outfile=/scratch/kocevski/153900/ltcube_672710401_672969601_4FGL_J0115.1+2622_daily_bin1672.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/153900/ft2_4FGL_J0115.1+2622_daily_bin1672.fits
.....................!
real 12.33
user 11.99
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/153900/ft1_filtered_4FGL_J0115.1+2622_daily_bin1672.fits evtable="EVENTS" scfile=/scratch/kocevski/153900/ft2_4FGL_J0115.1+2622_daily_bin1672.fits sctable="SC_DATA" expcube=/scratch/kocevski/153900/ltcube_672710401_672969601_4FGL_J0115.1+2622_daily_bin1672.fits outfile=/scratch/kocevski/153900/expmap_672710401_672969601_4FGL_J0115.1+2622_daily_bin1672.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/153900/ltcube_672710401_672969601_4FGL_J0115.1+2622_daily_bin1672.fits
.....................!
real 192.45
user 187.63
sys 4.49

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/153900/ft1_filtered_4FGL_J0115.1+2622_daily_bin1672.fits scfile=/scratch/kocevski/153900/ft2_4FGL_J0115.1+2622_daily_bin1672.fits outfile=/scratch/kocevski/153900/cmap_672710401_672969601_4FGL_J0115.1+2622_daily_bin1672.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/153900/ft1_filtered_4FGL_J0115.1+2622_daily_bin1672.fits scfile=/scratch/kocevski/153900/ft2_4FGL_J0115.1+2622_daily_bin1672.fits outfile=/scratch/kocevski/153900/cmap_HighResolution_672710401_672969601_4FGL_J0115.1+2622_daily_bin1672.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.55
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.4541       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.1717       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .80378       1.0000         .10000E-03   10000.    
     9 'norm      '    .10222E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    81.785       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .57642E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10176E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    26.337       1.0000         .10000E-03   10000.    
    15 'Prefactor '    136.36       1.0000         .10000E-03   10000.    
    16 'norm      '    1.1459       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    41.269       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0483       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0532       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=   2946.532     FROM MIGRAD    STATUS=CONVERGED    512 CALLS     2873 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    38.339       -.28534E-05** at limit **
   2  Prefactor     .10000E-03    11.498       -.39097E-07** at limit **
   3  norm          6.4543        3.5956       -.30632E-06    .58139E-04
   4  norm          .10000E-03    6.8531       -.11299E-06** at limit **
   5  Prefactor     .10000E-03    8.4600       -.97865E-07** at limit **
   6  Prefactor     3.1824        23.396       -.53824E-05   -.95856E-04
   7  Prefactor     .10000E-03    20.052       -.13681E-05** at limit **
   8  norm          .80372        .74429        .17027E-06    .43602E-03
   9  norm          .10000E-03    1.9489       -.35886E-06** at limit **
  10  Prefactor     81.757        75.474       -.14086E-04   -.43239E-04
  11  Prefactor     .10000E-03    3.9995        .28516E-06** at limit **
  12  Prefactor     .10034E-03    13.518        .30866E-05** at limit **
  13  Prefactor     .10001E-03    26.930        .33255E-05** at limit **
  14  Prefactor     26.142        79.416       -.19734E-03    .74373E-05
  15  Prefactor     136.28        277.67       -.61740E-04    .41603E-04
  16  norm          1.1449        1.9568        .25261E-05    .98903E-03
  17  Prefactor     .10000E-03    19.571        .15886E-05** at limit **
  18  Prefactor     .10000E-03    92.146       -.18248E-04** at limit **
  19  norm          41.262        30.277        .12122E-05   -.56143E-04
  20  Prefactor     .10000E-03    363.19        .13615E-03** at limit **
  21  Normalizat    1.0475        .33011       -.18843E-05    .18013E-04
  22  Prefactor     1.0536        .21231        .95598E-05   -.36215E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.45432
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.18239
  Prefactor  = 0.0001
  norm       = 0.803721
  norm       = 0.0001
  Prefactor  = 81.7565
  Prefactor  = 0.0001
  Prefactor  = 0.000100336
  Prefactor  = 0.000100013
  Prefactor  = 26.1419
  Prefactor  = 136.285
  norm       = 1.14486
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 41.2615
  Prefactor  = 0.0001
  Normalizat = 1.04752
  Prefactor  = 1.05361
 **********
 **   18 **HESSE 
 **********

 FCN=   2946.532     FROM HESSE     STATUS=OK           342 CALLS     3215 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    38.360        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    11.499        .17979E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.4543        3.5930        .73955E-04   -1.5200    
   4  norm          .10000E-03    6.8803        .13879E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.4788        .15419E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.1824        23.038        .22756E-03   -1.5351    
   7  Prefactor     .10000E-03    20.055        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .80372        .76932        .43662E-03   -1.5529    
   9  norm          .10000E-03    3.3652        .14221E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     81.757        75.466        .22207E-03   -1.3897    
  11  Prefactor     .10000E-03    4.0021        .10598E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10034E-03    68.209        .37275E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10001E-03    27.070        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     26.142        79.608        .78060E-04   -1.4685    
  15  Prefactor     136.28        280.99        .17245E-03   -1.3368    
  16  norm          1.1449        1.8320        .86243E-03   -1.5494    
  17  Prefactor     .10000E-03    19.585        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    92.271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          41.262        30.247        .62399E-04   -1.4422    
  20  Prefactor     .10000E-03    363.22        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0475        .38498        .31404E-03   -.91455    
  22  Prefactor     1.0536        .25140        .20568E-03   -.90963    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.06474e-09
Minuit parameter uncertainties:
  1  7.20357e-05
  2  1.06636e-05
  3  3.59309
  4  3.0584e-05
  5  2.87745e-05
  6  17.1341
  7  3.81988e-05
  8  0.769327
  9  6.66503e-05
  10  75.5544
  11  5.64505e-05
  12  0.00959214
  13  0.00117894
  14  79.9341
  15  283.815
  16  1.83205
  17  0.000187848
  18  0.000158932
  19  30.2586
  20  9.19819e-05
  21  0.386013
  22  0.251677
Done.

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

Extracting fit parameters...

4FGL J0115.1+2622
   Spectrum: PowerLaw
240    Prefactor:  8.176e+01  7.555e+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.054e+00  2.517e-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:  1.048e+00  3.860e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.50
Ra Dec: 18.778 26.373
Photon Index (Fixed Index): 2.21 +/- 0.00
Photon Flux (Fixed Index): 7.99e-08 +/- 7.38e-08
Energy Flux (Fixed Index): 3.52e-05 +/- 3.25e-05

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

Saving results to:
/scratch/kocevski/153900/likelihoodResults_672710401_672969601_4FGL_J0115.1+2622_daily_bin1672.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) = 2946.52741053
delta logL = 0.00508775776552

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2946.52089722
delta logL = 0.0116010627316

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    70.519       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3354       1.0000          .0000       10.000    
     3 'Normalizat'    1.0369       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0565       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.

 FCN=   2946.521     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      265 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     70.532        109.51        .47803E-04   -.50324E-04
   2  Index         2.3365        .90851        .50995E-02   -.40089E-04
   3  Normalizat    1.0359        .38570        .31554E-03    .18073E-03
   4  Prefactor     1.0571        .24915        .20535E-03    .49419E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 70.532
  Index      = 2.33647
  Normalizat = 1.03591
  Prefactor  = 1.05711
 **********
 **   18 **HESSE 
 **********

 FCN=   2946.521     FROM HESSE     STATUS=OK            25 CALLS      290 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     70.532        98.566        .95606E-05   -1.4026    
   2  Index         2.3365        .81679        .20398E-03   -.56179    
   3  Normalizat    1.0359        .38383        .63108E-04   -.91837    
   4  Prefactor     1.0571        .24886        .41070E-04   -.90849    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.04778e-10
Minuit parameter uncertainties:
  1  98.7953
  2  0.82195
  3  0.384867
  4  0.249134
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/153900': 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) = 2946.52089198
delta logL = 0.0116063111773

Extracting fit parameters...

4FGL J0115.1+2622
   Spectrum: PowerLaw
240    Prefactor:  7.053e+01  9.880e+01  1.000e-04  1.000e+04 ( 1.000e-14)
241        Index:  2.336e+00  8.219e-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.057e+00  2.491e-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:  1.036e+00  3.849e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.51
Ra Dec: 18.778 26.373
Photon Index (Free Index): 2.34 +/- 0.82
Photon Flux (Free Index): 9.33e-08 +/- 1.20e-07
Energy Flux (Free Index): 3.34e-05 +/- 3.12e-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/153900/cmap_HighResolution_672710401_672969601_4FGL_J0115.1+2622_daily_bin1672.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.97e-02', comment='SUCCESS', photon_flux='7.99e-08', energy_flux2='3.34e-05', photon_flux_error='7.38e-08', dlogl='1.16e-02', energy_flux='3.52e-05', photon_flux2='9.33e-08', job_status='DONE', time_completed='2022-04-30 00:18:31.106393', photon_index_error2='0.82', photon_index2='2.34', ts='2.50', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='2.59e-07', energy_flux_error2='3.12e-05', EG='1.05', time_epoch_completed='1651303111.11', return_code='0', job_id='153900', GAL2='1.06', EG2='1.04', return_code2='0', energy_flux_error='3.25e-05', photon_flux_error2='1.20e-07', ts2='2.51', photon_index='2.21' WHERE bin_id='1672' AND source_name='4FGL J0115.1+2622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Apr 30 00:18:31 PDT 2022

-----------------------------------------------------------
Sender: LSF System <lsf@bullet0023>
Subject: Job 153881: <4FGL_J0115.1+2622_daily_bin1672> in cluster <slac> Done

Job <4FGL_J0115.1+2622_daily_bin1672> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Apr 30 00:05:43 2022
Job was executed on host(s) <bullet0023>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Apr 30 00:08:45 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Apr 30 00:08:45 2022
Terminated at Sat Apr 30 00:16:18 2022
Results reported at Sat Apr 30 00:16:18 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0115.1+2622_daily_bin1672 18.7784 26.3733 672710401 672969601 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 :                                   380.00 sec.
    Max Memory :                                 617 MB
    Average Memory :                             265.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   453 sec.
    Turnaround time :                            635 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0072>
Subject: Job 153900: <4FGL_J0115.1+2622_daily_bin1672> in cluster <slac> Done

Job <4FGL_J0115.1+2622_daily_bin1672> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Apr 30 00:05:44 2022
Job was executed on host(s) <bullet0072>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Apr 30 00:09:00 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Apr 30 00:09:00 2022
Terminated at Sat Apr 30 00:18:31 2022
Results reported at Sat Apr 30 00:18:31 2022

Your job looked like:

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

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

