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


Performing analysis on: 4FGL_J0836.2+2141_daily_bin1441
RA = 129.051, Dec = 21.6971
tmin = 612835201, tmax = 613094401
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='588481', job_status='RUN', time_executed='2021-08-30 02:18:02.666485', time_epoch_executed='1630315082.67' WHERE source_name='4FGL J0836.2+2141' and cadence='daily' and bin_id='1441'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/588481

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/588481/ft1_4FGL_J0836.2+2141_daily_bin1441.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/588481/ft2_4FGL_J0836.2+2141_daily_bin1441.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/588481/ft1_4FGL_J0836.2+2141_daily_bin1441.fits outfile=/scratch/kocevski/588481/ft1_filteredMKT_4FGL_J0836.2+2141_daily_bin1441.fits ra=129.051 dec=21.6971 rad=12.0 tmin=612835201.0 tmax=613094401.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 4.13
user 2.71
sys 1.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/588481/ft2_4FGL_J0836.2+2141_daily_bin1441.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/588481/ft1_filteredMKT_4FGL_J0836.2+2141_daily_bin1441.fits evtable="EVENTS" outfile="/scratch/kocevski/588481/ft1_filtered_4FGL_J0836.2+2141_daily_bin1441.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/588481/ft1_filtered_4FGL_J0836.2+2141_daily_bin1441.fits" evtable="EVENTS" scfile=/scratch/kocevski/588481/ft2_4FGL_J0836.2+2141_daily_bin1441.fits sctable="SC_DATA" outfile=/scratch/kocevski/588481/ltcube_612835201_613094401_4FGL_J0836.2+2141_daily_bin1441.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/588481/ft2_4FGL_J0836.2+2141_daily_bin1441.fits
.....................!
real 13.41
user 11.80
sys 1.50

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/588481/ft1_filtered_4FGL_J0836.2+2141_daily_bin1441.fits evtable="EVENTS" scfile=/scratch/kocevski/588481/ft2_4FGL_J0836.2+2141_daily_bin1441.fits sctable="SC_DATA" expcube=/scratch/kocevski/588481/ltcube_612835201_613094401_4FGL_J0836.2+2141_daily_bin1441.fits outfile=/scratch/kocevski/588481/expmap_612835201_613094401_4FGL_J0836.2+2141_daily_bin1441.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/588481/ltcube_612835201_613094401_4FGL_J0836.2+2141_daily_bin1441.fits
.....................!
real 191.77
user 185.24
sys 5.93

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/588481/ft1_filtered_4FGL_J0836.2+2141_daily_bin1441.fits scfile=/scratch/kocevski/588481/ft2_4FGL_J0836.2+2141_daily_bin1441.fits outfile=/scratch/kocevski/588481/cmap_612835201_613094401_4FGL_J0836.2+2141_daily_bin1441.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 1.71
user 0.37
sys 1.23

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/588481/ft1_filtered_4FGL_J0836.2+2141_daily_bin1441.fits scfile=/scratch/kocevski/588481/ft2_4FGL_J0836.2+2141_daily_bin1441.fits outfile=/scratch/kocevski/588481/cmap_HighResolution_612835201_613094401_4FGL_J0836.2+2141_daily_bin1441.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 1.69
user 0.37
sys 1.24

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.108       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    26.527       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .75920       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.428       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .23062E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.8465       1.0000         .10000E-03   10000.    
    13 'norm      '    1.1016       1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.1581       1.0000         .10000E-03   10000.    
    15 'Prefactor '    32.980       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    36.360       1.0000         .10000E-03   10000.    
    18 'norm      '    1.3439       1.0000         .10000E-03   10000.    
    19 'Prefactor '    26.707       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1085       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .94144       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=   6692.538     FROM MIGRAD    STATUS=CONVERGED    782 CALLS     2546 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.108        19.051        .12603E-03   -.69457E-04
   2  Prefactor     .10000E-03    18.168        .18142E-02** at limit **
   3  Prefactor     .10000E-03    42.490        .18142E-02** at limit **
   4  norm          .10000E-03    27.423        .18142E-02** at limit **
   5  Prefactor     .10000E-03    8.4938        .18142E-02** at limit **
   6  Prefactor     .10000E-03    11.750        .18142E-02** at limit **
   7  Prefactor     26.528        21.172        .77780E-04   -.25725E-05
   8  Prefactor     .10000E-03    9.7747        .18142E-02** at limit **
   9  norm          .75936        .88501        .87428E-03   -.11208E-02
  10  Prefactor     10.433        10.493        .12407E-03   -.79717E-05
  11  Prefactor     .30455E-01    7.0363        .52875E-01    .22339E-03
  12  Prefactor     2.8463        60.811        .12050E-02   -.13709E-04
  13  norm          1.1018        .54888        .40749E-04    .24607E-03
  14  Prefactor     7.1590        6.7794        .14993E-03    .17819E-04
  15  Prefactor     32.984        16.297        .69775E-04   -.24440E-05
  16  norm          .10000E-03    1.9169        .11058E-02** at limit **
  17  norm          36.356        29.022        .66463E-04   -.97500E-05
  18  norm          1.3441        1.3207        .89299E-04   -.27626E-04
  19  Prefactor     26.709        36.145        .77519E-04    .24932E-05
  20  Normalizat    1.1082        .21081        .25153E-03   -.27886E-03
  21  Prefactor     .94174        .17138        .23074E-03   -.39160E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.1079
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 26.5281
  Prefactor  = 0.0001
  norm       = 0.75936
  Prefactor  = 10.4329
  Prefactor  = 0.0304545
  Prefactor  = 2.84626
  norm       = 1.10177
  Prefactor  = 7.15903
  Prefactor  = 32.9837
  norm       = 0.0001
  norm       = 36.3558
  norm       = 1.3441
  Prefactor  = 26.7094
  Normalizat = 1.10818
  Prefactor  = 0.941737
 **********
 **   18 **HESSE 
 **********

 FCN=   6692.538     FROM HESSE     STATUS=OK           309 CALLS     2855 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.108        19.050        .50413E-05   -1.5072    
   2  Prefactor     .10000E-03    18.168        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    42.494        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    27.423        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.4938        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.751        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     26.528        21.172        .15556E-04   -1.4677    
   8  Prefactor     .10000E-03    9.7754        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .75936        .88400        .34971E-04   -1.5534    
  10  Prefactor     10.433        10.487        .49629E-05   -1.5062    
  11  Prefactor     .30455E-01    6.4374        .55996E-01   -1.5673    
  12  Prefactor     2.8463        60.725        .48199E-04   -1.5371    
  13  norm          1.1018        .54887        .16300E-05   -1.5498    
  14  Prefactor     7.1590        6.7792        .59972E-05   -1.5173    
  15  Prefactor     32.984        16.297        .27910E-05   -1.4559    
  16  norm          .10000E-03    1.9170        .22115E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          36.356        29.012        .26585E-05   -1.4501    
  18  norm          1.3441        1.3207        .35720E-05   -1.5476    
  19  Prefactor     26.709        36.123        .31008E-05   -1.4674    
  20  Normalizat    1.1082        .21093        .50306E-04   -.89490    
  21  Prefactor     .94174        .17153        .46148E-04   -.94698    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.38021e-10
