/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 126 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 = 7415
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0115.8+2519_daily_bin27
RA = 18.9539, Dec = 25.3324
tmin = 246326401, tmax = 246585601
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='496859', job_status='RUN', time_executed='2021-08-13 20:35:15.731365', time_epoch_executed='1628912115.73' WHERE source_name='4FGL J0115.8+2519' and cadence='daily' and bin_id='27'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/496859

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/496859/ft1_4FGL_J0115.8+2519_daily_bin27.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/496859/ft2_4FGL_J0115.8+2519_daily_bin27.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/496859/ft1_4FGL_J0115.8+2519_daily_bin27.fits outfile=/scratch/kocevski/496859/ft1_filteredMKT_4FGL_J0115.8+2519_daily_bin27.fits ra=18.9539 dec=25.3324 rad=12.0 tmin=246326401.0 tmax=246585601.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 1.99
user 1.27
sys 0.67

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/496859/ft2_4FGL_J0115.8+2519_daily_bin27.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/496859/ft2_4FGL_J0115.8+2519_daily_bin27.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/496859/ft1_filteredMKT_4FGL_J0115.8+2519_daily_bin27.fits evtable="EVENTS" outfile="/scratch/kocevski/496859/ft1_filtered_4FGL_J0115.8+2519_daily_bin27.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 1.03
user 0.32
sys 0.69

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/496859/ft1_filtered_4FGL_J0115.8+2519_daily_bin27.fits" evtable="EVENTS" scfile=/scratch/kocevski/496859/ft2_4FGL_J0115.8+2519_daily_bin27.fits sctable="SC_DATA" outfile=/scratch/kocevski/496859/ltcube_246326401_246585601_4FGL_J0115.8+2519_daily_bin27.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/496859/ft2_4FGL_J0115.8+2519_daily_bin27.fits
.....................!
real 13.27
user 12.29
sys 0.89

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/496859/ft1_filtered_4FGL_J0115.8+2519_daily_bin27.fits evtable="EVENTS" scfile=/scratch/kocevski/496859/ft2_4FGL_J0115.8+2519_daily_bin27.fits sctable="SC_DATA" expcube=/scratch/kocevski/496859/ltcube_246326401_246585601_4FGL_J0115.8+2519_daily_bin27.fits outfile=/scratch/kocevski/496859/expmap_246326401_246585601_4FGL_J0115.8+2519_daily_bin27.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/496859/ltcube_246326401_246585601_4FGL_J0115.8+2519_daily_bin27.fits
.....................!
real 191.04
user 185.10
sys 5.31

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

Setting source of interest to:
4FGL J0115.8+2519 @ 18.9539 25.3324

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/496859/ft1_filtered_4FGL_J0115.8+2519_daily_bin27.fits scfile=/scratch/kocevski/496859/ft2_4FGL_J0115.8+2519_daily_bin27.fits outfile=/scratch/kocevski/496859/cmap_246326401_246585601_4FGL_J0115.8+2519_daily_bin27.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.9539 yref=25.3324 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 1.02
user 0.37
sys 0.64

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/496859/ft1_filtered_4FGL_J0115.8+2519_daily_bin27.fits scfile=/scratch/kocevski/496859/ft2_4FGL_J0115.8+2519_daily_bin27.fits outfile=/scratch/kocevski/496859/cmap_HighResolution_246326401_246585601_4FGL_J0115.8+2519_daily_bin27.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.9539 yref=25.3324 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 1.06
user 0.38
sys 0.67

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/496859/ft1_filtered_4FGL_J0115.8+2519_daily_bin27.fits evtable="EVENTS" scfile=/scratch/kocevski/496859/ft2_4FGL_J0115.8+2519_daily_bin27.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/496859/Model_4FGL_J0115.8+2519_daily_bin27.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/496859/ft1_filtered_4FGL_J0115.8+2519_daily_bin27.fits.....................!
real 63.26
user 61.09
sys 1.87

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/496859/ft1_filtered_4FGL_J0115.8+2519_daily_bin27.fits', '/scratch/kocevski/496859/ft2_4FGL_J0115.8+2519_daily_bin27.fits', expMap='/scratch/kocevski/496859/expmap_246326401_246585601_4FGL_J0115.8+2519_daily_bin27.fits', expCube='/scratch/kocevski/496859/ltcube_246326401_246585601_4FGL_J0115.8+2519_daily_bin27.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/496859/Model_4FGL_J0115.8+2519_daily_bin27.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0115.8+2519'

4FGL J0115.8+2519
   Spectrum: PowerLaw
