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


Performing analysis on: 4FGL_J1736.0+2033_daily_bin1183
RA = 264.019, Dec = 20.5559
tmin = 545961601, tmax = 546220801
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='927562', job_status='RUN', time_executed='2021-09-18 00:09:13.367635', time_epoch_executed='1631948953.37' WHERE source_name='4FGL J1736.0+2033' and cadence='daily' and bin_id='1183'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/927562

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/927562/ft1_4FGL_J1736.0+2033_daily_bin1183.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/927562/ft2_4FGL_J1736.0+2033_daily_bin1183.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/927562/ft1_4FGL_J1736.0+2033_daily_bin1183.fits outfile=/scratch/kocevski/927562/ft1_filteredMKT_4FGL_J1736.0+2033_daily_bin1183.fits ra=264.019 dec=20.5559 rad=12.0 tmin=545961601.0 tmax=546220801.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.06
user 3.82
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/927562/ft2_4FGL_J1736.0+2033_daily_bin1183.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/927562/ft1_filteredMKT_4FGL_J1736.0+2033_daily_bin1183.fits evtable="EVENTS" outfile="/scratch/kocevski/927562/ft1_filtered_4FGL_J1736.0+2033_daily_bin1183.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.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/927562/ft1_filtered_4FGL_J1736.0+2033_daily_bin1183.fits" evtable="EVENTS" scfile=/scratch/kocevski/927562/ft2_4FGL_J1736.0+2033_daily_bin1183.fits sctable="SC_DATA" outfile=/scratch/kocevski/927562/ltcube_545961601_546220801_4FGL_J1736.0+2033_daily_bin1183.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/927562/ft2_4FGL_J1736.0+2033_daily_bin1183.fits
.....................!
real 13.37
user 13.01
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/927562/ft1_filtered_4FGL_J1736.0+2033_daily_bin1183.fits evtable="EVENTS" scfile=/scratch/kocevski/927562/ft2_4FGL_J1736.0+2033_daily_bin1183.fits sctable="SC_DATA" expcube=/scratch/kocevski/927562/ltcube_545961601_546220801_4FGL_J1736.0+2033_daily_bin1183.fits outfile=/scratch/kocevski/927562/expmap_545961601_546220801_4FGL_J1736.0+2033_daily_bin1183.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/927562/ltcube_545961601_546220801_4FGL_J1736.0+2033_daily_bin1183.fits
.....................!
real 190.24
user 185.03
sys 4.89

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/927562/ft1_filtered_4FGL_J1736.0+2033_daily_bin1183.fits scfile=/scratch/kocevski/927562/ft2_4FGL_J1736.0+2033_daily_bin1183.fits outfile=/scratch/kocevski/927562/cmap_545961601_546220801_4FGL_J1736.0+2033_daily_bin1183.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.61
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/927562/ft1_filtered_4FGL_J1736.0+2033_daily_bin1183.fits scfile=/scratch/kocevski/927562/ft2_4FGL_J1736.0+2033_daily_bin1183.fits outfile=/scratch/kocevski/927562/cmap_HighResolution_545961601_546220801_4FGL_J1736.0+2033_daily_bin1183.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.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/927562/ft1_filtered_4FGL_J1736.0+2033_daily_bin1183.fits', '/scratch/kocevski/927562/ft2_4FGL_J1736.0+2033_daily_bin1183.fits', expMap='/scratch/kocevski/927562/expmap_545961601_546220801_4FGL_J1736.0+2033_daily_bin1183.fits', expCube='/scratch/kocevski/927562/ltcube_545961601_546220801_4FGL_J1736.0+2033_daily_bin1183.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/927562/Model_4FGL_J1736.0+2033_daily_bin1183.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/927562/ft1_filtered_4FGL_J1736.0+2033_daily_bin1183.fits
Spacecraft file(s): /scratch/kocevski/927562/ft2_4FGL_J1736.0+2033_daily_bin1183.fits
Exposure map: /scratch/kocevski/927562/expmap_545961601_546220801_4FGL_J1736.0+2033_daily_bin1183.fits
Exposure cube: /scratch/kocevski/927562/ltcube_545961601_546220801_4FGL_J1736.0+2033_daily_bin1183.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/927562/Model_4FGL_J1736.0+2033_daily_bin1183.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 338.51893087

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 337.126452456

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.160       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.5370       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.2898       1.0000         .10000E-03   10000.    
     4 'Prefactor '    415.14       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .24120E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10900E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .66470E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .37725E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11479E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    43.274       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.5491       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.6629       1.0000         .10000E-03   10000.    
    13 'norm      '    2.7601       1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.5933       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.8119       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.3232       1.0000         .10000E-03   10000.    
    17 'norm      '    1.8354       1.0000         .10000E-03   10000.    
    18 'Prefactor '    15.156       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    20 'Prefactor '    .61274       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   335.9371     FROM MIGRAD    STATUS=CONVERGED    400 CALLS      811 TOTAL
                     EDM=   .91E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     36.276        71.279        .16163E-04    .86680E-06
   2  Prefactor     .10004E-03    1023.4        .62250E-04** at limit **
   3  Prefactor     .10003E-03    6361.9       -.79447E-04** at limit **
   4  Prefactor     498.03        387.00       -.15794E-04    .13620E-04
   5  Prefactor     .10000E-03    33.843        .85378E-05** at limit **
   6  norm          .10000E-03    9.4645       -.30586E-05** at limit **
   7  Prefactor     .10000E-03    32.730        .10248E-04** at limit **
   8  norm          .10000E-03    28.454        .14602E-05** at limit **
   9  Prefactor     .10000E-03    53.612        .15536E-04** at limit **
  10  norm          2939.0        3099.0       -.68203E-04    .40948E-05
  11  Prefactor     7.5491        1.0022         .0000         .0000    
  12  Prefactor     4.6629        1.0059         .0000         .0000    
  13  norm          3.1847        3.5915        .14516E-05    .10188E-03
  14  Prefactor     9.5933        1.0014         .0000         .0000    
  15  Prefactor     6.8119        1.0027         .0000         .0000    
  16  Prefactor     1.3232        1.0993         .0000         .0000    
  17  norm          1.8354        1.0430         .0000         .0000    
  18  Prefactor     828.35        1430.5       -.83549E-05    .40672E-06
  19  Normalizat    .10000E-01    7.2307       -.12982E-03** at limit **
  20  Prefactor     .50769        .21600        .42306E-05    .48462E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 36.2764
  Prefactor  = 0.000100037
  Prefactor  = 0.000100029
  Prefactor  = 498.028
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  norm       = 2938.95
  Prefactor  = 7.54909
  Prefactor  = 4.66286
  norm       = 3.18468
  Prefactor  = 9.5933
  Prefactor  = 6.81186
  Prefactor  = 1.32324
  norm       = 1.83539
  Prefactor  = 828.354
  Normalizat = 0.01
  Prefactor  = 0.507692
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   335.9371     FROM HESSE     STATUS=FAILED        55 CALLS      866 TOTAL
                     EDM=   .91E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     36.276        69.304        .18239E-02   -1.6913    
   2  Prefactor     .10004E-03    1001.2        .64103E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10003E-03    6372.8        .67817E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     498.03        319.77        .50132E-03   -1.1207    
   5  Prefactor     .10000E-03    33.115        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    9.3348        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    33.186        .10504E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    28.835        .97831E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    29.739        .32340E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2939.0        3098.0        .15236E-02   -.42488    
  11  Prefactor     508.79        501.21         .0000       -1.5158    
  12  Prefactor     4.6629        1.0059         .0000       -1.5276    
  13  norm          3.1847        1.0929        .14516E-05   -1.5351    
  14  Prefactor     9.5933        1.0014         .0000       -1.5088    
  15  Prefactor     6.8119        1.0027         .0000       -1.5186    
  16  Prefactor     1.3232        1.0993         .0000       -1.5478    
  17  norm          1.8354        1.0430         .0000       -1.5437    
  18  Prefactor     828.35        7.0895       -.83549E-05   -.98691    
  19  Normalizat    .10000E-01    .25757       -.12982E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .50769        .87963        .42306E-05   -1.1163    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 9.05215e-11
