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


Performing analysis on: 4FGL_J0614.8+6136_daily_bin1674
RA = 93.7213, Dec = 61.6079
tmin = 673228801, tmax = 673488001
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='669177', job_status='RUN', time_executed='2022-05-06 02:45:08.919846', time_epoch_executed='1651830308.92' WHERE source_name='4FGL J0614.8+6136' and cadence='daily' and bin_id='1674'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/669177

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/669177/ft1_4FGL_J0614.8+6136_daily_bin1674.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/669177/ft2_4FGL_J0614.8+6136_daily_bin1674.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/669177/ft1_4FGL_J0614.8+6136_daily_bin1674.fits outfile=/scratch/kocevski/669177/ft1_filteredMKT_4FGL_J0614.8+6136_daily_bin1674.fits ra=93.7213 dec=61.6079 rad=12.0 tmin=673228801.0 tmax=673488001.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 2.99
user 2.56
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/669177/ft2_4FGL_J0614.8+6136_daily_bin1674.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/669177/ft2_4FGL_J0614.8+6136_daily_bin1674.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/669177/ft1_filteredMKT_4FGL_J0614.8+6136_daily_bin1674.fits evtable="EVENTS" outfile="/scratch/kocevski/669177/ft1_filtered_4FGL_J0614.8+6136_daily_bin1674.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.51
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 1414

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/669177/ft1_filtered_4FGL_J0614.8+6136_daily_bin1674.fits" evtable="EVENTS" scfile=/scratch/kocevski/669177/ft2_4FGL_J0614.8+6136_daily_bin1674.fits sctable="SC_DATA" outfile=/scratch/kocevski/669177/ltcube_673228801_673488001_4FGL_J0614.8+6136_daily_bin1674.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/669177/ft2_4FGL_J0614.8+6136_daily_bin1674.fits
.....................!
real 15.70
user 15.29
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/669177/ft1_filtered_4FGL_J0614.8+6136_daily_bin1674.fits evtable="EVENTS" scfile=/scratch/kocevski/669177/ft2_4FGL_J0614.8+6136_daily_bin1674.fits sctable="SC_DATA" expcube=/scratch/kocevski/669177/ltcube_673228801_673488001_4FGL_J0614.8+6136_daily_bin1674.fits outfile=/scratch/kocevski/669177/expmap_673228801_673488001_4FGL_J0614.8+6136_daily_bin1674.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/669177/ltcube_673228801_673488001_4FGL_J0614.8+6136_daily_bin1674.fits
.....................!
real 191.30
user 186.18
sys 4.74

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
Extended source G150.3+4.5 in ROI with RadialDisk spatial model.
Extended source HB 9 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/HB9.fits is the correct path to the extended template.
Added 185 point sources and 2 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0614.8+6136 @ 93.7213 61.6079

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/669177/ft1_filtered_4FGL_J0614.8+6136_daily_bin1674.fits scfile=/scratch/kocevski/669177/ft2_4FGL_J0614.8+6136_daily_bin1674.fits outfile=/scratch/kocevski/669177/cmap_673228801_673488001_4FGL_J0614.8+6136_daily_bin1674.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=93.7213 yref=61.6079 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/669177/ft1_filtered_4FGL_J0614.8+6136_daily_bin1674.fits scfile=/scratch/kocevski/669177/ft2_4FGL_J0614.8+6136_daily_bin1674.fits outfile=/scratch/kocevski/669177/cmap_HighResolution_673228801_673488001_4FGL_J0614.8+6136_daily_bin1674.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=93.7213 yref=61.6079 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/669177/ft1_filtered_4FGL_J0614.8+6136_daily_bin1674.fits evtable="EVENTS" scfile=/scratch/kocevski/669177/ft2_4FGL_J0614.8+6136_daily_bin1674.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/669177/Model_4FGL_J0614.8+6136_daily_bin1674.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 G150.3+4.5
adding source GAL_V02
adding source HB 9
Working on...
/scratch/kocevski/669177/ft1_filtered_4FGL_J0614.8+6136_daily_bin1674.fits.....................!
real 233.61
user 230.90
sys 1.41

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/669177/ft1_filtered_4FGL_J0614.8+6136_daily_bin1674.fits', '/scratch/kocevski/669177/ft2_4FGL_J0614.8+6136_daily_bin1674.fits', expMap='/scratch/kocevski/669177/expmap_673228801_673488001_4FGL_J0614.8+6136_daily_bin1674.fits', expCube='/scratch/kocevski/669177/ltcube_673228801_673488001_4FGL_J0614.8+6136_daily_bin1674.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/669177/Model_4FGL_J0614.8+6136_daily_bin1674.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0614.8+6136'

