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


Performing analysis on: 4FGL_J0706.8+7742_daily_bin968
RA = 106.725, Dec = 77.7002
tmin = 490233601, tmax = 490492801
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='109193', job_status='RUN', time_executed='2021-08-26 18:07:10.664739', time_epoch_executed='1630026430.66' WHERE source_name='4FGL J0706.8+7742' and cadence='daily' and bin_id='968'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/109193

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/109193/ft1_4FGL_J0706.8+7742_daily_bin968.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/109193/ft2_4FGL_J0706.8+7742_daily_bin968.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/109193/ft1_4FGL_J0706.8+7742_daily_bin968.fits outfile=/scratch/kocevski/109193/ft1_filteredMKT_4FGL_J0706.8+7742_daily_bin968.fits ra=106.725 dec=77.7002 rad=12.0 tmin=490233601.0 tmax=490492801.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 8.39
user 3.48
sys 4.80

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/109193/ft2_4FGL_J0706.8+7742_daily_bin968.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/109193/ft2_4FGL_J0706.8+7742_daily_bin968.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/109193/ft1_filteredMKT_4FGL_J0706.8+7742_daily_bin968.fits evtable="EVENTS" outfile="/scratch/kocevski/109193/ft1_filtered_4FGL_J0706.8+7742_daily_bin968.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 5.84
user 0.34
sys 5.46

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/109193/ft1_filtered_4FGL_J0706.8+7742_daily_bin968.fits" evtable="EVENTS" scfile=/scratch/kocevski/109193/ft2_4FGL_J0706.8+7742_daily_bin968.fits sctable="SC_DATA" outfile=/scratch/kocevski/109193/ltcube_490233601_490492801_4FGL_J0706.8+7742_daily_bin968.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/109193/ft2_4FGL_J0706.8+7742_daily_bin968.fits
.....................!
real 17.60
user 12.06
sys 5.45

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/109193/ft1_filtered_4FGL_J0706.8+7742_daily_bin968.fits evtable="EVENTS" scfile=/scratch/kocevski/109193/ft2_4FGL_J0706.8+7742_daily_bin968.fits sctable="SC_DATA" expcube=/scratch/kocevski/109193/ltcube_490233601_490492801_4FGL_J0706.8+7742_daily_bin968.fits outfile=/scratch/kocevski/109193/expmap_490233601_490492801_4FGL_J0706.8+7742_daily_bin968.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/109193/ltcube_490233601_490492801_4FGL_J0706.8+7742_daily_bin968.fits
.....................!
real 196.26
user 184.89
sys 10.85

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 214 point sources and 0 extended sources

Setting source of interest to:
4FGL J0706.8+7742 @ 106.725 77.7002

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/109193/ft1_filtered_4FGL_J0706.8+7742_daily_bin968.fits scfile=/scratch/kocevski/109193/ft2_4FGL_J0706.8+7742_daily_bin968.fits outfile=/scratch/kocevski/109193/cmap_490233601_490492801_4FGL_J0706.8+7742_daily_bin968.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=106.725 yref=77.7002 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 5.05
user 0.40
sys 4.61

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/109193/ft1_filtered_4FGL_J0706.8+7742_daily_bin968.fits scfile=/scratch/kocevski/109193/ft2_4FGL_J0706.8+7742_daily_bin968.fits outfile=/scratch/kocevski/109193/cmap_HighResolution_490233601_490492801_4FGL_J0706.8+7742_daily_bin968.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=106.725 yref=77.7002 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 5.14
user 0.38
sys 4.66

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/109193/ft1_filtered_4FGL_J0706.8+7742_daily_bin968.fits evtable="EVENTS" scfile=/scratch/kocevski/109193/ft2_4FGL_J0706.8+7742_daily_bin968.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/109193/Model_4FGL_J0706.8+7742_daily_bin968.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/109193/ft1_filtered_4FGL_J0706.8+7742_daily_bin968.fits.....................!
real 132.36
user 124.78
sys 7.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/109193/ft1_filtered_4FGL_J0706.8+7742_daily_bin968.fits', '/scratch/kocevski/109193/ft2_4FGL_J0706.8+7742_daily_bin968.fits', expMap='/scratch/kocevski/109193/expmap_490233601_490492801_4FGL_J0706.8+7742_daily_bin968.fits', expCube='/scratch/kocevski/109193/ltcube_490233601_490492801_4FGL_J0706.8+7742_daily_bin968.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/109193/Model_4FGL_J0706.8+7742_daily_bin968.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0706.8+7742'

