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


Performing analysis on: 4FGL_J0115.8+2519_daily_bin95
RA = 18.9539, Dec = 25.3324
tmin = 263952001, tmax = 264211201
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='497994', job_status='RUN', time_executed='2021-08-13 20:38:49.927913', time_epoch_executed='1628912329.93' WHERE source_name='4FGL J0115.8+2519' and cadence='daily' and bin_id='95'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/497994

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/497994/ft1_4FGL_J0115.8+2519_daily_bin95.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/497994/ft2_4FGL_J0115.8+2519_daily_bin95.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/497994/ft1_4FGL_J0115.8+2519_daily_bin95.fits outfile=/scratch/kocevski/497994/ft1_filteredMKT_4FGL_J0115.8+2519_daily_bin95.fits ra=18.9539 dec=25.3324 rad=12.0 tmin=263952001.0 tmax=264211201.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.04
user 1.54
sys 1.46

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/497994/ft1_filtered_4FGL_J0115.8+2519_daily_bin95.fits" evtable="EVENTS" scfile=/scratch/kocevski/497994/ft2_4FGL_J0115.8+2519_daily_bin95.fits sctable="SC_DATA" outfile=/scratch/kocevski/497994/ltcube_263952001_264211201_4FGL_J0115.8+2519_daily_bin95.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/497994/ft2_4FGL_J0115.8+2519_daily_bin95.fits
.....................!
real 16.21
user 14.38
sys 1.74

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/497994/ft1_filtered_4FGL_J0115.8+2519_daily_bin95.fits evtable="EVENTS" scfile=/scratch/kocevski/497994/ft2_4FGL_J0115.8+2519_daily_bin95.fits sctable="SC_DATA" expcube=/scratch/kocevski/497994/ltcube_263952001_264211201_4FGL_J0115.8+2519_daily_bin95.fits outfile=/scratch/kocevski/497994/expmap_263952001_264211201_4FGL_J0115.8+2519_daily_bin95.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/497994/ltcube_263952001_264211201_4FGL_J0115.8+2519_daily_bin95.fits
.....................!
real 196.41
user 188.80
sys 6.91

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/497994/ft1_filtered_4FGL_J0115.8+2519_daily_bin95.fits scfile=/scratch/kocevski/497994/ft2_4FGL_J0115.8+2519_daily_bin95.fits outfile=/scratch/kocevski/497994/cmap_263952001_264211201_4FGL_J0115.8+2519_daily_bin95.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.79
user 0.38
sys 1.40

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/497994/ft1_filtered_4FGL_J0115.8+2519_daily_bin95.fits scfile=/scratch/kocevski/497994/ft2_4FGL_J0115.8+2519_daily_bin95.fits outfile=/scratch/kocevski/497994/cmap_HighResolution_263952001_264211201_4FGL_J0115.8+2519_daily_bin95.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.84
user 0.39
sys 1.38

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    5.4950       1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.198       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.1175       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.4839       1.0000         .10000E-03   10000.    
     9 'norm      '    9.2826       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    53.834       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .18269E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    21.434       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .46925       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    10.389       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .68325       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1041       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=   8598.085     FROM MIGRAD    STATUS=CONVERGED    483 CALLS     2389 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.021        .12684E-05** at limit **
   2  Prefactor     .10000E-03    30.161       -.29697E-05** at limit **
   3  norm          .10000E-03    .80671        .28398E-07** at limit **
   4  norm          5.4950        5.2708       -.15153E-06    .20002E-05
   5  Prefactor     14.198        12.847        .11242E-05    .16670E-03
   6  Prefactor     7.1166        10.093        .90739E-07    .22575E-04
   7  Prefactor     .10000E-03    11.038        .10970E-05** at limit **
   8  norm          1.4839        .59435        .54832E-07    .15877E-02
   9  norm          9.2826        1.8576        .46023E-08    .31307E-03
  10  Prefactor     .10000E-03    10.354       -.16965E-05** at limit **
  11  Prefactor     53.795        38.526        .11647E-05    .37674E-03
  12  Prefactor     .10002E-03    4.5887       -.24095E-05** at limit **
  13  Prefactor     .10000E-03    1.9673       -.42763E-07** at limit **
  14  Prefactor     21.428        12.346        .56970E-06    .45024E-03
  15  Prefactor     .10000E-03    12.992       -.16357E-05** at limit **
  16  Prefactor     .10000E-03    136.55       -.24986E-06** at limit **
  17  norm          .46911        .43110        .84147E-08    .51473E-04
  18  Prefactor     .10000E-03    10.852        .14920E-05** at limit **
  19  norm          10.388        6.3746       -.12877E-06   -.87729E-04
  20  Prefactor     .10000E-03    36.976        .27601E-05** at limit **
  21  Normalizat    .68335        .18220       -.35887E-06    .27687E-03
  22  Prefactor     1.1040        .11640        .30363E-06    .47800E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.0001
  norm       = 5.49505
  Prefactor  = 14.1982
  Prefactor  = 7.11659
  Prefactor  = 0.0001
  norm       = 1.48388
  norm       = 9.28261
  Prefactor  = 0.000100001
  Prefactor  = 53.7949
  Prefactor  = 0.000100019
  Prefactor  = 0.0001
  Prefactor  = 21.428
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.469111
  Prefactor  = 0.0001
  norm       = 10.3884
  Prefactor  = 0.000100001
  Normalizat = 0.683349
  Prefactor  = 1.10404
 **********
 **   18 **HESSE 
 **********

 FCN=   8598.085     FROM HESSE     STATUS=OK           342 CALLS     2731 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.085        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    30.903        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    .81266        .81308E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.4950        5.2745        .17140E-03   -1.5239    
   5  Prefactor     14.198        12.900        .53148E-03   -1.4954    
   6  Prefactor     7.1166        10.081        .15036E-03   -1.5174    
   7  Prefactor     .10000E-03    11.088        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.4839        .59339        .43248E-04   -1.5464    
   9  norm          9.2826        1.8569        .53846E-04   -1.5099    
  10  Prefactor     .10000E-03    10.564        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     53.795        39.436        .54667E-04   -1.4240    
  12  Prefactor     .10002E-03    8.4446        .30181E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.9799        .12698E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     21.428        12.386        .86515E-04   -1.4782    
  15  Prefactor     .10000E-03    13.134        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    137.37        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .46911        .41254        .56276E-03   -1.5571    
  18  Prefactor     .10000E-03    11.090        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          10.388        6.3779        .12431E-03   -1.5063    
  20  Prefactor     .10000E-03    37.285        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .68335        .20662        .34874E-03   -1.0455    
  22  Prefactor     1.1040        .13308        .18650E-03   -.89338    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.80451e-09