Minuit parameter uncertainties:
  1  69.4585
  2  0.0123678
  3  0.018656
  4  320.932
  5  0.000332493
  6  2.08648e-05
  7  0.000104617
  8  0.000163955
  9  0.00046656
  10  3406.74
  11  1.00221
  12  1.00587
  13  1.09287
  14  1.00136
  15  1.00272
  16  1.09935
  17  1.04299
  18  7.08947
  19  1.33101e-05
  20  0.905052
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 335.937073547

Extracting fit parameters...

4FGL J1736.0+2033
   Spectrum: LogParabola
284         norm:  2.939e+03  3.407e+03  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:  5.077e-01  9.051e-01  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:  1.000e-02  1.331e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.16
Ra Dec: 264.019 20.556
Photon Index (Fixed Index): 1.74 +/- 0.00
Photon Flux (Fixed Index): 5.76e-07 +/- 6.67e-07
Energy Flux (Fixed Index): 9.10e-04 +/- 1.06e-03
calc_int error: parameter max 10000.0 is not large enough
delta logLike = -0.964459902671

TS (Fixed Index): 2.19
Ra Dec: 264.019 20.556
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -1.58e+03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/927562/likelihoodResults_545961601_546220801_4FGL_J1736.0+2033_daily_bin1183.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) = 335.759549621
delta logL = 0.177523926628

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 335.75890948
delta logL = 0.178164067594

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'alpha     '    2.1183       1.0000          .0000       5.0000    
 **********
 **   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.

 FCN=   335.7589     FROM MIGRAD    STATUS=CONVERGED     13 CALLS       53 TOTAL
                     EDM=   .39E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    alpha       2.1190        .53612        .89381E-01   -.28482E-05
                               ERR DEF=  .500    
