aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 5 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7481
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0706.8+7742_daily_bin1717
RA = 106.725, Dec = 77.7002
tmin = 684374401, tmax = 684633601
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='46520', job_status='RUN', time_executed='2022-09-16 12:40:48.307970', time_epoch_executed='1663357248.31' WHERE source_name='4FGL J0706.8+7742' and cadence='daily' and bin_id='1717'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/46520

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/46520/ft1_4FGL_J0706.8+7742_daily_bin1717.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/46520/ft2_4FGL_J0706.8+7742_daily_bin1717.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/46520/ft1_4FGL_J0706.8+7742_daily_bin1717.fits outfile=/scratch/kocevski/46520/ft1_filteredMKT_4FGL_J0706.8+7742_daily_bin1717.fits ra=106.725 dec=77.7002 rad=12.0 tmin=684374401.0 tmax=684633601.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 5.10
user 4.77
sys 0.26

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

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

Number of photons that the gtmktime cut: 1098

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/46520/ft1_filtered_4FGL_J0706.8+7742_daily_bin1717.fits" evtable="EVENTS" scfile=/scratch/kocevski/46520/ft2_4FGL_J0706.8+7742_daily_bin1717.fits sctable="SC_DATA" outfile=/scratch/kocevski/46520/ltcube_684374401_684633601_4FGL_J0706.8+7742_daily_bin1717.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/46520/ft2_4FGL_J0706.8+7742_daily_bin1717.fits
.....................!
real 15.48
user 15.01
sys 0.40

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/46520/ft1_filtered_4FGL_J0706.8+7742_daily_bin1717.fits evtable="EVENTS" scfile=/scratch/kocevski/46520/ft2_4FGL_J0706.8+7742_daily_bin1717.fits sctable="SC_DATA" expcube=/scratch/kocevski/46520/ltcube_684374401_684633601_4FGL_J0706.8+7742_daily_bin1717.fits outfile=/scratch/kocevski/46520/expmap_684374401_684633601_4FGL_J0706.8+7742_daily_bin1717.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/46520/ltcube_684374401_684633601_4FGL_J0706.8+7742_daily_bin1717.fits
.....................!
real 193.56
user 186.92
sys 5.47

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/46520/ft1_filtered_4FGL_J0706.8+7742_daily_bin1717.fits scfile=/scratch/kocevski/46520/ft2_4FGL_J0706.8+7742_daily_bin1717.fits outfile=/scratch/kocevski/46520/cmap_684374401_684633601_4FGL_J0706.8+7742_daily_bin1717.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/46520/ft1_filtered_4FGL_J0706.8+7742_daily_bin1717.fits scfile=/scratch/kocevski/46520/ft2_4FGL_J0706.8+7742_daily_bin1717.fits outfile=/scratch/kocevski/46520/cmap_HighResolution_684374401_684633601_4FGL_J0706.8+7742_daily_bin1717.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.56
user 0.39
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/46520/ft1_filtered_4FGL_J0706.8+7742_daily_bin1717.fits', '/scratch/kocevski/46520/ft2_4FGL_J0706.8+7742_daily_bin1717.fits', expMap='/scratch/kocevski/46520/expmap_684374401_684633601_4FGL_J0706.8+7742_daily_bin1717.fits', expCube='/scratch/kocevski/46520/ltcube_684374401_684633601_4FGL_J0706.8+7742_daily_bin1717.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/46520/Model_4FGL_J0706.8+7742_daily_bin1717.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  0.000e+00  1.000e+06 ( 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 -5.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/46520/ft1_filtered_4FGL_J0706.8+7742_daily_bin1717.fits
Spacecraft file(s): /scratch/kocevski/46520/ft2_4FGL_J0706.8+7742_daily_bin1717.fits
Exposure map: /scratch/kocevski/46520/expmap_684374401_684633601_4FGL_J0706.8+7742_daily_bin1717.fits
Exposure cube: /scratch/kocevski/46520/ltcube_684374401_684633601_4FGL_J0706.8+7742_daily_bin1717.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/46520/Model_4FGL_J0706.8+7742_daily_bin1717.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) = 11470.1209484

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21592       1.0000          .0000       .10000E+07
     2 'Prefactor '    12.413       1.0000          .0000       .10000E+07
     3 'Prefactor '    47.923       1.0000          .0000       .10000E+07
     4 'Prefactor '    27.942       1.0000          .0000       .10000E+07
     5 'Prefactor '    1.5039       1.0000          .0000       .10000E+07
     6 'norm      '    4.2112       1.0000          .0000       .10000E+07
     7 'norm      '    1.0614       1.0000          .0000       .10000E+07
     8 'norm      '    .22229E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    12.297       1.0000          .0000       .10000E+07
    10 'Prefactor '    .25129E-05   1.0000          .0000       .10000E+07
    11 'norm      '    .86986       1.0000          .0000       .10000E+07
    12 'Prefactor '    16.297       1.0000          .0000       .10000E+07
    13 'Prefactor '    .24761E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .78774E-04   1.0000          .0000       .10000E+07
    15 'norm      '    5.1067       1.0000          .0000       .10000E+07
    16 'Prefactor '    .28338E-02   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0210       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0133       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11470.11     FROM MIGRAD    STATUS=CONVERGED    110 CALLS     1266 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .21629        22.899       -.37182E-05** at limit **
   2  Prefactor     12.409        1.7178       -.15572E-06   -.24894E-01
   3  Prefactor     47.613        13.507       -.64750E-06    .31777E-01
   4  Prefactor     28.247        14.385       -.11171E-05   -.53655E-01
   5  Prefactor     .56544        136.03       -.36443E-05   -.40292E-02
   6  norm          4.2161        4.0516       -.37948E-06   -.45286E-01
   7  norm          1.0623        .43042        .42778E-07   -.22710E-02
   8  norm           .0000        6.5711        .24769E-06** at limit **
   9  Prefactor     12.329        4.2755        .23419E-06    .42267E-02
  10  Prefactor      .0000        1.2615       -.25245E-06** at limit **
  11  norm          .84667        1.9012        .70211E-06   -.58777E-02
  12  Prefactor     16.635        17.039       -.25199E-05    .42535E-01
  13  Prefactor      .0000        2.5397       -.21626E-06** at limit **
  14  Prefactor     .14988E-08    11.256        .20654E-05** at limit **
  15  norm          5.0784        4.2725       -.11460E-06   -.16875E-02
  16  Prefactor      .0000        4.1639        .82814E-06** at limit **
  17  Normalizat    1.0220        .17123       -.10473E-04   -.14758E-03
  18  Prefactor     1.0133        .88752E-01    .49262E-05   -.20033E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.216291
  Prefactor  = 12.4087
  Prefactor  = 47.6132
  Prefactor  = 28.2469
  Prefactor  = 0.565436
  norm       = 4.2161
  norm       = 1.06233
  norm       = 0
  Prefactor  = 12.3287
  Prefactor  = 0
  norm       = 0.846671
  Prefactor  = 16.6352
  Prefactor  = 0
  Prefactor  = 1.4988e-09
  norm       = 5.07837
  Prefactor  = 0
  Normalizat = 1.02196
  Prefactor  = 1.01327
 **********
 **   18 **HESSE 
 **********

 FCN=   11470.11     FROM HESSE     STATUS=OK           296 CALLS     1562 TOTAL
                     EDM=   .24E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .21629        3.5865        .66686E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.409        12.161        .28407E-03   -1.5638    
   3  Prefactor     47.613        29.202        .14446E-03   -1.5570    
   4  Prefactor     28.247        20.069        .18921E-03   -1.5602    
   5  Prefactor     .56544        16.517        .11831E-01   -1.5693    
   6  norm          4.2161        11.034        .49082E-03   -1.5667    
   7  norm          1.0623        .42898        .98187E-03   -1.5687    
   8  norm           .0000        6.5869        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.329        29.806        .28540E-03   -1.5638    
  10  Prefactor      .0000        1.2628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .84667        2.1785        .47867E-03   -1.5690    
  12  Prefactor     16.635        24.845        .24783E-03   -1.5626    
  13  Prefactor      .0000        2.5433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .14988E-08    11.326        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.0784        4.2658        .44468E-03   -1.5663    
  16  Prefactor      .0000        4.1733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0220        .15668        .71149E-01   -.92298    
  18  Prefactor     1.0133        .78866E-01    .42877E-01   -.92288    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.37738e-06
