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


Performing analysis on: 4FGL_J0718.0+4536_daily_bin744
RA = 109.516, Dec = 45.6163
tmin = 432172801, tmax = 432432001
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='206319', job_status='RUN', time_executed='2021-08-26 23:20:45.242779', time_epoch_executed='1630045245.24' WHERE source_name='4FGL J0718.0+4536' and cadence='daily' and bin_id='744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/206319

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/206319/ft1_4FGL_J0718.0+4536_daily_bin744.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/206319/ft2_4FGL_J0718.0+4536_daily_bin744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/206319/ft1_4FGL_J0718.0+4536_daily_bin744.fits outfile=/scratch/kocevski/206319/ft1_filteredMKT_4FGL_J0718.0+4536_daily_bin744.fits ra=109.516 dec=45.6163 rad=12.0 tmin=432172801.0 tmax=432432001.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 5.12
user 4.78
sys 0.28

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/206319/ft2_4FGL_J0718.0+4536_daily_bin744.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/206319/ft2_4FGL_J0718.0+4536_daily_bin744.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/206319/ft1_filteredMKT_4FGL_J0718.0+4536_daily_bin744.fits evtable="EVENTS" outfile="/scratch/kocevski/206319/ft1_filtered_4FGL_J0718.0+4536_daily_bin744.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.64
user 0.33
sys 0.23

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/206319/ft1_filtered_4FGL_J0718.0+4536_daily_bin744.fits" evtable="EVENTS" scfile=/scratch/kocevski/206319/ft2_4FGL_J0718.0+4536_daily_bin744.fits sctable="SC_DATA" outfile=/scratch/kocevski/206319/ltcube_432172801_432432001_4FGL_J0718.0+4536_daily_bin744.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/206319/ft2_4FGL_J0718.0+4536_daily_bin744.fits
.....................!
real 11.98
user 11.53
sys 0.41

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/206319/ft1_filtered_4FGL_J0718.0+4536_daily_bin744.fits evtable="EVENTS" scfile=/scratch/kocevski/206319/ft2_4FGL_J0718.0+4536_daily_bin744.fits sctable="SC_DATA" expcube=/scratch/kocevski/206319/ltcube_432172801_432432001_4FGL_J0718.0+4536_daily_bin744.fits outfile=/scratch/kocevski/206319/expmap_432172801_432432001_4FGL_J0718.0+4536_daily_bin744.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/206319/ltcube_432172801_432432001_4FGL_J0718.0+4536_daily_bin744.fits
.....................!
real 190.21
user 185.82
sys 3.98

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

Setting source of interest to:
4FGL J0718.0+4536 @ 109.516 45.6163

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/206319/ft1_filtered_4FGL_J0718.0+4536_daily_bin744.fits scfile=/scratch/kocevski/206319/ft2_4FGL_J0718.0+4536_daily_bin744.fits outfile=/scratch/kocevski/206319/cmap_432172801_432432001_4FGL_J0718.0+4536_daily_bin744.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=109.516 yref=45.6163 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.62
user 0.38
sys 0.21

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/206319/ft1_filtered_4FGL_J0718.0+4536_daily_bin744.fits scfile=/scratch/kocevski/206319/ft2_4FGL_J0718.0+4536_daily_bin744.fits outfile=/scratch/kocevski/206319/cmap_HighResolution_432172801_432432001_4FGL_J0718.0+4536_daily_bin744.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=109.516 yref=45.6163 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.62
user 0.39
sys 0.22

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/206319/ft1_filtered_4FGL_J0718.0+4536_daily_bin744.fits evtable="EVENTS" scfile=/scratch/kocevski/206319/ft2_4FGL_J0718.0+4536_daily_bin744.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/206319/Model_4FGL_J0718.0+4536_daily_bin744.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/206319/ft1_filtered_4FGL_J0718.0+4536_daily_bin744.fits.....................!
real 86.54
user 85.16
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/206319/ft1_filtered_4FGL_J0718.0+4536_daily_bin744.fits', '/scratch/kocevski/206319/ft2_4FGL_J0718.0+4536_daily_bin744.fits', expMap='/scratch/kocevski/206319/expmap_432172801_432432001_4FGL_J0718.0+4536_daily_bin744.fits', expCube='/scratch/kocevski/206319/ltcube_432172801_432432001_4FGL_J0718.0+4536_daily_bin744.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/206319/Model_4FGL_J0718.0+4536_daily_bin744.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0718.0+4536'

4FGL J0718.0+4536
   Spectrum: LogParabola
