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 18 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).
nnumber of points = 7478
number of fields = 31
RA_SUN column already exists. File will not be modified.DDone.


Performing analysis on: 4FGL_J0607.4+4739_daily_bin1694
RA = 91.8571, Dec = 47.6635
tmin = 678412801, tmax = 678672001
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='638983', job_status='RUN', time_executed='2022-07-05 02:39:08.514314', time_epoch_executed='1657013948.51' WHERE source_name='4FGL J0607.4+4739' and cadence='daily' and bin_id='1694'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/638983

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/638983/ft1_4FGL_J0607.4+4739_daily_bin1694.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/638983/ft2_4FGL_J0607.4+4739_daily_bin1694.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/638983/ft1_4FGL_J0607.4+4739_daily_bin1694.fits outfile=/scratch/kocevski/638983/ft1_filteredMKT_4FGL_J0607.4+4739_daily_bin1694.fits ra=91.8571 dec=47.6635 rad=12.0 tmin=678412801.0 tmax=678672001.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.63
user 3.41
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/638983/ft2_4FGL_J0607.4+4739_daily_bin1694.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/638983/ft2_4FGL_J0607.4+4739_daily_bin1694.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/638983/ft1_filteredMKT_4FGL_J0607.4+4739_daily_bin1694.fits evtable="EVENTS" outfile="/scratch/kocevski/638983/ft1_filtered_4FGL_J0607.4+4739_daily_bin1694.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.35
sys 0.15

Number of photons that the gtmktime cut: 1547

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/638983/ft1_filtered_4FGL_J0607.4+4739_daily_bin1694.fits" evtable="EVENTS" scfile=/scratch/kocevski/638983/ft2_4FGL_J0607.4+4739_daily_bin1694.fits sctable="SC_DATA" outfile=/scratch/kocevski/638983/ltcube_678412801_678672001_4FGL_J0607.4+4739_daily_bin1694.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/638983/ft2_4FGL_J0607.4+4739_daily_bin1694.fits
.....................!
real 15.80
user 15.36
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/638983/ft1_filtered_4FGL_J0607.4+4739_daily_bin1694.fits evtable="EVENTS" scfile=/scratch/kocevski/638983/ft2_4FGL_J0607.4+4739_daily_bin1694.fits sctable="SC_DATA" expcube=/scratch/kocevski/638983/ltcube_678412801_678672001_4FGL_J0607.4+4739_daily_bin1694.fits outfile=/scratch/kocevski/638983/expmap_678412801_678672001_4FGL_J0607.4+4739_daily_bin1694.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/638983/ltcube_678412801_678672001_4FGL_J0607.4+4739_daily_bin1694.fits
.....................!
real 192.53
user 187.19
sys 4.45

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 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.
Extended source G150.3+4.5 in ROI with RadialDisk spatial model.
Extended source S 147 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/S147.fits is the correct path to the extended template.
Added 162 point sources and 3 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 J0607.4+4739 @ 91.8571 47.6635

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/638983/ft1_filtered_4FGL_J0607.4+4739_daily_bin1694.fits scfile=/scratch/kocevski/638983/ft2_4FGL_J0607.4+4739_daily_bin1694.fits outfile=/scratch/kocevski/638983/cmap_678412801_678672001_4FGL_J0607.4+4739_daily_bin1694.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=91.8571 yref=47.6635 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/638983/ft1_filtered_4FGL_J0607.4+4739_daily_bin1694.fits scfile=/scratch/kocevski/638983/ft2_4FGL_J0607.4+4739_daily_bin1694.fits outfile=/scratch/kocevski/638983/cmap_HighResolution_678412801_678672001_4FGL_J0607.4+4739_daily_bin1694.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=91.8571 yref=47.6635 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/638983/ft1_filtered_4FGL_J0607.4+4739_daily_bin1694.fits evtable="EVENTS" scfile=/scratch/kocevski/638983/ft2_4FGL_J0607.4+4739_daily_bin1694.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/638983/Model_4FGL_J0607.4+4739_daily_bin1694.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
adding source S 147
Working on...
/scratch/kocevski/638983/ft1_filtered_4FGL_J0607.4+4739_daily_bin1694.fits.....................!
real 349.70
user 347.04
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/638983/ft1_filtered_4FGL_J0607.4+4739_daily_bin1694.fits', '/scratch/kocevski/638983/ft2_4FGL_J0607.4+4739_daily_bin1694.fits', expMap='/scratch/kocevski/638983/expmap_678412801_678672001_4FGL_J0607.4+4739_daily_bin1694.fits', expCube='/scratch/kocevski/638983/ltcube_678412801_678672001_4FGL_J0607.4+4739_daily_bin1694.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/638983/Model_4FGL_J0607.4+4739_daily_bin1694.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0607.4+4739'

4FGL J0607.4+4739
   Spectrum: LogParabola
