/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 185 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 = 7415
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0706.8+7742_daily_bin77
RA = 106.725, Dec = 77.7002
tmin = 259286401, tmax = 259545601
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='104302', job_status='RUN', time_executed='2021-08-26 17:53:51.628791', time_epoch_executed='1630025631.63' WHERE source_name='4FGL J0706.8+7742' and cadence='daily' and bin_id='77'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/104302

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/104302/ft1_4FGL_J0706.8+7742_daily_bin77.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/104302/ft2_4FGL_J0706.8+7742_daily_bin77.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/104302/ft1_4FGL_J0706.8+7742_daily_bin77.fits outfile=/scratch/kocevski/104302/ft1_filteredMKT_4FGL_J0706.8+7742_daily_bin77.fits ra=106.725 dec=77.7002 rad=12.0 tmin=259286401.0 tmax=259545601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.40
user 2.04
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/104302/ft2_4FGL_J0706.8+7742_daily_bin77.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/104302/ft1_filteredMKT_4FGL_J0706.8+7742_daily_bin77.fits evtable="EVENTS" outfile="/scratch/kocevski/104302/ft1_filtered_4FGL_J0706.8+7742_daily_bin77.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.57
user 0.32
sys 0.23

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/104302/ft1_filtered_4FGL_J0706.8+7742_daily_bin77.fits" evtable="EVENTS" scfile=/scratch/kocevski/104302/ft2_4FGL_J0706.8+7742_daily_bin77.fits sctable="SC_DATA" outfile=/scratch/kocevski/104302/ltcube_259286401_259545601_4FGL_J0706.8+7742_daily_bin77.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/104302/ft2_4FGL_J0706.8+7742_daily_bin77.fits
.....................!
real 12.91
user 12.38
sys 0.41

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/104302/ft1_filtered_4FGL_J0706.8+7742_daily_bin77.fits evtable="EVENTS" scfile=/scratch/kocevski/104302/ft2_4FGL_J0706.8+7742_daily_bin77.fits sctable="SC_DATA" expcube=/scratch/kocevski/104302/ltcube_259286401_259545601_4FGL_J0706.8+7742_daily_bin77.fits outfile=/scratch/kocevski/104302/expmap_259286401_259545601_4FGL_J0706.8+7742_daily_bin77.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/104302/ltcube_259286401_259545601_4FGL_J0706.8+7742_daily_bin77.fits
.....................!
real 192.13
user 186.35
sys 5.40

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/104302/ft1_filtered_4FGL_J0706.8+7742_daily_bin77.fits scfile=/scratch/kocevski/104302/ft2_4FGL_J0706.8+7742_daily_bin77.fits outfile=/scratch/kocevski/104302/cmap_259286401_259545601_4FGL_J0706.8+7742_daily_bin77.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 0.61
user 0.36
sys 0.23

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/104302/ft1_filtered_4FGL_J0706.8+7742_daily_bin77.fits scfile=/scratch/kocevski/104302/ft2_4FGL_J0706.8+7742_daily_bin77.fits outfile=/scratch/kocevski/104302/cmap_HighResolution_259286401_259545601_4FGL_J0706.8+7742_daily_bin77.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 0.64
user 0.39
sys 0.24

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/104302/ft1_filtered_4FGL_J0706.8+7742_daily_bin77.fits evtable="EVENTS" scfile=/scratch/kocevski/104302/ft2_4FGL_J0706.8+7742_daily_bin77.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/104302/Model_4FGL_J0706.8+7742_daily_bin77.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/104302/ft1_filtered_4FGL_J0706.8+7742_daily_bin77.fits.....................!
real 114.23
user 112.63
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/104302/ft1_filtered_4FGL_J0706.8+7742_daily_bin77.fits', '/scratch/kocevski/104302/ft2_4FGL_J0706.8+7742_daily_bin77.fits', expMap='/scratch/kocevski/104302/expmap_259286401_259545601_4FGL_J0706.8+7742_daily_bin77.fits', expCube='/scratch/kocevski/104302/ltcube_259286401_259545601_4FGL_J0706.8+7742_daily_bin77.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/104302/Model_4FGL_J0706.8+7742_daily_bin77.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/104302/ft1_filtered_4FGL_J0706.8+7742_daily_bin77.fits
Spacecraft file(s): /scratch/kocevski/104302/ft2_4FGL_J0706.8+7742_daily_bin77.fits
Exposure map: /scratch/kocevski/104302/expmap_259286401_259545601_4FGL_J0706.8+7742_daily_bin77.fits
Exposure cube: /scratch/kocevski/104302/ltcube_259286401_259545601_4FGL_J0706.8+7742_daily_bin77.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/104302/Model_4FGL_J0706.8+7742_daily_bin77.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) = 9349.79146023

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.546       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.0578       1.0000         .10000E-03   10000.    
     5 'Prefactor '    24.410       1.0000         .10000E-03   10000.    
     6 'norm      '    29.336       1.0000         .10000E-03   10000.    
     7 'norm      '    2.7029       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10269E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .94197       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10408E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.9423       1.0000         .10000E-03   10000.    
    12 'norm      '    .13607E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    23.994       1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.321       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10021E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.7432       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .86260       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1225       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=   9349.776     FROM MIGRAD    STATUS=CONVERGED    393 CALLS     1914 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.547        9.6238        .58049E-07    .17327E-05
   2  Prefactor     .10000E-03    19.861        .60545E-06** at limit **
   3  Prefactor     .10000E-03    13.494       -.87803E-07** at limit **
   4  Prefactor     9.0471        31.984       -.14576E-05   -.40696E-04
   5  Prefactor     24.470        38.449        .19052E-05    .87814E-04
   6  norm          29.329        15.661        .22864E-06    .81690E-04
   7  norm          2.7029        .82734        .94736E-08    .92074E-04
   8  Prefactor     .10000E-03    26.114        .12379E-05** at limit **
   9  norm          .94547        12.701       -.28601E-06    .28860E-04
  10  Prefactor     .10000E-03    23.126       -.16511E-05** at limit **
  11  Prefactor     4.9438        4.2105        .14569E-05   -.28221E-04
  12  norm          .10000E-03    1.5260       -.64476E-06** at limit **
  13  Prefactor     24.062        28.785        .15660E-05    .22800E-03
  14  Prefactor     10.330        10.556        .15837E-06    .18830E-05
  15  Prefactor     .10000E-03    8.2866        .60233E-07** at limit **
  16  norm          .10000E-03    2.8611        .27285E-06** at limit **
  17  Prefactor     3.7423        7.3092        .51294E-06    .26560E-06
  18  Normalizat    .86264        .18806       -.10896E-05    .13780E-03
  19  Prefactor     1.1225        .93803E-01    .17819E-06    .76443E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.5468
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.04713
  Prefactor  = 24.4702
  norm       = 29.3294
  norm       = 2.70287
  Prefactor  = 0.0001
  norm       = 0.945473
  Prefactor  = 0.0001
  Prefactor  = 4.9438
  norm       = 0.0001
  Prefactor  = 24.062
  Prefactor  = 10.3297
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.7423
  Normalizat = 0.862638
  Prefactor  = 1.1225
 **********
 **   18 **HESSE 
 **********

 FCN=   9349.776     FROM HESSE     STATUS=OK           274 CALLS     2188 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.547        9.6286        .90594E-04   -1.4823    
   2  Prefactor     .10000E-03    19.910        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    13.504        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.0471        32.366        .13317E-03   -1.5106    
   5  Prefactor     24.470        39.022        .81077E-04   -1.4718    
   6  norm          29.329        15.679        .73971E-04   -1.4624    
   7  norm          2.7029        .82704        .46498E-04   -1.5379    
   8  Prefactor     .10000E-03    26.187        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .94547        65.163        .66648E-02   -1.5513    
  10  Prefactor     .10000E-03    23.369        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.9438        4.1631        .87766E-03   -1.5263    
  12  norm          .10000E-03    2.5887        .20886E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     24.062        27.294        .81775E-04   -1.4727    
  14  Prefactor     10.330        10.555        .12472E-03   -1.5065    
  15  Prefactor     .10000E-03    8.4027        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    2.8687        .31570E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.7423        7.2126        .20869E-03   -1.5321    
  18  Normalizat    .86264        .20619        .36518E-03   -.97786    
  19  Prefactor     1.1225        .10374        .17372E-03   -.88751    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.13663e-10