Minuit parameter uncertainties:
  1  1.7615
  2  12.1614
  3  29.2023
  4  20.0689
  5  6.11201
  6  11.0339
  7  0.428978
  8  4.17553e-06
  9  29.8068
  10  1.34175e-06
  11  2.17846
  12  24.8454
  13  4.72995e-07
  14  0.000262612
  15  4.26578
  16  1.87403e-06
  17  0.156754
  18  0.0788747
Done.

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

Extracting fit parameters...

4FGL J0706.8+7742
   Spectrum: LogParabola
253         norm:  4.216e+00  1.103e+01  0.000e+00  1.000e+06 ( 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 -5.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.013e+00  7.887e-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.022e+00  1.568e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.19
Ra Dec: 106.725 77.700
Photon Flux Upper Limit: 3.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.12e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/46520/likelihoodResults_684374401_684633601_4FGL_J0706.8+7742_daily_bin1717.txt

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) = 11470.0837316
delta logL = 0.0307644476634

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11470.0832456
delta logL = 0.0312505190832

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.4907       1.0000          .0000       .10000E+07
     2 'alpha     '    2.2017       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0194       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0135       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11470.08     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      280 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.4907        10.989        .94977E-04   -.71006E-03
   2  alpha         2.2016        1.3110        .38915E-01    .27872E-04
   3  Normalizat    1.0193        .15949        .31517E-03   -.21643E-06
   4  Prefactor     1.0135        .87113E-01    .17206E-03    .26430E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 4.49067
  alpha      = 2.20163
  Normalizat = 1.01932
  Prefactor  = 1.01352
 **********
 **   18 **HESSE 
 **********

 FCN=   11470.08     FROM HESSE     STATUS=OK            27 CALLS      307 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.4907        10.443        .37991E-05   -1.5666    
   2  alpha         2.2016        1.2540        .15566E-02   -.11963    
   3  Normalizat    1.0193        .15953        .12607E-04   -.92386    
   4  Prefactor     1.0135        .87145E-01    .68824E-05   -.92280    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56241e-10
