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


Performing analysis on: 4FGL_J0818.7+3153_daily_bin1202
RA = 124.695, Dec = 31.8862
tmin = 550886401, tmax = 551145601
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='412162', job_status='RUN', time_executed='2021-08-29 17:20:04.110491', time_epoch_executed='1630282804.11' WHERE source_name='4FGL J0818.7+3153' and cadence='daily' and bin_id='1202'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/412162

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/412162/ft1_4FGL_J0818.7+3153_daily_bin1202.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/412162/ft2_4FGL_J0818.7+3153_daily_bin1202.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/412162/ft1_4FGL_J0818.7+3153_daily_bin1202.fits outfile=/scratch/kocevski/412162/ft1_filteredMKT_4FGL_J0818.7+3153_daily_bin1202.fits ra=124.695 dec=31.8862 rad=12.0 tmin=550886401.0 tmax=551145601.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.05
user 2.76
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/412162/ft2_4FGL_J0818.7+3153_daily_bin1202.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/412162/ft2_4FGL_J0818.7+3153_daily_bin1202.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/412162/ft1_filteredMKT_4FGL_J0818.7+3153_daily_bin1202.fits evtable="EVENTS" outfile="/scratch/kocevski/412162/ft1_filtered_4FGL_J0818.7+3153_daily_bin1202.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.48
user 0.28
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/412162/ft1_filtered_4FGL_J0818.7+3153_daily_bin1202.fits" evtable="EVENTS" scfile=/scratch/kocevski/412162/ft2_4FGL_J0818.7+3153_daily_bin1202.fits sctable="SC_DATA" outfile=/scratch/kocevski/412162/ltcube_550886401_551145601_4FGL_J0818.7+3153_daily_bin1202.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/412162/ft2_4FGL_J0818.7+3153_daily_bin1202.fits
.....................!
real 9.54
user 9.14
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/412162/ft1_filtered_4FGL_J0818.7+3153_daily_bin1202.fits evtable="EVENTS" scfile=/scratch/kocevski/412162/ft2_4FGL_J0818.7+3153_daily_bin1202.fits sctable="SC_DATA" expcube=/scratch/kocevski/412162/ltcube_550886401_551145601_4FGL_J0818.7+3153_daily_bin1202.fits outfile=/scratch/kocevski/412162/expmap_550886401_551145601_4FGL_J0818.7+3153_daily_bin1202.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/412162/ltcube_550886401_551145601_4FGL_J0818.7+3153_daily_bin1202.fits
.....................!
real 151.20
user 146.83
sys 3.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 183 point sources and 0 extended sources