Minuit parameter uncertainties:
  1  9.6294
  2  5.92144e-05
  3  9.63058e-07
  4  32.4286
  5  39.0628
  6  15.6816
  7  0.827047
  8  8.41619e-05
  9  15.7154
  10  0.000178733
  11  4.16331
  12  2.37175e-05
  13  27.3084
  14  10.5569
  15  1.91832e-06
  16  9.8854e-06
  17  7.2143
  18  0.206383
  19  0.103762
Done.

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

Extracting fit parameters...

4FGL J0706.8+7742
   Spectrum: LogParabola
253         norm:  2.933e+01  1.568e+01  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:  1.122e+00  1.038e-01  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:  8.626e-01  2.064e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 16.62
Ra Dec: 106.725 77.700
Photon Index (Fixed Index): 1.86 +/- 0.00
Photon Flux (Fixed Index): 2.83e-08 +/- 1.51e-08
Energy Flux (Fixed Index): 2.41e-05 +/- 1.29e-05

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) = 9349.13740411
delta logL = 0.63857510544

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9349.11903924
delta logL = 0.656939971856

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    28.318       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3411       1.0000          .0000       5.0000    
     3 'Normalizat'    .87208       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1213       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=   9349.119     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      207 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          28.318        16.046        .18822E-02   -.44429E-02
   2  alpha         1.3410        .38232        .39551       -.40066E-04
   3  Normalizat    .87208        .17167        .82076E-01   -.69212E-03
   4  Prefactor     1.1213        .92266E-01    .36827E-01   -.16865E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 28.3176
  alpha      = 1.34098
  Normalizat = 0.872076
  Prefactor  = 1.12133
 **********
 **   18 **HESSE 
 **********

 FCN=   9349.119     FROM HESSE     STATUS=OK            27 CALLS      234 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          28.318        16.625        .75286E-04   -1.4643    
   2  alpha         1.3410        .43471        .15886E-01   -.48206    
   3  Normalizat    .87208        .18822        .36338E-03   -.97448    
   4  Prefactor     1.1213        .10152        .17381E-03   -.88788    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02128e-08
