aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 134 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J0718.0+4536_daily_bin1710
RA = 109.516, Dec = 45.6163
tmin = 682560001, tmax = 682819201
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='51158', job_status='RUN', time_executed='2022-09-16 12:58:51.168102', time_epoch_executed='1663358331.17' WHERE source_name='4FGL J0718.0+4536' and cadence='daily' and bin_id='1710'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/51158

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/51158/ft1_4FGL_J0718.0+4536_daily_bin1710.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/51158/ft2_4FGL_J0718.0+4536_daily_bin1710.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/51158/ft1_4FGL_J0718.0+4536_daily_bin1710.fits outfile=/scratch/kocevski/51158/ft1_filteredMKT_4FGL_J0718.0+4536_daily_bin1710.fits ra=109.516 dec=45.6163 rad=12.0 tmin=682560001.0 tmax=682819201.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.64
user 3.41
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/51158/ft2_4FGL_J0718.0+4536_daily_bin1710.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/51158/ft1_filteredMKT_4FGL_J0718.0+4536_daily_bin1710.fits evtable="EVENTS" outfile="/scratch/kocevski/51158/ft1_filtered_4FGL_J0718.0+4536_daily_bin1710.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.50
user 0.35
sys 0.14

Number of photons that the gtmktime cut: 828

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/51158/ft1_filtered_4FGL_J0718.0+4536_daily_bin1710.fits" evtable="EVENTS" scfile=/scratch/kocevski/51158/ft2_4FGL_J0718.0+4536_daily_bin1710.fits sctable="SC_DATA" outfile=/scratch/kocevski/51158/ltcube_682560001_682819201_4FGL_J0718.0+4536_daily_bin1710.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/51158/ft2_4FGL_J0718.0+4536_daily_bin1710.fits
.....................!
real 15.45
user 15.09
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/51158/ft1_filtered_4FGL_J0718.0+4536_daily_bin1710.fits evtable="EVENTS" scfile=/scratch/kocevski/51158/ft2_4FGL_J0718.0+4536_daily_bin1710.fits sctable="SC_DATA" expcube=/scratch/kocevski/51158/ltcube_682560001_682819201_4FGL_J0718.0+4536_daily_bin1710.fits outfile=/scratch/kocevski/51158/expmap_682560001_682819201_4FGL_J0718.0+4536_daily_bin1710.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/51158/ltcube_682560001_682819201_4FGL_J0718.0+4536_daily_bin1710.fits
.....................!
real 194.06
user 188.69
sys 4.99

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/51158/ft1_filtered_4FGL_J0718.0+4536_daily_bin1710.fits scfile=/scratch/kocevski/51158/ft2_4FGL_J0718.0+4536_daily_bin1710.fits outfile=/scratch/kocevski/51158/cmap_682560001_682819201_4FGL_J0718.0+4536_daily_bin1710.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/51158/ft1_filtered_4FGL_J0718.0+4536_daily_bin1710.fits scfile=/scratch/kocevski/51158/ft2_4FGL_J0718.0+4536_daily_bin1710.fits outfile=/scratch/kocevski/51158/cmap_HighResolution_682560001_682819201_4FGL_J0718.0+4536_daily_bin1710.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.55
user 0.41
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/51158/ft1_filtered_4FGL_J0718.0+4536_daily_bin1710.fits', '/scratch/kocevski/51158/ft2_4FGL_J0718.0+4536_daily_bin1710.fits', expMap='/scratch/kocevski/51158/expmap_682560001_682819201_4FGL_J0718.0+4536_daily_bin1710.fits', expCube='/scratch/kocevski/51158/ltcube_682560001_682819201_4FGL_J0718.0+4536_daily_bin1710.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/51158/Model_4FGL_J0718.0+4536_daily_bin1710.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  0.000e+00  1.000e+06 ( 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 -5.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/51158/ft1_filtered_4FGL_J0718.0+4536_daily_bin1710.fits
Spacecraft file(s): /scratch/kocevski/51158/ft2_4FGL_J0718.0+4536_daily_bin1710.fits
Exposure map: /scratch/kocevski/51158/expmap_682560001_682819201_4FGL_J0718.0+4536_daily_bin1710.fits
Exposure cube: /scratch/kocevski/51158/ltcube_682560001_682819201_4FGL_J0718.0+4536_daily_bin1710.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/51158/Model_4FGL_J0718.0+4536_daily_bin1710.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) = 8810.52746116

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22090E-05   1.0000          .0000       .10000E+07
     2 'norm      '    .15965E-06   1.0000          .0000       .10000E+07
     3 'norm      '    .89849E-04   1.0000          .0000       .10000E+07
     4 'norm      '    3.2277       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.5033       1.0000          .0000       .10000E+07
     6 'Prefactor '    42.891       1.0000          .0000       .10000E+07
     7 'norm      '    .51456E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .64243E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .38652E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    14.193       1.0000          .0000       .10000E+07
    11 'norm      '    .84877E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    .27221E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .20950E-06   1.0000          .0000       .10000E+07
    14 'norm      '    2.2829       1.0000          .0000       .10000E+07
    15 'Prefactor '    .11605E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    15.224       1.0000          .0000       .10000E+07
    17 'Prefactor '    5.6739       1.0000          .0000       .10000E+07
    18 'norm      '    .10725E-05   1.0000          .0000       .10000E+07
    19 'norm      '    .32313E-06   1.0000          .0000       .10000E+07
    20 'norm      '    3.1551       1.0000          .0000       .10000E+07
    21 'Normalizat'    .95125       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .98726       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8810.431     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     1405 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    2.4161        .64559E-06** at limit **
   2  norm          .14821E-07    5.0857       -.32225E-05** at limit **
   3  norm          .66613E-09    2.6089        .97421E-06** at limit **
   4  norm          3.1877        3.5268       -.98537E-07    .27576E-02
   5  Prefactor     2.5329        5.0973       -.69760E-06    .97109E-03
   6  Prefactor     43.706        3.7891        .31579E-06   -.14396    
   7  norm          .33529E-07    13.369       -.63245E-06** at limit **
   8  Prefactor     .48572E-07    18.174       -.14145E-05** at limit **
   9  Prefactor     .55511E-10    3.1359        .21445E-06** at limit **
  10  Prefactor     14.069        2.9940        .31315E-08   -.67331E-01
  11  norm           .0000        .68469       -.35507E-06** at limit **
  12  Prefactor     .88818E-09    5.7680        .20707E-05** at limit **
  13  Prefactor     .37748E-08    4.4059        .15653E-05** at limit **
  14  norm          2.2860        1.6699       -.21960E-06   -.21812E-02
  15  Prefactor     .16653E-09    2.4862       -.18240E-05** at limit **
  16  Prefactor     12.577        36.919       -.57290E-05    .59288E-02
  17  Prefactor     5.6506        5.9537        .11815E-06   -.66396E-03
  18  norm           .0000        1.0719        .14107E-06** at limit **
  19  norm           .0000        .45503        .15291E-06** at limit **
  20  norm          3.1633        .91866        .10611E-06   -.10260E-01
  21  Normalizat    .95332        .20780        .19205E-04    .12023E-03
  22  Prefactor     .98648        .10873       -.86301E-05    .21096E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  norm       = 1.48215e-08
  norm       = 6.66134e-10
  norm       = 3.18767
  Prefactor  = 2.53291
  Prefactor  = 43.7057
  norm       = 3.35287e-08
  Prefactor  = 4.85723e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 14.0689
  norm       = 0
  Prefactor  = 8.88178e-10
  Prefactor  = 3.77476e-09
  norm       = 2.28598
  Prefactor  = 1.66533e-10
  Prefactor  = 12.577
  Prefactor  = 5.65062
  norm       = 0
  norm       = 0
  norm       = 3.16333
  Normalizat = 0.953323
  Prefactor  = 0.986484
 **********
 **   18 **HESSE 
 **********

 FCN=   8810.431     FROM HESSE     STATUS=OK           384 CALLS     1789 TOTAL
                     EDM=   .41E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    2.4205        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .14821E-07    5.0169        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .66613E-09    2.6015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.1877        3.5695        .56359E-03   -1.5672    
   5  Prefactor     2.5329        5.1933        .64562E-03   -1.5676    
   6  Prefactor     43.706        19.164        .15271E-03   -1.5576    
   7  norm          .33529E-07    13.324        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .48572E-07    18.472        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .55511E-10    3.1351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.069        26.441        .26560E-03   -1.5633    
  11  norm           .0000        .65934        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .88818E-09    5.7752        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .37748E-08    4.4251        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.2860        1.6736        .67922E-03   -1.5678    
  15  Prefactor     .16653E-09    2.4913        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     12.577        36.919        .25643E-03   -1.5637    
  17  Prefactor     5.6506        5.9570        .42147E-03   -1.5660    
  18  norm           .0000        1.0726        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        .45598        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.1633        .92285        .57038E-03   -1.5672    
  21  Normalizat    .95332        .18162        .74000E-01   -.94611    
  22  Prefactor     .98648        .93441E-01    .46108E-01   -.93181    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.13712e-07
