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


Performing analysis on: 4FGL_J0836.2+2141_daily_bin1533
RA = 129.051, Dec = 21.6971
tmin = 636681601, tmax = 636940801
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='589660', job_status='RUN', time_executed='2021-08-30 02:22:48.299230', time_epoch_executed='1630315368.3' WHERE source_name='4FGL J0836.2+2141' and cadence='daily' and bin_id='1533'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/589660

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/589660/ft1_4FGL_J0836.2+2141_daily_bin1533.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/589660/ft2_4FGL_J0836.2+2141_daily_bin1533.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/589660/ft1_4FGL_J0836.2+2141_daily_bin1533.fits outfile=/scratch/kocevski/589660/ft1_filteredMKT_4FGL_J0836.2+2141_daily_bin1533.fits ra=129.051 dec=21.6971 rad=12.0 tmin=636681601.0 tmax=636940801.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 8.81
user 4.89
sys 3.85

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/589660/ft1_filtered_4FGL_J0836.2+2141_daily_bin1533.fits" evtable="EVENTS" scfile=/scratch/kocevski/589660/ft2_4FGL_J0836.2+2141_daily_bin1533.fits sctable="SC_DATA" outfile=/scratch/kocevski/589660/ltcube_636681601_636940801_4FGL_J0836.2+2141_daily_bin1533.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/589660/ft2_4FGL_J0836.2+2141_daily_bin1533.fits
.....................!
real 16.24
user 11.78
sys 4.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/589660/ft1_filtered_4FGL_J0836.2+2141_daily_bin1533.fits evtable="EVENTS" scfile=/scratch/kocevski/589660/ft2_4FGL_J0836.2+2141_daily_bin1533.fits sctable="SC_DATA" expcube=/scratch/kocevski/589660/ltcube_636681601_636940801_4FGL_J0836.2+2141_daily_bin1533.fits outfile=/scratch/kocevski/589660/expmap_636681601_636940801_4FGL_J0836.2+2141_daily_bin1533.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/589660/ltcube_636681601_636940801_4FGL_J0836.2+2141_daily_bin1533.fits
.....................!
real 194.18
user 185.51
sys 8.21

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/589660/ft1_filtered_4FGL_J0836.2+2141_daily_bin1533.fits scfile=/scratch/kocevski/589660/ft2_4FGL_J0836.2+2141_daily_bin1533.fits outfile=/scratch/kocevski/589660/cmap_636681601_636940801_4FGL_J0836.2+2141_daily_bin1533.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 4.07
user 0.36
sys 3.68

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/589660/ft1_filtered_4FGL_J0836.2+2141_daily_bin1533.fits scfile=/scratch/kocevski/589660/ft2_4FGL_J0836.2+2141_daily_bin1533.fits outfile=/scratch/kocevski/589660/cmap_HighResolution_636681601_636940801_4FGL_J0836.2+2141_daily_bin1533.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 4.25
user 0.36
sys 3.69

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/589660/ft1_filtered_4FGL_J0836.2+2141_daily_bin1533.fits', '/scratch/kocevski/589660/ft2_4FGL_J0836.2+2141_daily_bin1533.fits', expMap='/scratch/kocevski/589660/expmap_636681601_636940801_4FGL_J0836.2+2141_daily_bin1533.fits', expCube='/scratch/kocevski/589660/ltcube_636681601_636940801_4FGL_J0836.2+2141_daily_bin1533.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/589660/Model_4FGL_J0836.2+2141_daily_bin1533.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/589660/ft1_filtered_4FGL_J0836.2+2141_daily_bin1533.fits
Spacecraft file(s): /scratch/kocevski/589660/ft2_4FGL_J0836.2+2141_daily_bin1533.fits
Exposure map: /scratch/kocevski/589660/expmap_636681601_636940801_4FGL_J0836.2+2141_daily_bin1533.fits
Exposure cube: /scratch/kocevski/589660/ltcube_636681601_636940801_4FGL_J0836.2+2141_daily_bin1533.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/589660/Model_4FGL_J0836.2+2141_daily_bin1533.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) = 5439.86550213

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.477       1.0000         .10000E-03   10000.    
     4 'norm      '    .10716E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    48.400       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    22.621       1.0000         .10000E-03   10000.    
     9 'norm      '    .62051       1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.095       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.9218       1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.199       1.0000         .10000E-03   10000.    
    13 'norm      '    .67568       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    76.210       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    87.806       1.0000         .10000E-03   10000.    
    18 'norm      '    1.2465       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .39128E-01   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .67606       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.2679       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=   5439.534     FROM MIGRAD    STATUS=CONVERGED    776 CALLS     2636 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.5283        .18142E-02** at limit **
   2  Prefactor     .10001E-03    117.10        .18142E-02** at limit **
   3  Prefactor     11.476        24.258        .59126E-03   -.37175E-03
   4  norm          .10005E-03    210.58        .18142E-02** at limit **
   5  Prefactor     48.400        37.693        .57639E-04    .57673E-04
   6  Prefactor     .10000E-03    24.004        .18142E-02** at limit **
   7  Prefactor     .10000E-03    14.178        .18142E-02** at limit **
   8  Prefactor     22.617        30.748        .84217E-04    .16475E-03
   9  norm          .62065        1.6359        .12602E-03    .10889E-03
  10  Prefactor     15.093        14.252        .10309E-03    .64525E-03
  11  Prefactor     9.9214        10.794        .12721E-03    .11930E-03
  12  Prefactor     17.193        42.677        .96575E-04    .67217E-04
  13  norm          .67559        .53750        .47427E-04    .17450E-02
  14  Prefactor     .10000E-03    3.5144        .13501E-02** at limit **
  15  Prefactor     76.208        28.971        .45997E-04    .58133E-04
  16  norm          .10000E-03    2.9110        .12288E-02** at limit **
  17  norm          87.802        64.701        .42877E-04    .18444E-03
  18  norm          1.2458        1.8918        .12427E-03   -.63324E-03
  19  Prefactor     .10001E-03    81.529        .18807    ** at limit **
  20  Normalizat    .67606        .26937        .33665E-03    .30302E-03
  21  Prefactor     1.2679        .21086        .21203E-03    .68652E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.00010001
  Prefactor  = 11.4765
  norm       = 0.000100053
  Prefactor  = 48.3996
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.6166
  norm       = 0.620647
  Prefactor  = 15.0928
  Prefactor  = 9.92145
  Prefactor  = 17.1928
  norm       = 0.675592
  Prefactor  = 0.0001
  Prefactor  = 76.2083
  norm       = 0.0001
  norm       = 87.802
  norm       = 1.24576
  Prefactor  = 0.000100005
  Normalizat = 0.676061
  Prefactor  = 1.26795
 **********
 **   18 **HESSE 
 **********

 FCN=   5439.534     FROM HESSE     STATUS=OK           305 CALLS     2941 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.5289        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10001E-03    117.12        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.476        24.258        .23650E-04   -1.5030    
   4  norm          .10005E-03    210.59        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     48.400        37.693        .11528E-04   -1.4315    
   6  Prefactor     .10000E-03    24.005        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    14.179        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.617        30.725        .16843E-04   -1.4756    
   9  norm          .62065        1.6340        .50406E-05   -1.5550    
  10  Prefactor     15.093        14.249        .41235E-05   -1.4931    
  11  Prefactor     9.9214        10.793        .50886E-05   -1.5078    
  12  Prefactor     17.193        42.680        .38630E-05   -1.4878    
  13  norm          .67559        .53750        .94855E-05   -1.5544    
  14  Prefactor     .10000E-03    3.5144        .27002E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     76.208        28.971        .91993E-05   -1.3960    
  16  norm          .10000E-03    2.9110        .24575E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          87.802        64.710        .85753E-05   -1.3831    
  18  norm          1.2458        1.8918        .49709E-05   -1.5485    
  19  Prefactor     .10001E-03    87.428        .17924       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .67606        .26957        .13466E-04   -1.0485    
  21  Prefactor     1.2679        .21103        .42406E-04   -.84265    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.46878e-09