4FGL J0706.8+7742
   Spectrum: LogParabola
253         norm:  6.953e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
254        alpha:  1.861e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
255         beta:  1.188e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
256           Eb:  1.302e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/109193/ft1_filtered_4FGL_J0706.8+7742_daily_bin968.fits
Spacecraft file(s): /scratch/kocevski/109193/ft2_4FGL_J0706.8+7742_daily_bin968.fits
Exposure map: /scratch/kocevski/109193/expmap_490233601_490492801_4FGL_J0706.8+7742_daily_bin968.fits
Exposure cube: /scratch/kocevski/109193/ltcube_490233601_490492801_4FGL_J0706.8+7742_daily_bin968.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/109193/Model_4FGL_J0706.8+7742_daily_bin968.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) = 10648.2805235

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.6081       1.0000         .10000E-03   10000.    
     3 'Prefactor '    72.047       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.0718       1.0000         .10000E-03   10000.    
     6 'norm      '    10.114       1.0000         .10000E-03   10000.    
     7 'norm      '    .52759       1.0000         .10000E-03   10000.    
     8 'Prefactor '    21.546       1.0000         .10000E-03   10000.    
     9 'norm      '    17.422       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10212E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    3.5407       1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.065       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .15384E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.8795       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.0647       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .95714       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10648.28     FROM MIGRAD    STATUS=CONVERGED    380 CALLS     1904 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.0192       -.42689E-08** at limit **
   2  Prefactor     9.6126        33.721        .32331E-05    .93338E-05
   3  Prefactor     72.044        36.523       -.79682E-06   -.22443E-04
   4  Prefactor     .10000E-03    11.055       -.15191E-06** at limit **
   5  Prefactor     8.0700        18.765       -.20930E-06   -.86860E-05
   6  norm          10.114        9.3022        .59310E-07    .14515E-04
   7  norm          .52786        .61932        .89280E-07   -.57212E-03
   8  Prefactor     21.545        30.950       -.61066E-06    .17128E-04
   9  norm          17.419        15.482       -.22712E-06    .20434E-04
  10  Prefactor     .10000E-03    27.737       -.47584E-05** at limit **
  11  Prefactor     .10000E-03    1.0473        .68774E-08** at limit **
  12  norm          3.5410        2.8229       -.19155E-06   -.27752E-03
  13  Prefactor     11.069        23.496        .17405E-05    .33130E-04
  14  Prefactor     .10000E-03    2.6200       -.11049E-07** at limit **
  15  Prefactor     .10000E-03    25.959        .32390E-05** at limit **
  16  norm          .10000E-03    2.9716       -.19431E-05** at limit **
  17  Prefactor     4.8962        8.8927        .23865E-05    .23102E-03
  18  Normalizat    1.0645        .15852        .91110E-06    .69875E-04
  19  Prefactor     .95724        .78949E-01   -.40963E-06    .27811E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 9.61265
  Prefactor  = 72.044
  Prefactor  = 0.0001
  Prefactor  = 8.06998
  norm       = 10.1137
  norm       = 0.527861
  Prefactor  = 21.5451
  norm       = 17.4194
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.54096
  Prefactor  = 11.0689
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100003
  Prefactor  = 4.89618
  Normalizat = 1.06448
  Prefactor  = 0.957238
 **********
 **   18 **HESSE 
 **********

 FCN=   10648.28     FROM HESSE     STATUS=OK           272 CALLS     2176 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    3.0474        .17508E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.6126        33.702        .12928E-03   -1.5088    
   3  Prefactor     72.044        36.574        .47297E-04   -1.4008    
   4  Prefactor     .10000E-03    11.086        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.0700        18.725        .14112E-03   -1.5140    
   6  norm          10.114        9.3035        .12599E-03   -1.5072    
   7  norm          .52786        .56565        .79224E-03   -1.5563    
   8  Prefactor     21.545        30.739        .86290E-04   -1.4779    
   9  norm          17.419        15.478        .95957E-04   -1.4873    
  10  Prefactor     .10000E-03    28.083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.0491        .10311E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          3.5410        2.8221        .12140E-03   -1.5332    
  13  Prefactor     11.069        23.512        .12044E-03   -1.5042    
  14  Prefactor     .10000E-03    2.6322        .16311E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    26.587        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    7.2369        .30486E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     4.8962        9.5729        .18210E-03   -1.5265    
  18  Normalizat    1.0645        .18001        .30382E-03   -.90901    
  19  Prefactor     .95724        .89415E-01    .17338E-03   -.94169    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.56353e-09
