/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 50 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 = 7404
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0836.2+2141_daily_bin1602
RA = 129.051, Dec = 21.6971
tmin = 654566401, tmax = 654825601
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='855930', job_status='RUN', time_executed='2021-10-02 00:03:04.580884', time_epoch_executed='1633158184.58' WHERE source_name='4FGL J0836.2+2141' and cadence='daily' and bin_id='1602'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/855930

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/855930/ft1_4FGL_J0836.2+2141_daily_bin1602.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/855930/ft2_4FGL_J0836.2+2141_daily_bin1602.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/855930/ft1_4FGL_J0836.2+2141_daily_bin1602.fits outfile=/scratch/kocevski/855930/ft1_filteredMKT_4FGL_J0836.2+2141_daily_bin1602.fits ra=129.051 dec=21.6971 rad=12.0 tmin=654566401.0 tmax=654825601.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 6.65
user 4.79
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/855930/ft2_4FGL_J0836.2+2141_daily_bin1602.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/855930/ft2_4FGL_J0836.2+2141_daily_bin1602.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/855930/ft1_filteredMKT_4FGL_J0836.2+2141_daily_bin1602.fits evtable="EVENTS" outfile="/scratch/kocevski/855930/ft1_filtered_4FGL_J0836.2+2141_daily_bin1602.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.35
user 0.35
sys 0.19

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/855930/ft1_filtered_4FGL_J0836.2+2141_daily_bin1602.fits" evtable="EVENTS" scfile=/scratch/kocevski/855930/ft2_4FGL_J0836.2+2141_daily_bin1602.fits sctable="SC_DATA" outfile=/scratch/kocevski/855930/ltcube_654566401_654825601_4FGL_J0836.2+2141_daily_bin1602.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/855930/ft2_4FGL_J0836.2+2141_daily_bin1602.fits
.....................!
real 18.82
user 17.70
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/855930/ft1_filtered_4FGL_J0836.2+2141_daily_bin1602.fits evtable="EVENTS" scfile=/scratch/kocevski/855930/ft2_4FGL_J0836.2+2141_daily_bin1602.fits sctable="SC_DATA" expcube=/scratch/kocevski/855930/ltcube_654566401_654825601_4FGL_J0836.2+2141_daily_bin1602.fits outfile=/scratch/kocevski/855930/expmap_654566401_654825601_4FGL_J0836.2+2141_daily_bin1602.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/855930/ltcube_654566401_654825601_4FGL_J0836.2+2141_daily_bin1602.fits
.....................!
real 194.74
user 186.53
sys 4.34

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

