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


Performing analysis on: 4FGL_J0114.8+1326_daily_bin1211
RA = 18.7119, Dec = 13.4342
tmin = 553219201, tmax = 553478401
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='474304', job_status='RUN', time_executed='2021-08-13 19:21:47.130780', time_epoch_executed='1628907707.13' WHERE source_name='4FGL J0114.8+1326' and cadence='daily' and bin_id='1211'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/474304

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/474304/ft1_4FGL_J0114.8+1326_daily_bin1211.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/474304/ft2_4FGL_J0114.8+1326_daily_bin1211.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/474304/ft1_4FGL_J0114.8+1326_daily_bin1211.fits outfile=/scratch/kocevski/474304/ft1_filteredMKT_4FGL_J0114.8+1326_daily_bin1211.fits ra=18.7119 dec=13.4342 rad=12.0 tmin=553219201.0 tmax=553478401.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.17
user 2.55
sys 2.58

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/474304/ft2_4FGL_J0114.8+1326_daily_bin1211.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/474304/ft2_4FGL_J0114.8+1326_daily_bin1211.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/474304/ft1_filteredMKT_4FGL_J0114.8+1326_daily_bin1211.fits evtable="EVENTS" outfile="/scratch/kocevski/474304/ft1_filtered_4FGL_J0114.8+1326_daily_bin1211.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 2.99
user 0.33
sys 2.61

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/474304/ft1_filtered_4FGL_J0114.8+1326_daily_bin1211.fits" evtable="EVENTS" scfile=/scratch/kocevski/474304/ft2_4FGL_J0114.8+1326_daily_bin1211.fits sctable="SC_DATA" outfile=/scratch/kocevski/474304/ltcube_553219201_553478401_4FGL_J0114.8+1326_daily_bin1211.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/474304/ft2_4FGL_J0114.8+1326_daily_bin1211.fits
.....................!
real 16.98
user 13.86
sys 2.98

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/474304/ft1_filtered_4FGL_J0114.8+1326_daily_bin1211.fits evtable="EVENTS" scfile=/scratch/kocevski/474304/ft2_4FGL_J0114.8+1326_daily_bin1211.fits sctable="SC_DATA" expcube=/scratch/kocevski/474304/ltcube_553219201_553478401_4FGL_J0114.8+1326_daily_bin1211.fits outfile=/scratch/kocevski/474304/expmap_553219201_553478401_4FGL_J0114.8+1326_daily_bin1211.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/474304/ltcube_553219201_553478401_4FGL_J0114.8+1326_daily_bin1211.fits
.....................!
real 194.93
user 186.52
sys 7.83

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 J0114.8+1326 @ 18.7119 13.4342

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/474304/ft1_filtered_4FGL_J0114.8+1326_daily_bin1211.fits scfile=/scratch/kocevski/474304/ft2_4FGL_J0114.8+1326_daily_bin1211.fits outfile=/scratch/kocevski/474304/cmap_553219201_553478401_4FGL_J0114.8+1326_daily_bin1211.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.7119 yref=13.4342 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 2.91
user 0.40
sys 2.46

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/474304/ft1_filtered_4FGL_J0114.8+1326_daily_bin1211.fits scfile=/scratch/kocevski/474304/ft2_4FGL_J0114.8+1326_daily_bin1211.fits outfile=/scratch/kocevski/474304/cmap_HighResolution_553219201_553478401_4FGL_J0114.8+1326_daily_bin1211.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.7119 yref=13.4342 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 2.98
user 0.39
sys 2.54

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/474304/ft1_filtered_4FGL_J0114.8+1326_daily_bin1211.fits evtable="EVENTS" scfile=/scratch/kocevski/474304/ft2_4FGL_J0114.8+1326_daily_bin1211.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/474304/Model_4FGL_J0114.8+1326_daily_bin1211.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/474304/ft1_filtered_4FGL_J0114.8+1326_daily_bin1211.fits.....................!
real 93.68
user 88.95
sys 4.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/474304/ft1_filtered_4FGL_J0114.8+1326_daily_bin1211.fits', '/scratch/kocevski/474304/ft2_4FGL_J0114.8+1326_daily_bin1211.fits', expMap='/scratch/kocevski/474304/expmap_553219201_553478401_4FGL_J0114.8+1326_daily_bin1211.fits', expCube='/scratch/kocevski/474304/ltcube_553219201_553478401_4FGL_J0114.8+1326_daily_bin1211.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/474304/Model_4FGL_J0114.8+1326_daily_bin1211.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0114.8+1326'

