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


Performing analysis on: 4FGL_J1736.0+2033_daily_bin1571
RA = 264.019, Dec = 20.5559
tmin = 646531201, tmax = 646790401
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='929251', job_status='RUN', time_executed='2021-09-18 00:10:30.433652', time_epoch_executed='1631949030.43' WHERE source_name='4FGL J1736.0+2033' and cadence='daily' and bin_id='1571'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/929251

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/929251/ft1_4FGL_J1736.0+2033_daily_bin1571.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/929251/ft2_4FGL_J1736.0+2033_daily_bin1571.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/929251/ft1_4FGL_J1736.0+2033_daily_bin1571.fits outfile=/scratch/kocevski/929251/ft1_filteredMKT_4FGL_J1736.0+2033_daily_bin1571.fits ra=264.019 dec=20.5559 rad=12.0 tmin=646531201.0 tmax=646790401.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.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/929251/ft1_filtered_4FGL_J1736.0+2033_daily_bin1571.fits" evtable="EVENTS" scfile=/scratch/kocevski/929251/ft2_4FGL_J1736.0+2033_daily_bin1571.fits sctable="SC_DATA" outfile=/scratch/kocevski/929251/ltcube_646531201_646790401_4FGL_J1736.0+2033_daily_bin1571.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/929251/ft2_4FGL_J1736.0+2033_daily_bin1571.fits
.....................!
real 11.87
user 11.52
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/929251/ft1_filtered_4FGL_J1736.0+2033_daily_bin1571.fits evtable="EVENTS" scfile=/scratch/kocevski/929251/ft2_4FGL_J1736.0+2033_daily_bin1571.fits sctable="SC_DATA" expcube=/scratch/kocevski/929251/ltcube_646531201_646790401_4FGL_J1736.0+2033_daily_bin1571.fits outfile=/scratch/kocevski/929251/expmap_646531201_646790401_4FGL_J1736.0+2033_daily_bin1571.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/929251/ltcube_646531201_646790401_4FGL_J1736.0+2033_daily_bin1571.fits
.....................!
real 190.26
user 185.46
sys 4.36

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/929251/ft1_filtered_4FGL_J1736.0+2033_daily_bin1571.fits scfile=/scratch/kocevski/929251/ft2_4FGL_J1736.0+2033_daily_bin1571.fits outfile=/scratch/kocevski/929251/cmap_646531201_646790401_4FGL_J1736.0+2033_daily_bin1571.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/929251/ft1_filtered_4FGL_J1736.0+2033_daily_bin1571.fits scfile=/scratch/kocevski/929251/ft2_4FGL_J1736.0+2033_daily_bin1571.fits outfile=/scratch/kocevski/929251/cmap_HighResolution_646531201_646790401_4FGL_J1736.0+2033_daily_bin1571.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.40
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.6743       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    21.171       1.0000         .10000E-03   10000.    
     8 'norm      '    4.6462       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10341E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    13.382       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.8495       1.0000         .10000E-03   10000.    
    13 'norm      '    .86499       1.0000         .10000E-03   10000.    
    14 'Prefactor '    41.986       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .26739E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .19918E-01   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1437       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .99888       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=   10027.02     FROM MIGRAD    STATUS=CONVERGED    453 CALLS     2098 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.6747        6.3804       -.12801E-06   -.15511E-03
   2  Prefactor     .10000E-03    19.408        .38645E-06** at limit **
   3  Prefactor     .10000E-03    16.445       -.17239E-06** at limit **
   4  Prefactor     .10000E-03    34.566       -.61222E-05** at limit **
   5  Prefactor     .10000E-03    4.4080        .95518E-07** at limit **
   6  norm          .10000E-03    1.8221       -.72794E-07** at limit **
   7  Prefactor     21.159        16.395       -.48116E-05   -.13133E-03
   8  norm          4.6417        9.6332        .19173E-05   -.18947E-03
   9  Prefactor     .10000E-03    1.7075        .51016E-06** at limit **
  10  norm          13.341        51.509       -.86942E-05   -.23376E-05
  11  Prefactor     .10000E-03    37.471        .77141E-05** at limit **
  12  Prefactor     8.6536        72.649       -.22355E-04    .46639E-04
  13  norm          .86517        1.1226       -.19300E-06   -.17255E-02
  14  Prefactor     41.994        32.439        .11918E-04    .43690E-03
  15  Prefactor     .10000E-03    118.42       -.98824E-04** at limit **
  16  Prefactor     .10000E-03    2.5598        .70601E-07** at limit **
  17  norm          .10042E-03    4.9613        .20681E-06** at limit **
  18  Prefactor     .10000E-03    14.796        .39097E-06** at limit **
  19  Normalizat    1.1439        .23346       -.47322E-06    .14730E-03
  20  Prefactor     .99881        .83828E-01    .42978E-06    .15783E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.67469
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 21.1595
  norm       = 4.64174
  Prefactor  = 0.0001
  norm       = 13.3414
  Prefactor  = 0.0001
  Prefactor  = 8.65363
  norm       = 0.865171
  Prefactor  = 41.9936
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  norm       = 0.000100422
  Prefactor  = 0.0001
  Normalizat = 1.14392
  Prefactor  = 0.998814
 **********
 **   18 **HESSE 
 **********

 FCN=   10027.02     FROM HESSE     STATUS=OK           299 CALLS     2397 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.6747        6.3831        .14476E-03   -1.5154    
   2  Prefactor     .10000E-03    19.464        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    16.498        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    34.584        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.4174        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.8692        .26388E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     21.159        16.202        .87051E-04   -1.4788    
   8  norm          4.6417        9.5005        .18671E-03   -1.5277    
   9  Prefactor     .10000E-03    3.1974        .24504E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          13.341        51.528        .10949E-03   -1.4977    
  11  Prefactor     .10000E-03    37.455        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.6536        72.263        .13474E-03   -1.5120    
  13  norm          .86517        1.0187        .11486E-02   -1.5522    
  14  Prefactor     41.994        32.849        .61866E-04   -1.4411    
  15  Prefactor     .10000E-03    118.92        .21438E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    2.5716        .15644E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10042E-03    5.7203        .79393E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    14.811        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1439        .26989        .40662E-03   -.88354    
  20  Prefactor     .99881        .97167E-01    .15495E-03   -.92769    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15977e-09
