/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 7 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 = 7386
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0115.8+2519_daily_bin1439
RA = 18.9539, Dec = 25.3324
tmin = 612316801, tmax = 612576001
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='503048', job_status='RUN', time_executed='2021-08-13 20:54:19.401254', time_epoch_executed='1628913259.4' WHERE source_name='4FGL J0115.8+2519' and cadence='daily' and bin_id='1439'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/503048

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/503048/ft1_4FGL_J0115.8+2519_daily_bin1439.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/503048/ft2_4FGL_J0115.8+2519_daily_bin1439.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/503048/ft1_4FGL_J0115.8+2519_daily_bin1439.fits outfile=/scratch/kocevski/503048/ft1_filteredMKT_4FGL_J0115.8+2519_daily_bin1439.fits ra=18.9539 dec=25.3324 rad=12.0 tmin=612316801.0 tmax=612576001.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 4.63
user 3.06
sys 1.54

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/503048/ft2_4FGL_J0115.8+2519_daily_bin1439.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/503048/ft1_filteredMKT_4FGL_J0115.8+2519_daily_bin1439.fits evtable="EVENTS" outfile="/scratch/kocevski/503048/ft1_filtered_4FGL_J0115.8+2519_daily_bin1439.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.80
user 0.33
sys 1.44

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/503048/ft1_filtered_4FGL_J0115.8+2519_daily_bin1439.fits" evtable="EVENTS" scfile=/scratch/kocevski/503048/ft2_4FGL_J0115.8+2519_daily_bin1439.fits sctable="SC_DATA" outfile=/scratch/kocevski/503048/ltcube_612316801_612576001_4FGL_J0115.8+2519_daily_bin1439.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/503048/ft2_4FGL_J0115.8+2519_daily_bin1439.fits
.....................!
real 14.35
user 12.51
sys 1.80

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/503048/ft1_filtered_4FGL_J0115.8+2519_daily_bin1439.fits evtable="EVENTS" scfile=/scratch/kocevski/503048/ft2_4FGL_J0115.8+2519_daily_bin1439.fits sctable="SC_DATA" expcube=/scratch/kocevski/503048/ltcube_612316801_612576001_4FGL_J0115.8+2519_daily_bin1439.fits outfile=/scratch/kocevski/503048/expmap_612316801_612576001_4FGL_J0115.8+2519_daily_bin1439.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/503048/ltcube_612316801_612576001_4FGL_J0115.8+2519_daily_bin1439.fits
.....................!
real 194.30
user 187.78
sys 6.18

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/503048/ft1_filtered_4FGL_J0115.8+2519_daily_bin1439.fits scfile=/scratch/kocevski/503048/ft2_4FGL_J0115.8+2519_daily_bin1439.fits outfile=/scratch/kocevski/503048/cmap_612316801_612576001_4FGL_J0115.8+2519_daily_bin1439.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.81
user 0.37
sys 1.41

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/503048/ft1_filtered_4FGL_J0115.8+2519_daily_bin1439.fits scfile=/scratch/kocevski/503048/ft2_4FGL_J0115.8+2519_daily_bin1439.fits outfile=/scratch/kocevski/503048/cmap_HighResolution_612316801_612576001_4FGL_J0115.8+2519_daily_bin1439.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.78
user 0.38
sys 1.38

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/503048/ft1_filtered_4FGL_J0115.8+2519_daily_bin1439.fits', '/scratch/kocevski/503048/ft2_4FGL_J0115.8+2519_daily_bin1439.fits', expMap='/scratch/kocevski/503048/expmap_612316801_612576001_4FGL_J0115.8+2519_daily_bin1439.fits', expCube='/scratch/kocevski/503048/ltcube_612316801_612576001_4FGL_J0115.8+2519_daily_bin1439.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/503048/Model_4FGL_J0115.8+2519_daily_bin1439.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/503048/ft1_filtered_4FGL_J0115.8+2519_daily_bin1439.fits
Spacecraft file(s): /scratch/kocevski/503048/ft2_4FGL_J0115.8+2519_daily_bin1439.fits
Exposure map: /scratch/kocevski/503048/expmap_612316801_612576001_4FGL_J0115.8+2519_daily_bin1439.fits
Exposure cube: /scratch/kocevski/503048/ltcube_612316801_612576001_4FGL_J0115.8+2519_daily_bin1439.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/503048/Model_4FGL_J0115.8+2519_daily_bin1439.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) = 8690.46634131

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.596       1.0000         .10000E-03   10000.    
     2 'Prefactor '    24.179       1.0000         .10000E-03   10000.    
     3 'norm      '    1.8134       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.147       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .20333E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.2741       1.0000         .10000E-03   10000.    
     9 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    21.418       1.0000         .10000E-03   10000.    
    16 'Prefactor '    123.35       1.0000         .10000E-03   10000.    
    17 'norm      '    .10481E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.6612       1.0000         .10000E-03   10000.    
    19 'norm      '    4.9583       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .36765E-02   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.5226       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .80789       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=   8690.456     FROM MIGRAD    STATUS=CONVERGED    484 CALLS     2391 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.595        32.509        .37365E-06    .32010E-05
   2  Prefactor     24.176        22.879        .71932E-06    .62819E-04
   3  norm          1.8138        1.5848        .43706E-07    .14627E-05
   4  norm          .10000E-03    2.1930        .32567E-08** at limit **
   5  Prefactor     20.146        10.875        .68335E-07   -.50031E-04
   6  Prefactor     .10000E-03    36.731        .10476E-05** at limit **
   7  Prefactor     .10000E-03    11.628        .11291E-06** at limit **
   8  norm          1.2742        .60429        .48809E-07   -.81216E-04
   9  norm          .10000E-03    .37971        .38742E-07** at limit **
  10  Prefactor     .10000E-03    5.9760        .43277E-07** at limit **
  11  Prefactor     .10000E-03    8.9208        .33511E-07** at limit **
  12  Prefactor     .10000E-03    2.2576        .95952E-07** at limit **
  13  Prefactor     .10000E-03    5.0580        .23629E-06** at limit **
  14  Prefactor     .10000E-03    5.3528        .43318E-06** at limit **
  15  Prefactor     21.421        31.999       -.30452E-06   -.10909E-03
  16  Prefactor     123.42        98.343       -.13376E-05   -.28441E-03
  17  norm          .10000E-03    .74679        .12580E-05** at limit **
  18  Prefactor     4.6452        11.404       -.24478E-05   -.44273E-03
  19  norm          4.9570        8.0042       -.83927E-07   -.20390E-03
  20  Prefactor     .10000E-03    225.42       -.33694E-05** at limit **
  21  Normalizat    1.5228        .18360       -.47369E-06   -.85121E-03
  22  Prefactor     .80778        .11462       -.77515E-06   -.10509E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.5952
  Prefactor  = 24.1762
  norm       = 1.81381
  norm       = 0.0001
  Prefactor  = 20.1459
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 1.27424
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.4214
  Prefactor  = 123.425
  norm       = 0.000100002
  Prefactor  = 4.64518
  norm       = 4.95705
  Prefactor  = 0.000100002
  Normalizat = 1.52278
  Prefactor  = 0.807776
 **********
 **   18 **HESSE 
 **********

 FCN=   8690.456     FROM HESSE     STATUS=OK           336 CALLS     2727 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.595        32.517        .98313E-04   -1.4893    
   2  Prefactor     24.176        22.950        .81463E-04   -1.4724    
   3  norm          1.8138        1.5829        .10686E-03   -1.5439    
   4  norm          .10000E-03    2.1985        .13481E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     20.146        10.910        .89232E-04   -1.4810    
   6  Prefactor     .10000E-03    38.518        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    11.636        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.2742        .60063        .47991E-04   -1.5482    
   9  norm          .10000E-03    .38644        .56083E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.9889        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    8.9258        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.2980        .13679E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.1226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.4025        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     21.421        32.028        .86548E-04   -1.4782    
  16  Prefactor     123.42        100.18        .18120E-03   -1.3481    
  17  norm          .10000E-03    1.0700        .11453E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.6452        11.604        .18641E-03   -1.5277    
  19  norm          4.9570        7.9998        .18061E-03   -1.5263    
  20  Prefactor     .10000E-03    225.86        .19597E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.5228        .21600        .27033E-03   -.77140    
  22  Prefactor     .80778        .13455        .22466E-03   -.99442    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.57172e-09
