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


Performing analysis on: 4FGL_J0706.8+7742_daily_bin53
RA = 106.725, Dec = 77.7002
tmin = 253065601, tmax = 253324801
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='104263', job_status='RUN', time_executed='2021-08-26 17:52:20.177535', time_epoch_executed='1630025540.18' WHERE source_name='4FGL J0706.8+7742' and cadence='daily' and bin_id='53'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/104263

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/104263/ft1_4FGL_J0706.8+7742_daily_bin53.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/104263/ft2_4FGL_J0706.8+7742_daily_bin53.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/104263/ft1_4FGL_J0706.8+7742_daily_bin53.fits outfile=/scratch/kocevski/104263/ft1_filteredMKT_4FGL_J0706.8+7742_daily_bin53.fits ra=106.725 dec=77.7002 rad=12.0 tmin=253065601.0 tmax=253324801.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 1.42
user 1.23
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/104263/ft1_filtered_4FGL_J0706.8+7742_daily_bin53.fits" evtable="EVENTS" scfile=/scratch/kocevski/104263/ft2_4FGL_J0706.8+7742_daily_bin53.fits sctable="SC_DATA" outfile=/scratch/kocevski/104263/ltcube_253065601_253324801_4FGL_J0706.8+7742_daily_bin53.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/104263/ft2_4FGL_J0706.8+7742_daily_bin53.fits
.....................!
real 12.54
user 12.19
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/104263/ft1_filtered_4FGL_J0706.8+7742_daily_bin53.fits evtable="EVENTS" scfile=/scratch/kocevski/104263/ft2_4FGL_J0706.8+7742_daily_bin53.fits sctable="SC_DATA" expcube=/scratch/kocevski/104263/ltcube_253065601_253324801_4FGL_J0706.8+7742_daily_bin53.fits outfile=/scratch/kocevski/104263/expmap_253065601_253324801_4FGL_J0706.8+7742_daily_bin53.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/104263/ltcube_253065601_253324801_4FGL_J0706.8+7742_daily_bin53.fits
.....................!
real 190.02
user 185.36
sys 4.29

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/104263/ft1_filtered_4FGL_J0706.8+7742_daily_bin53.fits scfile=/scratch/kocevski/104263/ft2_4FGL_J0706.8+7742_daily_bin53.fits outfile=/scratch/kocevski/104263/cmap_253065601_253324801_4FGL_J0706.8+7742_daily_bin53.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/104263/ft1_filtered_4FGL_J0706.8+7742_daily_bin53.fits scfile=/scratch/kocevski/104263/ft2_4FGL_J0706.8+7742_daily_bin53.fits outfile=/scratch/kocevski/104263/cmap_HighResolution_253065601_253324801_4FGL_J0706.8+7742_daily_bin53.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.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    33.274       1.0000         .10000E-03   10000.    
     2 'Prefactor '    29.703       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .21493E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.904       1.0000         .10000E-03   10000.    
     6 'norm      '    16.990       1.0000         .10000E-03   10000.    
     7 'norm      '    .29254       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    38.414       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10280E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .46102E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.0961       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.3199       1.0000         .10000E-03   10000.    
    16 'norm      '    .16869E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    27.457       1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.2452       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .76790       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=   9567.779     FROM MIGRAD    STATUS=CONVERGED    409 CALLS     1695 TOTAL
                     EDM=   .41E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     33.271        10.015        .12207E-06    .28918E-04
   2  Prefactor     29.697        25.338        .26547E-07   -.29127E-05
   3  Prefactor     .10000E-03    85.509        .81010E-06** at limit **
   4  Prefactor     .10000E-03    13.938       -.46194E-07** at limit **
   5  Prefactor     10.899        21.285        .79858E-07   -.74032E-05
   6  norm          16.988        14.163       -.31116E-06   -.22054E-04
   7  norm          .29256        .32418        .28129E-09   -.76943E-04
   8  Prefactor     .10000E-03    11.067       -.68952E-07** at limit **
   9  norm          38.406        25.361        .29814E-07    .18523E-05
  10  Prefactor     .10000E-03    18.797        .35257E-07** at limit **
  11  Prefactor     .10000E-03    2.2830        .97746E-09** at limit **
  12  norm          .10000E-03    .97756        .67761E-08** at limit **
  13  Prefactor     .10010E-03    14.707       -.44786E-06** at limit **
  14  Prefactor     8.0947        7.3930        .89997E-06    .10638E-03
  15  Prefactor     4.3173        12.425        .16712E-05    .15875E-04
  16  norm          .10001E-03    5.0863       -.17982E-05** at limit **
  17  Prefactor     27.436        13.032        .10695E-05    .13175E-03
  18  Normalizat    1.2453        .15969        .39526E-06    .42582E-04
  19  Prefactor     .76795        .79794E-01   -.22787E-06    .10255E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 33.2714
  Prefactor  = 29.6969
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.8992
  norm       = 16.9884
  norm       = 0.292563
  Prefactor  = 0.0001
  norm       = 38.4056
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100098
  Prefactor  = 8.09469
  Prefactor  = 4.31735
  norm       = 0.000100005
  Prefactor  = 27.4358
  Normalizat = 1.2453
  Prefactor  = 0.767951
 **********
 **   18 **HESSE 
 **********

 FCN=   9567.779     FROM HESSE     STATUS=OK           288 CALLS     1983 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33.271        10.021        .69467E-04   -1.4554    
   2  Prefactor     29.697        25.362        .73514E-04   -1.4618    
   3  Prefactor     .10000E-03    87.441        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    14.007        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     10.899        21.306        .12133E-03   -1.5048    
   6  norm          16.988        14.171        .97167E-04   -1.4883    
   7  norm          .29256        .30121        .56738E-03   -1.5600    
   8  Prefactor     .10000E-03    11.090        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          38.406        25.378        .64668E-04   -1.4468    
  10  Prefactor     .10000E-03    18.830        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.3202        .14429E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    1.9424        .17926E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10010E-03    16.329        .10263       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.0947        7.4200        .14091E-03   -1.5139    
  15  Prefactor     4.3173        12.290        .19382E-03   -1.5292    
  16  norm          .10001E-03    27.877        .35932E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     27.436        13.423        .76454E-04   -1.4660    
  18  Normalizat    1.2453        .18067        .28176E-03   -.85214    
  19  Prefactor     .76795        .90264E-01    .18203E-03   -1.0092    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.724e-10