Minuit parameter uncertainties:
  1  8.64796e-07
  2  33.7692
  3  36.5854
  4  8.56721e-07
  5  18.7386
  6  9.30481
  7  0.565661
  8  30.7616
  9  15.482
  10  0.00013354
  11  1.94966e-07
  12  2.8222
  13  23.5314
  14  7.6661e-07
  15  3.87414e-05
  16  0.000291763
  17  9.57589
  18  0.180117
  19  0.0894283
Done.

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

Extracting fit parameters...

4FGL J0706.8+7742
   Spectrum: LogParabola
253         norm:  1.011e+01  9.305e+00  1.000e-04  1.000e+04 ( 1.000e-13)
254        alpha:  1.861e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
255         beta:  1.188e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
256           Eb:  1.302e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.572e-01  8.943e-02  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  1.064e+00  1.801e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.01
Ra Dec: 106.725 77.700
Photon Index (Fixed Index): 1.86 +/- 0.00
Photon Flux (Fixed Index): 9.76e-09 +/- 8.98e-09
Energy Flux (Fixed Index): 8.30e-06 +/- 7.64e-06

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) = 10648.1356975
delta logL = 0.143481555819

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10648.1340613
delta logL = 0.145117751616

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10648.13     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      227 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.7010        13.567        .32147E-02   -.48691E-03
   2  alpha         1.4445        .84841        .47143       -.21810E-04
   3  Normalizat    1.0672        .13954        .68595E-01   -.10261E-03
   4  Prefactor     .95710        .76173E-01    .45728E-01   -.51145E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.70102
  alpha      = 1.44452
  Normalizat = 1.06721
  Prefactor  = 0.9571
 **********
 **   18 **HESSE 
 **********

 FCN=   10648.13     FROM HESSE     STATUS=OK            31 CALLS      258 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.7010        10.084        .64293E-03   -1.5085    
   2  alpha         1.4445        .76586        .26833E-01   -.43586    
   3  Normalizat    1.0672        .15483        .30348E-03   -.90812    
   4  Prefactor     .95710        .84785E-01    .17340E-03   -.94173    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11683e-10
Minuit parameter uncertainties:
  1  10.0858
  2  0.781238
  3  0.154896
  4  0.0847963
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/109193': 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) = 10648.134055
delta logL = 0.145124068576

Extracting fit parameters...

4FGL J0706.8+7742
   Spectrum: LogParabola
253         norm:  9.701e+00  1.009e+01  1.000e-04  1.000e+04 ( 1.000e-13)
254        alpha:  1.445e+00  7.812e-01  0.000e+00  5.000e+00 ( 1.000e+00)
255         beta:  1.188e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
256           Eb:  1.302e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.571e-01  8.480e-02  0.000e+00  1.000e+01 ( 1.000e+00)
692        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
693        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
690   Normalization:  1.067e+00  1.549e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.30
Ra Dec: 106.725 77.700
Photon Index (Free Index): 1.44 +/- 0.78
Photon Flux (Free Index): 6.21e-09 +/- 8.16e-09
Energy Flux (Free Index): 1.34e-05 +/- 1.89e-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/109193/cmap_HighResolution_490233601_490492801_4FGL_J0706.8+7742_daily_bin968.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.76e-09', energy_flux2='1.34e-05', photon_flux_error='8.98e-09', dlogl='1.45e-01', energy_flux='8.30e-06', photon_flux2='6.21e-09', job_status='DONE', time_completed='2021-08-26 18:22:15.917306', photon_index_error2='0.78', photon_index2='1.44', ts='4.01', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.89e-05', EG='1.06', time_epoch_completed='1630027335.92', return_code='0', job_id='109193', GAL2='0.96', EG2='1.07', return_code2='0', energy_flux_error='7.64e-06', photon_flux_error2='8.16e-09', ts2='4.30', photon_index='1.86' WHERE bin_id='968' AND source_name='4FGL J0706.8+7742' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 18:22:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 109193: <4FGL_J0706.8+7742_daily_bin968> in cluster <slac> Done

Job <4FGL_J0706.8+7742_daily_bin968> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Aug 26 18:05:40 2021
Job was executed on host(s) <bullet0245>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 26 18:05:46 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Aug 26 18:05:46 2021
Terminated at Thu Aug 26 18:22:17 2021
Results reported at Thu Aug 26 18:22:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0706.8+7742_daily_bin968 106.725 77.7002 490233601 490492801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0706.8+7742 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   975.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             308.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   990 sec.
    Turnaround time :                            997 sec.

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