Minuit parameter uncertainties:
  1  5.91102e-05
  2  0.000545262
  3  8.26971e-05
  4  3.56946
  5  5.19327
  6  19.164
  7  0.00133695
  8  0.00189424
  9  3.22603e-05
  10  26.4409
  11  1.51963e-06
  12  0.000145054
  13  0.000259332
  14  1.6736
  15  4.20962e-05
  16  36.9192
  17  5.95698
  18  3.91072e-07
  19  5.76157e-06
  20  0.922855
  21  0.181735
  22  0.0934559
Done.

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

Extracting fit parameters...

4FGL J0718.0+4536
   Spectrum: LogParabola
258         norm:  3.353e-08  1.337e-03  0.000e+00  1.000e+06 ( 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 -5.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:  9.865e-01  9.346e-02  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:  9.533e-01  1.817e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/51158/likelihoodResults_682560001_682819201_4FGL_J0718.0+4536_daily_bin1710.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): 102
logL (Free Index) = 8810.43111745
delta logL = -2.35341376538e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8810.43109413
delta logL = -2.1179948817e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .22760E-08   1.0000          .0000       .10000E+07
     2 'alpha     '    1.3441       1.0000          .0000       5.0000    
     3 'Normalizat'    .95335       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98643       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.

 FCN=   8810.431     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      276 TOTAL
                     EDM=   .98E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .44964E-08    .44326        .42118E-03** at limit **
   2  alpha         2.9176        3.0087        .48876        .18608E-08
   3  Normalizat    .95332        .13370E-02    .74000E-01    .56694E-03
   4  Prefactor     .98649        .72554E-03    .46097E-01    .12983E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 4.4964e-09
  alpha      = 2.91761
  Normalizat = 0.953322
  Prefactor  = 0.986485
 **********
 **   18 **HESSE 
 **********

 FCN=   8810.431     FROM HESSE     STATUS=NOT POSDEF    25 CALLS      301 TOTAL
                     EDM=   .69E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .44964E-08    4.0632        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.9176        3.9515        .19550        .16783    
   3  Normalizat    .95332        .40159E-02    .32745E-03   -.94611    
   4  Prefactor     .98649        .21826E-02    .17408E-03   -.93181    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.90677e-11
