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


Performing analysis on: 4FGL_J0115.1+2622_daily_bin1670
RA = 18.7784, Dec = 26.3733
tmin = 672192001, tmax = 672451201
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='862202', job_status='RUN', time_executed='2022-04-24 00:13:52.051526', time_epoch_executed='1650784432.05' WHERE source_name='4FGL J0115.1+2622' and cadence='daily' and bin_id='1670'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/862202

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/862202/ft1_4FGL_J0115.1+2622_daily_bin1670.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/862202/ft2_4FGL_J0115.1+2622_daily_bin1670.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/862202/ft1_4FGL_J0115.1+2622_daily_bin1670.fits outfile=/scratch/kocevski/862202/ft1_filteredMKT_4FGL_J0115.1+2622_daily_bin1670.fits ra=18.7784 dec=26.3733 rad=12.0 tmin=672192001.0 tmax=672451201.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 5.10
user 4.82
sys 0.26

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

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

Number of photons that the gtmktime cut: 582

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/862202/ft1_filtered_4FGL_J0115.1+2622_daily_bin1670.fits" evtable="EVENTS" scfile=/scratch/kocevski/862202/ft2_4FGL_J0115.1+2622_daily_bin1670.fits sctable="SC_DATA" outfile=/scratch/kocevski/862202/ltcube_672192001_672451201_4FGL_J0115.1+2622_daily_bin1670.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/862202/ft2_4FGL_J0115.1+2622_daily_bin1670.fits
.....................!
real 13.06
user 12.65
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/862202/ft1_filtered_4FGL_J0115.1+2622_daily_bin1670.fits evtable="EVENTS" scfile=/scratch/kocevski/862202/ft2_4FGL_J0115.1+2622_daily_bin1670.fits sctable="SC_DATA" expcube=/scratch/kocevski/862202/ltcube_672192001_672451201_4FGL_J0115.1+2622_daily_bin1670.fits outfile=/scratch/kocevski/862202/expmap_672192001_672451201_4FGL_J0115.1+2622_daily_bin1670.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/862202/ltcube_672192001_672451201_4FGL_J0115.1+2622_daily_bin1670.fits
.....................!
real 193.90
user 188.06
sys 5.43

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/862202/ft1_filtered_4FGL_J0115.1+2622_daily_bin1670.fits scfile=/scratch/kocevski/862202/ft2_4FGL_J0115.1+2622_daily_bin1670.fits outfile=/scratch/kocevski/862202/cmap_672192001_672451201_4FGL_J0115.1+2622_daily_bin1670.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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/862202/ft1_filtered_4FGL_J0115.1+2622_daily_bin1670.fits scfile=/scratch/kocevski/862202/ft2_4FGL_J0115.1+2622_daily_bin1670.fits outfile=/scratch/kocevski/862202/cmap_HighResolution_672192001_672451201_4FGL_J0115.1+2622_daily_bin1670.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.57
user 0.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.231       1.0000         .10000E-03   10000.    
     2 'Prefactor '    16.821       1.0000         .10000E-03   10000.    
     3 'norm      '    2.5588       1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.968       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.4107       1.0000         .10000E-03   10000.    
     8 'norm      '    2.5152       1.0000         .10000E-03   10000.    
     9 'norm      '    .52688       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.4863       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10772E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10378E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.9959       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .87281       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    16.970       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .96249       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0232       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=   6448.498     FROM MIGRAD    STATUS=CONVERGED    477 CALLS     2376 TOTAL
                     EDM=   .79E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.226        56.636       -.78009E-08   -.71654E-05
   2  Prefactor     16.811        35.283        .79474E-09   -.12377E-04
   3  norm          2.5588        1.8220       -.35694E-07   -.20887E-04
   4  norm          .10000E-03    2.6734        .71059E-08** at limit **
   5  Prefactor     .10000E-03    16.972        .14266E-06** at limit **
   6  Prefactor     11.968        13.047        .15086E-05    .85460E-05
   7  Prefactor     4.4115        30.456        .21352E-06    .15786E-04
   8  norm          2.5154        .88021       -.88541E-08    .26472E-03
   9  norm          .52694        .83274       -.14056E-07   -.74707E-05
  10  Prefactor     6.4288        70.495        .13153E-05   -.39625E-05
  11  Prefactor     .10000E-03    5.2842       -.26047E-05** at limit **
  12  Prefactor     .10000E-03    2.6728       -.19730E-07** at limit **
  13  Prefactor     .10000E-03    15.487       -.93800E-06** at limit **
  14  Prefactor     8.9992        33.249        .25886E-06    .44830E-05
  15  Prefactor     .10000E-03    74.481       -.78822E-07** at limit **
  16  norm          .87281        .53947       -.10614E-08    .25195E-04
  17  Prefactor     .10000E-03    6.0017        .12165E-06** at limit **
  18  Prefactor     16.969        22.975        .51568E-07   -.25083E-05
  19  norm          .10000E-03    1.2942        .24694E-07** at limit **
  20  Prefactor     .10000E-03    163.87        .45253E-06** at limit **
  21  Normalizat    .96253        .19876        .38944E-07    .34692E-04
  22  Prefactor     1.0232        .12991       -.28994E-06    .91923E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.2257
  Prefactor  = 16.8113
  norm       = 2.55877
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.9682
  Prefactor  = 4.41152
  norm       = 2.51539
  norm       = 0.526936
  Prefactor  = 6.42884
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.99916
  Prefactor  = 0.0001
  norm       = 0.872814
  Prefactor  = 0.0001
  Prefactor  = 16.9694
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.962533
  Prefactor  = 1.02321
 **********
 **   18 **HESSE 
 **********

 FCN=   6448.498     FROM HESSE     STATUS=OK           344 CALLS     2720 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.226        56.649        .89048E-04   -1.4808    
   2  Prefactor     16.811        35.291        .97654E-04   -1.4888    
   3  norm          2.5588        1.8238        .88840E-04   -1.5388    
   4  norm          .10000E-03    2.6746        .12823E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    17.221        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     11.968        13.031        .57897E-03   -1.5016    
   7  Prefactor     4.4115        30.468        .19176E-03   -1.5288    
   8  norm          2.5154        .87986        .41641E-04   -1.5391    
   9  norm          .52694        .83197        .45520E-04   -1.5563    
  10  Prefactor     6.4288        70.064        .15758E-03   -1.5201    
  11  Prefactor     .10000E-03    5.3277        .35658E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.6973        .12816E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    15.717        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.9992        33.270        .13363E-03   -1.5108    
  15  Prefactor     .10000E-03    74.608        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .87281        .53877        .44878E-04   -1.5521    
  17  Prefactor     .10000E-03    6.0237        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     16.969        22.975        .97225E-04   -1.4884    
  19  norm          .10000E-03    1.2973        .89210E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    163.90        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .96253        .23283        .30148E-03   -.94296    
  22  Prefactor     1.0232        .15267        .19207E-03   -.91960    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64083e-11