4FGL J0614.8+6136
   Spectrum: PowerLaw
249    Prefactor:  3.640e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
250        Index:  2.497e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
251        Scale:  8.979e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/669177/ft1_filtered_4FGL_J0614.8+6136_daily_bin1674.fits
Spacecraft file(s): /scratch/kocevski/669177/ft2_4FGL_J0614.8+6136_daily_bin1674.fits
Exposure map: /scratch/kocevski/669177/expmap_673228801_673488001_4FGL_J0614.8+6136_daily_bin1674.fits
Exposure cube: /scratch/kocevski/669177/ltcube_673228801_673488001_4FGL_J0614.8+6136_daily_bin1674.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/669177/Model_4FGL_J0614.8+6136_daily_bin1674.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) = 14666.3495717

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10552E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.9619       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.0712       1.0000         .10000E-03   10000.    
    10 'Prefactor '    18.695       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    20.612       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.3464       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .87898       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1159       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   14666.30     FROM MIGRAD    STATUS=CONVERGED    412 CALLS     2009 TOTAL
                     EDM=   .63E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    18.544        .57785E-06** at limit **
   2  norm          .10000E-03    7.6363        .99031E-08** at limit **
   3  Prefactor     .10000E-03    13.267        .18594E-06** at limit **
   4  Prefactor     .10000E-03    18.657        .38295E-06** at limit **
   5  norm          .10000E-03    87.127       -.61214E-06** at limit **
   6  Prefactor     .10000E-03    10.117        .88973E-07** at limit **
   7  Prefactor     .10000E-03    22.346       -.78022E-06** at limit **
   8  Prefactor     5.9614        20.461        .58427E-05   -.56644E-04
   9  Prefactor     5.0712        5.1252        .43325E-07    .85020E-04
  10  Prefactor     18.696        16.814       -.50014E-07    .30625E-05
  11  Prefactor     .10000E-03    12.578       -.22829E-06** at limit **
  12  Prefactor     20.610        27.426        .26379E-07   -.79994E-05
  13  Prefactor     .10000E-03    5.7468       -.10390E-07** at limit **
  14  Prefactor     .10000E-03    7.3454       -.71324E-07** at limit **
  15  Prefactor     .10000E-03    3.8978        .18724E-08** at limit **
  16  norm          2.3464        .67125        .34999E-08   -.92055E-05
  17  Prefactor     .10000E-03    7.2431        .60668E-07** at limit **
  18  Prefactor     .10000E-03    47.678        .57715E-06** at limit **
  19  Normalizat    .87906        .15491       -.62792E-06   -.48178E-05
  20  Prefactor     1.1159        .58560E-01    .77494E-08   -.58036E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 5.96144
  Prefactor  = 5.07116
  Prefactor  = 18.6956
  Prefactor  = 0.0001
  Prefactor  = 20.6103
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.34644
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 0.879062
  Prefactor  = 1.11588
 **********
 **   18 **HESSE 
 **********

 FCN=   14666.30     FROM HESSE     STATUS=OK           285 CALLS     2294 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    19.243        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    7.6456        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    13.658        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    18.727        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    87.280        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    10.122        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    22.488        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.9614        20.476        .82227E-03   -1.5220    
   9  Prefactor     5.0712        5.1224        .17855E-03   -1.5258    
  10  Prefactor     18.696        16.816        .92631E-04   -1.4843    
  11  Prefactor     .10000E-03    12.594        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     20.610        27.504        .88222E-04   -1.4800    
  13  Prefactor     .10000E-03    5.7481        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    7.4599        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    3.9009        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.3464        .67141        .51345E-04   -1.5402    
  17  Prefactor     .10000E-03    7.2581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    47.725        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .87906        .16585        .42104E-03   -.97200    
  20  Prefactor     1.1159        .62952E-01    .14880E-03   -.88961    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.30534e-10
Minuit parameter uncertainties:
  1  8.6566e-05
  2  1.14707e-06
  3  2.90357e-05
  4  0.000144477
  5  0.000548578
  6  2.57164e-05
  7  0.000300352
  8  20.5
  9  5.12284
  10  16.8202
  11  7.64878e-05
  12  27.5205
  13  8.12838e-07
  14  1.17404e-05
  15  1.03268e-07
  16  0.671416
  17  1.31995e-05
  18  0.000387882
  19  0.165945
  20  0.0629566