Minuit parameter uncertainties:
  1  0.000269701
  2  22119.8
  3  0.00401592
  4  0.00218264
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/51158': 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): 102
logL (Free Index) = 8810.43109392
delta logL = 5.25687937625e-10

Extracting fit parameters...

4FGL J0718.0+4536
   Spectrum: LogParabola
258         norm:  4.496e-09  2.697e-04  0.000e+00  1.000e+06 ( 1.000e-12)
259        alpha:  2.918e+00  2.212e+04  0.000e+00  5.000e+00 ( 1.000e+00)
260         beta:  2.201e-01  0.000e+00 -5.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:  9.865e-01  2.183e-03  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:  9.533e-01  4.016e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/51158/cmap_HighResolution_682560001_682819201_4FGL_J0718.0+4536_daily_bin1710.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.18e-05', job_status='DONE', photon_flux_upper_limit='5.88e-08', time_completed='2022-09-16 13:10:38.083677', job_id='51158', GAL2='0.99', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1663359038.08', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='5.26e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='1710' AND source_name='4FGL J0718.0+4536' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 13:10:38 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 51158: <4FGL_J0718.0+4536_daily_bin1710> in cluster <slac> Done

Job <4FGL_J0718.0+4536_daily_bin1710> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 16 12:55:25 2022
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 12:56:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 12:56:28 2022
Terminated at Fri Sep 16 13:10:38 2022
Results reported at Fri Sep 16 13:10:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0718.0+4536_daily_bin1710 109.516 45.6163 682560001 682819201 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 :                                   709.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             317.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   850 sec.
    Turnaround time :                            913 sec.

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

