/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 8 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 = 7430
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1736.0+2033_daily_bin445
RA = 264.019, Dec = 20.5559
tmin = 354672001, tmax = 354931201
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='921220', job_status='RUN', time_executed='2021-09-17 23:46:17.462814', time_epoch_executed='1631947577.46' WHERE source_name='4FGL J1736.0+2033' and cadence='daily' and bin_id='445'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/921220

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/921220/ft1_4FGL_J1736.0+2033_daily_bin445.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/921220/ft2_4FGL_J1736.0+2033_daily_bin445.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/921220/ft1_4FGL_J1736.0+2033_daily_bin445.fits outfile=/scratch/kocevski/921220/ft1_filteredMKT_4FGL_J1736.0+2033_daily_bin445.fits ra=264.019 dec=20.5559 rad=12.0 tmin=354672001.0 tmax=354931201.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.39
user 3.14
sys 0.23

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/921220/ft1_filtered_4FGL_J1736.0+2033_daily_bin445.fits evtable="EVENTS" scfile=/scratch/kocevski/921220/ft2_4FGL_J1736.0+2033_daily_bin445.fits sctable="SC_DATA" expcube=/scratch/kocevski/921220/ltcube_354672001_354931201_4FGL_J1736.0+2033_daily_bin445.fits outfile=/scratch/kocevski/921220/expmap_354672001_354931201_4FGL_J1736.0+2033_daily_bin445.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/921220/ltcube_354672001_354931201_4FGL_J1736.0+2033_daily_bin445.fits
.....................!
real 191.05
user 184.51
sys 6.18

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/921220/ft1_filtered_4FGL_J1736.0+2033_daily_bin445.fits scfile=/scratch/kocevski/921220/ft2_4FGL_J1736.0+2033_daily_bin445.fits outfile=/scratch/kocevski/921220/cmap_354672001_354931201_4FGL_J1736.0+2033_daily_bin445.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.88
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/921220/ft1_filtered_4FGL_J1736.0+2033_daily_bin445.fits scfile=/scratch/kocevski/921220/ft2_4FGL_J1736.0+2033_daily_bin445.fits outfile=/scratch/kocevski/921220/cmap_HighResolution_354672001_354931201_4FGL_J1736.0+2033_daily_bin445.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 1.37
user 0.39
sys 0.18

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/921220/ft1_filtered_4FGL_J1736.0+2033_daily_bin445.fits', '/scratch/kocevski/921220/ft2_4FGL_J1736.0+2033_daily_bin445.fits', expMap='/scratch/kocevski/921220/expmap_354672001_354931201_4FGL_J1736.0+2033_daily_bin445.fits', expCube='/scratch/kocevski/921220/ltcube_354672001_354931201_4FGL_J1736.0+2033_daily_bin445.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/921220/Model_4FGL_J1736.0+2033_daily_bin445.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/921220/ft1_filtered_4FGL_J1736.0+2033_daily_bin445.fits
Spacecraft file(s): /scratch/kocevski/921220/ft2_4FGL_J1736.0+2033_daily_bin445.fits
Exposure map: /scratch/kocevski/921220/expmap_354672001_354931201_4FGL_J1736.0+2033_daily_bin445.fits
Exposure cube: /scratch/kocevski/921220/ltcube_354672001_354931201_4FGL_J1736.0+2033_daily_bin445.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/921220/Model_4FGL_J1736.0+2033_daily_bin445.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) = 10477.5950381

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    25.997       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.203       1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    14.641       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.3735       1.0000         .10000E-03   10000.    
    10 'norm      '    69.067       1.0000         .10000E-03   10000.    
    11 'Prefactor '    129.82       1.0000         .10000E-03   10000.    
    12 'Prefactor '    47.679       1.0000         .10000E-03   10000.    
    13 'norm      '    2.5414       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.2349       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    6.9149       1.0000         .10000E-03   10000.    
    18 'Prefactor '    16.989       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .91622       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0169       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=   10477.09     FROM MIGRAD    STATUS=CONVERGED    424 CALLS     2062 TOTAL
                     EDM=   .60E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.1693       -.50235E-06** at limit **
   2  Prefactor     .10000E-03    19.883       -.10216E-05** at limit **
   3  Prefactor     .10000E-03    10.117       -.17875E-06** at limit **
   4  Prefactor     25.997        45.512       -.77995E-07    .54591E-05
   5  Prefactor     11.204        9.6256        .11333E-06    .34398E-04
   6  norm          .10000E-03    1.0810       -.29043E-06** at limit **
   7  Prefactor     .10000E-03    6.9624       -.23058E-06** at limit **
   8  norm          14.641        9.9581       -.12983E-06    .19383E-04
   9  Prefactor     2.3737        2.2978        .45950E-07    .11897E-03
  10  norm          69.073        57.714       -.13435E-06    .23516E-05
  11  Prefactor     130.17        133.25        .17148E-05    .31377E-04
  12  Prefactor     47.786        61.681        .85932E-06    .30606E-04
  13  norm          2.5414        .99966       -.44436E-07    .13879E-03
  14  Prefactor     .10000E-03    14.133        .23209E-05** at limit **
  15  Prefactor     4.9774        172.15        .46251E-05    .15953E-04
  16  Prefactor     .10000E-03    3.7740        .37023E-06** at limit **
  17  norm          6.9156        6.4993       -.61787E-07    .11444E-05
  18  Prefactor     17.050        31.275       -.91118E-06    .12606E-04
  19  Normalizat    .91621        .25389       -.63400E-05    .75429E-04
  20  Prefactor     1.0168        .90993E-01    .22325E-05    .67471E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.9968
  Prefactor  = 11.2035
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 14.6409
  Prefactor  = 2.37374
  norm       = 69.073
  Prefactor  = 130.173
  Prefactor  = 47.7859
  norm       = 2.54141
  Prefactor  = 0.000100001
  Prefactor  = 4.97739
  Prefactor  = 0.0001
  norm       = 6.91557
  Prefactor  = 17.0499
  Normalizat = 0.91621
  Prefactor  = 1.01684
 **********
 **   18 **HESSE 
 **********

 FCN=   10477.09     FROM HESSE     STATUS=OK           293 CALLS     2355 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.2124        .17817E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    20.012        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    10.120        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     25.997        45.511        .78567E-04   -1.4688    
   5  Prefactor     11.204        9.6258        .11969E-03   -1.5038    
   6  norm          .10000E-03    1.0969        .10412E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.0108        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          14.641        9.9512        .10468E-03   -1.4943    
   9  Prefactor     2.3737        2.2899        .14303E-03   -1.5400    
  10  norm          69.073        57.715        .48299E-04   -1.4044    
  11  Prefactor     130.17        133.56        .17669E-03   -1.3421    
  12  Prefactor     47.786        61.372        .58071E-04   -1.4324    
  13  norm          2.5414        .99781        .61968E-04   -1.5389    
  14  Prefactor     .10000E-03    14.482        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.9774        169.71        .17568E-03   -1.5262    
  16  Prefactor     .10000E-03    3.8007        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.9156        6.5007        .15257E-03   -1.5182    
  18  Prefactor     17.050        31.278        .97170E-04   -1.4882    
  19  Normalizat    .91621        .25521        .43759E-03   -.95893    
  20  Prefactor     1.0168        .91894E-01    .15079E-03   -.92170    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29268e-10