Done.

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

Extracting fit parameters...

4FGL J0614.8+6136
   Spectrum: PowerLaw
249    Prefactor:  5.961e+00  2.050e+01  1.000e-04  1.000e+04 ( 1.000e-13)
250        Index:  2.497e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
251        Scale:  8.979e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.116e+00  6.296e-02  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  8.791e-01  1.659e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.09
Ra Dec: 93.721 61.608
Photon Flux Upper Limit: 8.59e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/669177/likelihoodResults_673228801_673488001_4FGL_J0614.8+6136_daily_bin1674.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) = 14666.2799878
delta logL = 0.0195542544625

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 14666.278348
delta logL = 0.0211940079098

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.0434       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8359       1.0000          .0000       10.000    
     3 'Normalizat'    .87489       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1165       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   14666.28     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      241 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.0307        116.31        .44763E-02    .13364E-03
   2  Index         2.8405        .79449        .50000        .21049E-04
   3  Normalizat    .87472        .16009E-01    .95251E-01    .72173E-04
   4  Prefactor     1.1165        .63248E-02    .36991E-01    .83635E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.03066
  Index      = 2.84048
  Normalizat = 0.874717
  Prefactor  = 1.11651
 **********
 **   18 **HESSE 
 **********

 FCN=   14666.28     FROM HESSE     STATUS=OK            33 CALLS      274 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.0307        19.520        .17905E-03   -1.5259    
   2  Index         2.8405        1.8764        .59385E-02   -.44660    
   3  Normalizat    .87472        .16136        .42201E-03   -.97354    
   4  Prefactor     1.1165        .62822E-01    .14876E-03   -.88941    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56154e-11
Minuit parameter uncertainties:
  1  19.5445
  2  1.93524
  3  0.16145
  4  0.0628264
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/669177': 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) = 14666.2783434
delta logL = 0.0211986399154

Extracting fit parameters...

4FGL J0614.8+6136
   Spectrum: PowerLaw
249    Prefactor:  5.031e+00  1.954e+01  1.000e-04  1.000e+04 ( 1.000e-13)
250        Index:  2.840e+00  1.935e+00  0.000e+00  1.000e+01 (-1.000e+00)
251        Scale:  8.979e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  1.117e+00  6.283e-02  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  8.747e-01  1.614e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.09
Ra Dec: 93.721 61.608

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/669177/cmap_HighResolution_673228801_673488001_4FGL_J0614.8+6136_daily_bin1674.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.68e-03', job_status='DONE', photon_flux_upper_limit='8.59e-08', time_completed='2022-05-06 03:04:45.141727', job_id='669177', GAL2='1.12', fit_tolerance='1e-08', EG2='0.87', EG='0.88', time_epoch_completed='1651831485.14', return_code2='0', ts='0.09', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='2.12e-02', ts2='0.14', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='1674' AND source_name='4FGL J0614.8+6136' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri May  6 03:04:45 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0198>
Subject: Job 669105: <4FGL_J0614.8+6136_daily_bin1674> in cluster <slac> Done

Job <4FGL_J0614.8+6136_daily_bin1674> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri May  6 00:06:21 2022
Job was executed on host(s) <bullet0198>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May  6 02:43:03 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May  6 02:43:03 2022
Terminated at Fri May  6 03:03:53 2022
Results reported at Fri May  6 03:03:53 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0614.8+6136_daily_bin1674 93.7213 61.6079 673228801 673488001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0614.8+6136 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1190.45 sec.
    Max Memory :                                 656 MB
    Average Memory :                             358.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2932 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   1250 sec.
    Turnaround time :                            10652 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 669177: <4FGL_J0614.8+6136_daily_bin1674> in cluster <slac> Done

Job <4FGL_J0614.8+6136_daily_bin1674> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri May  6 00:06:25 2022
Job was executed on host(s) <bullet0278>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May  6 02:43:26 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May  6 02:43:26 2022
Terminated at Fri May  6 03:04:46 2022
Results reported at Fri May  6 03:04:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0614.8+6136_daily_bin1674 93.7213 61.6079 673228801 673488001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0614.8+6136 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1177.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             343.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1279 sec.
    Turnaround time :                            10701 sec.

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

