/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 49 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 = 7367
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0607.4+4739_daily_bin1388
RA = 91.8571, Dec = 47.6635
tmin = 599097601, tmax = 599356801
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='9959', job_status='RUN', time_executed='2021-08-24 07:29:02.198929', time_epoch_executed='1629815342.2' WHERE source_name='4FGL J0607.4+4739' and cadence='daily' and bin_id='1388'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/9959

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/9959/ft1_4FGL_J0607.4+4739_daily_bin1388.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/9959/ft2_4FGL_J0607.4+4739_daily_bin1388.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/9959/ft1_4FGL_J0607.4+4739_daily_bin1388.fits outfile=/scratch/kocevski/9959/ft1_filteredMKT_4FGL_J0607.4+4739_daily_bin1388.fits ra=91.8571 dec=47.6635 rad=12.0 tmin=599097601.0 tmax=599356801.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.59
user 2.68
sys 7.85

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/9959/ft2_4FGL_J0607.4+4739_daily_bin1388.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/9959/ft1_filteredMKT_4FGL_J0607.4+4739_daily_bin1388.fits evtable="EVENTS" outfile="/scratch/kocevski/9959/ft1_filtered_4FGL_J0607.4+4739_daily_bin1388.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.22
user 0.32
sys 7.84

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/9959/ft1_filtered_4FGL_J0607.4+4739_daily_bin1388.fits" evtable="EVENTS" scfile=/scratch/kocevski/9959/ft2_4FGL_J0607.4+4739_daily_bin1388.fits sctable="SC_DATA" outfile=/scratch/kocevski/9959/ltcube_599097601_599356801_4FGL_J0607.4+4739_daily_bin1388.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/9959/ft2_4FGL_J0607.4+4739_daily_bin1388.fits
.....................!
real 21.22
user 12.16
sys 8.96

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/9959/ft1_filtered_4FGL_J0607.4+4739_daily_bin1388.fits evtable="EVENTS" scfile=/scratch/kocevski/9959/ft2_4FGL_J0607.4+4739_daily_bin1388.fits sctable="SC_DATA" expcube=/scratch/kocevski/9959/ltcube_599097601_599356801_4FGL_J0607.4+4739_daily_bin1388.fits outfile=/scratch/kocevski/9959/expmap_599097601_599356801_4FGL_J0607.4+4739_daily_bin1388.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/9959/ltcube_599097601_599356801_4FGL_J0607.4+4739_daily_bin1388.fits
.....................!
real 199.90
user 184.81
sys 14.30

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/9959/ft1_filtered_4FGL_J0607.4+4739_daily_bin1388.fits scfile=/scratch/kocevski/9959/ft2_4FGL_J0607.4+4739_daily_bin1388.fits outfile=/scratch/kocevski/9959/cmap_599097601_599356801_4FGL_J0607.4+4739_daily_bin1388.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.13
user 0.37
sys 7.72

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/9959/ft1_filtered_4FGL_J0607.4+4739_daily_bin1388.fits scfile=/scratch/kocevski/9959/ft2_4FGL_J0607.4+4739_daily_bin1388.fits outfile=/scratch/kocevski/9959/cmap_HighResolution_599097601_599356801_4FGL_J0607.4+4739_daily_bin1388.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 7.83
user 0.38
sys 7.42

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/9959/ft1_filtered_4FGL_J0607.4+4739_daily_bin1388.fits', '/scratch/kocevski/9959/ft2_4FGL_J0607.4+4739_daily_bin1388.fits', expMap='/scratch/kocevski/9959/expmap_599097601_599356801_4FGL_J0607.4+4739_daily_bin1388.fits', expCube='/scratch/kocevski/9959/ltcube_599097601_599356801_4FGL_J0607.4+4739_daily_bin1388.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/9959/Model_4FGL_J0607.4+4739_daily_bin1388.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/9959/ft1_filtered_4FGL_J0607.4+4739_daily_bin1388.fits
Spacecraft file(s): /scratch/kocevski/9959/ft2_4FGL_J0607.4+4739_daily_bin1388.fits
Exposure map: /scratch/kocevski/9959/expmap_599097601_599356801_4FGL_J0607.4+4739_daily_bin1388.fits
Exposure cube: /scratch/kocevski/9959/ltcube_599097601_599356801_4FGL_J0607.4+4739_daily_bin1388.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/9959/Model_4FGL_J0607.4+4739_daily_bin1388.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) = 915.448925944

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10337E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    348.22       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .20968E-03   1.0000         .10000E-03   10000.    
     6 'norm      '   10000.0       1.0000         .10000E-03   10000.    
     7 'norm      '   10000.0       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .14471E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6250.9       1.0000         .10000E-03   10000.    
    11 'norm      '    .21519E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .28051E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .48939E-02   1.0000         .10000E-03   10000.    
    14 'norm      '    .10411E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10147E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    150.56       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    18 'Prefactor '    .61332       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=   912.8643     FROM MIGRAD    STATUS=CONVERGED    319 CALLS     1940 TOTAL
                     EDM=   .39E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    77.148        .30523E-04** at limit **
   2  norm          .10000E-03    1.1835        .90004E-07** at limit **
   3  Prefactor     .10000E-03    102.88        .55150E-06** at limit **
   4  norm          347.84        930.15       -.20381E-03   -.11663E-05
   5  Prefactor     .10000E-03    985.82       -.95978E-03** at limit **
   6  norm         10000.0        1052.6        .97813E-04** at limit **
   7  norm         10000.0        6493.3        .54429E-03** at limit **
   8  Prefactor     .10000E-03    294.12        .21955E-03** at limit **
   9  Prefactor    10000.0        7625.6        .17745E-02** at limit **
  10  Prefactor     6251.3        7749.6        .85716E-04    .65212E-06
  11  norm          .10001E-03    406.61       -.77511E-04** at limit **
  12  norm          .10000E-03    504.26        .47290E-05** at limit **
  13  Prefactor     .10000E-03    9897.9       -.13527E-02** at limit **
  14  norm          .10000E-03    88.279       -.44003E-04** at limit **
  15  Prefactor     .10000E-03    50.048        .42259E-06** at limit **
  16  Prefactor     150.64        199.97        .66133E-04    .24727E-04
  17  Normalizat    .10000E-01    .14892        .60942E-06** at limit **
  18  Prefactor     .61332        .95951E-01    .22104E-05   -.34771E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 347.844
  Prefactor  = 0.0001
  norm       = 10000
  norm       = 10000
  Prefactor  = 0.0001
  Prefactor  = 10000
  Prefactor  = 6251.3
  norm       = 0.000100006
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 150.643
  Normalizat = 0.01
  Prefactor  = 0.613323
 **********
 **   18 **HESSE 
 **********

 FCN=   912.8643     FROM HESSE     STATUS=OK           226 CALLS     2166 TOTAL
                     EDM=   .78E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    77.225        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    1.1837        .32108E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    102.88        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          347.84        931.36        .10909E-03   -1.1956    
   5  Prefactor     .10000E-03    985.48        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm         10000.0        1052.5        .21428E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm         10000.0        6493.1        .20566E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    294.11        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor    10000.0        7625.2        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6251.3        7749.7        .41314E-04    .25295    
  11  norm          .10001E-03    406.59        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    504.23        .21418E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9898.0        .19232E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    88.298        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    50.046        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     150.64        200.01        .16424E-03   -1.3247    
  17  Normalizat    .10000E-01    .14944        .35947E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .61332        .95633E-01    .11532E-03   -1.0703    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.81568e-11