Minuit parameter uncertainties:
  1  56.7999
  2  35.3346
  3  1.8238
  4  2.62967e-07
  5  7.49843e-06
  6  13.0339
  7  23.2036
  8  0.879863
  9  0.831989
  10  42.5098
  11  2.216e-06
  12  5.57338e-07
  13  5.35248e-06
  14  33.3385
  15  1.5033e-05
  16  0.538776
  17  2.38848e-06
  18  22.987
  19  2.35358e-07
  20  0.000399327
  21  0.233074
  22  0.152732DDone.

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

Extracting fit parameters...

4FGL J0115.1+2622
   Spectrum: PowerLaw
240    Prefactor:  6.429e+00  4.251e+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.023e+00  1.527e-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:  9.625e-01  2.331e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 18.778 26.373
Photon Flux Upper Limit: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.87e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/862202/likelihoodResults_672192001_672451201_4FGL_J0115.1+2622_daily_bin1670.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) = 6448.13879875
delta logL = 0.359461015284

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6448.00399588
delta logL = 0.494263882711

Fit tolerance = 1e-08

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

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

 FCN=   6448.004     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      242 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4009        31.636        .91717E-02    .79810E-03
   2  Index         3.6309        2.5641        .83631E-01    .21440E-03
   3  Normalizat    .90546        .52579E-01    .69992E-01    .23841E-04
   4  Prefactor     1.0417        .34161E-01    .40428E-01   -.32570E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.40086
  Index      = 3.63085
  Normalizat = 0.905463
  Prefactor  = 1.04169
 **********
 **   18 **HESSE 
 **********

 FCN=   6448.004     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      275 TOTAL
                     EDM=   .99E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4009        74.461        .96142E-04   -1.5471    
   2  Index         3.6309        6.7630        .48005E-02   -.27737    
   3  Normalizat    .90546        .20222        .30967E-03   -.96268    
   4  Prefactor     1.0417        .13097        .19044E-03   -.91352    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.8606e-07