Minuit parameter uncertainties:
  1  9.07773e-05
  2  0.00212513
  3  24.2784
  4  0.00669345
  5  37.712
  6  0.000181621
  7  0.000102194
  8  30.7462
  9  1.63414
  10  14.2521
  11  10.795
  12  42.7555
  13  0.537504
  14  6.54206e-07
  15  28.9767
  16  1.64015e-05
  17  64.7625
  18  1.89187
  19  0.00136394
  20  0.2701
  21  0.211175
Done.

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

Extracting fit parameters...

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  1.509e+01  1.425e+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.268e+00  2.112e-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:  6.761e-01  2.701e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.70
Ra Dec: 129.051 21.697
Photon Index (Fixed Index): 2.73 +/- 0.00
Photon Flux (Fixed Index): 7.41e-08 +/- 6.99e-08
Energy Flux (Fixed Index): 1.74e-05 +/- 1.64e-05

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

Saving results to:
/scratch/kocevski/589660/likelihoodResults_636681601_636940801_4FGL_J0836.2+2141_daily_bin1533.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) = 5439.15630785
delta logL = 0.377945169481

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5439.1541656
delta logL = 0.380087415496

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.2003       1.0000         .10000E-03   10000.    
     2 'Index     '    3.5118       1.0000          .0000       10.000    
     3 'Normalizat'    .62937       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2969       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=   5439.154     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      307 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.1972        13.789        .13213E-03   -.27447E-04
   2  Index         3.5119        1.1451        .66390E-02    .13956E-04
   3  Normalizat    .62968        .25896        .34777E-03   -.51978E-04
   4  Prefactor     1.2966        .21256        .20997E-03    .96517E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.19725
  Index      = 3.51194
  Normalizat = 0.629683
  Prefactor  = 1.29661
 **********
 **   18 **HESSE 
 **********

 FCN=   5439.154     FROM HESSE     STATUS=OK            25 CALLS      332 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.1972        11.838        .52852E-05   -1.5101    
   2  Index         3.5119        .98429        .26556E-03   -.30219    
   3  Normalizat    .62968        .25925        .13911E-04   -1.0674    
   4  Prefactor     1.2966        .21255        .41994E-04   -.83408    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29972e-10
