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


Performing analysis on: 4FGL_J1736.0+2033_daily_bin963
RA = 264.019, Dec = 20.5559
tmin = 488937601, tmax = 489196801
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='926110', job_status='RUN', time_executed='2021-09-18 00:00:46.430853', time_epoch_executed='1631948446.43' WHERE source_name='4FGL J1736.0+2033' and cadence='daily' and bin_id='963'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/926110

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/926110/ft1_4FGL_J1736.0+2033_daily_bin963.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/926110/ft2_4FGL_J1736.0+2033_daily_bin963.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/926110/ft1_4FGL_J1736.0+2033_daily_bin963.fits outfile=/scratch/kocevski/926110/ft1_filteredMKT_4FGL_J1736.0+2033_daily_bin963.fits ra=264.019 dec=20.5559 rad=12.0 tmin=488937601.0 tmax=489196801.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.56
user 3.33
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/926110/ft2_4FGL_J1736.0+2033_daily_bin963.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/926110/ft2_4FGL_J1736.0+2033_daily_bin963.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/926110/ft1_filteredMKT_4FGL_J1736.0+2033_daily_bin963.fits evtable="EVENTS" outfile="/scratch/kocevski/926110/ft1_filtered_4FGL_J1736.0+2033_daily_bin963.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.49
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/926110/ft1_filtered_4FGL_J1736.0+2033_daily_bin963.fits" evtable="EVENTS" scfile=/scratch/kocevski/926110/ft2_4FGL_J1736.0+2033_daily_bin963.fits sctable="SC_DATA" outfile=/scratch/kocevski/926110/ltcube_488937601_489196801_4FGL_J1736.0+2033_daily_bin963.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/926110/ft2_4FGL_J1736.0+2033_daily_bin963.fits
.....................!
real 12.50
user 12.07
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/926110/ft1_filtered_4FGL_J1736.0+2033_daily_bin963.fits evtable="EVENTS" scfile=/scratch/kocevski/926110/ft2_4FGL_J1736.0+2033_daily_bin963.fits sctable="SC_DATA" expcube=/scratch/kocevski/926110/ltcube_488937601_489196801_4FGL_J1736.0+2033_daily_bin963.fits outfile=/scratch/kocevski/926110/expmap_488937601_489196801_4FGL_J1736.0+2033_daily_bin963.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/926110/ltcube_488937601_489196801_4FGL_J1736.0+2033_daily_bin963.fits
.....................!
real 190.64
user 185.01
sys 5.11

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 189 point sources and 0 extended sources

Setting source of interest to:
4FGL J1736.0+2033 @ 264.019 20.5559

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/926110/ft1_filtered_4FGL_J1736.0+2033_daily_bin963.fits scfile=/scratch/kocevski/926110/ft2_4FGL_J1736.0+2033_daily_bin963.fits outfile=/scratch/kocevski/926110/cmap_488937601_489196801_4FGL_J1736.0+2033_daily_bin963.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=264.019 yref=20.5559 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.54
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/926110/ft1_filtered_4FGL_J1736.0+2033_daily_bin963.fits scfile=/scratch/kocevski/926110/ft2_4FGL_J1736.0+2033_daily_bin963.fits outfile=/scratch/kocevski/926110/cmap_HighResolution_488937601_489196801_4FGL_J1736.0+2033_daily_bin963.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=264.019 yref=20.5559 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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/926110/ft1_filtered_4FGL_J1736.0+2033_daily_bin963.fits evtable="EVENTS" scfile=/scratch/kocevski/926110/ft2_4FGL_J1736.0+2033_daily_bin963.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/926110/Model_4FGL_J1736.0+2033_daily_bin963.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/926110/ft1_filtered_4FGL_J1736.0+2033_daily_bin963.fits.....................!
real 83.44
user 81.99
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/926110/ft1_filtered_4FGL_J1736.0+2033_daily_bin963.fits', '/scratch/kocevski/926110/ft2_4FGL_J1736.0+2033_daily_bin963.fits', expMap='/scratch/kocevski/926110/expmap_488937601_489196801_4FGL_J1736.0+2033_daily_bin963.fits', expCube='/scratch/kocevski/926110/ltcube_488937601_489196801_4FGL_J1736.0+2033_daily_bin963.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/926110/Model_4FGL_J1736.0+2033_daily_bin963.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1736.0+2033'