Setting source of interest to:
4FGL J0836.2+2141 @ 129.051 21.6971

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/855930/ft1_filtered_4FGL_J0836.2+2141_daily_bin1602.fits scfile=/scratch/kocevski/855930/ft2_4FGL_J0836.2+2141_daily_bin1602.fits outfile=/scratch/kocevski/855930/cmap_654566401_654825601_4FGL_J0836.2+2141_daily_bin1602.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=129.051 yref=21.6971 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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/855930/ft1_filtered_4FGL_J0836.2+2141_daily_bin1602.fits scfile=/scratch/kocevski/855930/ft2_4FGL_J0836.2+2141_daily_bin1602.fits outfile=/scratch/kocevski/855930/cmap_HighResolution_654566401_654825601_4FGL_J0836.2+2141_daily_bin1602.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=129.051 yref=21.6971 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.63
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/855930/ft1_filtered_4FGL_J0836.2+2141_daily_bin1602.fits evtable="EVENTS" scfile=/scratch/kocevski/855930/ft2_4FGL_J0836.2+2141_daily_bin1602.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/855930/Model_4FGL_J0836.2+2141_daily_bin1602.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/855930/ft1_filtered_4FGL_J0836.2+2141_daily_bin1602.fits.....................!
real 77.36
user 75.27
sys 1.42

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/855930/ft1_filtered_4FGL_J0836.2+2141_daily_bin1602.fits', '/scratch/kocevski/855930/ft2_4FGL_J0836.2+2141_daily_bin1602.fits', expMap='/scratch/kocevski/855930/expmap_654566401_654825601_4FGL_J0836.2+2141_daily_bin1602.fits', expCube='/scratch/kocevski/855930/ltcube_654566401_654825601_4FGL_J0836.2+2141_daily_bin1602.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/855930/Model_4FGL_J0836.2+2141_daily_bin1602.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0836.2+2141'

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  2.336e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
299        Index:  2.731e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
300        Scale:  5.085e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/855930/ft1_filtered_4FGL_J0836.2+2141_daily_bin1602.fits
Spacecraft file(s): /scratch/kocevski/855930/ft2_4FGL_J0836.2+2141_daily_bin1602.fits
Exposure map: /scratch/kocevski/855930/expmap_654566401_654825601_4FGL_J0836.2+2141_daily_bin1602.fits
Exposure cube: /scratch/kocevski/855930/ltcube_654566401_654825601_4FGL_J0836.2+2141_daily_bin1602.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/855930/Model_4FGL_J0836.2+2141_daily_bin1602.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) = 8155.68817164

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    86.756       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10748E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10314E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.2059       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.276       1.0000         .10000E-03   10000.    
     9 'norm      '    3.3155       1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.157       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .13995E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10211E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.2597       1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.420       1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.204       1.0000         .10000E-03   10000.    
    16 'norm      '    2.4775       1.0000         .10000E-03   10000.    
    17 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.3501       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1079       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8155.583     FROM MIGRAD    STATUS=CONVERGED    432 CALLS     1891 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     86.755        29.057       -.79174E-06    .32648E-04
   2  Prefactor     .10000E-03    11.416       -.68580E-07** at limit **
   3  Prefactor     .10000E-03    42.936       -.52990E-05** at limit **
   4  norm          .10000E-03    32.136        .29819E-05** at limit **
   5  Prefactor     .10000E-03    29.414       -.37887E-05** at limit **
   6  Prefactor     8.1982        23.333       -.71541E-05   -.28574E-05
   7  Prefactor     .10000E-03    9.6227        .17237E-07** at limit **
   8  Prefactor     15.269        27.984       -.81607E-05    .54899E-05
   9  norm          3.3154        1.8168        .49733E-06   -.20727E-03
  10  Prefactor     11.157        10.282       -.15647E-06    .43889E-04
  11  Prefactor     .10006E-03    4.7428       -.10811E-05** at limit **
  12  Prefactor     .10000E-03    37.654        .70516E-05** at limit **
  13  norm          1.2599        .86614       -.77427E-07   -.47913E-03
  14  Prefactor     11.417        13.260       -.22032E-06   -.13402E-06
  15  Prefactor     13.202        13.541       -.35273E-06   -.18855E-04
  16  norm          2.4775        4.1137       -.22863E-06   -.28472E-03
  17  norm          .10000E-03    20.128       -.12966E-06** at limit **
  18  norm          .10000E-03    .61795       -.21259E-08** at limit **
  19  Prefactor     .10000E-03    19.987        .13358E-05** at limit **
  20  Normalizat    1.3502        .19028        .11124E-05    .10867E-03
  21  Prefactor     1.1078        .15441        .33635E-06    .18008E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 86.7548
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.1982
  Prefactor  = 0.0001
  Prefactor  = 15.2687
  norm       = 3.31538
  Prefactor  = 11.1567
  Prefactor  = 0.000100059
  Prefactor  = 0.0001
  norm       = 1.25991
  Prefactor  = 11.4174
  Prefactor  = 13.2017
  norm       = 2.47753
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.35023
  Prefactor  = 1.10779
 **********
 **   18 **HESSE 
 **********

 FCN=   8155.583     FROM HESSE     STATUS=OK           319 CALLS     2210 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     86.755        29.056        .43133E-04   -1.3842    
   2  Prefactor     .10000E-03    11.422        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    42.993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    32.143        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    29.516        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.1982        23.381        .13996E-03   -1.5135    
   7  Prefactor     .10000E-03    9.6420        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     15.269        27.893        .10248E-03   -1.4926    
   9  norm          3.3154        1.7996        .73135E-04   -1.5344    
  10  Prefactor     11.157        10.251        .11994E-03   -1.5040    
  11  Prefactor     .10006E-03    29.558        .37186E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    37.724        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.2599        .84799        .64311E-04   -1.5483    
  14  Prefactor     11.417        13.220        .11855E-03   -1.5032    
  15  Prefactor     13.202        13.583        .11023E-03   -1.4981    
  16  norm          2.4775        4.1044        .23085E-03   -1.5393    
  17  norm          .10000E-03    20.156        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .61899        .69326E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    20.002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.3502        .22673        .27550E-03   -.82079    
  21  Prefactor     1.1078        .18384        .25443E-03   -.89218    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.01161e-09
Minuit parameter uncertainties:
  1  29.0607
  2  1.84545e-06
  3  3.0536e-05
  4  3.67556e-06
  5  0.000162005
  6  23.4075
  7  1.70861e-06
  8  27.9168
  9  1.79962
  10  10.2529
  11  0.0026466
  12  6.99923e-05
  13  0.848003
  14  13.2232
  15  13.5864
  16  4.10482
  17  9.13904e-06
  18  2.97224e-07
  19  7.32202e-06
  20  0.226903
  21  0.183947