Setting source of interest to:
4FGL J0818.7+3153 @ 124.695 31.8862

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/412162/ft1_filtered_4FGL_J0818.7+3153_daily_bin1202.fits scfile=/scratch/kocevski/412162/ft2_4FGL_J0818.7+3153_daily_bin1202.fits outfile=/scratch/kocevski/412162/cmap_550886401_551145601_4FGL_J0818.7+3153_daily_bin1202.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=124.695 yref=31.8862 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.46
user 0.31
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/412162/ft1_filtered_4FGL_J0818.7+3153_daily_bin1202.fits scfile=/scratch/kocevski/412162/ft2_4FGL_J0818.7+3153_daily_bin1202.fits outfile=/scratch/kocevski/412162/cmap_HighResolution_550886401_551145601_4FGL_J0818.7+3153_daily_bin1202.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=124.695 yref=31.8862 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.47
user 0.31
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/412162/ft1_filtered_4FGL_J0818.7+3153_daily_bin1202.fits evtable="EVENTS" scfile=/scratch/kocevski/412162/ft2_4FGL_J0818.7+3153_daily_bin1202.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/412162/Model_4FGL_J0818.7+3153_daily_bin1202.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/412162/ft1_filtered_4FGL_J0818.7+3153_daily_bin1202.fits.....................!
real 43.90
user 42.34
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/412162/ft1_filtered_4FGL_J0818.7+3153_daily_bin1202.fits', '/scratch/kocevski/412162/ft2_4FGL_J0818.7+3153_daily_bin1202.fits', expMap='/scratch/kocevski/412162/expmap_550886401_551145601_4FGL_J0818.7+3153_daily_bin1202.fits', expCube='/scratch/kocevski/412162/ltcube_550886401_551145601_4FGL_J0818.7+3153_daily_bin1202.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/412162/Model_4FGL_J0818.7+3153_daily_bin1202.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0818.7+3153'

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.482e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
302        Index:  2.135e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  2.794e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/412162/ft1_filtered_4FGL_J0818.7+3153_daily_bin1202.fits
Spacecraft file(s): /scratch/kocevski/412162/ft2_4FGL_J0818.7+3153_daily_bin1202.fits
Exposure map: /scratch/kocevski/412162/expmap_550886401_551145601_4FGL_J0818.7+3153_daily_bin1202.fits
Exposure cube: /scratch/kocevski/412162/ltcube_550886401_551145601_4FGL_J0818.7+3153_daily_bin1202.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/412162/Model_4FGL_J0818.7+3153_daily_bin1202.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) = 5165.00783912

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.8945       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10357E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.8976       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    36.449       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    23.116       1.0000         .10000E-03   10000.    
    10 'norm      '    1.1434       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.099       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .35865       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.3299       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.3655       1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.252       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.1947       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3866       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .75287       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5860E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5165.004     FROM MIGRAD    STATUS=CONVERGED    487 CALLS     2371 TOTAL
                     EDM=   .61E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.002        .10049E-05** at limit **
   2  norm          3.8883        3.9287        .17267E-07   -.71611E-04
   3  Prefactor     .10000E-03    242.16        .38518E-05** at limit **
   4  Prefactor     3.8986        15.036        .29889E-06   -.18376E-04
   5  Prefactor     .10000E-03    14.330       -.83953E-06** at limit **
   6  norm          36.446        19.582        .13093E-06    .50255E-04
   7  norm          .10000E-03    42.251       -.23276E-07** at limit **
   8  Prefactor     .10000E-03    4.6604        .22053E-07** at limit **
   9  Prefactor     23.117        33.852       -.13684E-06   -.10439E-04
  10  norm          1.1433        .81681        .24412E-09    .24579E-03
  11  Prefactor     .10000E-03    19.331       -.89579E-07** at limit **
  12  Prefactor     .10000E-03    12.699        .19892E-06** at limit **
  13  Prefactor     .10000E-03    6.5137       -.11879E-06** at limit **
  14  Prefactor     16.106        19.556       -.10459E-05   -.15571E-03
  15  Prefactor     .10000E-03    1.2854       -.67929E-07** at limit **
  16  norm          .35799        .96116       -.28706E-06   -.72638E-03
  17  Prefactor     3.2610        154.30       -.16368E-04   -.10389E-03
  18  Prefactor     5.3674        7.9412        .43089E-05   -.44813E-03
  19  Prefactor     10.255        21.500       -.93248E-06   -.64176E-04
  20  Prefactor     3.1953        5.8143        .79655E-07   -.15822E-03
  21  Normalizat    1.3865        .22599        .10130E-05   -.27618E-04
  22  Prefactor     .75290        .15979       -.11606E-05    .73163E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 3.88827
  Prefactor  = 0.000100002
  Prefactor  = 3.89857
  Prefactor  = 0.0001
  norm       = 36.4465
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.1172
  norm       = 1.1433
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.1062
  Prefactor  = 0.0001
  norm       = 0.357993
  Prefactor  = 3.26099
  Prefactor  = 5.36742
  Prefactor  = 10.2546
  Prefactor  = 3.19533
  Normalizat = 1.38652
  Prefactor  = 0.752898
 **********
 **   18 **HESSE 
 **********

 FCN=   5165.004     FROM HESSE     STATUS=OK           348 CALLS     2719 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.087        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.8883        3.9055        .13257E-03   -1.5314    
   3  Prefactor     .10000E-03    247.13        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.8986        14.951        .20437E-03   -1.5313    
   5  Prefactor     .10000E-03    14.383        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          36.446        19.604        .66382E-04   -1.4500    
   7  norm          .10000E-03    42.267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.6997        .15148E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     23.117        33.889        .83311E-04   -1.4746    
  10  norm          1.1433        .82092        .53134E-04   -1.5494    
  11  Prefactor     .10000E-03    19.342        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    12.706        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    6.5194        .17912E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     16.106        19.094        .99821E-04   -1.4905    
  15  Prefactor     .10000E-03    1.2881        .79557E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .35799        .89630        .10327E-02   -1.5588    
  17  Prefactor     3.2610        174.04        .22182E-03   -1.5347    
  18  Prefactor     5.3674        8.1811        .86747E-03   -1.5245    
  19  Prefactor     10.255        21.716        .12514E-03   -1.5067    
  20  Prefactor     3.1953        5.8414        .22476E-03   -1.5350    
  21  Normalizat    1.3865        .26516        .25365E-03   -.81019    
  22  Prefactor     .75290        .18593        .24701E-03   -1.0149    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27229e-09
