/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 41 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 = 7398
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0607.4+4739_daily_bin1514
RA = 91.8571, Dec = 47.6635
tmin = 631756801, tmax = 632016001
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='10147', job_status='RUN', time_executed='2021-08-24 07:29:15.264770', time_epoch_executed='1629815355.26' WHERE source_name='4FGL J0607.4+4739' and cadence='daily' and bin_id='1514'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/10147

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/10147/ft1_4FGL_J0607.4+4739_daily_bin1514.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/10147/ft2_4FGL_J0607.4+4739_daily_bin1514.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/10147/ft1_4FGL_J0607.4+4739_daily_bin1514.fits outfile=/scratch/kocevski/10147/ft1_filteredMKT_4FGL_J0607.4+4739_daily_bin1514.fits ra=91.8571 dec=47.6635 rad=12.0 tmin=631756801.0 tmax=632016001.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 10.44
user 2.18
sys 8.10

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/10147/ft2_4FGL_J0607.4+4739_daily_bin1514.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/10147/ft1_filteredMKT_4FGL_J0607.4+4739_daily_bin1514.fits evtable="EVENTS" outfile="/scratch/kocevski/10147/ft1_filtered_4FGL_J0607.4+4739_daily_bin1514.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 8.57
user 0.34
sys 8.08

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/10147/ft1_filtered_4FGL_J0607.4+4739_daily_bin1514.fits" evtable="EVENTS" scfile=/scratch/kocevski/10147/ft2_4FGL_J0607.4+4739_daily_bin1514.fits sctable="SC_DATA" outfile=/scratch/kocevski/10147/ltcube_631756801_632016001_4FGL_J0607.4+4739_daily_bin1514.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/10147/ft2_4FGL_J0607.4+4739_daily_bin1514.fits
.....................!
real 25.80
user 16.64
sys 9.10

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/10147/ft1_filtered_4FGL_J0607.4+4739_daily_bin1514.fits evtable="EVENTS" scfile=/scratch/kocevski/10147/ft2_4FGL_J0607.4+4739_daily_bin1514.fits sctable="SC_DATA" expcube=/scratch/kocevski/10147/ltcube_631756801_632016001_4FGL_J0607.4+4739_daily_bin1514.fits outfile=/scratch/kocevski/10147/expmap_631756801_632016001_4FGL_J0607.4+4739_daily_bin1514.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/10147/ltcube_631756801_632016001_4FGL_J0607.4+4739_daily_bin1514.fits
.....................!
real 200.49
user 185.11
sys 15.04

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/10147/ft1_filtered_4FGL_J0607.4+4739_daily_bin1514.fits scfile=/scratch/kocevski/10147/ft2_4FGL_J0607.4+4739_daily_bin1514.fits outfile=/scratch/kocevski/10147/cmap_631756801_632016001_4FGL_J0607.4+4739_daily_bin1514.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 8.33
user 0.36
sys 7.90

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/10147/ft1_filtered_4FGL_J0607.4+4739_daily_bin1514.fits scfile=/scratch/kocevski/10147/ft2_4FGL_J0607.4+4739_daily_bin1514.fits outfile=/scratch/kocevski/10147/cmap_HighResolution_631756801_632016001_4FGL_J0607.4+4739_daily_bin1514.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 8.28
user 0.39
sys 7.84

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/10147/ft1_filtered_4FGL_J0607.4+4739_daily_bin1514.fits evtable="EVENTS" scfile=/scratch/kocevski/10147/ft2_4FGL_J0607.4+4739_daily_bin1514.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/10147/Model_4FGL_J0607.4+4739_daily_bin1514.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/10147/ft1_filtered_4FGL_J0607.4+4739_daily_bin1514.fits........!
real 25.59
user 14.32
sys 11.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/10147/ft1_filtered_4FGL_J0607.4+4739_daily_bin1514.fits', '/scratch/kocevski/10147/ft2_4FGL_J0607.4+4739_daily_bin1514.fits', expMap='/scratch/kocevski/10147/expmap_631756801_632016001_4FGL_J0607.4+4739_daily_bin1514.fits', expCube='/scratch/kocevski/10147/ltcube_631756801_632016001_4FGL_J0607.4+4739_daily_bin1514.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/10147/Model_4FGL_J0607.4+4739_daily_bin1514.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/10147/ft1_filtered_4FGL_J0607.4+4739_daily_bin1514.fits
Spacecraft file(s): /scratch/kocevski/10147/ft2_4FGL_J0607.4+4739_daily_bin1514.fits
Exposure map: /scratch/kocevski/10147/expmap_631756801_632016001_4FGL_J0607.4+4739_daily_bin1514.fits
Exposure cube: /scratch/kocevski/10147/ltcube_631756801_632016001_4FGL_J0607.4+4739_daily_bin1514.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/10147/Model_4FGL_J0607.4+4739_daily_bin1514.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 102.604541116

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 101.536917575

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    437.81       1.0000         .10000E-03   10000.    
     2 'norm      '    1.2099       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.8080       1.0000         .10000E-03   10000.    
     4 'norm      '    1.5670       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.7099       1.0000         .10000E-03   10000.    
     6 'norm      '    2.2348       1.0000         .10000E-03   10000.    
     7 'norm      '    3.2362       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.0620       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.3465       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .44067       1.0000         .10000E-03   10000.    
    11 'norm      '    1.7747       1.0000         .10000E-03   10000.    
    12 'norm      '    2.4961       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.7036       1.0000         .10000E-03   10000.    
    14 'norm      '    .45283E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .36474       1.0000         .10000E-03   10000.    
    16 'Prefactor '    663.02       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    18 'Prefactor '    .75760       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5510E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   101.5138     FROM MIGRAD    STATUS=CONVERGED    115 CALLS      273 TOTAL
                     EDM=   .86E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     396.40        505.50        .10126E-03    .85592E-04
   2  norm          1.2099        1.1312         .0000         .0000    
   3  Prefactor     .10000E-03    374.85        .10378E-04** at limit **
   4  norm          1.5670        1.0630         .0000         .0000    
   5  Prefactor     11.104        21.549       -.14614E-04   -.50508E-03
   6  norm          2.2348        1.0275         .0000         .0000    
   7  norm          3.2362        1.0125         .0000         .0000    
   8  Prefactor     .10000E-03    209.67        .10926E-05** at limit **
   9  Prefactor     2.3465        1.0247         .0000         .0000    
  10  Prefactor     .10000E-03    219.27       -.99126E-06** at limit **
  11  norm          .10000E-03    246.80        .21352E-06** at limit **
  12  norm          2.4961        1.0216         .0000         .0000    
  13  Prefactor     2.7036        1.0182         .0000         .0000    
  14  norm          .10000E-03    152.87        .79556E-05** at limit **
  15  Prefactor     .10000E-03    240.12        .48459E-06** at limit **
  16  Prefactor     741.80        772.50       -.11699E-03    .64297E-04
  17  Normalizat    .10000E-01    .98661       -.49720E-03** at limit **
  18  Prefactor     .76243        .53834        .24861E-04   -.33945E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 396.401
  norm       = 1.20986
  Prefactor  = 0.0001
  norm       = 1.56697
  Prefactor  = 11.1035
  norm       = 2.23476
  norm       = 3.23619
  Prefactor  = 0.0001
  Prefactor  = 2.34653
  Prefactor  = 0.0001
  norm       = 0.000100002
  norm       = 2.49607
  Prefactor  = 2.70356
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 741.805
  Normalizat = 0.01
  Prefactor  = 0.762435
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   101.5138     FROM HESSE     STATUS=FAILED        13 CALLS      286 TOTAL
                     EDM=   .86E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     396.40        434.18        .48874E-03   -1.1699    
   2  norm          583.64        582.17         .0000       -1.5488    
   3  Prefactor     .10000E-03    .66851E-01    .10378E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.5670        1.0630         .0000       -1.5458    
   5  Prefactor     11.104        1.0707       -.14614E-04   -1.5041    
   6  norm          2.2348        1.0275         .0000       -1.5409    
   7  norm          3.2362        1.0125         .0000       -1.5348    
   8  Prefactor     .10000E-03    .35237        .10926E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.3465        1.0247         .0000       -1.5402    
  10  Prefactor     .10000E-03    .30393       -.99126E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .15432        .21352E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.4961        1.0216         .0000       -1.5392    
  13  Prefactor     2.7036        1.0182         .0000       -1.5379    
  14  norm          .10000E-03    .23367        .79556E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    .28652        .48459E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     741.80        1.0533       -.11699E-03   -1.0191    
  17  Normalizat    .10000E-01    .25505       -.49720E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .76243        1.1102        .24861E-04   -1.0113    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.55916e-10