254         norm:  2.235e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
255        alpha:  1.938e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
256         beta:  7.395e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  1.214e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/638983/ft1_filtered_4FGL_J0607.4+4739_daily_bin1694.fits
Spacecraft file(s): /scratch/kocevski/638983/ft2_4FGL_J0607.4+4739_daily_bin1694.fits
Exposure map: /scratch/kocevski/638983/expmap_678412801_678672001_4FGL_J0607.4+4739_daily_bin1694.fits
Exposure cube: /scratch/kocevski/638983/ltcube_678412801_678672001_4FGL_J0607.4+4739_daily_bin1694.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/638983/Model_4FGL_J0607.4+4739_daily_bin1694.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) = 15740.450438

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4951       1.0000         .10000E-03   10000.    
     2 'norm      '    .77118E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.5409       1.0000         .10000E-03   10000.    
     5 'Prefactor '    71.194       1.0000         .10000E-03   10000.    
     6 'norm      '    5.5178       1.0000         .10000E-03   10000.    
     7 'norm      '    4.7798       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10314E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.4810       1.0000         .10000E-03   10000.    
    12 'norm      '    .10779E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.4259       1.0000         .10000E-03   10000.    
    14 'norm      '    .10074E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .23865E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    29.240       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.5524       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .87679       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15740.35     FROM MIGRAD    STATUS=CONVERGED    371 CALLS     1578 TOTAL
                     EDM=   .49E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5029        27.489       -.31694E-06   -.72499E-06
   2  norm          .77832E-01    .29685        .16700E-06   -.73831E-03
   3  Prefactor     .10000E-03    4.9810       -.41080E-06** at limit **
   4  norm          1.5416        2.1079        .18769E-06   -.33418E-04
   5  Prefactor     71.209        42.318       -.17421E-05   -.32878E-05
   6  norm          5.5154        3.4359        .12967E-05    .41716E-04
   7  norm          4.7800        3.1654        .89418E-07    .20358E-05
   8  Prefactor     .10000E-03    8.1121        .92692E-07** at limit **
   9  Prefactor     .10000E-03    4.8679        .30269E-06** at limit **
  10  Prefactor     .10000E-03    9.3591       -.11695E-06** at limit **
  11  norm          3.4801        3.1767        .80031E-07    .38772E-04
  12  norm          .10000E-03    2.2761       -.34752E-07** at limit **
  13  Prefactor     4.4349        24.770       -.16466E-05   -.50517E-05
  14  norm          .10000E-03    3.4849       -.23588E-06** at limit **
  15  Prefactor     .10000E-03    2.4673        .91430E-07** at limit **
  16  Prefactor     29.233        20.420        .67014E-06    .72193E-04
  17  Normalizat    1.5525        .20246       -.51057E-06    .16572E-04
  18  Prefactor     .87674        .46914E-01   -.47049E-08    .74353E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.50287
  norm       = 0.0778323
  Prefactor  = 0.0001
  norm       = 1.54157
  Prefactor  = 71.2093
  norm       = 5.51536
  norm       = 4.77999
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.48006
  norm       = 0.0001
  Prefactor  = 4.43486
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 29.233
  Normalizat = 1.55252
  Prefactor  = 0.876737  **********
 **   18 **HESSE 
 **********

 FCN=   15740.35     FROM HESSE     STATUS=OK           254 CALLS     1832 TOTAL
                     EDM=   .95E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5029        27.610        .25875E-03   -1.5392    
   2  norm          .77832E-01    .60797        .12691E-02   -1.5652    
   3  Prefactor     .10000E-03    4.9906        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.5416        2.0940        .20172E-03   -1.5460    
   5  Prefactor     71.209        42.291        .47577E-04   -1.4018    
   6  norm          5.5154        3.4439        .85522E-03   -1.5238    
   7  norm          4.7800        3.1611        .17574E-03   -1.5271    
   8  Prefactor     .10000E-03    8.2585        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.9140        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    9.3738        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.4801        3.1708        .20594E-03   -1.5335    
  12  norm          .10000E-03    11.429        .35869E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.4349        24.574        .19142E-03   -1.5287    
  14  norm          .10000E-03    3.5258        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    48.959        .36990E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     29.233        20.355        .74093E-04   -1.4626    
  17  Normalizat    1.5525        .21241        .45044E-03   -.76313    
  18  Prefactor     .87674        .50465E-01    .13952E-03   -.96959    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.47215e-08
Minuit parameter uncertainties:
  1  16.6353
  2  0.434788
  3  1.29342e-06
  4  2.09412
  5  42.309
  6  3.44406
  7  3.16119
  8  6.07586e-07
  9  1.13569e-05
  10  2.6238e-06
  11  3.17094
  12  8.16066e-05
  13  20.8917
  14  2.34359e-05
  15  0.000694812
  16  20.3603
  17  0.212533
  18  0.0504675DDone.

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

Extracting fit parameters...

4FGL J0607.4+4739
   Spectrum: LogParabola