Minuit parameter uncertainties:
  1  32.5516
  2  22.9579
  3  1.5829
  4  7.41673e-07
  5  10.9109
  6  0.000284922
  7  1.44937e-05
  8  0.600635
  9  1.36732e-06
  10  6.96737e-06
  11  3.76001e-06
  12  5.84844e-06
  13  2.06964e-05
  14  2.9114e-05
  15  32.0536
  16  100.313
  17  0.000102211
  18  11.6094
  19  8.00151
  20  0.00140133
  21  0.216132
  22  0.134602
Done.

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

Extracting fit parameters...

4FGL J0115.8+2519
   Spectrum: PowerLaw
252    Prefactor:  1.000e-04  5.848e-06  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:  8.078e-01  1.346e-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:  1.523e+00  2.161e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/503048/likelihoodResults_612316801_612576001_4FGL_J0115.8+2519_daily_bin1439.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) = 8690.45797892
delta logL = -0.00206923630685

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8690.45590978
delta logL = -1.03003912955e-07

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8690.456     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      230 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    71.024        .13775E-01** at limit **
   2  Index         1.6371        7.3613        .10547       -.41392E-07
   3  Normalizat    1.5228        .26575E-01    .27033E-03    .83975E-04
   4  Prefactor     .80778        .16810E-01    .22466E-03    .10951E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.63709
  Normalizat = 1.52278
  Prefactor  = 0.807777
 **********
 **   18 **HESSE 
 **********

 FCN=   8690.456     FROM HESSE     STATUS=OK            23 CALLS      253 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.4924        .28336E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6371        5.2209        .42188E-02   -.73769    
   3  Normalizat    1.5228        .21011        .54066E-04   -.77140    
   4  Prefactor     .80778        .13291        .89865E-05   -.99442    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0368e-11