252    Prefactor:  2.767e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
253        Index:  1.918e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
254        Scale:  2.499e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/496859/ft1_filtered_4FGL_J0115.8+2519_daily_bin27.fits
Spacecraft file(s): /scratch/kocevski/496859/ft2_4FGL_J0115.8+2519_daily_bin27.fits
Exposure map: /scratch/kocevski/496859/expmap_246326401_246585601_4FGL_J0115.8+2519_daily_bin27.fits
Exposure cube: /scratch/kocevski/496859/ltcube_246326401_246585601_4FGL_J0115.8+2519_daily_bin27.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/496859/Model_4FGL_J0115.8+2519_daily_bin27.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) = 6192.22912541

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31078E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    63.348       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .47906E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    35.373       1.0000         .10000E-03   10000.    
     8 'norm      '    2.6843       1.0000         .10000E-03   10000.    
     9 'norm      '    2.1962       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.2077       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .69610       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10751E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.4580       1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.3959       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .81679       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.6901       1.0000         .10000E-03   10000.    
    19 'norm      '    .95488E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .21528E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .58630       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1411       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6192.224     FROM MIGRAD    STATUS=CONVERGED    473 CALLS     2372 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    56.294        .93584E-07** at limit **
   2  Prefactor     .10000E-03    10.176       -.71548E-08** at limit **
   3  norm          .10000E-03    1.1208        .27695E-07** at limit **
   4  norm          .10000E-03    2.9144       -.35067E-08** at limit **
   5  Prefactor     63.351        18.365        .20018E-06   -.53734E-04
   6  Prefactor     .10032E-03    11.208        .31009E-05** at limit **
   7  Prefactor     35.421        36.457        .15664E-06   -.16273E-04
   8  norm          2.6840        .90873       -.11650E-06   -.13536E-02
   9  norm          2.1950        1.5444        .18144E-06   -.59864E-03
  10  Prefactor     9.2103        11.377        .18449E-06   -.10252E-05
  11  Prefactor     .10000E-03    13.788        .11672E-06** at limit **
  12  Prefactor     .69494        3.4655        .34696E-05    .59967E-03
  13  Prefactor     .10000E-03    8.7584       -.99957E-07** at limit **
  14  Prefactor     6.4584        13.994        .28486E-06   -.67478E-04
  15  Prefactor     9.4074        34.902        .41510E-06   -.11689E-04
  16  Prefactor     .10000E-03    23.974        .12012E-07** at limit **
  17  norm          .81675        .50227       -.28628E-07   -.20414E-03
  18  Prefactor     5.6996        10.217       -.59441E-06   -.13355E-03
  19  norm          .10023E-03    4.9471       -.22577E-05** at limit **
  20  Prefactor     .10020E-03    1968.5       -.28229E-04** at limit **
  21  Normalizat    .58629        .21026       -.60362E-07   -.38472E-03
  22  Prefactor     1.1411        .13477       -.14849E-05   -.70672E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 63.3513
  Prefactor  = 0.000100324
  Prefactor  = 35.4211
  norm       = 2.68401
  norm       = 2.19496
  Prefactor  = 9.21027
  Prefactor  = 0.0001
  Prefactor  = 0.694945
  Prefactor  = 0.0001
  Prefactor  = 6.45843
  Prefactor  = 9.40741
  Prefactor  = 0.0001
  norm       = 0.816749
  Prefactor  = 5.69957
  norm       = 0.000100234
  Prefactor  = 0.000100203
  Normalizat = 0.586286
  Prefactor  = 1.14113
 **********
 **   18 **HESSE 
 **********

 FCN=   6192.224     FROM HESSE     STATUS=OK           346 CALLS     2718 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    56.499        .21375E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    10.202        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.1396        .81338E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.9158        .13119E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     63.351        18.365        .50418E-04   -1.4114    
   6  Prefactor     .10032E-03    63.434        .46044E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     35.421        36.554        .67381E-04   -1.4517    
   8  norm          2.6840        .91124        .39973E-04   -1.5380    
   9  norm          2.1950        1.5182        .76617E-04   -1.5412    
  10  Prefactor     9.2103        11.372        .13208E-03   -1.5101    
  11  Prefactor     .10000E-03    13.794        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .69494        3.5616        .29027E-03   -1.5541    
  13  Prefactor     .10000E-03    8.9355        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.4584        13.885        .15793E-03   -1.5200    
  15  Prefactor     9.4074        34.801        .13074E-03   -1.5094    
  16  Prefactor     .10000E-03    23.977        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .81675        .50933        .42307E-04   -1.5527    
  18  Prefactor     5.6996        10.172        .16839E-03   -1.5230    
  19  norm          .10023E-03    24.196        .30734E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10020E-03    1987.8        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .58629        .22963        .36040E-03   -1.0857    
  22  Prefactor     1.1411        .14891        .17978E-03   -.88163    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50491e-08
