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


Performing analysis on: 4FGL_J0836.2+2141_daily_bin1059
RA = 129.051, Dec = 21.6971
tmin = 513820801, tmax = 514080001
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='586637', job_status='RUN', time_executed='2021-08-30 02:14:41.506667', time_epoch_executed='1630314881.51' WHERE source_name='4FGL J0836.2+2141' and cadence='daily' and bin_id='1059'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/586637

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/586637/ft1_4FGL_J0836.2+2141_daily_bin1059.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/586637/ft2_4FGL_J0836.2+2141_daily_bin1059.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/586637/ft1_4FGL_J0836.2+2141_daily_bin1059.fits outfile=/scratch/kocevski/586637/ft1_filteredMKT_4FGL_J0836.2+2141_daily_bin1059.fits ra=129.051 dec=21.6971 rad=12.0 tmin=513820801.0 tmax=514080001.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.12
user 3.47
sys 2.61

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/586637/ft2_4FGL_J0836.2+2141_daily_bin1059.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/586637/ft1_filteredMKT_4FGL_J0836.2+2141_daily_bin1059.fits evtable="EVENTS" outfile="/scratch/kocevski/586637/ft1_filtered_4FGL_J0836.2+2141_daily_bin1059.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.95
user 0.33
sys 2.58

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/586637/ft1_filtered_4FGL_J0836.2+2141_daily_bin1059.fits" evtable="EVENTS" scfile=/scratch/kocevski/586637/ft2_4FGL_J0836.2+2141_daily_bin1059.fits sctable="SC_DATA" outfile=/scratch/kocevski/586637/ltcube_513820801_514080001_4FGL_J0836.2+2141_daily_bin1059.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/586637/ft2_4FGL_J0836.2+2141_daily_bin1059.fits
.....................!
real 17.79
user 14.71
sys 3.03

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/586637/ft1_filtered_4FGL_J0836.2+2141_daily_bin1059.fits evtable="EVENTS" scfile=/scratch/kocevski/586637/ft2_4FGL_J0836.2+2141_daily_bin1059.fits sctable="SC_DATA" expcube=/scratch/kocevski/586637/ltcube_513820801_514080001_4FGL_J0836.2+2141_daily_bin1059.fits outfile=/scratch/kocevski/586637/expmap_513820801_514080001_4FGL_J0836.2+2141_daily_bin1059.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/586637/ltcube_513820801_514080001_4FGL_J0836.2+2141_daily_bin1059.fits
.....................!
real 193.78
user 185.36
sys 7.60

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/586637/ft1_filtered_4FGL_J0836.2+2141_daily_bin1059.fits scfile=/scratch/kocevski/586637/ft2_4FGL_J0836.2+2141_daily_bin1059.fits outfile=/scratch/kocevski/586637/cmap_513820801_514080001_4FGL_J0836.2+2141_daily_bin1059.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 3.11
user 0.38
sys 2.50

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/586637/ft1_filtered_4FGL_J0836.2+2141_daily_bin1059.fits scfile=/scratch/kocevski/586637/ft2_4FGL_J0836.2+2141_daily_bin1059.fits outfile=/scratch/kocevski/586637/cmap_HighResolution_513820801_514080001_4FGL_J0836.2+2141_daily_bin1059.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 2.93
user 0.39
sys 2.28

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.924       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .13879E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    29.989       1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.541       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.0456       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .60360E-02   1.0000         .10000E-03   10000.    
    13 'norm      '    .11630E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.592       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.0947       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0164       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1591       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=   6403.663     FROM MIGRAD    STATUS=CONVERGED    791 CALLS     2871 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.926        13.991        .10368E-03   -.31032E-04
   2  Prefactor     .10006E-03    48.303        .15682    ** at limit **
   3  Prefactor     29.981        46.757        .73163E-04    .12052E-03
   4  norm          .10001E-03    29.317        .18142E-02** at limit **
   5  Prefactor     .10000E-03    37.885        .18142E-02** at limit **
   6  Prefactor     .10000E-03    26.119        .18142E-02** at limit **
   7  Prefactor     .10000E-03    9.9239        .18142E-02** at limit **
   8  Prefactor     12.537        13.825        .11312E-03   -.18921E-03
   9  norm          .10000E-03    .57177        .10114E-02** at limit **
  10  Prefactor     1.0450        15.525        .48681E-03    .33545E-03
  11  Prefactor     .10000E-03    2.3630        .11998E-02** at limit **
  12  Prefactor     .10000E-03    145.87        .37862E-03** at limit **
  13  norm          .10000E-03    5.6339        .87228E-03** at limit **
  14  Prefactor     19.587        14.478        .90487E-04    .12225E-03
  15  Prefactor     .10000E-03    4.9519        .17376E-02** at limit **
  16  norm          .10000E-03    3.3826        .14355E-02** at limit **
  17  norm          .10000E-03    17.346        .18142E-02** at limit **
  18  norm          1.0950        2.6397        .19787E-03    .23735E-03
  19  Prefactor     .10000E-03    35.691        .18142E-02** at limit **
  20  Normalizat    1.0164        .22130        .27440E-03    .16659E-03
  21  Prefactor     1.1591        .18327        .21678E-03    .10171E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.9259
  Prefactor  = 0.000100057
  Prefactor  = 29.9807
  norm       = 0.000100006
  Prefactor  = 0.000100004
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 12.5374
  norm       = 0.0001
  Prefactor  = 1.04499
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 19.5868
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.09504
  Prefactor  = 0.000100001
  Normalizat = 1.01642
  Prefactor  = 1.15905
 **********
 **   18 **HESSE 
 **********

 FCN=   6403.663     FROM HESSE     STATUS=OK           305 CALLS     3176 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.926        13.991        .41471E-05   -1.4935    
   2  Prefactor     .10006E-03    48.654        .15601       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     29.981        46.756        .14633E-04   -1.4612    
   4  norm          .10001E-03    29.317        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    37.890        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    26.122        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    9.9242        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.537        13.825        .22623E-04   -1.5000    
   9  norm          .10000E-03    .57210        .20229E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.0450        15.506        .19473E-04   -1.5504    
  11  Prefactor     .10000E-03    2.3631        .23996E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    145.88        .75724E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    5.7736        .34891E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     19.587        14.460        .36195E-05   -1.4823    
  15  Prefactor     .10000E-03    4.9522        .34753E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    3.3828        .28710E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    17.348        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.0950        2.6396        .79146E-05   -1.5499    
  19  Prefactor     .10000E-03    35.693        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0164        .22146        .10976E-04   -.92482    
  21  Prefactor     1.1591        .18345        .43355E-04   -.87601    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.77278e-09