Minuit parameter uncertainties:
  1  4.2439e-06
  2  145.186
  3  0.210231
  4  0.132963
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/503048': 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) = 8690.45590799
delta logL = 1.68595033756e-06

Extracting fit parameters...

4FGL J0115.8+2519
   Spectrum: PowerLaw
252    Prefactor:  1.000e-04  4.244e-06  1.000e-04  1.000e+04 ( 1.000e-13)
253        Index:  1.637e+00  1.452e+02  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:  8.078e-01  1.330e-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:  1.523e+00  2.102e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 18.954 25.332

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/503048/cmap_HighResolution_612316801_612576001_4FGL_J0115.8+2519_daily_bin1439.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.19e-03', job_status='DONE', photon_flux_upper_limit='4.29e-08', time_completed='2021-08-13 21:07:16.969575', job_id='503048', GAL2='0.81', fit_tolerance='1e-08', EG2='1.52', EG='1.52', time_epoch_completed='1628914036.97', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='1.69e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='1439' AND source_name='4FGL J0115.8+2519' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 21:07:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0119>
Subject: Job 503048: <4FGL_J0115.8+2519_daily_bin1439> in cluster <slac> Done

Job <4FGL_J0115.8+2519_daily_bin1439> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Aug 13 20:50:53 2021
Job was executed on host(s) <bullet0119>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 20:53:41 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:53:41 2021
Terminated at Fri Aug 13 21:07:18 2021
Results reported at Fri Aug 13 21:07:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0115.8+2519_daily_bin1439 18.9539 25.3324 612316801 612576001 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 :                                   796.53 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             355.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   816 sec.
    Turnaround time :                            985 sec.

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

