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


Performing analysis on: 4FGL_J0836.2+2141_daily_bin1210
RA = 129.051, Dec = 21.6971
tmin = 552960001, tmax = 553219201
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='588128', job_status='RUN', time_executed='2021-08-30 02:19:42.950380', time_epoch_executed='1630315182.95' WHERE source_name='4FGL J0836.2+2141' and cadence='daily' and bin_id='1210'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/588128

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/588128/ft1_4FGL_J0836.2+2141_daily_bin1210.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/588128/ft2_4FGL_J0836.2+2141_daily_bin1210.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/588128/ft1_4FGL_J0836.2+2141_daily_bin1210.fits outfile=/scratch/kocevski/588128/ft1_filteredMKT_4FGL_J0836.2+2141_daily_bin1210.fits ra=129.051 dec=21.6971 rad=12.0 tmin=552960001.0 tmax=553219201.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 3.32
user 2.61
sys 0.69

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/588128/ft2_4FGL_J0836.2+2141_daily_bin1210.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/588128/ft1_filteredMKT_4FGL_J0836.2+2141_daily_bin1210.fits evtable="EVENTS" outfile="/scratch/kocevski/588128/ft1_filtered_4FGL_J0836.2+2141_daily_bin1210.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 0.99
user 0.32
sys 0.66

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/588128/ft1_filtered_4FGL_J0836.2+2141_daily_bin1210.fits" evtable="EVENTS" scfile=/scratch/kocevski/588128/ft2_4FGL_J0836.2+2141_daily_bin1210.fits sctable="SC_DATA" outfile=/scratch/kocevski/588128/ltcube_552960001_553219201_4FGL_J0836.2+2141_daily_bin1210.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/588128/ft2_4FGL_J0836.2+2141_daily_bin1210.fits
.....................!
real 12.96
user 12.03
sys 0.88

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/588128/ft1_filtered_4FGL_J0836.2+2141_daily_bin1210.fits evtable="EVENTS" scfile=/scratch/kocevski/588128/ft2_4FGL_J0836.2+2141_daily_bin1210.fits sctable="SC_DATA" expcube=/scratch/kocevski/588128/ltcube_552960001_553219201_4FGL_J0836.2+2141_daily_bin1210.fits outfile=/scratch/kocevski/588128/expmap_552960001_553219201_4FGL_J0836.2+2141_daily_bin1210.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/588128/ltcube_552960001_553219201_4FGL_J0836.2+2141_daily_bin1210.fits
.....................!
real 192.00
user 186.68
sys 4.94

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/588128/ft1_filtered_4FGL_J0836.2+2141_daily_bin1210.fits scfile=/scratch/kocevski/588128/ft2_4FGL_J0836.2+2141_daily_bin1210.fits outfile=/scratch/kocevski/588128/cmap_552960001_553219201_4FGL_J0836.2+2141_daily_bin1210.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.04
user 0.35
sys 0.66

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/588128/ft1_filtered_4FGL_J0836.2+2141_daily_bin1210.fits scfile=/scratch/kocevski/588128/ft2_4FGL_J0836.2+2141_daily_bin1210.fits outfile=/scratch/kocevski/588128/cmap_HighResolution_552960001_553219201_4FGL_J0836.2+2141_daily_bin1210.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.03
user 0.37
sys 0.65

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     2 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     3 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     4 'norm      '    .66017E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    772.07       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.5447       1.0000         .10000E-03   10000.    
    11 'Prefactor '    37.466       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    58.124       1.0000         .10000E-03   10000.    
    15 'Prefactor '    19.192       1.0000         .10000E-03   10000.    
    16 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    90.766       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .18277E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.4123       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=   932.6628     FROM MIGRAD    STATUS=CONVERGED    415 CALLS     2526 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor    10000.0        6209.6        .58927E-03** at limit **
   2  Prefactor    10000.0        7319.0        .13540E-02** at limit **
   3  Prefactor    10000.0        9599.2        .34934E-02** at limit **
   4  norm          .10000E-03    1603.8       -.36083E-03** at limit **
   5  Prefactor     .10000E-03    253.21       -.29018E-03** at limit **
   6  Prefactor     .10000E-03    162.67        .84745E-04** at limit **
   7  Prefactor     771.89        497.91       -.66996E-04    .63670E-05
   8  Prefactor     .10000E-03    54.482        .22640E-04** at limit **
   9  norm          .10000E-03    3.2626        .52059E-07** at limit **
  10  Prefactor     6.5404        23.054        .17821E-05   -.19879E-04
  11  Prefactor     37.468        28.802       -.58985E-07    .25317E-04
  12  Prefactor     .10000E-03    61.075       -.37903E-04** at limit **
  13  norm          .10000E-03    .97586       -.36270E-06** at limit **
  14  Prefactor     58.149        38.333        .62653E-05   -.61233E-05
  15  Prefactor     19.193        28.483       -.28401E-06   -.36732E-04
  16  norm          .10000E-03    7.7686        .35891E-07** at limit **
  17  norm          90.770        101.56        .27869E-05   -.82001E-04
  18  norm          .10000E-03    1.6873       -.48614E-07** at limit **
  19  Prefactor     .10000E-03    157.81        .10262E-03** at limit **
  20  Normalizat    .10000E-01    .21574        .10112E-06** at limit **
  21  Prefactor     1.4128        .26953       -.79610E-06   -.27144E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 10000
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 771.888
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.5404
  Prefactor  = 37.4685
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 58.1486
  Prefactor  = 19.1929
  norm       = 0.0001
  norm       = 90.7704
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 1.4128
 **********
 **   18 **HESSE 
 **********

 FCN=   932.6628     FROM HESSE     STATUS=OK           307 CALLS     2833 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor    10000.0        6209.6        .20577E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor    10000.0        7319.1        .19115E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor    10000.0        9599.1        .18363E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1603.8        .21012E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    253.19        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    162.69        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     771.89        497.96        .74929E-04   -1.0077    
   8  Prefactor     .10000E-03    54.486        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.2861        .53854E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.5404        23.060        .15687E-03   -1.5196    
  11  Prefactor     37.468        28.820        .65478E-04   -1.4483    
  12  Prefactor     .10000E-03    61.104        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.0860        .58498E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     58.149        38.180        .52621E-04   -1.4181    
  15  Prefactor     19.193        28.438        .91426E-04   -1.4831    
  16  norm          .10000E-03    7.7739        .83154E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          90.770        101.61        .42178E-04   -1.3800    
  18  norm          .10000E-03    1.6885        .38750E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    157.92        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .10000E-01    .23954        .79193E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.4128        .25487        .19003E-03   -.80012    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.86865e-10