Minuit parameter uncertainties:
  1  16.6276
  2  0.437549
  3  0.188364
  4  0.101537
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/104302': 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) = 9349.11903921
delta logL = 0.656940001787

Extracting fit parameters...

4FGL J0706.8+7742
   Spectrum: LogParabola
253         norm:  2.832e+01  1.663e+01  1.000e-04  1.000e+04 ( 1.000e-13)
254        alpha:  1.341e+00  4.375e-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:  1.121e+00  1.015e-01  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:  8.721e-01  1.884e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.93
Ra Dec: 106.725 77.700
Photon Index (Free Index): 1.34 +/- 0.44
Photon Flux (Free Index): 1.71e-08 +/- 1.17e-08
Energy Flux (Free Index): 4.76e-05 +/- 4.17e-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/104302/cmap_HighResolution_259286401_259545601_4FGL_J0706.8+7742_daily_bin77.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.83e-08', energy_flux2='4.76e-05', photon_flux_error='1.51e-08', dlogl='6.57e-01', energy_flux='2.41e-05', photon_flux2='1.71e-08', job_status='DONE', time_completed='2021-08-26 18:07:03.072930', photon_index_error2='0.44', photon_index2='1.34', ts='16.62', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', energy_flux_error2='4.17e-05', EG='0.86', time_epoch_completed='1630026423.07', return_code='0', job_id='104302', GAL2='1.12', EG2='0.87', return_code2='0', energy_flux_error='1.29e-05', photon_flux_error2='1.17e-08', ts2='17.93', photon_index='1.86' WHERE bin_id='77' AND source_name='4FGL J0706.8+7742' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 18:07:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0146>
Subject: Job 104302: <4FGL_J0706.8+7742_daily_bin77> in cluster <slac> Done

Job <4FGL_J0706.8+7742_daily_bin77> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Aug 26 17:50:30 2021
Job was executed on host(s) <bullet0146>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 26 17:50:31 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Aug 26 17:50:31 2021
Terminated at Thu Aug 26 18:07:03 2021
Results reported at Thu Aug 26 18:07:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0706.8+7742_daily_bin77 106.725 77.7002 259286401 259545601 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 :                                   791.47 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             317.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   992 sec.
    Turnaround time :                            993 sec.

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