Minuit parameter uncertainties:
  1  6.38365
  2  3.79569e-07
  3  1.85889e-06
  4  8.77258e-06
  5  8.80034e-08
  6  2.66816e-07
  7  16.2049
  8  9.50359
  9  7.56772e-05
  10  51.7011
  11  2.34641e-05
  12  50.0954
  13  1.01869
  14  32.8633
  15  0.00140894
  16  4.18007e-06
  17  0.00310755
  18  3.71298e-06
  19  0.27022
  20  0.097184
Done.

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

Extracting fit parameters...

4FGL J1736.0+2033
   Spectrum: LogParabola
284         norm:  1.334e+01  5.170e+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:  9.988e-01  9.718e-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:  1.144e+00  2.702e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/929251/likelihoodResults_646531201_646790401_4FGL_J1736.0+2033_daily_bin1571.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) = 10026.8071418
delta logL = 0.214044845463

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10026.8069417
delta logL = 0.214244947108

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.545       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5630       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1392       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99767       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=   10026.81     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      261 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.551        36.740        .10883E-03    .30213E-03
   2  alpha         2.5621        1.2420        .18552E-01    .10700E-03
   3  Normalizat    1.1393        .26323        .40732E-03    .47644E-03
   4  Prefactor     .99761        .95074E-01    .15501E-03    .13773E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 13.551
  alpha      = 2.56214
  Normalizat = 1.13926
  Prefactor  = 0.997608
 **********
 **   18 **HESSE 
 **********

 FCN=   10026.81     FROM HESSE     STATUS=OK            25 CALLS      286 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.551        31.562        .21767E-04   -1.4972    
   2  alpha         2.5621        1.0799        .74208E-03    .24859E-01
   3  Normalizat    1.1393        .26322        .16293E-04   -.88501    
   4  Prefactor     .99761        .95108E-01    .31002E-04   -.92809    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.31859e-09
Minuit parameter uncertainties:
  1  31.6012
  2  1.11667
  3  0.263526
  4  0.0951238
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/929251': 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) = 10026.8069409
delta logL = 0.214245830839

Extracting fit parameters...

4FGL J1736.0+2033
   Spectrum: LogParabola
284         norm:  1.355e+01  3.160e+01  1.000e-04  1.000e+04 ( 1.000e-14)
285        alpha:  2.562e+00  1.117e+00  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:  9.976e-01  9.512e-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:  1.139e+00  2.635e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.08
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/929251/cmap_HighResolution_646531201_646790401_4FGL_J1736.0+2033_daily_bin1571.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.48e-05', job_status='DONE', photon_flux_upper_limit='3.47e-08', time_completed='2021-09-18 00:24:39.652633', job_id='929251', GAL2='1.00', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1631949879.65', return_code2='0', ts='0.08', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='2.14e-01', ts2='0.51', photon_index_error='0.00', photon_index='1.74' WHERE bin_id='1571' AND source_name='4FGL J1736.0+2033' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 18 00:24:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 929251: <4FGL_J1736.0+2033_daily_bin1571> in cluster <slac> Done

Job <4FGL_J1736.0+2033_daily_bin1571> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sat Sep 18 00:10:19 2021
Job was executed on host(s) <bullet0080>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 18 00:10:21 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:10:21 2021
Terminated at Sat Sep 18 00:24:40 2021
Results reported at Sat Sep 18 00:24:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1736.0+2033_daily_bin1571 264.019 20.5559 646531201 646790401 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 :                                   844.18 sec.
    Max Memory :                                 1034 MB
    Average Memory :                             329.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   858 sec.
    Turnaround time :                            861 sec.

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