258         norm:  2.760e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.248e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  2.201e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  6.673e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/206319/ft1_filtered_4FGL_J0718.0+4536_daily_bin744.fits
Spacecraft file(s): /scratch/kocevski/206319/ft2_4FGL_J0718.0+4536_daily_bin744.fits
Exposure map: /scratch/kocevski/206319/expmap_432172801_432432001_4FGL_J0718.0+4536_daily_bin744.fits
Exposure cube: /scratch/kocevski/206319/ltcube_432172801_432432001_4FGL_J0718.0+4536_daily_bin744.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/206319/Model_4FGL_J0718.0+4536_daily_bin744.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) = 8406.65018007

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10505E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.3108       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.1762       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13700E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    32.265       1.0000         .10000E-03   10000.    
     8 'norm      '    1.6785       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.3957       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .82468       1.0000         .10000E-03   10000.    
    13 'Prefactor '    13.574       1.0000         .10000E-03   10000.    
    14 'Prefactor '    24.058       1.0000         .10000E-03   10000.    
    15 'norm      '    4.1658       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.0189       1.0000         .10000E-03   10000.    
    17 'Prefactor '    17.989       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    5.8275       1.0000         .10000E-03   10000.    
    20 'norm      '    .63116       1.0000         .10000E-03   10000.    
    21 'norm      '    1.1464       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .88079       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0233       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8406.641     FROM MIGRAD    STATUS=CONVERGED    529 CALLS     2584 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.849        .61190E-06** at limit **
   2  norm          2.3106        2.7720       -.14047E-06   -.14678E-04
   3  norm          .10000E-03    1.1403       -.30852E-07** at limit **
   4  Prefactor     .10000E-03    28.895       -.36467E-06** at limit **
   5  norm          4.1723        4.3988        .34314E-05   -.98352E-03
   6  Prefactor     .10002E-03    4.5854       -.11966E-05** at limit **
   7  Prefactor     32.252        20.752       -.11723E-05   -.52434E-04
   8  norm          1.6762        4.1138        .81063E-06   -.27320E-04
   9  Prefactor     .10000E-03    13.001       -.11466E-06** at limit **
  10  Prefactor     9.3952        11.419        .21440E-06    .11207E-04
  11  Prefactor     .10000E-03    15.731       -.40138E-06** at limit **
  12  norm          .82495        .89362        .13435E-06    .11459E-04
  13  Prefactor     13.572        12.217        .24142E-07    .16368E-04
  14  Prefactor     24.071        17.968        .38730E-06    .16191E-03
  15  norm          4.1656        2.6643       -.16425E-07   -.21168E-04
  16  Prefactor     3.9889        12.490       -.26319E-05   -.18206E-03
  17  Prefactor     18.023        41.338        .10830E-04    .40213E-03
  18  Prefactor     .10000E-03    3.4278       -.15440E-07** at limit **
  19  norm          5.8273        3.3361       -.29821E-08    .40464E-04
  20  norm          .63151        1.0204        .26652E-07    .72776E-04
  21  norm          1.1465        .56849       -.21518E-07   -.69167E-04
  22  Normalizat    .88087        .19628       -.11372E-05    .16983E-03
  23  Prefactor     1.0233        .97995E-01    .16916E-06    .15247E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 2.31065
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.17231
  Prefactor  = 0.000100015
  Prefactor  = 32.2515
  norm       = 1.67622
  Prefactor  = 0.0001
  Prefactor  = 9.39516
  Prefactor  = 0.0001
  norm       = 0.824948
  Prefactor  = 13.572
  Prefactor  = 24.0707
  norm       = 4.16562
  Prefactor  = 3.98893
  Prefactor  = 18.0235
  Prefactor  = 0.0001
  norm       = 5.82731
  norm       = 0.63151
  norm       = 1.14651
  Normalizat = 0.880871
  Prefactor  = 1.02328
 **********
 **   18 **HESSE 
 **********

 FCN=   8406.641     FROM HESSE     STATUS=OK           380 CALLS     2964 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.370        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.3106        2.7638        .16161E-03   -1.5404    
   3  norm          .10000E-03    1.1457        .95594E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    29.129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.1723        4.5581        .96388E-03   -1.5299    
   6  Prefactor     .10002E-03    48.352        .35959E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     32.252        20.569        .70542E-04   -1.4572    
   8  norm          1.6762        4.0624        .28201E-03   -1.5449    
   9  Prefactor     .10000E-03    13.022        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.3952        11.416        .13074E-03   -1.5095    
  11  Prefactor     .10000E-03    15.775        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .82495        .83384        .85341E-03   -1.5526    
  13  Prefactor     13.572        12.219        .10872E-03   -1.4971    
  14  Prefactor     24.071        17.950        .81668E-04   -1.4726    
  15  norm          4.1656        2.6610        .11396E-03   -1.5300    
  16  Prefactor     3.9889        12.795        .20116E-03   -1.5308    
  17  Prefactor     18.023        44.662        .94431E-04   -1.4859    
  18  Prefactor     .10000E-03    3.4808        .16562E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          5.8273        3.3328        .12325E-03   -1.5225    
  20  norm          .63151        .78876        .11449E-02   -1.5549    
  21  norm          1.1465        .57119        .47127E-04   -1.5494    
  22  Normalizat    .88087        .21730        .35203E-03   -.97136    
  23  Prefactor     1.0233        .11097        .17604E-03   -.91958    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.19506e-09
