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


Performing analysis on: 4FGL_J0836.2+2141_daily_bin1122
RA = 129.051, Dec = 21.6971
tmin = 530150401, tmax = 530409601
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='588005', job_status='RUN', time_executed='2021-08-30 02:18:29.945247', time_epoch_executed='1630315109.95' WHERE source_name='4FGL J0836.2+2141' and cadence='daily' and bin_id='1122'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/588005

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/588005/ft1_4FGL_J0836.2+2141_daily_bin1122.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/588005/ft2_4FGL_J0836.2+2141_daily_bin1122.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/588005/ft1_4FGL_J0836.2+2141_daily_bin1122.fits outfile=/scratch/kocevski/588005/ft1_filteredMKT_4FGL_J0836.2+2141_daily_bin1122.fits ra=129.051 dec=21.6971 rad=12.0 tmin=530150401.0 tmax=530409601.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 11.84
user 3.33
sys 8.30

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/588005/ft1_filtered_4FGL_J0836.2+2141_daily_bin1122.fits" evtable="EVENTS" scfile=/scratch/kocevski/588005/ft2_4FGL_J0836.2+2141_daily_bin1122.fits sctable="SC_DATA" outfile=/scratch/kocevski/588005/ltcube_530150401_530409601_4FGL_J0836.2+2141_daily_bin1122.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/588005/ft2_4FGL_J0836.2+2141_daily_bin1122.fits
.....................!
real 22.48
user 12.23
sys 10.17

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/588005/ft1_filtered_4FGL_J0836.2+2141_daily_bin1122.fits evtable="EVENTS" scfile=/scratch/kocevski/588005/ft2_4FGL_J0836.2+2141_daily_bin1122.fits sctable="SC_DATA" expcube=/scratch/kocevski/588005/ltcube_530150401_530409601_4FGL_J0836.2+2141_daily_bin1122.fits outfile=/scratch/kocevski/588005/expmap_530150401_530409601_4FGL_J0836.2+2141_daily_bin1122.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/588005/ltcube_530150401_530409601_4FGL_J0836.2+2141_daily_bin1122.fits
.....................!
real 202.32
user 185.01
sys 16.71

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/588005/ft1_filtered_4FGL_J0836.2+2141_daily_bin1122.fits scfile=/scratch/kocevski/588005/ft2_4FGL_J0836.2+2141_daily_bin1122.fits outfile=/scratch/kocevski/588005/cmap_530150401_530409601_4FGL_J0836.2+2141_daily_bin1122.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 8.64
user 0.38
sys 8.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/588005/ft1_filtered_4FGL_J0836.2+2141_daily_bin1122.fits scfile=/scratch/kocevski/588005/ft2_4FGL_J0836.2+2141_daily_bin1122.fits outfile=/scratch/kocevski/588005/cmap_HighResolution_530150401_530409601_4FGL_J0836.2+2141_daily_bin1122.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 8.65
user 0.38
sys 8.22

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    36.580       1.0000         .10000E-03   10000.    
     2 'Prefactor '    39.827       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.0955       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.0560       1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.575       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .73530       1.0000         .10000E-03   10000.    
    16 'norm      '    2.0363       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .83059E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0886       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .80040       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=   5509.255     FROM MIGRAD    STATUS=CONVERGED    773 CALLS     2522 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     36.580        20.179        .66264E-04    .18872E-04
   2  Prefactor     39.821        40.812        .63514E-04   -.77898E-04
   3  Prefactor     .10000E-03    12.625        .18142E-02** at limit **
   4  norm          .10000E-03    25.287        .18142E-02** at limit **
   5  Prefactor     .10000E-03    11.334        .18142E-02** at limit **
   6  Prefactor     .10000E-03    24.553        .18142E-02** at limit **
   7  Prefactor     .10000E-03    13.060        .18142E-02** at limit **
   8  Prefactor     .10000E-03    27.876        .18142E-02** at limit **
   9  norm          .10000E-03    .34722        .84204E-04** at limit **
  10  Prefactor     .10000E-03    10.336        .36285E-03** at limit **
  11  Prefactor     4.0950        6.1147        .19921E-03   -.20722E-03
  12  Prefactor     .10000E-03    10.428        .18142E-02** at limit **
  13  norm          1.0560        .66849        .46964E-04   -.23869E-03
  14  Prefactor     19.575        11.870        .90526E-04    .14656E-03
  15  Prefactor     .75144        40.608        .45061E-02    .95444E-04
  16  norm          2.0353        5.2337        .26626E-03   -.74722E-04
  17  norm          .10000E-03    45.687        .18142E-02** at limit **
  18  norm          .40613E-02    2.5481        .32055E-01    .23449E-03
  19  Prefactor     .10000E-03    18.247        .18142E-02** at limit **
  20  Normalizat    1.0886        .19840        .22639E-03    .80591E-03
  21  Prefactor     .80044        .16711        .22267E-03    .66049E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 36.58
  Prefactor  = 39.8211
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.09501
  Prefactor  = 0.0001
  norm       = 1.056
  Prefactor  = 19.5749
  Prefactor  = 0.751441
  norm       = 2.03533
  norm       = 0.000100003
  norm       = 0.00406133
  Prefactor  = 0.0001
  Normalizat = 1.08859
  Prefactor  = 0.800444
 **********
 **   18 **HESSE 
 **********

 FCN=   5509.255     FROM HESSE     STATUS=OK           307 CALLS     2829 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     36.580        20.178        .26505E-05   -1.4498    
   2  Prefactor     39.821        40.810        .12703E-04   -1.4445    
   3  Prefactor     .10000E-03    12.625        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    25.287        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    11.334        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    24.557        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    13.062        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    27.892        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    .34723        .16841E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    10.336        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.0950        6.1136        .79684E-05   -1.5303    
  12  Prefactor     .10000E-03    10.428        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.0560        .66845        .18785E-05   -1.5502    
  14  Prefactor     19.575        11.870        .18105E-04   -1.4823    
  15  Prefactor     .75144        40.553        .18024E-03   -1.5535    
  16  norm          2.0353        5.2337        .10650E-04   -1.5423    
  17  norm          .10000E-03    45.699        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .40613E-02    2.2629        .35079E-01   -1.5695    
  19  Prefactor     .10000E-03    18.247        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0886        .19788        .45277E-04   -.90119    
  21  Prefactor     .80044        .16713        .44534E-04   -.99712    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14609e-09