4FGL J0114.8+1326
   Spectrum: PowerLaw
263    Prefactor:  5.554e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  2.106e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  1.461e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/474304/ft1_filtered_4FGL_J0114.8+1326_daily_bin1211.fits
Spacecraft file(s): /scratch/kocevski/474304/ft2_4FGL_J0114.8+1326_daily_bin1211.fits
Exposure map: /scratch/kocevski/474304/expmap_553219201_553478401_4FGL_J0114.8+1326_daily_bin1211.fits
Exposure cube: /scratch/kocevski/474304/ltcube_553219201_553478401_4FGL_J0114.8+1326_daily_bin1211.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/474304/Model_4FGL_J0114.8+1326_daily_bin1211.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) = 8924.61851616

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    34.780       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.2680       1.0000         .10000E-03   10000.    
     4 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    11.181       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    26.678       1.0000         .10000E-03   10000.    
    10 'norm      '    .84656       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.3569       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .88489E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.322       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    19.028       1.0000         .10000E-03   10000.    
    17 'Prefactor '    21.250       1.0000         .10000E-03   10000.    
    18 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.9231       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .70788       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1459       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8924.611     FROM MIGRAD    STATUS=CONVERGED    438 CALLS     2196 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.2266       -.36842E-07** at limit **
   2  Prefactor     34.775        22.698       -.41744E-06   -.15828E-03
   3  Prefactor     6.2664        11.342        .49564E-05   -.50246E-05
   4  norm          .10000E-03    1.9810        .45470E-08** at limit **
   5  Prefactor     .10000E-03    1.8658       -.17456E-06** at limit **
   6  Prefactor     .10000E-03    13.571        .26350E-06** at limit **
   7  norm          11.179        12.856        .46028E-08   -.18344E-04
   8  Prefactor     .10000E-03    30.711       -.22393E-05** at limit **
   9  Prefactor     26.682        48.379       -.12440E-05    .14400E-04
  10  norm          .84601        1.8332        .95669E-06    .14985E-03
  11  Prefactor     .10000E-03    27.641        .25214E-05** at limit **
  12  norm          1.3568        .55393        .50655E-07    .13039E-03
  13  Prefactor     .10005E-03    4.3975        .23190E-05** at limit **
  14  Prefactor     13.322        6.4176        .91711E-07    .16643E-04
  15  Prefactor     .10000E-03    10.717       -.80442E-06** at limit **
  16  Prefactor     19.024        31.417       -.60351E-06   -.62666E-04
  17  Prefactor     21.228        36.347       -.38156E-05   -.31532E-03
  18  norm          .10000E-03    6.5952        .48446E-07** at limit **
  19  Prefactor     2.9226        4.3931        .12912E-06   -.28254E-03
  20  Normalizat    .70785        .15673       -.18762E-05   -.19861E-03
  21  Prefactor     1.1460        .11583        .60723E-06   -.44641E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 34.7755
  Prefactor  = 6.26639
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.1794
  Prefactor  = 0.000100004
  Prefactor  = 26.6824
  norm       = 0.846014
  Prefactor  = 0.000100004
  norm       = 1.35681
  Prefactor  = 0.000100048
  Prefactor  = 13.3215
  Prefactor  = 0.0001
  Prefactor  = 19.0242
  Prefactor  = 21.2278
  norm       = 0.0001
  Prefactor  = 2.92262
  Normalizat = 0.707847
  Prefactor  = 1.146
 **********
 **   18 **HESSE 
 **********

 FCN=   8924.611     FROM HESSE     STATUS=OK           315 CALLS     2511 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.2290        .13767E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     34.775        22.753        .67951E-04   -1.4528    
   3  Prefactor     6.2664        11.602        .80168E-03   -1.5207    
   4  norm          .10000E-03    1.9853        .12985E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    1.8796        .12612E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    13.966        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          11.179        12.862        .11981E-03   -1.5039    
   8  Prefactor     .10000E-03    31.239        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     26.682        47.315        .77561E-04   -1.4674    
  10  norm          .84601        1.7877        .16565E-03   -1.5524    
  11  Prefactor     .10000E-03    28.140        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.3568        .55034        .42755E-04   -1.5475    
  13  Prefactor     .10005E-03    12.439        .35539E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     13.322        6.4125        .10974E-03   -1.4978    
  15  Prefactor     .10000E-03    10.991        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     19.024        31.456        .91819E-04   -1.4835    
  17  Prefactor     21.228        37.776        .86888E-04   -1.4786    
  18  norm          .10000E-03    6.7291        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.9226        4.4121        .23651E-03   -1.5366    
  20  Normalizat    .70785        .17831        .31022E-03   -1.0358    
  21  Prefactor     1.1460        .13318        .18534E-03   -.88010    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.77632e-09