Minuit parameter uncertainties:
  1  7.65801e-05
  2  2.76398
  3  8.68177e-07
  4  5.25933e-05
  5  4.55846
  6  0.00172794
  7  20.5731
  8  4.06308
  9  9.35871e-06
  10  11.4184
  11  4.91571e-05
  12  0.833851
  13  12.221
  14  17.9543
  15  2.66111
  16  12.8042
  17  44.7454
  18  1.0431e-06
  19  3.33294
  20  0.788773
  21  0.571197
  22  0.217516
  23  0.110993
Done.

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

Extracting fit parameters...

4FGL J0718.0+4536
   Spectrum: LogParabola
258         norm:  1.676e+00  4.063e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.248e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  2.201e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  6.673e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  1.023e+00  1.110e-01  0.000e+00  1.000e+01 ( 1.000e+00)
598        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
599        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
596   Normalization:  8.809e-01  2.175e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.23
Ra Dec: 109.516 45.616
Photon Flux Upper Limit: 5.89e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.19e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/206319/likelihoodResults_432172801_432432001_4FGL_J0718.0+4536_daily_bin744.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) = 8406.64090523
delta logL = 8.61312037159e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8406.64089625
delta logL = 1.75885288627e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6718       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2584       1.0000          .0000       5.0000    
     3 'Normalizat'    .88079       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0232       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8406.641     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      276 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6727        4.1986        .28166E-03   -.87668E-04
   2  alpha         2.2589        1.7000        .60114E-01    .18660E-04
   3  Normalizat    .88081        .20455        .35204E-03   -.96234E-05
   4  Prefactor     1.0233        .11025        .17604E-03   -.18858E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.67273
  alpha      = 2.2589
  Normalizat = 0.880806
  Prefactor  = 1.02329
 **********
 **   18 **HESSE 
 **********

 FCN=   8406.641     FROM HESSE     STATUS=OK            25 CALLS      301 TOTAL
                     EDM=   .79E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6727        4.1104        .11267E-04   -1.5449    
   2  alpha         2.2589        1.6725        .12023E-01   -.96589E-01
   3  Normalizat    .88081        .20462        .14082E-04   -.97138    
   4  Prefactor     1.0233        .11030        .70415E-05   -.91957    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.85434e-12
Minuit parameter uncertainties:
  1  4.11111
  2  1.83415
  3  0.204803
  4  0.110321
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/206319': 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) = 8406.64089557
delta logL = 1.82704025065e-05

Extracting fit parameters...

4FGL J0718.0+4536
   Spectrum: LogParabola
258         norm:  1.673e+00  4.111e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.259e+00  1.834e+00  0.000e+00  5.000e+00 ( 1.000e+00)
260         beta:  2.201e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  6.673e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  1.023e+00  1.103e-01  0.000e+00  1.000e+01 ( 1.000e+00)
598        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
599        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
596   Normalization:  8.808e-01  2.048e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.23
Ra Dec: 109.516 45.616

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/206319/cmap_HighResolution_432172801_432432001_4FGL_J0718.0+4536_daily_bin744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.19e-05', job_status='DONE', photon_flux_upper_limit='5.89e-08', time_completed='2021-08-26 23:34:30.725508', job_id='206319', GAL2='1.02', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1630046070.73', return_code2='0', ts='0.23', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.83e-05', ts2='0.23', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='744' AND source_name='4FGL J0718.0+4536' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 23:34:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0029>
Subject: Job 206319: <4FGL_J0718.0+4536_daily_bin744> in cluster <slac> Done

Job <4FGL_J0718.0+4536_daily_bin744> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Aug 26 23:20:30 2021
Job was executed on host(s) <bullet0029>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 26 23:20:32 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Aug 26 23:20:32 2021
Terminated at Thu Aug 26 23:34:31 2021
Results reported at Thu Aug 26 23:34:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0718.0+4536_daily_bin744 109.516 45.6163 432172801 432432001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0718.0+4536 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   825.48 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             341.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   838 sec.
    Turnaround time :                            841 sec.

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