Minuit parameter uncertainties:
  1  0.000514234
  2  1.49458e-06
  3  0.000141273
  4  977
  5  0.000183113
  6  0.00125366
  7  0.0005567
  8  0.000132339
  9  0.00164789
  10  6139.11
  11  0.00319313
  12  0.000424309
  13  0.00777432
  14  0.000687554
  15  0.000141868
  16  200.919
  17  1.1379e-06
  18  0.0956584
Done.

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

Extracting fit parameters...

4FGL J0607.4+4739
   Spectrum: LogParabola
254         norm:  1.000e+04  1.254e-03  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:  6.133e-01  9.566e-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.000e-02  1.138e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 19.76
Ra Dec: 91.857 47.663
Photon Index (Fixed Index): 1.94 +/- 0.00
Photon Flux (Fixed Index): 1.08e-04 +/- 1.35e-11
Energy Flux (Fixed Index): 7.85e-02 +/- 9.84e-09

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) = 894.104250352
delta logL = 18.7600812406

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 894.09972135
delta logL = 18.7646102427

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '   10000.0       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9919       1.0000          .0000       5.0000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .42554       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.

 FCN=   891.2320     FROM MIGRAD    STATUS=CONVERGED    118 CALLS      274 TOTAL
                     EDM=   .68E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2298.6        5500.4        .92044E-02    .13998E-05
   2  alpha         3.7416        1.4695        .32371E-01    .18254E-04
   3  Normalizat    .10000E-01    .87116E-01    .12672    ** at limit **
   4  Prefactor     .48250        .12858        .25807E-01   -.88561E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2298.56
  alpha      = 3.74155
  Normalizat = 0.01
  Prefactor  = 0.482501
 **********
 **   18 **HESSE 
 **********

 FCN=   891.2320     FROM HESSE     STATUS=OK            27 CALLS      301 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2298.6        1805.0        .32877E-03   -.57078    
   2  alpha         3.7416        .40862        .14307E-03    .51970    
   3  Normalizat    .10000E-01    .91841E-01    .27968E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .48250        .90021E-01    .11406E-03   -1.1279    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64967e-11