Minuit parameter uncertainties:
  1  13.9941
  2  0.00333627
  3  46.8135
  4  0.000860338
  5  0.000746331
  6  0.000589262
  7  6.51293e-06
  8  13.8282
  9  2.19572e-05
  10  8.05294
  11  3.55519e-06
  12  0.000484055
  13  2.43099e-05
  14  14.4624
  15  1.86271e-06
  16  2.46918e-06
  17  3.75216e-06
  18  2.63984
  19  0.000326955
  20  0.221661
  21  0.183547
Done.

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

Extracting fit parameters...

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  1.045e+00  8.053e+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

GAL_V02
   Spectrum: PowerLaw
518    Prefactor:  1.159e+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.016e+00  2.217e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 129.051 21.697
Photon Flux Upper Limit: 1.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.67e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/586637/likelihoodResults_513820801_514080001_4FGL_J0836.2+2141_daily_bin1059.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) = 6403.54181014
delta logL = 0.121270905747

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6403.50126507
delta logL = 0.161815978874

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1262       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8528       1.0000          .0000       10.000    
     3 'Normalizat'    1.0219       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1501       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=   6403.501     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      270 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1291        8.8237         .0000        .42864E-02
   2  Index         1.8531        .68311         .0000       -.52968E-04
   3  Normalizat    1.0224        .18532         .0000       -.11259E-05
   4  Prefactor     1.1495        .15627         .0000       -.49992E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.12914
  Index      = 1.85313
  Normalizat = 1.02241
  Prefactor  = 1.14949
 **********
 **   18 **HESSE 
 **********

 FCN=   6403.501     FROM HESSE     STATUS=OK            33 CALLS      303 TOTAL
                     EDM=   .46E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1291        8.3818        .99222E-03   -1.5302    
   2  Index         1.8531        .95674        .12701E-01   -.68075    
   3  Normalizat    1.0224        .21747        .27385E-03   -.92284    
   4  Prefactor     1.1495        .18332        .21749E-03   -.87900    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.64984e-11
Minuit parameter uncertainties:
  1  8.38416
  2  0.966678
  3  0.217656
  4  0.183418
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/586637': 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) = 6403.50125776
delta logL = 0.16182329015

Extracting fit parameters...

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  4.129e+00  8.384e+00  1.000e-04  1.000e+04 ( 1.000e-12)
299        Index:  1.853e+00  9.667e-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.149e+00  1.834e-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.022e+00  2.177e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
Ra Dec: 129.051 21.697

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/586637/cmap_HighResolution_513820801_514080001_4FGL_J0836.2+2141_daily_bin1059.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.67e-03', job_status='DONE', photon_flux_upper_limit='1.10e-07', time_completed='2021-08-30 02:26:01.484682', job_id='586637', GAL2='1.15', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1630315561.48', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='1.62e-01', ts2='0.35', photon_index_error='0.00', photon_index='2.73' WHERE bin_id='1059' AND source_name='4FGL J0836.2+2141' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 02:26:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0137>
Subject: Job 586637: <4FGL_J0836.2+2141_daily_bin1059> in cluster <slac> Done

Job <4FGL_J0836.2+2141_daily_bin1059> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Aug 30 02:10:52 2021
Job was executed on host(s) <bullet0137>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 02:10:54 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:10:54 2021
Terminated at Mon Aug 30 02:26:02 2021
Results reported at Mon Aug 30 02:26:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0836.2+2141_daily_bin1059 129.051 21.6971 513820801 514080001 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 :                                   714.49 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             268.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   908 sec.
    Turnaround time :                            910 sec.

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

