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


Performing analysis on: 4FGL_J0706.8+7742_daily_bin4
RA = 106.725, Dec = 77.7002
tmin = 240364801, tmax = 240624001
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='104181', job_status='RUN', time_executed='2021-08-26 17:50:52.169467', time_epoch_executed='1630025452.17' WHERE source_name='4FGL J0706.8+7742' and cadence='daily' and bin_id='4'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/104181

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/104181/ft1_4FGL_J0706.8+7742_daily_bin4.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/104181/ft2_4FGL_J0706.8+7742_daily_bin4.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/104181/ft1_4FGL_J0706.8+7742_daily_bin4.fits outfile=/scratch/kocevski/104181/ft1_filteredMKT_4FGL_J0706.8+7742_daily_bin4.fits ra=106.725 dec=77.7002 rad=12.0 tmin=240364801.0 tmax=240624001.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.97
user 1.25
sys 0.71

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/104181/ft2_4FGL_J0706.8+7742_daily_bin4.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/104181/ft1_filteredMKT_4FGL_J0706.8+7742_daily_bin4.fits evtable="EVENTS" outfile="/scratch/kocevski/104181/ft1_filtered_4FGL_J0706.8+7742_daily_bin4.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 1.06
user 0.33
sys 0.71

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/104181/ft1_filtered_4FGL_J0706.8+7742_daily_bin4.fits" evtable="EVENTS" scfile=/scratch/kocevski/104181/ft2_4FGL_J0706.8+7742_daily_bin4.fits sctable="SC_DATA" outfile=/scratch/kocevski/104181/ltcube_240364801_240624001_4FGL_J0706.8+7742_daily_bin4.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/104181/ft2_4FGL_J0706.8+7742_daily_bin4.fits
.....................!
real 13.46
user 12.48
sys 0.94

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/104181/ft1_filtered_4FGL_J0706.8+7742_daily_bin4.fits evtable="EVENTS" scfile=/scratch/kocevski/104181/ft2_4FGL_J0706.8+7742_daily_bin4.fits sctable="SC_DATA" expcube=/scratch/kocevski/104181/ltcube_240364801_240624001_4FGL_J0706.8+7742_daily_bin4.fits outfile=/scratch/kocevski/104181/expmap_240364801_240624001_4FGL_J0706.8+7742_daily_bin4.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/104181/ltcube_240364801_240624001_4FGL_J0706.8+7742_daily_bin4.fits
.....................!
real 191.00
user 185.39
sys 5.28

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/104181/ft1_filtered_4FGL_J0706.8+7742_daily_bin4.fits scfile=/scratch/kocevski/104181/ft2_4FGL_J0706.8+7742_daily_bin4.fits outfile=/scratch/kocevski/104181/cmap_240364801_240624001_4FGL_J0706.8+7742_daily_bin4.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 1.08
user 0.38
sys 0.67

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/104181/ft1_filtered_4FGL_J0706.8+7742_daily_bin4.fits scfile=/scratch/kocevski/104181/ft2_4FGL_J0706.8+7742_daily_bin4.fits outfile=/scratch/kocevski/104181/cmap_HighResolution_240364801_240624001_4FGL_J0706.8+7742_daily_bin4.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 1.08
user 0.35
sys 0.72

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.4267       1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.538       1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.841       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    35.185       1.0000         .10000E-03   10000.    
     6 'norm      '    37.375       1.0000         .10000E-03   10000.    
     7 'norm      '    3.3836       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10156E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .29250E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10189E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.0909       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .13407E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.5130       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10178E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    9.0450       1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.5778       1.0000         .10000E-03   10000.    
    18 'Normalizat'    .93653       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0308       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=   9115.493     FROM MIGRAD    STATUS=CONVERGED    411 CALLS     1923 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.4294        7.7149        .12705E-06   -.54358E-03
   2  Prefactor     17.537        30.851        .24134E-06   -.12321E-06
   3  Prefactor     15.849        27.146       -.22054E-05   -.28040E-04
   4  Prefactor     .10000E-03    7.5468        .10454E-07** at limit **
   5  Prefactor     35.194        32.618       -.48248E-07   -.23180E-04
   6  norm          37.357        21.762        .37459E-05    .16588E-03
   7  norm          3.3839        .88680        .25120E-08   -.25259E-04
   8  Prefactor     .10000E-03    36.473        .67075E-06** at limit **
   9  norm          .10000E-03    20.276        .49786E-07** at limit **
  10  Prefactor     .10000E-03    261.26       -.66028E-05** at limit **
  11  Prefactor     .10000E-03    4.7864        .11532E-07** at limit **
  12  norm          2.0948        2.3773        .45619E-07   -.14077E-03
  13  Prefactor     .10000E-03    51.660       -.11096E-05** at limit **
  14  Prefactor     4.5142        6.6510        .34727E-06   -.90270E-03
  15  Prefactor     .10000E-03    22.964       -.32273E-06** at limit **
  16  norm          9.0556        6.8372        .29658E-06   -.10342E-02
  17  Prefactor     2.5472        16.724       -.94476E-06   -.51442E-04
  18  Normalizat    .93626        .18166       -.35882E-06    .42495E-04
  19  Prefactor     1.0308        .91162E-01   -.32839E-07    .41943E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.42937
  Prefactor  = 17.5374
  Prefactor  = 15.8489
  Prefactor  = 0.0001
  Prefactor  = 35.1937
  norm       = 37.3565
  norm       = 3.38386
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 2.09478
  Prefactor  = 0.0001
  Prefactor  = 4.51416
  Prefactor  = 0.0001
  norm       = 9.05557
  Prefactor  = 2.54718
  Normalizat = 0.93626
  Prefactor  = 1.03078
 **********
 **   18 **HESSE 
 **********

 FCN=   9115.493     FROM HESSE     STATUS=OK           270 CALLS     2193 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.4294        8.0465        .65263E-03   -1.5094    
   2  Prefactor     17.537        30.914        .95638E-04   -1.4870    
   3  Prefactor     15.849        27.222        .10063E-03   -1.4912    
   4  Prefactor     .10000E-03    7.5501        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     35.194        32.856        .33780E-03   -1.4521    
   6  norm          37.357        21.812        .65557E-04   -1.4485    
   7  norm          3.3839        .88767        .43892E-04   -1.5340    
   8  Prefactor     .10000E-03    36.665        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    20.366        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    271.12        .39711E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.9148        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.0948        2.3792        .14855E-03   -1.5418    
  13  Prefactor     .10000E-03    52.178        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.5142        9.7802        .94758E-03   -1.5283    
  15  Prefactor     .10000E-03    23.264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          9.0556        7.2712        .66633E-03   -1.5106    
  17  Prefactor     2.5472        16.302        .25420E-03   -1.5389    
  18  Normalizat    .93626        .20519        .34529E-03   -.95197    
  19  Prefactor     1.0308        .10280        .17371E-03   -.91710    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.56575e-09
