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


Performing analysis on: 4FGL_J1736.0+2033_daily_bin1520
RA = 264.019, Dec = 20.5559
tmin = 633312001, tmax = 633571201
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='928126', job_status='RUN', time_executed='2021-09-18 00:06:23.283801', time_epoch_executed='1631948783.28' WHERE source_name='4FGL J1736.0+2033' and cadence='daily' and bin_id='1520'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/928126

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/928126/ft1_4FGL_J1736.0+2033_daily_bin1520.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/928126/ft2_4FGL_J1736.0+2033_daily_bin1520.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/928126/ft1_4FGL_J1736.0+2033_daily_bin1520.fits outfile=/scratch/kocevski/928126/ft1_filteredMKT_4FGL_J1736.0+2033_daily_bin1520.fits ra=264.019 dec=20.5559 rad=12.0 tmin=633312001.0 tmax=633571201.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.67
user 3.44
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/928126/ft1_filtered_4FGL_J1736.0+2033_daily_bin1520.fits" evtable="EVENTS" scfile=/scratch/kocevski/928126/ft2_4FGL_J1736.0+2033_daily_bin1520.fits sctable="SC_DATA" outfile=/scratch/kocevski/928126/ltcube_633312001_633571201_4FGL_J1736.0+2033_daily_bin1520.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/928126/ft2_4FGL_J1736.0+2033_daily_bin1520.fits
.....................!
real 13.49
user 13.09
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/928126/ft1_filtered_4FGL_J1736.0+2033_daily_bin1520.fits evtable="EVENTS" scfile=/scratch/kocevski/928126/ft2_4FGL_J1736.0+2033_daily_bin1520.fits sctable="SC_DATA" expcube=/scratch/kocevski/928126/ltcube_633312001_633571201_4FGL_J1736.0+2033_daily_bin1520.fits outfile=/scratch/kocevski/928126/expmap_633312001_633571201_4FGL_J1736.0+2033_daily_bin1520.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/928126/ltcube_633312001_633571201_4FGL_J1736.0+2033_daily_bin1520.fits
.....................!
real 190.20
user 185.48
sys 4.34

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/928126/ft1_filtered_4FGL_J1736.0+2033_daily_bin1520.fits scfile=/scratch/kocevski/928126/ft2_4FGL_J1736.0+2033_daily_bin1520.fits outfile=/scratch/kocevski/928126/cmap_633312001_633571201_4FGL_J1736.0+2033_daily_bin1520.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/928126/ft1_filtered_4FGL_J1736.0+2033_daily_bin1520.fits scfile=/scratch/kocevski/928126/ft2_4FGL_J1736.0+2033_daily_bin1520.fits outfile=/scratch/kocevski/928126/cmap_HighResolution_633312001_633571201_4FGL_J1736.0+2033_daily_bin1520.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.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.2877       1.0000         .10000E-03   10000.    
     2 'Prefactor '    35.745       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11026E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10091E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .87212E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.4053       1.0000         .10000E-03   10000.    
    10 'norm      '    44.128       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .17456E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11613E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .69896       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.0622       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10343E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    36.758       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .56183       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1377       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.

 FCN=   9792.594     FROM MIGRAD    STATUS=CONVERGED    446 CALLS     2085 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.2868        6.3382        .34815E-02    .12469E-03
   2  Prefactor     35.734        30.509        .16758E-02   -.10918E-02
   3  Prefactor     .10000E-03    9.2301        .90712E-02** at limit **
   4  Prefactor     .10000E-03    95.561        .90712E-02** at limit **
   5  Prefactor     .10000E-03    5.4280        .90712E-02** at limit **
   6  norm          .10000E-03    1.4734        .90712E-02** at limit **
   7  Prefactor     .10000E-03    9.8249        .90712E-02** at limit **
   8  norm          .10000E-03    7.3815        .91627E-01** at limit **
   9  Prefactor     3.4049        3.6641        .54808E-02    .79272E-03
  10  norm          44.099        41.406        .15088E-02   -.53697E-03
  11  Prefactor     .10003E-03    389.00        .90712E-02** at limit **
  12  Prefactor     .10000E-03    63.723        .90712E-02** at limit **
  13  norm          .69860        .89733        .22108E-01    .19901E-02
  14  Prefactor     .10000E-03    9.3040        .90712E-02** at limit **
  15  Prefactor     6.0652        63.427        .40767E-02    .80855E-04
  16  Prefactor     .10000E-03    12.514        .90712E-02** at limit **
  17  norm          .10000E-03    2.7039        .90712E-02** at limit **
  18  Prefactor     36.751        31.618        .16526E-02   -.62752E-03
  19  Normalizat    .56196        .24727        .11999        .94088E-04
  20  Prefactor     1.1377        .90527E-01    .36303E-01    .64339E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.28678
  Prefactor  = 35.734
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.40489
  norm       = 44.0987
  Prefactor  = 0.000100027
  Prefactor  = 0.0001
  norm       = 0.698599
  Prefactor  = 0.0001
  Prefactor  = 6.06524
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 36.7514
  Normalizat = 0.561959
  Prefactor  = 1.13772
 **********
 **   18 **HESSE 
 **********

 FCN=   9792.594     FROM HESSE     STATUS=OK           289 CALLS     2374 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.2868        6.3247        .13926E-03   -1.5132    
   2  Prefactor     35.734        30.417        .67031E-04   -1.4512    
   3  Prefactor     .10000E-03    9.2322        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    95.812        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.4444        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.5043        .11725E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    9.8877        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    42.606        .48709E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.4049        3.4125        .17144E-03   -1.5339    
  10  norm          44.099        41.407        .60352E-04   -1.4379    
  11  Prefactor     .10003E-03    391.25        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    64.038        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .69860        .83052        .10196E-02   -1.5541    
  14  Prefactor     .10000E-03    9.3101        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.0652        63.277        .16307E-03   -1.5215    
  16  Prefactor     .10000E-03    12.822        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.7056        .15892E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     36.751        31.682        .66104E-04   -1.4495    
  19  Normalizat    .56196        .25902        .53208E-03   -1.0962    
  20  Prefactor     1.1377        .96541E-01    .14233E-03   -.88270    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.64144e-09