Minuit parameter uncertainties:
  1  1.49129e-05
  2  7.41903e-05
  3  7.80281e-06
  4  45.5717
  5  9.6271
  6  6.00836e-06
  7  1.61237e-05
  8  9.95236
  9  2.29001
  10  57.7614
  11  133.866
  12  61.4537
  13  0.997819
  14  0.000190531
  15  58.3071
  16  1.64551e-05
  17  6.50133
  18  31.308
  19  0.255545
  20  0.0919081
Done.

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

Extracting fit parameters...

4FGL J1736.0+2033
   Spectrum: LogParabola
284         norm:  6.907e+01  5.776e+01  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.017e+00  9.191e-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:  9.162e-01  2.555e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.78
Ra Dec: 264.019 20.556
Photon Index (Fixed Index): 1.74 +/- 0.00
Photon Flux (Fixed Index): 1.35e-08 +/- 1.13e-08
Energy Flux (Fixed Index): 2.14e-05 +/- 1.79e-05

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

Saving results to:
/scratch/kocevski/921220/likelihoodResults_354672001_354931201_4FGL_J1736.0+2033_daily_bin445.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) = 10476.9559984
delta logL = 0.13579274955

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10476.9553174
delta logL = 0.136473712619

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    53.434       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1152       1.0000          .0000       5.0000    
     3 'Normalizat'    .91078       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0171       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=   10476.96     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      295 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          53.406        61.908        .27435E-03    .19151E-03
   2  alpha         2.1140        .77069        .16803E-01    .38417E-04
   3  Normalizat    .91091        .24549        .43875E-03    .22041E-03
   4  Prefactor     1.0172        .89312E-01    .15076E-03    .41947E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 53.4057
  alpha      = 2.11403
  Normalizat = 0.910908
  Prefactor  = 1.01718
 **********
 **   18 **HESSE 
 **********

 FCN=   10476.96     FROM HESSE     STATUS=OK            25 CALLS      320 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          53.406        57.635        .54870E-04   -1.4245    
   2  alpha         2.1140        .71914        .67213E-03   -.15501    
   3  Normalizat    .91091        .24548        .17550E-04   -.96078    
   4  Prefactor     1.0172        .89344E-01    .30151E-04   -.92159    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.30172e-10