Done.

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

Extracting fit parameters...

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  1.116e+01  1.025e+01  1.000e-04  1.000e+04 ( 1.000e-12)
299        Index:  2.731e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
300        Scale:  5.085e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
518    Prefactor:  1.108e+00  1.839e-01  0.000e+00  1.000e+01 ( 1.000e+00)
519        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
520        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
517   Normalization:  1.350e+00  2.269e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.80
Ra Dec: 129.051 21.697
Photon Index (Fixed Index): 2.73 +/- 0.00
Photon Flux (Fixed Index): 5.48e-08 +/- 5.03e-08
Energy Flux (Fixed Index): 1.29e-05 +/- 1.18e-05

TS (Fixed Index): 1.80
Ra Dec: 129.051 21.697
Photon Flux Upper Limit: 1.58e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.24e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/855930/likelihoodResults_654566401_654825601_4FGL_J0836.2+2141_daily_bin1602.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) = 8155.3937587
delta logL = 0.188912465246

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8155.38473717
delta logL = 0.197933991342

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.284       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3308       1.0000          .0000       10.000    
     3 'Normalizat'    1.3661       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0972       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5210E+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=   8155.385     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      307 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.287        11.424        .10990E-03   -.26896E-05
   2  Index         2.3311        .59059        .99284E-02    .40192E-05
   3  Normalizat    1.3661        .21720        .27416E-03    .66556E-04
   4  Prefactor     1.0973        .18324        .25543E-03   -.39701E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.2867
  Index      = 2.33112
  Normalizat = 1.36614
  Prefactor  = 1.09732
 **********
 **   18 **HESSE 
 **********

 FCN=   8155.385     FROM HESSE     STATUS=OK            25 CALLS      332 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.287        11.422        .43960E-05   -1.4979    
   2  Index         2.3311        .59041        .39713E-03   -.56306    
   3  Normalizat    1.3661        .21742        .10966E-04   -.81613    
   4  Prefactor     1.0973        .18339        .10217E-04   -.89552    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.99289e-11
Minuit parameter uncertainties:
  1  11.4242
  2  0.592347
  3  0.217563
  4  0.1835
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/855930': 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) = 8155.38473601
delta logL = 0.197935157112

Extracting fit parameters...

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  1.329e+01  1.142e+01  1.000e-04  1.000e+04 ( 1.000e-12)
299        Index:  2.331e+00  5.923e-01  0.000e+00  1.000e+01 (-1.000e+00)
300        Scale:  5.085e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
518    Prefactor:  1.097e+00  1.835e-01  0.000e+00  1.000e+01 ( 1.000e+00)
519        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
520        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
517   Normalization:  1.366e+00  2.176e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.21
Ra Dec: 129.051 21.697
Photon Index (Free Index): 2.33 +/- 0.59
Photon Flux (Free Index): 4.42e-08 +/- 4.47e-08
Energy Flux (Free Index): 1.60e-05 +/- 1.48e-05

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/855930/cmap_HighResolution_654566401_654825601_4FGL_J0836.2+2141_daily_bin1602.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.24e-02', comment='SUCCESS', photon_flux='5.48e-08', energy_flux2='1.60e-05', photon_flux_error='5.03e-08', dlogl='1.98e-01', energy_flux='1.29e-05', photon_flux2='4.42e-08', job_status='DONE', time_completed='2021-10-02 00:14:41.254301', photon_index_error2='0.59', photon_index2='2.33', ts='1.80', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='1.58e-07', energy_flux_error2='1.48e-05', EG='1.35', time_epoch_completed='1633158881.25', return_code='0', job_id='855930', GAL2='1.10', EG2='1.37', return_code2='0', energy_flux_error='1.18e-05', photon_flux_error2='4.47e-08', ts2='2.21', photon_index='2.73' WHERE bin_id='1602' AND source_name='4FGL J0836.2+2141' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Oct  2 00:14:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 855930: <4FGL_J0836.2+2141_daily_bin1602> in cluster <slac> Done

Job <4FGL_J0836.2+2141_daily_bin1602> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Oct  2 00:01:50 2021
Job was executed on host(s) <bullet0098>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Oct  2 00:01:52 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Oct  2 00:01:52 2021
Terminated at Sat Oct  2 00:14:41 2021
Results reported at Sat Oct  2 00:14:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0836.2+2141_daily_bin1602 129.051 21.6971 654566401 654825601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0836.2+2141 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   685.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   769 sec.
    Turnaround time :                            771 sec.

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