Minuit parameter uncertainties:
  1  6.32524
  2  30.43
  3  2.40888e-05
  4  0.000299942
  5  5.2365e-06
  6  1.92025e-06
  7  1.01956e-05
  8  0.000183869
  9  3.41268
  10  41.4337
  11  0.00651597
  12  5.68163e-05
  13  0.830531
  14  9.44314e-06
  15  39.234
  16  5.20762e-07
  17  5.23188e-06
  18  31.6964
  19  0.25958
  20  0.0965558
Done.

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

Extracting fit parameters...

4FGL J1736.0+2033
   Spectrum: LogParabola
284         norm:  4.410e+01  4.143e+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.138e+00  9.656e-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:  5.620e-01  2.596e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.87
Ra Dec: 264.019 20.556
Photon Index (Fixed Index): 1.74 +/- 0.00
Photon Flux (Fixed Index): 8.64e-09 +/- 8.11e-09
Energy Flux (Fixed Index): 1.37e-05 +/- 1.28e-05

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) = 9790.9801715
delta logL = 1.61399366881

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9790.81134934
delta logL = 1.78281582659

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    16.329       1.0000         .10000E-03   10000.    
     2 'alpha     '    .27773       1.0000          .0000       5.0000    
     3 'Normalizat'    .56193       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1392       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.

 FCN=   9790.811     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      214 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          16.329        20.954        .24779E-02   -.16447E-02
   2  alpha         .27751        .64088        .50000        .55614E-04
   3  Normalizat    .56191        .23826        .11998       -.18740E-03
   4  Prefactor     1.1392        .88831E-01    .36258E-01   -.10776E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 16.3287
  alpha      = 0.277513
  Normalizat = 0.561912
  Prefactor  = 1.13918
 **********
 **   18 **HESSE 
 **********

 FCN=   9790.811     FROM HESSE     STATUS=OK            29 CALLS      243 TOTAL
                     EDM=   .90E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          16.329        31.292        .99116E-04   -1.4900    
   2  alpha         .27751        .78433        .44594E-01   -1.0951    
   3  Normalizat    .56191        .25170        .53203E-03   -1.0963    
   4  Prefactor     1.1392        .94213E-01    .14225E-03   -.88224    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.99702e-09
Minuit parameter uncertainties:
  1  31.3233
  2  0.864069
  3  0.252213
  4  0.0942271
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/928126': 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) = 9790.81134921
delta logL = 1.78281595432

Extracting fit parameters...

4FGL J1736.0+2033
   Spectrum: LogParabola
284         norm:  1.633e+01  3.132e+01  1.000e-04  1.000e+04 ( 1.000e-14)
285        alpha:  2.775e-01  8.641e-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.139e+00  9.423e-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:  5.619e-01  2.522e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.43
Ra Dec: 264.019 20.556
Photon Index (Free Index): 0.28 +/- 0.86
Photon Flux (Free Index): 3.47e-09 +/- 3.53e-09
Energy Flux (Free Index): 8.95e-05 +/- 1.12e-04

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/928126/cmap_HighResolution_633312001_633571201_4FGL_J1736.0+2033_daily_bin1520.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.64e-09', energy_flux2='8.95e-05', photon_flux_error='8.11e-09', dlogl='1.78e+00', energy_flux='1.37e-05', photon_flux2='3.47e-09', job_status='DONE', time_completed='2021-09-18 00:22:13.497357', photon_index_error2='0.86', photon_index2='0.28', ts='8.87', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', energy_flux_error2='1.12e-04', EG='0.56', time_epoch_completed='1631949733.5', return_code='0', job_id='928126', GAL2='1.14', EG2='0.56', return_code2='0', energy_flux_error='1.28e-05', photon_flux_error2='3.53e-09', ts2='12.43', photon_index='1.74' WHERE bin_id='1520' AND source_name='4FGL J1736.0+2033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 00:22:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 928126: <4FGL_J1736.0+2033_daily_bin1520> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1736.0+2033_daily_bin1520 264.019 20.5559 633312001 633571201 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 :                                   734.36 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             264.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   959 sec.
    Turnaround time :                            961 sec.

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

