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


Performing analysis on: 4FGL_J0836.2+2141_daily_bin1090
RA = 129.051, Dec = 21.6971
tmin = 521856001, tmax = 522115201
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='586683', job_status='RUN', time_executed='2021-08-30 02:14:06.481717', time_epoch_executed='1630314846.48' WHERE source_name='4FGL J0836.2+2141' and cadence='daily' and bin_id='1090'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/586683

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/586683/ft1_4FGL_J0836.2+2141_daily_bin1090.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/586683/ft2_4FGL_J0836.2+2141_daily_bin1090.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/586683/ft1_4FGL_J0836.2+2141_daily_bin1090.fits outfile=/scratch/kocevski/586683/ft1_filteredMKT_4FGL_J0836.2+2141_daily_bin1090.fits ra=129.051 dec=21.6971 rad=12.0 tmin=521856001.0 tmax=522115201.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.23
user 3.55
sys 0.60

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/586683/ft1_filtered_4FGL_J0836.2+2141_daily_bin1090.fits" evtable="EVENTS" scfile=/scratch/kocevski/586683/ft2_4FGL_J0836.2+2141_daily_bin1090.fits sctable="SC_DATA" outfile=/scratch/kocevski/586683/ltcube_521856001_522115201_4FGL_J0836.2+2141_daily_bin1090.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/586683/ft2_4FGL_J0836.2+2141_daily_bin1090.fits
.....................!
real 15.96
user 13.83
sys 0.82

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/586683/ft1_filtered_4FGL_J0836.2+2141_daily_bin1090.fits evtable="EVENTS" scfile=/scratch/kocevski/586683/ft2_4FGL_J0836.2+2141_daily_bin1090.fits sctable="SC_DATA" expcube=/scratch/kocevski/586683/ltcube_521856001_522115201_4FGL_J0836.2+2141_daily_bin1090.fits outfile=/scratch/kocevski/586683/expmap_521856001_522115201_4FGL_J0836.2+2141_daily_bin1090.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/586683/ltcube_521856001_522115201_4FGL_J0836.2+2141_daily_bin1090.fits
.....................!
real 190.35
user 185.21
sys 4.82

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/586683/ft1_filtered_4FGL_J0836.2+2141_daily_bin1090.fits scfile=/scratch/kocevski/586683/ft2_4FGL_J0836.2+2141_daily_bin1090.fits outfile=/scratch/kocevski/586683/cmap_521856001_522115201_4FGL_J0836.2+2141_daily_bin1090.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 0.95
user 0.35
sys 0.58

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/586683/ft1_filtered_4FGL_J0836.2+2141_daily_bin1090.fits scfile=/scratch/kocevski/586683/ft2_4FGL_J0836.2+2141_daily_bin1090.fits outfile=/scratch/kocevski/586683/cmap_HighResolution_521856001_522115201_4FGL_J0836.2+2141_daily_bin1090.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 0.96
user 0.39
sys 0.50

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.430       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.976       1.0000         .10000E-03   10000.    
     3 'Prefactor '    83.584       1.0000         .10000E-03   10000.    
     4 'norm      '    .10310E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .43260       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10455E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10226E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    34.714       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .21176       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.3102       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.750       1.0000         .10000E-03   10000.    
    13 'norm      '    .76896       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10047E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    20.626       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10262E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2517       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0019       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=   5792.751     FROM MIGRAD    STATUS=CONVERGED    480 CALLS     2260 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.457        24.387        .88238E-06   -.43646E-04
   2  Prefactor     11.146        89.246       -.51357E-05    .81458E-05
   3  Prefactor     83.600        57.491       -.18453E-05    .14961E-03
   4  norm          .10000E-03    29.306       -.10125E-06** at limit **
   5  Prefactor     .30383        96.331       -.29669E-04    .13980E-03
   6  Prefactor     .10000E-03    15.108        .47711E-07** at limit **
   7  Prefactor     .10000E-03    14.292       -.30704E-06** at limit **
   8  Prefactor     34.697        24.466        .29016E-05    .10282E-02
   9  norm          .10000E-03    .80639       -.41480E-06** at limit **
  10  Prefactor     .20055        87.962       -.35236E-04    .10117E-05
  11  Prefactor     8.3116        8.2546       -.16383E-05    .57331E-03
  12  Prefactor     14.761        28.929        .19387E-05   -.84586E-04
  13  norm          .76927        .86899       -.55390E-06    .96732E-03
  14  Prefactor     .10000E-03    6.1858        .11468E-06** at limit **
  15  Prefactor     .10000E-03    2.8941       -.86754E-07** at limit **
  16  norm          .10000E-03    3.7059       -.84925E-07** at limit **
  17  norm          20.627        28.403       -.21593E-06    .13054E-04
  18  norm          .10000E-03    .80621       -.73758E-07** at limit **
  19  Prefactor     .10000E-03    60.854       -.11418E-05** at limit **
  20  Normalizat    1.2517        .20707        .38801E-05    .73348E-03
  21  Prefactor     1.0018        .16813        .13290E-05    .78148E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.457
  Prefactor  = 11.1456
  Prefactor  = 83.6002
  norm       = 0.0001
  Prefactor  = 0.303835
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 34.6967
  norm       = 0.000100004
  Prefactor  = 0.200549
  Prefactor  = 8.31161
  Prefactor  = 14.7614
  norm       = 0.769271
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 20.6267
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.25174
  Prefactor  = 1.0018
 **********
 **   18 **HESSE 
 **********

 FCN=   5792.751     FROM HESSE     STATUS=OK           323 CALLS     2583 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.457        24.420        .82754E-04   -1.4739    
   2  Prefactor     11.146        89.793        .12093E-03   -1.5040    
   3  Prefactor     83.600        57.474        .43937E-04   -1.3877    
   4  norm          .10000E-03    29.309        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .30383        54.819        .12886       -1.5598    
   6  Prefactor     .10000E-03    15.111        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    14.315        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     34.697        24.353        .68015E-04   -1.4529    
   9  norm          .10000E-03    1.5293        .12502E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .20055        89.773        .39479E-02   -1.5618    
  11  Prefactor     8.3116        8.2658        .13907E-03   -1.5131    
  12  Prefactor     14.761        29.021        .10429E-03   -1.4939    
  13  norm          .76927        .84980        .71385E-04   -1.5533    
  14  Prefactor     .10000E-03    6.2001        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.8954        .12646E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    3.7132        .14310E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          20.627        28.411        .88192E-04   -1.4799    
  18  norm          .10000E-03    .80979        .66746E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    61.161        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.2517        .24612        .25364E-03   -.85019    
  21  Prefactor     1.0018        .19926        .23917E-03   -.92670    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.17116e-09