Minuit parameter uncertainties:
  1  57.6955
  2  0.729706
  3  0.24578
  4  0.0893569
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/921220': 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) = 10476.9553115
delta logL = 0.136479590297

Extracting fit parameters...

4FGL J1736.0+2033
   Spectrum: LogParabola
284         norm:  5.341e+01  5.770e+01  1.000e-04  1.000e+04 ( 1.000e-14)
285        alpha:  2.114e+00  7.297e-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:  1.017e+00  8.936e-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:  9.109e-01  2.458e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.05
Ra Dec: 264.019 20.556
Photon Index (Free Index): 2.11 +/- 0.73
Photon Flux (Free Index): 1.99e-08 +/- 2.08e-08
Energy Flux (Free Index): 1.52e-05 +/- 1.49e-05

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/921220/cmap_HighResolution_354672001_354931201_4FGL_J1736.0+2033_daily_bin445.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.97e-05', comment='SUCCESS', photon_flux='1.35e-08', energy_flux2='1.52e-05', photon_flux_error='1.13e-08', dlogl='1.36e-01', energy_flux='2.14e-05', photon_flux2='1.99e-08', job_status='DONE', time_completed='2021-09-18 00:00:56.681761', photon_index_error2='0.73', photon_index2='2.11', ts='3.78', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='4.41e-08', energy_flux_error2='1.49e-05', EG='0.92', time_epoch_completed='1631948456.68', return_code='0', job_id='921220', GAL2='1.02', EG2='0.91', return_code2='0', energy_flux_error='1.79e-05', photon_flux_error2='2.08e-08', ts2='4.05', photon_index='1.74' WHERE bin_id='445' AND source_name='4FGL J1736.0+2033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 00:00:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 921220: <4FGL_J1736.0+2033_daily_bin445> in cluster <slac> Done

Job <4FGL_J1736.0+2033_daily_bin445> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep 17 23:45:59 2021
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 17 23:46:01 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 17 23:46:01 2021
Terminated at Sat Sep 18 00:00:57 2021
Results reported at Sat Sep 18 00:00:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1736.0+2033_daily_bin445 264.019 20.5559 354672001 354931201 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 :                                   862.00 sec.
    Max Memory :                                 1062 MB
    Average Memory :                             328.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   895 sec.
    Turnaround time :                            898 sec.

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