Minuit parameter uncertainties:
  1  10.4434
  2  1.31465
  3  0.159604
  4  0.0871572
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/46520': 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) = 11470.0832453
delta logL = 0.0312507823401

Extracting fit parameters...

4FGL J0706.8+7742
   Spectrum: LogParabola
253         norm:  4.491e+00  1.044e+01  0.000e+00  1.000e+06 ( 1.000e-13)
254        alpha:  2.202e+00  1.315e+00  0.000e+00  5.000e+00 ( 1.000e+00)
255         beta:  1.188e-01  0.000e+00 -5.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.014e+00  8.716e-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.019e+00  1.596e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.19
Ra Dec: 106.725 77.700

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/46520/cmap_HighResolution_684374401_684633601_4FGL_J0706.8+7742_daily_bin1717.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.12e-05', job_status='DONE', photon_flux_upper_limit='3.66e-08', time_completed='2022-09-16 12:56:05.747264', job_id='46520', GAL2='1.01', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1663358165.75', return_code2='0', ts='0.19', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='3.13e-02', ts2='0.25', photon_index_error='0.00', photon_index='1.86' WHERE bin_id='1717' AND source_name='4FGL J0706.8+7742' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 12:56:05 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 46520: <4FGL_J0706.8+7742_daily_bin1717> in cluster <slac> Done

Job <4FGL_J0706.8+7742_daily_bin1717> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 12:40:16 2022
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 12:40:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 12:40:33 2022
Terminated at Fri Sep 16 12:56:06 2022
Results reported at Fri Sep 16 12:56:06 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0706.8+7742_daily_bin1717 106.725 77.7002 684374401 684633601 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 :                                   917.46 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             356.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   933 sec.
    Turnaround time :                            950 sec.

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