Minuit parameter uncertainties:
  1  437.848
  2  1.13126
  3  1.08947e-05
  4  1.06302
  5  1.07071
  6  1.02752
  7  1.01246
  8  3.9469e-07
  9  1.02472
  10  2.13844e-06
  11  3.06487e-05
  12  1.02162
  13  1.01821
  14  2.20178e-05
  15  1.23528e-06
  16  1.05327
  17  3.35397e-05
  18  1.14549
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 101.513766992

Extracting fit parameters...

4FGL J0607.4+4739
   Spectrum: LogParabola
254         norm:  2.235e+00  1.028e+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:  7.624e-01  1.145e+00  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.000e-02  3.354e-05  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 10000.0 is not large enough
delta logLike = 0.0

TS (Fixed Index): 0.00
Ra Dec: 91.857 47.663
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -7.29e+02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/10147/likelihoodResults_631756801_632016001_4FGL_J0607.4+4739_daily_bin1514.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): 101
logL (Free Index) = 101.513893471
delta logL = -0.000126478902672

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 101.513893471
delta logL = -0.000126478902672

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'alpha     '    1.9375       1.0000          .0000       5.0000    
 **********
 **   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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   101.5139     FROM MIGRAD    STATUS=CONVERGED     15 CALLS       62 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    alpha       1.9375        1.0055        .42552         .0000    
                               ERR DEF=  .500    