4FGL J1736.0+2033
   Spectrum: LogParabola
284         norm:  9.104e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
285        alpha:  1.744e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
286         beta:  1.473e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
287           Eb:  2.550e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/926110/ft1_filtered_4FGL_J1736.0+2033_daily_bin963.fits
Spacecraft file(s): /scratch/kocevski/926110/ft2_4FGL_J1736.0+2033_daily_bin963.fits
Exposure map: /scratch/kocevski/926110/expmap_488937601_489196801_4FGL_J1736.0+2033_daily_bin963.fits
Exposure cube: /scratch/kocevski/926110/ltcube_488937601_489196801_4FGL_J1736.0+2033_daily_bin963.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/926110/Model_4FGL_J1736.0+2033_daily_bin963.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) = 10310.9126673

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    30.590       1.0000         .10000E-03   10000.    
     4 'Prefactor '    90.960       1.0000         .10000E-03   10000.    
     5 'Prefactor '    22.501       1.0000         .10000E-03   10000.    
     6 'norm      '    .49671       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.9465       1.0000         .10000E-03   10000.    
    10 'norm      '    .10348E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10542E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10445E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    4.8922       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.1810       1.0000         .10000E-03   10000.    
    15 'Prefactor '    115.74       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .56524E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.2275       1.0000         .10000E-03   10000.    
    18 'Prefactor '    50.424       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .63688       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0352       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10310.88     FROM MIGRAD    STATUS=CONVERGED    411 CALLS     2088 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.3476        .36692E-06** at limit **
   2  Prefactor     .10000E-03    32.466       -.35426E-05** at limit **
   3  Prefactor     30.593        46.931        .10102E-05    .52787E-05
   4  Prefactor     90.978        72.607        .22752E-05    .35745E-04
   5  Prefactor     22.503        15.825       -.62310E-06   -.70664E-04
   6  norm          .49688        2.5127        .20313E-05   -.24504E-03
   7  Prefactor     .10000E-03    8.7161       -.67113E-06** at limit **
   8  norm          .10000E-03    4.4319       -.35357E-06** at limit **
   9  Prefactor     5.9467        3.4184        .18978E-05   -.10372E-02
  10  norm          .10000E-03    35.154        .40050E-05** at limit **
  11  Prefactor     .10000E-03    75.427        .41363E-05** at limit **
  12  Prefactor     .10000E-03    81.420       -.57950E-05** at limit **
  13  norm          4.8922        1.3045       -.30533E-07   -.15891E-04
  14  Prefactor     6.2363        163.28        .13821E-04    .44816E-04
  15  Prefactor     115.60        140.58       -.86831E-05   -.13831E-03
  16  Prefactor     .10000E-03    4.0451        .55063E-06** at limit **
  17  norm          3.2282        7.4123        .42016E-06   -.15321E-04
  18  Prefactor     50.419        49.967       -.68519E-06   -.10960E-04
  19  Normalizat    .63669        .25675       -.20512E-05   -.13448E-03
  20  Prefactor     1.0353        .86275E-01    .11621E-06   -.31531E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 30.5929
  Prefactor  = 90.9776
  Prefactor  = 22.5032
  norm       = 0.496882
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.94668
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.89218
  Prefactor  = 6.2363
  Prefactor  = 115.604
  Prefactor  = 0.0001
  norm       = 3.22822
  Prefactor  = 50.4189
  Normalizat = 0.636695
  Prefactor  = 1.03526
 **********
 **   18 **HESSE 
 **********

 FCN=   10310.88     FROM HESSE     STATUS=OK           289 CALLS     2377 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.7143        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    32.641        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     30.593        46.896        .72442E-04   -1.4601    
   4  Prefactor     90.978        72.753        .42133E-04   -1.3797    
   5  Prefactor     22.503        15.743        .84441E-04   -1.4759    
   6  norm          .49688        2.5223        .30876E-03   -1.5567    
   7  Prefactor     .10000E-03    8.7663        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    4.4483        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.9467        3.4887        .68633E-03   -1.5220    
  10  norm          .10000E-03    35.246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    75.503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    81.764        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.8922        1.3064        .57675E-04   -1.5266    
  14  Prefactor     6.2363        169.56        .16147E-03   -1.5208    
  15  Prefactor     115.60        145.97        .18699E-03   -1.3553    
  16  Prefactor     .10000E-03    20.392        .38830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.2282        7.3950        .22548E-03   -1.5349    
  18  Prefactor     50.419        50.328        .56476E-04   -1.4287    
  19  Normalizat    .63669        .27433        .54097E-03   -1.0645    
  20  Prefactor     1.0353        .95370E-01    .15067E-03   -.91563    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.199e-09