Minuit parameter uncertainties:
  1  20.4525
  2  5.23307
  3  0.20239
  4  0.13101
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/862202': 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): 102
logL (Free Index) = 6448.00399458
delta logL = 0.494265188636

Extracting fit parameters...

4FGL J0115.1+2622
   Spectrum: PowerLaw
240    Prefactor:  1.401e+00  2.045e+01  1.000e-04  1.000e+04 ( 1.000e-14)
241        Index:  3.631e+00  5.233e+00  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.042e+00  1.310e-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:  9.055e-01  2.024e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.06
Ra Dec: 18.778 26.373
Photon Index (Free Index): 3.63 +/- 5.23
Photon Flux (Free Index): 5.94e-08 +/- 6.28e-08
Energy Flux (Free Index): 9.56e-06 +/- 1.40e-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/862202/cmap_HighResolution_672192001_672451201_4FGL_J0115.1+2622_daily_bin1670.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.87e-03', comment='SUCCESS', energy_flux2='9.56e-06', dlogl='4.94e-01', photon_flux2='5.94e-08', job_status='DONE', time_completed='2022-04-24 00:24:44.866637', photon_index_error2='5.23', photon_index2='3.63', ts='0.02', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.03e-07', energy_flux_error2='1.40e-05', EG='0.96', time_epoch_completed='1650785084.87', return_code='0', job_id='862202', GAL2='1.04', EG2='0.91', return_code2='102', photon_flux_error2='6.28e-08', ts2='1.06', photon_index='2.21' WHERE bin_id='1670' AND source_name='4FGL J0115.1+2622' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Apr 24 00:24:44 PDT 2022

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

Job <4FGL_J0115.1+2622_daily_bin1670> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Apr 24 00:08:23 2022
Job was executed on host(s) <bullet0169>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 00:11:48 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 00:11:48 2022
Terminated at Sun Apr 24 00:24:11 2022
Results reported at Sun Apr 24 00:24:11 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0115.1+2622_daily_bin1670 18.7784 26.3733 672192001 672451201 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 :                                   662.45 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             345.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   743 sec.
    Turnaround time :                            948 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 862202: <4FGL_J0115.1+2622_daily_bin1670> in cluster <slac> Done

Job <4FGL_J0115.1+2622_daily_bin1670> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Apr 24 00:08:20 2022
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 00:11:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 00:11:23 2022
Terminated at Sun Apr 24 00:24:45 2022
Results reported at Sun Apr 24 00:24:45 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0115.1+2622_daily_bin1670 18.7784 26.3733 672192001 672451201 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 :                                   655.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             300.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   802 sec.
    Turnaround time :                            985 sec.

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