Minuit parameter uncertainties:
  1  24.4301
  2  63.4012
  3  57.5125
  4  1.77908e-05
  5  8.16858
  6  2.29775e-05
  7  2.54018e-05
  8  24.3601
  9  0.000151663
  10  8.4969
  11  8.26698
  12  29.0487
  13  0.849813
  14  1.76908e-05
  15  4.88958e-06
  16  7.52435e-06
  17  28.4296
  18  2.57418e-06
  19  0.000103546
  20  0.246351
  21  0.199405
Done.

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

Extracting fit parameters...

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  2.005e-01  8.497e+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.002e+00  1.994e-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.252e+00  2.464e-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: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.31e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/586683/likelihoodResults_521856001_522115201_4FGL_J0836.2+2141_daily_bin1090.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) = 5792.75071884
delta logL = 6.61675585434e-08

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5792.75071878
delta logL = 1.32208697323e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .20055       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7307       1.0000          .0000       10.000    
     3 'Normalizat'    1.2517       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0018       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=   5792.751     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      224 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .22120        42.605        .72462E-01    .52573E-03
   2  Index         2.6815        6.0951        .50000        .18345E-04
   3  Normalizat    1.2517        .12377E-01    .57356E-01    .13159E-02
   4  Prefactor     1.0018        .10631E-01    .45046E-01    .13849E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.221204
  Index      = 2.68151
  Normalizat = 1.25173
  Prefactor  = 1.00178
 **********
 **   18 **HESSE 
 **********

 FCN=   5792.751     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      255 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .22120        9615.7        .39706E-02   -1.5614    
   2  Index         2.6815        8.5039        .46674E-01   -.48216    
   3  Normalizat    1.2517        .29819        .25364E-03   -.85019    
   4  Prefactor     1.0018        .15592        .23918E-03   -.92670    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.18347e-07
Minuit parameter uncertainties:
  1  121.749
  2  75.9784
  3  0.298597
  4  0.155986
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/586683': 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) = 5792.75067934
delta logL = 3.95656215915e-05

Extracting fit parameters...

4FGL J0836.2+2141
   Spectrum: PowerLaw
298    Prefactor:  2.212e-01  1.217e+02  1.000e-04  1.000e+04 ( 1.000e-12)
299        Index:  2.682e+00  7.598e+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.002e+00  1.560e-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.252e+00  2.986e-01  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/586683/cmap_HighResolution_521856001_522115201_4FGL_J0836.2+2141_daily_bin1090.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.31e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2021-08-30 02:23:59.052836', job_id='586683', GAL2='1.00', fit_tolerance='1e-08', EG2='1.25', EG='1.25', time_epoch_completed='1630315439.05', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='3.96e-05', ts2='0.00', photon_index_error='0.00', photon_index='2.73' WHERE bin_id='1090' AND source_name='4FGL J0836.2+2141' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 02:23:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 586683: <4FGL_J0836.2+2141_daily_bin1090> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0836.2+2141_daily_bin1090 129.051 21.6971 521856001 522115201 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 :                                   596.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             282.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   782 sec.
    Turnaround time :                            784 sec.

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