Minuit parameter uncertainties:
  1  1865.57
  2  0.411073
  3  3.3351e-07
  4  0.090048
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/9959': 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) = 891.232026467
delta logL = 21.6323051256

Extracting fit parameters...

4FGL J0607.4+4739
   Spectrum: LogParabola
254         norm:  2.299e+03  1.866e+03  1.000e-04  1.000e+04 ( 1.000e-12)
255        alpha:  3.742e+00  4.111e-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:  4.825e-01  9.005e-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.000e-02  3.335e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 63.86
Ra Dec: 91.857 47.663
Photon Index (Free Index): 3.74 +/- 0.41
Photon Flux (Free Index): 6.81e-04 +/- 1.55e-04
Energy Flux (Free Index): 1.13e-01 +/- 2.42e-02

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/9959/cmap_HighResolution_599097601_599356801_4FGL_J0607.4+4739_daily_bin1388.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.08e-04', energy_flux2='1.13e-01', photon_flux_error='1.35e-11', dlogl='2.16e+01', energy_flux='7.85e-02', photon_flux2='6.81e-04', job_status='DONE', time_completed='2021-08-24 07:37:46.037670', photon_index_error2='0.41', photon_index2='3.74', ts='19.76', fit_tolerance='1e-08', GAL='0.61', photon_index_error='0.00', energy_flux_error2='2.42e-02', EG='0.01', time_epoch_completed='1629815866.04', return_code='0', job_id='9959', GAL2='0.48', EG2='0.01', return_code2='0', energy_flux_error='9.84e-09', photon_flux_error2='1.55e-04', ts2='63.86', photon_index='1.94' WHERE bin_id='1388' AND source_name='4FGL J0607.4+4739' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 07:37:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0191>
Subject: Job 9959: <4FGL_J0607.4+4739_daily_bin1388> in cluster <slac> Done

Job <4FGL_J0607.4+4739_daily_bin1388> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Aug 24 07:25:42 2021
Job was executed on host(s) <bullet0191>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 07:25:43 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:43 2021
Terminated at Tue Aug 24 07:37:47 2021
Results reported at Tue Aug 24 07:37:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0607.4+4739_daily_bin1388 91.8571 47.6635 599097601 599356801 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 :                                   587.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             188.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   724 sec.
    Turnaround time :                            725 sec.

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