Final values: 
  alpha      = 1.93751
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   101.5139     FROM HESSE     STATUS=FAILED         7 CALLS       69 TOTAL
                     EDM=   .00E+00  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    alpha       .81994        1.1677        .42552       -.22694    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 0
Minuit parameter uncertainties:
  1  1.03652
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/10147': 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): 101
logL (Free Index) = 101.513893471
delta logL = -0.000126478902672

Extracting fit parameters...

4FGL J0607.4+4739
   Spectrum: LogParabola
254         norm:  2.235e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12) fixed
255        alpha:  1.938e+00  1.037e+00  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:  7.624e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
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.000e-02  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


TS (Free Index): 0.00
Ra Dec: 91.857 47.663

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/10147/cmap_HighResolution_631756801_632016001_4FGL_J0607.4+4739_daily_bin1514.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.29e+02', job_status='DONE', photon_flux_upper_limit='-1.00e+00', time_completed='2021-08-24 07:37:38.372491', job_id='10147', GAL2='0.76', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1629815858.37', return_code2='101', ts='0.00', comment='SUCCESS', return_code='101', GAL='0.76', dlogl='-1.26e-04', ts2='0.00', photon_index_error='0.00', photon_index='1.94' WHERE bin_id='1514' AND source_name='4FGL J0607.4+4739' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 07:37:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0130>
Subject: Job 10147: <4FGL_J0607.4+4739_daily_bin1514> in cluster <slac> Done

Job <4FGL_J0607.4+4739_daily_bin1514> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Aug 24 07:25:56 2021
Job was executed on host(s) <bullet0130>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 07:25:57 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 24 07:25:57 2021
Terminated at Tue Aug 24 07:37:40 2021
Results reported at Tue Aug 24 07:37:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0607.4+4739_daily_bin1514 91.8571 47.6635 631756801 632016001 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 :                                   557.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             321.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   702 sec.
    Turnaround time :                            704 sec.

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