Minuit parameter uncertainties:
  1  8.04747
  2  30.9426
  3  27.2437
  4  2.17736e-06
  5  32.8729
  6  21.8165
  7  0.88767
  8  1.27811e-05
  9  2.83791e-05
  10  0.00118972
  11  3.76633e-06
  12  2.37931
  13  2.45022e-05
  14  9.78363
  15  9.99878e-06
  16  7.27189
  17  12.8929
  18  0.205361
  19  0.102818
Done.

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

Extracting fit parameters...

4FGL J0706.8+7742
   Spectrum: LogParabola
253         norm:  3.736e+01  2.182e+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.031e+00  1.028e-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:  9.363e-01  2.054e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.51
Ra Dec: 106.725 77.700
Photon Index (Fixed Index): 1.86 +/- 0.00
Photon Flux (Fixed Index): 3.60e-08 +/- 2.10e-08
Energy Flux (Fixed Index): 3.07e-05 +/- 1.79e-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) = 9115.40980817
delta logL = 0.0835289455608

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9115.404256
delta logL = 0.0890811225418

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    35.783       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0712       1.0000          .0000       5.0000    
     3 'Normalizat'    .92608       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0326       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=   9115.404     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      253 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          35.781        21.634        .66995E-04    .89599E-04
   2  alpha         2.0712        .49806        .14264E-01    .23933E-03
   3  Normalizat    .92613        .19089        .34696E-03    .54458E-04
   4  Prefactor     1.0326        .99915E-01    .17355E-03    .18994E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 35.7814
  alpha      = 2.07124
  Normalizat = 0.926128
  Prefactor  = 1.03258
 **********
 **   18 **HESSE 
 **********

 FCN=   9115.404     FROM HESSE     STATUS=OK            25 CALLS      278 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          35.781        21.331        .13399E-04   -1.4511    
   2  alpha         2.0712        .49095        .28528E-02   -.17236    
   3  Normalizat    .92613        .19090        .13878E-04   -.95548    
   4  Prefactor     1.0326        .99949E-01    .34710E-04   -.91651    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.44324e-11
Minuit parameter uncertainties:
  1  21.3359
  2  0.494262
  3  0.191041
  4  0.0999674
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/104181': 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) = 9115.40425578
delta logL = 0.0890813379901

Extracting fit parameters...

4FGL J0706.8+7742
   Spectrum: LogParabola
253         norm:  3.578e+01  2.134e+01  1.000e-04  1.000e+04 ( 1.000e-13)
254        alpha:  2.071e+00  4.943e-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.033e+00  9.997e-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:  9.261e-01  1.910e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.69
Ra Dec: 106.725 77.700
Photon Index (Free Index): 2.07 +/- 0.49
Photon Flux (Free Index): 4.61e-08 +/- 3.50e-08
Energy Flux (Free Index): 2.69e-05 +/- 1.68e-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/104181/cmap_HighResolution_240364801_240624001_4FGL_J0706.8+7742_daily_bin4.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.60e-08', energy_flux2='2.69e-05', photon_flux_error='2.10e-08', dlogl='8.91e-02', energy_flux='3.07e-05', photon_flux2='4.61e-08', job_status='DONE', time_completed='2021-08-26 18:03:34.747886', photon_index_error2='0.49', photon_index2='2.07', ts='7.51', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='1.68e-05', EG='0.94', time_epoch_completed='1630026214.75', return_code='0', job_id='104181', GAL2='1.03', EG2='0.93', return_code2='0', energy_flux_error='1.79e-05', photon_flux_error2='3.50e-08', ts2='7.69', photon_index='1.86' WHERE bin_id='4' AND source_name='4FGL J0706.8+7742' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 18:03:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 104181: <4FGL_J0706.8+7742_daily_bin4> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0706.8+7742_daily_bin4 106.725 77.7002 240364801 240624001 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 :                                   765.35 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             389.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   794 sec.
    Turnaround time :                            795 sec.

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