Minuit parameter uncertainties:
  1  20.1816
  2  40.839
  3  4.25471e-05
  4  0.000223352
  5  9.73419e-05
  6  0.000324674
  7  2.61725e-06
  8  0.000207156
  9  2.75043e-06
  10  0.0001352
  11  6.11456
  12  2.34555e-05
  13  0.668459
  14  11.8713
  15  11.0477
  16  5.23486
  17  0.000745662
  18  0.189365
  19  0.000187803
  20  0.198011
  21  0.167236
Done.

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

Extracting fit parameters...

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  1.000e-04  1.352e-04  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:  8.004e-01  1.672e-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.089e+00  1.980e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 129.051 21.697
Photon Flux Upper Limit: 8.47e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/588005/likelihoodResults_530150401_530409601_4FGL_J0836.2+2141_daily_bin1122.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5509.25498917
delta logL = -0.000461705474663

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5509.25452706
delta logL = 4.03326339438e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10845E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7930       1.0000          .0000       10.000    
     3 'Normalizat'    1.0885       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80051       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=   5509.255     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      218 TOTAL
                     EDM=   .89E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10004E-03    28.823        .57792E-01** at limit **
   2  Index         2.8744        5.2306        .50000       -.66375E-04
   3  Normalizat    1.0886        .10294E-01    .38488E-01    .51022E-06
   4  Prefactor     .80044        .88547E-02    .43724E-01    .46273E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100041
  Index      = 2.87442
  Normalizat = 1.08859
  Prefactor  = 0.800445
 **********
 **   18 **HESSE 
 **********

 FCN=   5509.255     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      253 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10004E-03    1572.7        .32986E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8744        7.9658        .50000       -.43909    
   3  Normalizat    1.0886        .48836E-01    .22638E-03   -.90119    
   4  Prefactor     .80044        .41803E-01    .22267E-03   -.99712    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.2748e-06
Minuit parameter uncertainties:
  1  0.016556
  2  44.5819
  3  0.0488385
  4  0.0418044
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/588005': 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) = 5509.2545255
delta logL = 1.96475502889e-06

Extracting fit parameters...

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  1.000e-04  1.656e-02  1.000e-04  1.000e+04 ( 1.000e-12)
299        Index:  2.874e+00  4.458e+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:  8.004e-01  4.180e-02  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.089e+00  4.884e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/588005/cmap_HighResolution_530150401_530409601_4FGL_J0836.2+2141_daily_bin1122.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.68e-03', job_status='DONE', photon_flux_upper_limit='8.47e-08', time_completed='2021-08-30 02:30:12.877016', job_id='588005', GAL2='0.80', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1630315812.88', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.96e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.73' WHERE bin_id='1122' AND source_name='4FGL J0836.2+2141' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 02:30:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0143>
Subject: Job 588005: <4FGL_J0836.2+2141_daily_bin1122> in cluster <slac> Done

Job <4FGL_J0836.2+2141_daily_bin1122> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Aug 30 02:15:35 2021
Job was executed on host(s) <bullet0143>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 02:15:36 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:15:36 2021
Terminated at Mon Aug 30 02:30:15 2021
Results reported at Mon Aug 30 02:30:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0836.2+2141_daily_bin1122 129.051 21.6971 530150401 530409601 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 :                                   829.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             242.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   878 sec.
    Turnaround time :                            880 sec.

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