Minuit parameter uncertainties:
  1  0.000140381
  2  3.90574
  3  0.00136745
  4  14.9652
  5  0.000146358
  6  19.6071
  7  1.75074e-05
  8  5.10974e-06
  9  33.9168
  10  0.820928
  11  1.32143e-05
  12  2.22509e-05
  13  1.0521e-05
  14  19.1017
  15  2.57429e-06
  16  0.896338
  17  47.7931
  18  8.18278
  19  21.7327
  20  5.84244
  21  0.26542
  22  0.186084
Done.

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

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.000e-04  2.225e-05  1.000e-04  1.000e+04 ( 1.000e-14)
302        Index:  2.135e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
303        Scale:  2.794e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
583    Prefactor:  7.529e-01  1.861e-01  0.000e+00  1.000e+01 ( 1.000e+00)
584        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
585        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
582   Normalization:  1.387e+00  2.654e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 124.695 31.886
Photon Flux Upper Limit: 6.67e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.06e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/412162/likelihoodResults_550886401_551145601_4FGL_J0818.7+3153_daily_bin1202.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) = 5165.00437801
delta logL = -0.00037418822194

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5165.00400412
delta logL = -2.92372533295e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5165.004     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      205 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    287.29        .90712E-02** at limit **
   2  Index         2.0837        8.5494        .50000        .14893E-04
   3  Normalizat    1.3865        .26553E-01    .57360E-01    .19560E-04
   4  Prefactor     .75290        .19815E-01    .43100E-01    .28383E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.08374
  Normalizat = 1.38653
  Prefactor  = 0.752897
 **********
 **   18 **HESSE 
 **********

 FCN=   5165.004     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.449        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0837        6.0378        .50000       -.62273    
   3  Normalizat    1.3865        .24470        .25365E-03   -.81019    
   4  Prefactor     .75290        .18262        .24701E-03   -1.0149    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.70051e-10
Minuit parameter uncertainties:
  1  0.000283746
  2  4.08367
  3  0.244909
  4  0.182766
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/412162': 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) = 5165.00400363
delta logL = 1.96650034923e-07

Extracting fit parameters...

4FGL J0818.7+3153
   Spectrum: PowerLaw
301    Prefactor:  1.000e-04  2.837e-04  1.000e-04  1.000e+04 ( 1.000e-14)
302        Index:  2.084e+00  4.084e+00  0.000e+00  1.000e+01 (-1.000e+00)
303        Scale:  2.794e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
583    Prefactor:  7.529e-01  1.828e-01  0.000e+00  1.000e+01 ( 1.000e+00)
584        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
585        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
582   Normalization:  1.387e+00  2.449e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 124.695 31.886

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/412162/cmap_HighResolution_550886401_551145601_4FGL_J0818.7+3153_daily_bin1202.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.06e-03', job_status='DONE', photon_flux_upper_limit='6.67e-08', time_completed='2021-08-29 17:27:45.452695', job_id='412162', GAL2='0.75', fit_tolerance='1e-08', EG2='1.39', EG='1.39', time_epoch_completed='1630283265.45', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='1.97e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1202' AND source_name='4FGL J0818.7+3153' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 29 17:27:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 412162: <4FGL_J0818.7+3153_daily_bin1202> in cluster <slac> Done

Job <4FGL_J0818.7+3153_daily_bin1202> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Sun Aug 29 17:15:54 2021
Job was executed on host(s) <bullet0071>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 29 17:15:56 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 29 17:15:56 2021
Terminated at Sun Aug 29 17:27:45 2021
Results reported at Sun Aug 29 17:27:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0818.7+3153_daily_bin1202 124.695 31.8862 550886401 551145601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0818.7+3153 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   457.38 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             255.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   709 sec.
    Turnaround time :                            711 sec.

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

