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


Performing analysis on: 4FGL_J0718.0+4536_daily_bin1711
RA = 109.516, Dec = 45.6163
tmin = 682819201, tmax = 683078401
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='51159', job_status='RUN', time_executed='2022-09-16 12:58:25.994907', time_epoch_executed='1663358305.99' WHERE source_name='4FGL J0718.0+4536' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/51159

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/51159/ft1_4FGL_J0718.0+4536_daily_bin1711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/51159/ft2_4FGL_J0718.0+4536_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/51159/ft1_4FGL_J0718.0+4536_daily_bin1711.fits outfile=/scratch/kocevski/51159/ft1_filteredMKT_4FGL_J0718.0+4536_daily_bin1711.fits ra=109.516 dec=45.6163 rad=12.0 tmin=682819201.0 tmax=683078401.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 4.55
user 4.31
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/51159/ft2_4FGL_J0718.0+4536_daily_bin1711.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/51159/ft1_filteredMKT_4FGL_J0718.0+4536_daily_bin1711.fits evtable="EVENTS" outfile="/scratch/kocevski/51159/ft1_filtered_4FGL_J0718.0+4536_daily_bin1711.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.54
user 0.36
sys 0.15

Number of photons that the gtmktime cut: 796

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/51159/ft1_filtered_4FGL_J0718.0+4536_daily_bin1711.fits" evtable="EVENTS" scfile=/scratch/kocevski/51159/ft2_4FGL_J0718.0+4536_daily_bin1711.fits sctable="SC_DATA" outfile=/scratch/kocevski/51159/ltcube_682819201_683078401_4FGL_J0718.0+4536_daily_bin1711.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/51159/ft2_4FGL_J0718.0+4536_daily_bin1711.fits
.....................!
real 14.36
user 13.93
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/51159/ft1_filtered_4FGL_J0718.0+4536_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/51159/ft2_4FGL_J0718.0+4536_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/51159/ltcube_682819201_683078401_4FGL_J0718.0+4536_daily_bin1711.fits outfile=/scratch/kocevski/51159/expmap_682819201_683078401_4FGL_J0718.0+4536_daily_bin1711.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/51159/ltcube_682819201_683078401_4FGL_J0718.0+4536_daily_bin1711.fits
.....................!
real 191.23
user 185.20
sys 5.57

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/51159/ft1_filtered_4FGL_J0718.0+4536_daily_bin1711.fits scfile=/scratch/kocevski/51159/ft2_4FGL_J0718.0+4536_daily_bin1711.fits outfile=/scratch/kocevski/51159/cmap_682819201_683078401_4FGL_J0718.0+4536_daily_bin1711.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.56
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/51159/ft1_filtered_4FGL_J0718.0+4536_daily_bin1711.fits scfile=/scratch/kocevski/51159/ft2_4FGL_J0718.0+4536_daily_bin1711.fits outfile=/scratch/kocevski/51159/cmap_HighResolution_682819201_683078401_4FGL_J0718.0+4536_daily_bin1711.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.56
user 0.38
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/51159/ft1_filtered_4FGL_J0718.0+4536_daily_bin1711.fits', '/scratch/kocevski/51159/ft2_4FGL_J0718.0+4536_daily_bin1711.fits', expMap='/scratch/kocevski/51159/expmap_682819201_683078401_4FGL_J0718.0+4536_daily_bin1711.fits', expCube='/scratch/kocevski/51159/ltcube_682819201_683078401_4FGL_J0718.0+4536_daily_bin1711.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/51159/Model_4FGL_J0718.0+4536_daily_bin1711.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/51159/ft1_filtered_4FGL_J0718.0+4536_daily_bin1711.fits
Spacecraft file(s): /scratch/kocevski/51159/ft2_4FGL_J0718.0+4536_daily_bin1711.fits
Exposure map: /scratch/kocevski/51159/expmap_682819201_683078401_4FGL_J0718.0+4536_daily_bin1711.fits
Exposure cube: /scratch/kocevski/51159/ltcube_682819201_683078401_4FGL_J0718.0+4536_daily_bin1711.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/51159/Model_4FGL_J0718.0+4536_daily_bin1711.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) = 8582.33114646

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11131       1.0000          .0000       .10000E+07
     2 'norm      '    1.3276       1.0000          .0000       .10000E+07
     3 'norm      '    .13193E-05   1.0000          .0000       .10000E+07
     4 'norm      '    .80491E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    .91028E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.3239       1.0000          .0000       .10000E+07
     7 'norm      '    4.1510       1.0000          .0000       .10000E+07
     8 'Prefactor '    .20669       1.0000          .0000       .10000E+07
     9 'Prefactor '    .11385       1.0000          .0000       .10000E+07
    10 'Prefactor '    .10120E-01   1.0000          .0000       .10000E+07
    11 'norm      '    1.4579       1.0000          .0000       .10000E+07
    12 'Prefactor '    .30075E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    6.2749       1.0000          .0000       .10000E+07
    14 'norm      '    1.0904       1.0000          .0000       .10000E+07
    15 'Prefactor '    .28685E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    2.4319       1.0000          .0000       .10000E+07
    17 'Prefactor '    8.5477       1.0000          .0000       .10000E+07
    18 'norm      '    .52069E-07   1.0000          .0000       .10000E+07
    19 'norm      '    2.5069       1.0000          .0000       .10000E+07
    20 'norm      '    1.0128       1.0000          .0000       .10000E+07
    21 'Normalizat'    1.1780       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .82718       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=   8581.620     FROM MIGRAD    STATUS=CONVERGED    161 CALLS     1397 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .26359        24.332        .76583E-06   -.62377E-04
   2  norm          1.3237        3.3592        .31561E-06   -.16474E-03
   3  norm           .0000        .99806       -.45576E-07** at limit **
   4  norm           .0000        1.4306       -.41454E-06** at limit **
   5  Prefactor      .0000        1.8125       -.78028E-07** at limit **
   6  Prefactor     3.2828        13.868       -.96882E-06   -.17368E-01
   7  norm          4.1280        7.1059        .62242E-07    .21794E-02
   8  Prefactor     .40938E-04    142.22        .42179E-05** at limit **
   9  Prefactor     .90861E-03    171.32        .69648E-05** at limit **
  10  Prefactor     .22593E-07    12.239        .17126E-06** at limit **
  11  norm          1.4582        .88251       -.20991E-06   -.43565E-02
  12  Prefactor     .55511E-10    13.517        .46717E-06** at limit **
  13  Prefactor     6.7841        17.840        .14349E-05    .60144E-01
  14  norm          1.0938        1.7984        .15427E-06   -.30371E-03
  15  Prefactor     .44131E-07    11.137       -.27895E-05** at limit **
  16  Prefactor     .90703E-05    256.91       -.93712E-05** at limit **
  17  Prefactor     8.5424        5.2022        .34733E-06   -.70415E-03
  18  norm           .0000        2.2837       -.55754E-06** at limit **
  19  norm          2.5062        1.5282       -.77523E-07   -.14163E-03
  20  norm          1.0163        .66224        .10285E-06    .11345E-02
  21  Normalizat    1.1800        .20126        .42075E-06    .55959E-04
  22  Prefactor     .82647        .10147       -.97590E-06    .11339E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.263587
  norm       = 1.32373
  norm       = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 3.28281
  norm       = 4.12797
  Prefactor  = 4.09384e-05
  Prefactor  = 0.000908607
  Prefactor  = 2.2593e-08
  norm       = 1.45822
  Prefactor  = 5.55112e-11
  Prefactor  = 6.78414
  norm       = 1.09378
  Prefactor  = 4.41314e-08
  Prefactor  = 9.0703e-06
  Prefactor  = 8.5424
  norm       = 0
  norm       = 2.50617
  norm       = 1.01631
  Normalizat = 1.17996
  Prefactor  = 0.826466
 **********
 **   18 **HESSE 
 **********

 FCN=   8581.620     FROM HESSE     STATUS=OK           410 CALLS     1807 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .26359        2.9949        .88670E-02   -1.5698    
   2  norm          1.3237        3.4329        .95326E-03   -1.5685    
   3  norm           .0000        .99769        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        1.4337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        1.8150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.2828        14.098        .55496E-03   -1.5672    
   7  norm          4.1280        7.1388        .49448E-03   -1.5667    
   8  Prefactor     .40938E-04    11.708        .17034E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .90861E-03    7.8680        .13571E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .22593E-07    12.301        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.4582        .90570        .89109E-03   -1.5684    
  12  Prefactor     .55511E-10    7.3048        .79248E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.7841        18.834        .40049E-03   -1.5656    
  14  norm          1.0938        2.2413        .36288E-02   -1.5687    
  15  Prefactor     .44131E-07    11.205        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .90703E-05    259.15        .65592E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     8.5424        5.2218        .34263E-03   -1.5650    
  18  norm           .0000        2.2848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.5062        1.5269        .64512E-03   -1.5676    
  20  norm          1.0163        .66403        .44217E-03   -1.5688    
  21  Normalizat    1.1800        .18001        .65630E-01   -.87224    
  22  Prefactor     .82647        .87790E-01    .44070E-01   -.98760    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.77191e-07