Minuit parameter uncertainties:
  1  2.99917e-06
  2  22.7583
  3  11.6058
  4  3.57301e-09
  5  1.45375e-05
  6  3.31244e-05
  7  12.8647
  8  0.000683243
  9  47.3814
  10  1.78783
  11  0.000630385
  12  0.550346
  13  0.0015397
  14  6.41288
  15  1.92492e-05
  16  31.4832
  17  37.819
  18  1.76558e-06
  19  4.41255
  20  0.178461
  21  0.133221
Done.

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

Extracting fit parameters...

4FGL J0114.8+1326
   Spectrum: PowerLaw
263    Prefactor:  1.000e-04  1.540e-03  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  2.106e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
265        Scale:  1.461e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  1.146e+00  1.332e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  7.078e-01  1.785e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 18.712 13.434
Photon Flux Upper Limit: 4.16e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.15e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/474304/likelihoodResults_553219201_553478401_4FGL_J0114.8+1326_daily_bin1211.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) = 8924.61154675
delta logL = -0.000379797656933

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8924.61116588
delta logL = 1.08055792225e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24351E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9771       1.0000          .0000       10.000    
     3 'Normalizat'    .70779       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1460       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+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=   8924.591     FROM MIGRAD    STATUS=CONVERGED    148 CALLS      318 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .98510        7.0963        .36285E-03    .28825E-04
   2  Index         1.4824        1.4294        .21985E-01    .89119E-05
   3  Normalizat    .70896        .17391        .31000E-03    .43934E-04
   4  Prefactor     1.1444        .13043        .18545E-03    .36505E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.985102
  Index      = 1.48241
  Normalizat = 0.708961
  Prefactor  = 1.14438
 **********
 **   18 **HESSE 
 **********

 FCN=   8924.591     FROM HESSE     STATUS=OK            25 CALLS      343 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .98510        7.1986        .14514E-04   -1.5509    
   2  Index         1.4824        1.4408        .87940E-03   -.78034    
   3  Normalizat    .70896        .17403        .12400E-04   -1.0354    
   4  Prefactor     1.1444        .13052        .37090E-04   -.88061    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80154e-10
Minuit parameter uncertainties:
  1  5.32655
  2  1.48347
  3  0.174168
  4  0.130561
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/474304': 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) = 8924.59137349
delta logL = 0.0197934684838

Extracting fit parameters...

4FGL J0114.8+1326
   Spectrum: PowerLaw
263    Prefactor:  9.851e-01  5.327e+00  1.000e-04  1.000e+04 ( 1.000e-13)
264        Index:  1.482e+00  1.483e+00  0.000e+00  1.000e+01 (-1.000e+00)
265        Scale:  1.461e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  1.144e+00  1.306e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  7.090e-01  1.742e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 18.712 13.434

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/474304/cmap_HighResolution_553219201_553478401_4FGL_J0114.8+1326_daily_bin1211.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.15e-03', job_status='DONE', photon_flux_upper_limit='4.16e-08', time_completed='2021-08-13 19:34:58.455239', job_id='474304', GAL2='1.14', fit_tolerance='1e-08', EG2='0.71', EG='0.71', time_epoch_completed='1628908498.46', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='1.98e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1211' AND source_name='4FGL J0114.8+1326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 19:34:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0146>
Subject: Job 474304: <4FGL_J0114.8+1326_daily_bin1211> in cluster <slac> Done

Job <4FGL_J0114.8+1326_daily_bin1211> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Aug 13 19:20:21 2021
Job was executed on host(s) <bullet0146>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 19:20:53 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 19:20:53 2021
Terminated at Fri Aug 13 19:34:59 2021
Results reported at Fri Aug 13 19:34:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0114.8+1326_daily_bin1211 18.7119 13.4342 553219201 553478401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0114.8+1326 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   824.22 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             316.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   846 sec.
    Turnaround time :                            878 sec.

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