Minuit parameter uncertainties:
  1  11.8409
  2  0.991406
  3  0.259753
  4  0.212691
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/589660': 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) = 5439.15416477
delta logL = 0.380088246856

Extracting fit parameters...

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  9.197e+00  1.184e+01  1.000e-04  1.000e+04 ( 1.000e-12)
299        Index:  3.512e+00  9.914e-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.297e+00  2.127e-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:  6.297e-01  2.598e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.59
Ra Dec: 129.051 21.697
Photon Index (Free Index): 3.51 +/- 0.99
Photon Flux (Free Index): 1.11e-07 +/- 8.37e-08
Energy Flux (Free Index): 1.84e-05 +/- 1.37e-05

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/589660/cmap_HighResolution_636681601_636940801_4FGL_J0836.2+2141_daily_bin1533.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.63e-02', comment='SUCCESS', photon_flux='7.41e-08', energy_flux2='1.84e-05', photon_flux_error='6.99e-08', dlogl='3.80e-01', energy_flux='1.74e-05', photon_flux2='1.11e-07', job_status='DONE', time_completed='2021-08-30 02:33:29.554822', photon_index_error2='0.99', photon_index2='3.51', ts='1.70', fit_tolerance='1e-08', GAL='1.27', photon_index_error='0.00', photon_flux_upper_limit='2.06e-07', energy_flux_error2='1.37e-05', EG='0.68', time_epoch_completed='1630316009.55', return_code='0', job_id='589660', GAL2='1.30', EG2='0.63', return_code2='0', energy_flux_error='1.64e-05', photon_flux_error2='8.37e-08', ts2='2.59', photon_index='2.73' WHERE bin_id='1533' AND source_name='4FGL J0836.2+2141' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 02:33:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 589660: <4FGL_J0836.2+2141_daily_bin1533> in cluster <slac> Done

Job <4FGL_J0836.2+2141_daily_bin1533> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Mon Aug 30 02:20:30 2021
Job was executed on host(s) <bullet0253>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 02:20:32 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug 30 02:20:32 2021
Terminated at Mon Aug 30 02:33:30 2021
Results reported at Mon Aug 30 02:33:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0836.2+2141_daily_bin1533 129.051 21.6971 636681601 636940801 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 :                                   694.34 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             256.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   778 sec.
    Turnaround time :                            780 sec.

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