Minuit parameter uncertainties:
  1  0.000138783
  2  0.000442798
  3  2.81111e-07
  4  5.27497
  5  12.9021
  6  10.0833
  7  0.000103298
  8  0.593396
  9  1.85694
  10  0.000145368
  11  39.4553
  12  0.000790922
  13  1.739e-06
  14  12.3878
  15  0.000166172
  16  0.000157637
  17  0.412538
  18  0.000105755
  19  6.37831
  20  0.000454834
  21  0.206855
  22  0.133117
Done.

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

Extracting fit parameters...

4FGL J0115.8+2519
   Spectrum: PowerLaw
252    Prefactor:  1.000e-04  7.909e-04  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.104e+00  1.331e-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:  6.833e-01  2.069e-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: 5.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.21e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/497994/likelihoodResults_263952001_264211201_4FGL_J0115.8+2519_daily_bin95.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) = 8598.08509492
delta logL = -0.000563044601222

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8598.08453108
delta logL = 7.94416337158e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0062       1.0000          .0000       10.000    
     3 'Normalizat'    .68363       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1039       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=   8598.085     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      242 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10347E-03    .14660        .69029E-01** at limit **
   2  Index         2.1421        1.2129        .50000       -.10370E-03
   3  Normalizat    .68335        .12928E-02    .78763E-01   -.23185E-03
   4  Prefactor     1.1040        .86550E-03    .37442E-01   -.18864E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010347
  Index      = 2.14205
  Normalizat = 0.683345
  Prefactor  = 1.10404
 **********
 **   18 **HESSE 
 **********

 FCN=   8598.085     FROM HESSE     STATUS=NOT POSDEF    41 CALLS      283 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10347E-03    .39637        .40275E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1421        1.3910        .50000       -.60844    
   3  Normalizat    .68335        .14861E-02    .34874E-03   -1.0455    
   4  Prefactor     1.1040        .99728E-03    .18650E-03   -.89338    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.0492e-10
Minuit parameter uncertainties:
  1  0.00234553
  2  1.4191
  3  0.00148613
  4  0.00099728
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/497994': 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) = 8598.08452694
delta logL = 4.9319169193e-06

Extracting fit parameters...

4FGL J0115.8+2519
   Spectrum: PowerLaw
252    Prefactor:  1.035e-04  2.346e-03  1.000e-04  1.000e+04 ( 1.000e-13)
253        Index:  2.142e+00  1.419e+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.104e+00  9.973e-04  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:  6.833e-01  1.486e-03  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/497994/cmap_HighResolution_263952001_264211201_4FGL_J0115.8+2519_daily_bin95.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.21e-03', job_status='DONE', photon_flux_upper_limit='5.65e-08', time_completed='2021-08-13 20:51:58.545574', job_id='497994', GAL2='1.10', fit_tolerance='1e-08', EG2='0.68', EG='0.68', time_epoch_completed='1628913118.55', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='4.93e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.92' WHERE bin_id='95' AND source_name='4FGL J0115.8+2519' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 20:51:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0233>
Subject: Job 497994: <4FGL_J0115.8+2519_daily_bin95> in cluster <slac> Done

Job <4FGL_J0115.8+2519_daily_bin95> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Fri Aug 13 20:35:25 2021
Job was executed on host(s) <bullet0233>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 20:35:44 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:35:44 2021
Terminated at Fri Aug 13 20:51:59 2021
Results reported at Fri Aug 13 20:51:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0115.8+2519_daily_bin95 18.9539 25.3324 263952001 264211201 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 :                                   805.32 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             287.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   974 sec.
    Turnaround time :                            994 sec.

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