Minuit parameter uncertainties:
  1  10.0216
  2  25.3714
  3  7.0503e-05
  4  4.12646e-06
  5  21.3205
  6  14.1738
  7  0.301213
  8  1.89284e-06
  9  25.3854
  10  2.15938e-07
  11  5.03975e-07
  12  5.97559e-06
  13  0.00253331
  14  7.42085
  15  12.2976
  16  0.000748657
  17  13.4241
  18  0.180757
  19  0.0902811
Done.

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

Extracting fit parameters...

4FGL J0706.8+7742
   Spectrum: LogParabola
253         norm:  1.699e+01  1.417e+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:  7.680e-01  9.028e-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.245e+00  1.808e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.78
Ra Dec: 106.725 77.700
Photon Index (Fixed Index): 1.86 +/- 0.00
Photon Flux (Fixed Index): 1.64e-08 +/- 1.37e-08
Energy Flux (Fixed Index): 1.39e-05 +/- 1.16e-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) = 9567.75638037
delta logL = 0.0221987183795

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9567.75529998
delta logL = 0.0232791085364

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9567.755     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      267 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.459        13.626        .95855E-04   -.11822E-03
   2  alpha         2.0678        .88292        .19373E-01   -.38046E-04
   3  Normalizat    1.2388        .17211        .28237E-03    .75210E-04
   4  Prefactor     .76911        .88516E-01    .18189E-03    .13176E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 17.4588
  alpha      = 2.06784
  Normalizat = 1.23882
  Prefactor  = 0.769107
 **********
 **   18 **HESSE 
 **********

 FCN=   9567.755     FROM HESSE     STATUS=OK            25 CALLS      292 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.459        13.545        .19171E-04   -1.4872    
   2  alpha         2.0678        .87734        .77492E-03   -.17373    
   3  Normalizat    1.2388        .17208        .11295E-04   -.85411    
   4  Prefactor     .76911        .88559E-01    .72755E-05   -1.0088    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.78322e-10
Minuit parameter uncertainties:
  1  13.547
  2  0.897048
  3  0.172154
  4  0.0885752
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/104263': 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) = 9567.75529913
delta logL = 0.02327996243

Extracting fit parameters...

4FGL J0706.8+7742
   Spectrum: LogParabola
253         norm:  1.746e+01  1.355e+01  1.000e-04  1.000e+04 ( 1.000e-13)
254        alpha:  2.068e+00  8.970e-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:  7.691e-01  8.858e-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.239e+00  1.722e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.83
Ra Dec: 106.725 77.700
Photon Index (Free Index): 2.07 +/- 0.90
Photon Flux (Free Index): 2.24e-08 +/- 3.30e-08
Energy Flux (Free Index): 1.31e-05 +/- 1.05e-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/104263/cmap_HighResolution_253065601_253324801_4FGL_J0706.8+7742_daily_bin53.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.64e-08', energy_flux2='1.31e-05', photon_flux_error='1.37e-08', dlogl='2.33e-02', energy_flux='1.39e-05', photon_flux2='2.24e-08', job_status='DONE', time_completed='2021-08-26 18:04:46.663013', photon_index_error2='0.90', photon_index2='2.07', ts='7.78', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', energy_flux_error2='1.05e-05', EG='1.25', time_epoch_completed='1630026286.66', return_code='0', job_id='104263', GAL2='0.77', EG2='1.24', return_code2='0', energy_flux_error='1.16e-05', photon_flux_error2='3.30e-08', ts2='7.83', photon_index='1.86' WHERE bin_id='53' AND source_name='4FGL J0706.8+7742' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 18:04:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0201>
Subject: Job 104263: <4FGL_J0706.8+7742_daily_bin53> in cluster <slac> Done

Job <4FGL_J0706.8+7742_daily_bin53> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Aug 26 17:50:27 2021
Job was executed on host(s) <bullet0201>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 26 17:50:27 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:27 2021
Terminated at Thu Aug 26 18:04:47 2021
Results reported at Thu Aug 26 18:04:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0706.8+7742_daily_bin53 106.725 77.7002 253065601 253324801 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 :                                   747.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             342.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   859 sec.
    Turnaround time :                            860 sec.

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