Minuit parameter uncertainties:
  1  1.77699
  2  3.43288
  3  3.93039e-06
  4  1.31203e-07
  5  5.95249e-06
  6  13.6061
  7  7.1388
  8  0.0437862
  9  0.169103
  10  0.00105377
  11  0.905697
  12  3.49748e-05
  13  18.8342
  14  2.24132
  15  0.00140643
  16  0.0969696
  17  5.2218
  18  1.12316e-05
  19  1.52691
  20  0.664035
  21  0.180101
  22  0.0878047
Done.

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

Extracting fit parameters...

4FGL J0718.0+4536
   Spectrum: LogParabola
258         norm:  4.128e+00  7.139e+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

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  8.265e-01  8.780e-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:  1.180e+00  1.801e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/51159/likelihoodResults_682819201_683078401_4FGL_J0718.0+4536_daily_bin1711.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) = 8581.37186394
delta logL = 0.247914447233

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8581.34566564
delta logL = 0.274112746894

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.7534       1.0000          .0000       .10000E+07
     2 'alpha     '    3.4009       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1444       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83657       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=   8581.346     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      219 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.7437        72.048        .61321E-03    .73787E-02
   2  alpha         3.4034        3.8901        .45176        .56265E-04
   3  Normalizat    1.1444        .52626E-01    .66517E-01   -.92813E-05
   4  Prefactor     .83660        .26400E-01    .44191E-01    .24914E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.74371
  alpha      = 3.40341
  Normalizat = 1.14445
  Prefactor  = 0.836602
 **********
 **   18 **HESSE 
 **********

 FCN=   8581.346     FROM HESSE     STATUS=OK            33 CALLS      252 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.7437        10.437        .16027E-04   -1.5675    
   2  alpha         3.4034        3.9138        .25106E-01    .36973    
   3  Normalizat    1.1444        .20252        .29427E-03   -.88337    
   4  Prefactor     .83660        .10348        .17687E-03   -.98393    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0477e-07