Final values: 
  alpha      = 2.11896
 **********
 **   18 **HESSE 
 **********

 FCN=   335.7589     FROM HESSE     STATUS=OK             7 CALLS       60 TOTAL
                     EDM=   .18E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    alpha       2.1190        .54187        .39168E-03   -.15301    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.81523e-12
Minuit parameter uncertainties:
  1  0.546307
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/927562': 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) = 335.758908768
delta logL = 0.17816477937

Extracting fit parameters...

4FGL J1736.0+2033
   Spectrum: LogParabola
284         norm:  2.939e+03  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14) fixed
285        alpha:  2.119e+00  5.463e-01  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:  5.073e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
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:  1.001e-02  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


TS (Free Index): 2.55
Ra Dec: 264.019 20.556
Photon Index (Free Index): 2.12 +/- 0.55
Photon Flux (Free Index): 1.10e-06 +/- 1.18e-06
Energy Flux (Free Index): 8.36e-04 +/- 1.05e-04

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/927562/cmap_HighResolution_545961601_546220801_4FGL_J1736.0+2033_daily_bin1183.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-1.58e+03', comment='SUCCESS', photon_flux='5.76e-07', energy_flux2='8.36e-04', photon_flux_error='6.67e-07', dlogl='1.78e-01', energy_flux='9.10e-04', photon_flux2='1.10e-06', job_status='DONE', time_completed='2021-09-18 00:14:51.299496', photon_index_error2='0.55', photon_index2='2.12', ts='2.16', fit_tolerance='1e-08', GAL='0.51', photon_index_error='0.00', photon_flux_upper_limit='-1.00e+00', energy_flux_error2='1.05e-04', EG='0.01', time_epoch_completed='1631949291.3', return_code='101', job_id='927562', GAL2='0.51', EG2='0.01', return_code2='0', energy_flux_error='1.06e-03', photon_flux_error2='1.18e-06', ts2='2.55', photon_index='1.74' WHERE bin_id='1183' AND source_name='4FGL J1736.0+2033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 00:14:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 927562: <4FGL_J1736.0+2033_daily_bin1183> in cluster <slac> Done

Job <4FGL_J1736.0+2033_daily_bin1183> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Sep 18 00:05:25 2021
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 18 00:05:26 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:05:26 2021
Terminated at Sat Sep 18 00:14:52 2021
Results reported at Sat Sep 18 00:14:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1736.0+2033_daily_bin1183 264.019 20.5559 545961601 546220801 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 :                                   332.44 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             337.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   565 sec.
    Turnaround time :                            567 sec.

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