254         norm:  5.515e+00  3.444e+00  1.000e-04  1.000e+04 ( 1.000e-12)
255        alpha:  1.938e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
256         beta:  7.395e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  1.214e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
540    Prefactor:  8.767e-01  5.047e-02  0.000e+00  1.000e+01 ( 1.000e+00)
541        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
542        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.553e+00  2.125e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.68
Ra Dec: 91.857 47.663
Photon Index (Fixed Index): 1.94 +/- 0.00
Photon Flux (Fixed Index): 5.94e-08 +/- 3.71e-08
Energy Flux (Fixed Index): 4.33e-05 +/- 2.70e-05

TS (Fixed Index): 3.68
Ra Dec: 91.857 47.663
Photon Flux Upper Limit: 1.33e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.69e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/638983/likelihoodResults_678412801_678672001_4FGL_J0607.4+4739_daily_bin1694.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) = 15738.2993869
delta logL = 2.04975866852

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15738.2821855
delta logL = 2.06696008872

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15738.28     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      283 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4955        3.8951        .25873E-04   -.18833E-02
   2  alpha         2.9566        .85484        .95091E-02   -.13881E-03
   3  Normalizat    1.4566        .21206        .46174E-03   -.13305E-03
   4  Prefactor     .88671        .50025E-01    .13874E-03    .58023E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.49553
  alpha      = 2.95656
  Normalizat = 1.45661
  Prefactor  = 0.886709
 **********
 **   18 **HESSE 
 **********

 FCN=   15738.28     FROM HESSE     STATUS=OK            25 CALLS      308 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4955        2.5790        .10349E-05   -1.5392    
   2  alpha         2.9566        .57198        .38036E-03    .18366    
   3  Normalizat    1.4566        .20975        .18470E-04   -.79005    
   4  Prefactor     .88671        .49605E-01    .27747E-04   -.96607    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.63522e-10
Minuit parameter uncertainties:
  1  2.57907
  2  0.577271
  3  0.209874
  4  0.0496072
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/638983': 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) = 15738.2821855
delta logL = 2.06696009051

Extracting fit parameters...

4FGL J0607.4+4739
   Spectrum: LogParabola
254         norm:  2.496e+00  2.579e+00  1.000e-04  1.000e+04 ( 1.000e-12)
255        alpha:  2.957e+00  5.773e-01  0.000e+00  5.000e+00 ( 1.000e+00)
256         beta:  7.395e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
257           Eb:  1.214e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
540    Prefactor:  8.867e-01  4.961e-02  0.000e+00  1.000e+01 ( 1.000e+00)
541        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
542        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.457e+00  2.099e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.09
Ra Dec: 91.857 47.663
Photon Index (Free Index): 2.96 +/- 0.58
Photon Flux (Free Index): 1.51e-07 +/- 6.91e-08
Energy Flux (Free Index): 3.35e-05 +/- 1.51e-05

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/638983/cmap_HighResolution_678412801_678672001_4FGL_J0607.4+4739_daily_bin1694.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.69e-05', comment='SUCCESS', photon_flux='5.94e-08', energy_flux2='3.35e-05', photon_flux_error='3.71e-08', dlogl='2.07e+00', energy_flux='4.33e-05', photon_flux2='1.51e-07', job_status='DONE', time_completed='2022-07-05 02:58:38.757814', photon_index_error2='0.58', photon_index2='2.96', ts='3.68', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='1.33e-07', energy_flux_error2='1.51e-05', EG='1.55', time_epoch_completed='1657015118.76', return_code='0', job_id='638983', GAL2='0.89', EG2='1.46', return_code2='0', energy_flux_error='2.70e-05', photon_flux_error2='6.91e-08', ts2='8.09', photon_index='1.94' WHERE bin_id='1694' AND source_name='4FGL J0607.4+4739' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul  5 02:58:38 PDT 2022

------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 638982: <4FGL_J0607.4+4739_daily_bin1694> in cluster <slac> Done

Job <4FGL_J0607.4+4739_daily_bin1694> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Tue Jul  5 00:05:36 2022
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul  5 02:38:42 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul  5 02:38:42 2022
Terminated at Tue Jul  5 02:58:32 2022
Results reported at Tue Jul  5 02:58:32 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0607.4+4739_daily_bin1694 91.8571 47.6635 678412801 678672001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0607.4+4739 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1180.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             414.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1189 sec.
    Turnaround time :                            10376 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 638983: <4FGL_J0607.4+4739_daily_bin1694> in cluster <slac> Done

Job <4FGL_J0607.4+4739_daily_bin1694> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Tue Jul  5 00:05:36 2022
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul  5 02:38:42 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul  5 02:38:42 2022
Terminated at Tue Jul  5 02:58:39 2022
Results reported at Tue Jul  5 02:58:39 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0607.4+4739_daily_bin1694 91.8571 47.6635 678412801 678672001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0607.4+4739 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1169.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             404.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1197 sec.
    Turnaround time :                            10383 sec.

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