Minuit parameter uncertainties:
  1  10.4366
  2  2.90939
  3  0.202658
  4  0.103503
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/51159': 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) = 8581.34566394
delta logL = 0.274114451679

Extracting fit parameters...

4FGL J0718.0+4536
   Spectrum: LogParabola
258         norm:  2.744e+00  1.044e+01  0.000e+00  1.000e+06 ( 1.000e-12)
259        alpha:  3.403e+00  2.909e+00  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:  8.366e-01  1.035e-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:  1.144e+00  2.027e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.42
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/51159/cmap_HighResolution_682819201_683078401_4FGL_J0718.0+4536_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.03e-05', job_status='DONE', photon_flux_upper_limit='8.17e-08', time_completed='2022-09-16 13:09:57.854925', job_id='51159', GAL2='0.84', fit_tolerance='1e-08', EG2='1.14', EG='1.18', time_epoch_completed='1663358997.85', return_code2='0', ts='0.42', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='2.74e-01', ts2='1.00', photon_index_error='0.00', photon_index='2.25' WHERE bin_id='1711' AND source_name='4FGL J0718.0+4536' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 13:09:57 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 51159: <4FGL_J0718.0+4536_daily_bin1711> in cluster <slac> Done

Job <4FGL_J0718.0+4536_daily_bin1711> 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) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 12:56:29 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:29 2022
Terminated at Fri Sep 16 13:09:58 2022
Results reported at Fri Sep 16 13:09:58 2022

Your job looked like:

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

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