Minuit parameter uncertainties:
  1  1.99353e-05
  2  0.000124074
  3  46.9529
  4  72.8239
  5  15.7457
  6  2.23892
  7  6.03545e-05
  8  3.37573e-05
  9  3.48886
  10  0.000189318
  11  0.000253825
  12  0.000112368
  13  1.30646
  14  65.2422
  15  146.426
  16  8.78897e-05
  17  7.39711
  18  50.37
  19  0.274925
  20  0.0953855
Done.

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

Extracting fit parameters...

4FGL J1736.0+2033
   Spectrum: LogParabola
284         norm:  1.000e-04  1.893e-04  1.000e-04  1.000e+04 ( 1.000e-14)
285        alpha:  1.744e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
286         beta:  1.473e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
287           Eb:  2.550e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
632    Prefactor:  1.035e+00  9.539e-02  0.000e+00  1.000e+01 ( 1.000e+00)
633        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
634        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
631   Normalization:  6.367e-01  2.749e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 264.019 20.556
Photon Flux Upper Limit: 2.88e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.55e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/926110/likelihoodResults_488937601_489196801_4FGL_J1736.0+2033_daily_bin963.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) = 10310.8790062
delta logL = -0.000135071415571

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10310.8788711
delta logL = 5.44787326362e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7542       1.0000          .0000       5.0000    
     3 'Normalizat'    .63670       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0353       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6350E+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=   10310.88     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      245 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    110.50        .18142E-01** at limit **
   2  alpha         2.3205        3.1520        .50000        .11144E-06
   3  Normalizat    .63670        .98306E-02    .54097E-03   -.11315E-03
   4  Prefactor     1.0353        .34575E-02    .15067E-03   -.67478E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.32051
  Normalizat = 0.636698
  Prefactor  = 1.03526
 **********
 **   18 **HESSE 
 **********

 FCN=   10310.88     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      272 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    672.60        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3205        2.8964        .50000       -.71858E-01
   3  Normalizat    .63670        .24667E-01    .21639E-04   -1.0645    
   4  Prefactor     1.0353        .86756E-02    .30134E-04   -.91563    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.08292e-09
Minuit parameter uncertainties:
  1  0.000472466
  2  1880.91
  3  0.0246672
  4  0.00867565
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/926110': 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) = 10310.878871
delta logL = 1.83603333426e-07

Extracting fit parameters...

4FGL J1736.0+2033
   Spectrum: LogParabola
284         norm:  1.000e-04  4.725e-04  1.000e-04  1.000e+04 ( 1.000e-14)
285        alpha:  2.321e+00  1.881e+03  0.000e+00  5.000e+00 ( 1.000e+00)
286         beta:  1.473e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
287           Eb:  2.550e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
632    Prefactor:  1.035e+00  8.676e-03  0.000e+00  1.000e+01 ( 1.000e+00)
633        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
634        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
631   Normalization:  6.367e-01  2.467e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 264.019 20.556

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/926110/cmap_HighResolution_488937601_489196801_4FGL_J1736.0+2033_daily_bin963.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.55e-05', job_status='DONE', photon_flux_upper_limit='2.88e-08', time_completed='2021-09-18 00:14:40.472811', job_id='926110', GAL2='1.04', fit_tolerance='1e-08', EG2='0.64', EG='0.64', time_epoch_completed='1631949280.47', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.84e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.74' WHERE bin_id='963' AND source_name='4FGL J1736.0+2033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 00:14:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0254>
Subject: Job 926110: <4FGL_J1736.0+2033_daily_bin963> in cluster <slac> Done

Job <4FGL_J1736.0+2033_daily_bin963> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep 18 00:00:35 2021
Job was executed on host(s) <bullet0254>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 18 00:00:37 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 18 00:00:37 2021
Terminated at Sat Sep 18 00:14:41 2021
Results reported at Sat Sep 18 00:14:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1736.0+2033_daily_bin963 264.019 20.5559 488937601 489196801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1736.0+2033 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   827.22 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             352.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   843 sec.
    Turnaround time :                            846 sec.

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