Minuit parameter uncertainties:
  1  0.000540962
  2  0.000158378
  3  0.00149549
  4  7.1974e-08
  5  0.000234966
  6  0.000178538
  7  500.893
  8  1.76659e-05
  9  3.22119e-06
  10  23.0913
  11  28.8311
  12  2.13322e-05
  13  2.93164e-05
  14  38.1965
  15  28.4576
  16  3.83086e-07
  17  101.804
  18  1.55204e-07
  19  0.000524673
  20  2.27263e-06
  21  0.255102
Done.

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

Extracting fit parameters...

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  6.540e+00  2.309e+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.413e+00  2.551e-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.000e-02  2.273e-06  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/588128/likelihoodResults_552960001_553219201_4FGL_J0836.2+2141_daily_bin1210.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) = 932.530500595
delta logL = 0.132258800644

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 932.458489281
delta logL = 0.204270113928

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.338       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9235       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4012       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=   932.4585     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      207 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.393        31.598        .24772E-02    .38603E-04
   2  Index         1.9234        .96007        .16696        .69312E-04
   3  Normalizat    .10000E-01    .24642        .32094E-01** at limit **
   4  Prefactor     1.4009        .22396        .31045E-01   -.18822E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.3927
  Index      = 1.92336
  Normalizat = 0.01
  Prefactor  = 1.40087
 **********
 **   18 **HESSE 
 **********

 FCN=   932.4585     FROM HESSE     STATUS=OK            29 CALLS      236 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.393        29.370        .99089E-04   -1.4898    
   2  Index         1.9234        .97438        .67658E-02   -.66280    
   3  Normalizat    .10000E-01    .24710        .46884E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.4009        .22323        .19033E-03   -.80355    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.52646e-10
Minuit parameter uncertainties:
  1  29.3958
  2  0.984584
  3  7.68657e-06
  4  0.223389
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/588128': 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) = 932.458486847
delta logL = 0.204272548198

Extracting fit parameters...

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  1.639e+01  2.940e+01  1.000e-04  1.000e+04 ( 1.000e-12)
299        Index:  1.923e+00  9.846e-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.401e+00  2.234e-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.000e-02  7.687e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.10
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/588128/cmap_HighResolution_552960001_553219201_4FGL_J0836.2+2141_daily_bin1210.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.32e-02', job_status='DONE', photon_flux_upper_limit='4.21e-07', time_completed='2021-08-30 02:25:44.455934', job_id='588128', GAL2='1.40', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630315544.46', return_code2='0', ts='0.10', comment='SUCCESS', return_code='0', GAL='1.41', dlogl='2.04e-01', ts2='0.52', photon_index_error='0.00', photon_index='2.73' WHERE bin_id='1210' AND source_name='4FGL J0836.2+2141' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 02:25:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 588128: <4FGL_J0836.2+2141_daily_bin1210> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0836.2+2141_daily_bin1210 129.051 21.6971 552960001 553219201 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 :                                   369.49 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             268.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   599 sec.
    Turnaround time :                            601 sec.

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