Minuit parameter uncertainties:
  1  19.0611
  2  5.63611e-06
  3  9.47346e-05
  4  1.85815e-05
  5  6.95717e-06
  6  1.92464e-05
  7  21.1777
  8  6.62617e-05
  9  0.884017
  10  10.4884
  11  0.884188
  12  26.3237
  13  0.548872
  14  6.77988
  15  16.2987
  16  1.78014e-06
  17  29.0229
  18  1.32071
  19  36.1527
  20  0.211093
  21  0.171631
Done.

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

Extracting fit parameters...

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  1.043e+01  1.049e+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:  9.417e-01  1.716e-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.108e+00  2.111e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.30
Ra Dec: 129.051 21.697
Photon Index (Fixed Index): 2.73 +/- 0.00
Photon Flux (Fixed Index): 5.12e-08 +/- 5.14e-08
Energy Flux (Fixed Index): 1.20e-05 +/- 1.21e-05

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

Saving results to:
/scratch/kocevski/588481/likelihoodResults_612835201_613094401_4FGL_J0836.2+2141_daily_bin1441.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) = 6688.92781047
delta logL = 3.61051046253

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6688.8618555
delta logL = 3.67646542764

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39773       1.0000         .10000E-03   10000.    
     2 'Index     '    6.1305       1.0000          .0000       10.000    
     3 'Normalizat'    .95037       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0376       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.

 FCN=   6688.862     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      307 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .39776        2.1220        .45350E-02    .11060E-02
   2  Index         6.1305        2.8036        .10108        .75741E-04
   3  Normalizat    .95048        .63222E-01    .45542E-01    .24152E-04
   4  Prefactor     1.0375        .54068E-01    .40697E-01   -.15831E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.397757
  Index      = 6.13055
  Normalizat = 0.950484
  Prefactor  = 1.03751
 **********
 **   18 **HESSE 
 **********

 FCN=   6688.862     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      340 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .39776        3.3055        .20261E-04   -1.5582    
   2  Index         6.1305        3.5277        .42632E-02    .22808    
   3  Normalizat    .95048        .19417        .26782E-03   -.94708    
   4  Prefactor     1.0375        .16203        .22089E-03   -.91489    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.27303e-09