Minuit parameter uncertainties:
  1  8.76518e-05
  2  3.98623e-06
  3  1.18393e-06
  4  3.45037e-07
  5  18.3663
  6  0.00907869
  7  36.5775
  8  0.911248
  9  1.51825
  10  11.3752
  11  6.80362e-07
  12  3.14659
  13  5.42365e-06
  14  13.892
  15  34.8762
  16  9.81312e-06
  17  0.509328
  18  10.1752
  19  0.00476448
  20  0.0416889
  21  0.230007
  22  0.148961
Done.

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

Extracting fit parameters...

4FGL J0115.8+2519
   Spectrum: PowerLaw
252    Prefactor:  6.949e-01  3.147e+00  1.000e-04  1.000e+04 ( 1.000e-13)
253        Index:  1.918e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
254        Scale:  2.499e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
539    Prefactor:  1.141e+00  1.490e-01  0.000e+00  1.000e+01 ( 1.000e+00)
540        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
541        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
538   Normalization:  5.863e-01  2.300e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.06
Ra Dec: 18.954 25.332
Photon Flux Upper Limit: 6.06e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.51e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/496859/likelihoodResults_246326401_246585601_4FGL_J0115.8+2519_daily_bin27.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) = 6192.22158361
delta logL = 0.00201960275535

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6192.22111416
delta logL = 0.00248905156241

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .58718       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1963       1.0000          .0000       10.000    
     3 'Normalizat'    .58442       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1416       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6192.045     FROM MIGRAD    STATUS=CONVERGED    120 CALLS      287 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .61440E-02    .12154        .20955E-02    .76292E-02
   2  Index         4.5842        2.0935        .94727E-01    .11763E-03
   3  Normalizat    .53763        .29917E-01    .84703E-01    .78934E-04
   4  Prefactor     1.1609        .20386E-01    .36184E-01    .15143E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00614398
  Index      = 4.58423
  Normalizat = 0.537634
  Prefactor  = 1.16093
 **********
 **   18 **HESSE 
 **********

 FCN=   6192.045     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      318 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .61440E-02    .71322        .90859E-05   -1.5692    
   2  Index         4.5842        7.2906        .56505E-02   -.83250E-01
   3  Normalizat    .53763        .17311        .37519E-03   -1.1070    
   4  Prefactor     1.1609        .11439        .17836E-03   -.87542    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.11454e-09
Minuit parameter uncertainties:
  1  0.131313
  2  7.23599
  3  0.173288
  4  0.114414
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/496859': 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) = 6192.0449394
delta logL = 0.178663813344

Extracting fit parameters...

4FGL J0115.8+2519
   Spectrum: PowerLaw
252    Prefactor:  6.144e-03  1.313e-01  1.000e-04  1.000e+04 ( 1.000e-13)
253        Index:  4.584e+00  7.236e+00  0.000e+00  1.000e+01 (-1.000e+00)
254        Scale:  2.499e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
539    Prefactor:  1.161e+00  1.144e-01  0.000e+00  1.000e+01 ( 1.000e+00)
540        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
541        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
538   Normalization:  5.376e-01  1.733e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.06
Ra Dec: 18.954 25.332

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/496859/cmap_HighResolution_246326401_246585601_4FGL_J0115.8+2519_daily_bin27.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.51e-03', job_status='DONE', photon_flux_upper_limit='6.06e-08', time_completed='2021-08-13 20:45:49.755437', job_id='496859', GAL2='1.16', fit_tolerance='1e-08', EG2='0.54', EG='0.59', time_epoch_completed='1628912749.76', return_code2='102', ts='0.06', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='1.79e-01', ts2='0.46', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='27' AND source_name='4FGL J0115.8+2519' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 20:45:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0194>
Subject: Job 496859: <4FGL_J0115.8+2519_daily_bin27> in cluster <slac> Done

Job <4FGL_J0115.8+2519_daily_bin27> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Aug 13 20:31:02 2021
Job was executed on host(s) <bullet0194>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 20:32:52 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 20:32:52 2021
Terminated at Fri Aug 13 20:45:50 2021
Results reported at Fri Aug 13 20:45:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0115.8+2519_daily_bin27 18.9539 25.3324 246326401 246585601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0115.8+2519 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   639.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             309.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   778 sec.
    Turnaround time :                            888 sec.

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