Minuit parameter uncertainties:
  1  2.29316
  2  3.94522
  3  0.194312
  4  0.162103
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/588481': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6688.86185523
delta logL = 3.67646570181

Extracting fit parameters...

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  3.978e-01  2.293e+00  1.000e-04  1.000e+04 ( 1.000e-12)
299        Index:  6.131e+00  3.945e+00  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.038e+00  1.621e-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:  9.505e-01  1.943e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.54
Ra Dec: 129.051 21.697
Photon Index (Free Index): 6.13 +/- 3.95
Photon Flux (Free Index): 1.67e-07 +/- 7.12e-08
Energy Flux (Free Index): 2.07e-05 +/- 1.04e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/588481/cmap_HighResolution_612835201_613094401_4FGL_J0836.2+2141_daily_bin1441.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.18e-02', comment='SUCCESS', photon_flux='5.12e-08', energy_flux2='2.07e-05', photon_flux_error='5.14e-08', dlogl='3.68e+00', energy_flux='1.20e-05', photon_flux2='1.67e-07', job_status='DONE', time_completed='2021-08-30 02:28:53.475445', photon_index_error2='3.95', photon_index2='6.13', ts='1.30', fit_tolerance='1e-08', GAL='0.94', photon_index_error='0.00', photon_flux_upper_limit='1.49e-07', energy_flux_error2='1.04e-05', EG='1.11', time_epoch_completed='1630315733.48', return_code='0', job_id='588481', GAL2='1.04', EG2='0.95', return_code2='102', energy_flux_error='1.21e-05', photon_flux_error2='7.12e-08', ts2='9.54', photon_index='2.73' WHERE bin_id='1441' AND source_name='4FGL J0836.2+2141' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 02:28:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0291>
Subject: Job 588481: <4FGL_J0836.2+2141_daily_bin1441> in cluster <slac> Done

Job <4FGL_J0836.2+2141_daily_bin1441> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Aug 30 02:16:07 2021
Job was executed on host(s) <bullet0291>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 02:16:08 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:16:08 2021
Terminated at Mon Aug 30 02:28:54 2021
Results reported at Mon Aug 30 02:28:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0836.2+2141_daily_bin1441 129.051 21.6971 612835201 613094401 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 :                                   665.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             277.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   765 sec.
    Turnaround time :                            767 sec.

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

