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


Performing analysis on: 4FGL_J0706.8+7742_daily_bin25
RA = 106.725, Dec = 77.7002
tmin = 245808001, tmax = 246067201
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='104219', job_status='RUN', time_executed='2021-08-26 17:52:46.264967', time_epoch_executed='1630025566.26' WHERE source_name='4FGL J0706.8+7742' and cadence='daily' and bin_id='25'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/104219

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

Retrieving the FT1 file...

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

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

Retrieving 49 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/104219/ft1_4FGL_J0706.8+7742_daily_bin25.fits


Retrieving the FT1 file...

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

Retrieving 49 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/104219/ft2_4FGL_J0706.8+7742_daily_bin25.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/104219/ft1_4FGL_J0706.8+7742_daily_bin25.fits outfile=/scratch/kocevski/104219/ft1_filteredMKT_4FGL_J0706.8+7742_daily_bin25.fits ra=106.725 dec=77.7002 rad=12.0 tmin=245808001.0 tmax=246067201.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.48
user 1.27
sys 1.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/104219/ft2_4FGL_J0706.8+7742_daily_bin25.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/104219/ft1_filteredMKT_4FGL_J0706.8+7742_daily_bin25.fits evtable="EVENTS" outfile="/scratch/kocevski/104219/ft1_filtered_4FGL_J0706.8+7742_daily_bin25.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.51
user 0.30
sys 1.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/104219/ft1_filtered_4FGL_J0706.8+7742_daily_bin25.fits" evtable="EVENTS" scfile=/scratch/kocevski/104219/ft2_4FGL_J0706.8+7742_daily_bin25.fits sctable="SC_DATA" outfile=/scratch/kocevski/104219/ltcube_245808001_246067201_4FGL_J0706.8+7742_daily_bin25.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/104219/ft2_4FGL_J0706.8+7742_daily_bin25.fits
.....................!
real 13.44
user 11.90
sys 1.43

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/104219/ft1_filtered_4FGL_J0706.8+7742_daily_bin25.fits evtable="EVENTS" scfile=/scratch/kocevski/104219/ft2_4FGL_J0706.8+7742_daily_bin25.fits sctable="SC_DATA" expcube=/scratch/kocevski/104219/ltcube_245808001_246067201_4FGL_J0706.8+7742_daily_bin25.fits outfile=/scratch/kocevski/104219/expmap_245808001_246067201_4FGL_J0706.8+7742_daily_bin25.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/104219/ltcube_245808001_246067201_4FGL_J0706.8+7742_daily_bin25.fits
.....................!
real 193.53
user 186.50
sys 5.32

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/104219/ft1_filtered_4FGL_J0706.8+7742_daily_bin25.fits scfile=/scratch/kocevski/104219/ft2_4FGL_J0706.8+7742_daily_bin25.fits outfile=/scratch/kocevski/104219/cmap_245808001_246067201_4FGL_J0706.8+7742_daily_bin25.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.52
user 0.35
sys 1.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/104219/ft1_filtered_4FGL_J0706.8+7742_daily_bin25.fits scfile=/scratch/kocevski/104219/ft2_4FGL_J0706.8+7742_daily_bin25.fits outfile=/scratch/kocevski/104219/cmap_HighResolution_245808001_246067201_4FGL_J0706.8+7742_daily_bin25.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.56
user 0.37
sys 1.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    32.020       1.0000         .10000E-03   10000.    
     3 'Prefactor '    82.706       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10159E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    39.956       1.0000         .10000E-03   10000.    
     6 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.9583       1.0000         .10000E-03   10000.    
     8 'Prefactor '    75.234       1.0000         .10000E-03   10000.    
     9 'norm      '    .44951       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10201E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.3702       1.0000         .10000E-03   10000.    
    12 'norm      '    .12346E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.548       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.6018       1.0000         .10000E-03   10000.    
    16 'norm      '    .10511E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Normalizat'    1.2322       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .92860       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=   8508.026     FROM MIGRAD    STATUS=CONVERGED    681 CALLS     2212 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.6108        .18142E-02** at limit **
   2  Prefactor     32.034        37.259        .70811E-04    .34037E-04
   3  Prefactor     82.700        64.549        .44168E-04    .24916E-04
   4  Prefactor     .10001E-03    14.847        .18142E-02** at limit **
   5  Prefactor     39.902        37.464        .63412E-04    .10757E-05
   6  norm          .10000E-03    7.1958        .18142E-02** at limit **
   7  norm          4.9589        1.1478        .44526E-04    .58286E-03
   8  Prefactor     75.191        51.862        .46292E-04    .25541E-04
   9  norm          .33297        12.915        .11788        .23077E-03
  10  Prefactor     .10000E-03    13.630        .18142E-02** at limit **
  11  Prefactor     2.3711        2.7541        .16051E-03    .47639E-03
  12  norm          .10000E-03    2.0690        .19470E-02** at limit **
  13  Prefactor     14.636        24.239        .10501E-03    .27464E-03
  14  Prefactor     .10000E-03    2.7612        .14934E-02** at limit **
  15  Prefactor     8.6052        11.043        .13668E-03    .63716E-04
  16  norm          .10000E-03    9.6780        .31301E-02** at limit **
  17  Prefactor     .10000E-03    21.470        .36285E-03** at limit **
  18  Normalizat    1.2322        .22807        .32193E-03    .11096E-03
  19  Prefactor     .92875        .10965        .18766E-03    .36125E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 32.0336
  Prefactor  = 82.6997
  Prefactor  = 0.000100008
  Prefactor  = 39.9015
  norm       = 0.0001
  norm       = 4.95889
  Prefactor  = 75.191
  norm       = 0.332966
  Prefactor  = 0.0001
  Prefactor  = 2.37113
  norm       = 0.000100003
  Prefactor  = 14.6359
  Prefactor  = 0.0001
  Prefactor  = 8.6052
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.2322
  Prefactor  = 0.928746
 **********
 **   18 **HESSE 
 **********

 FCN=   8508.026     FROM HESSE     STATUS=OK           258 CALLS     2470 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.6137        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     32.034        37.260        .28324E-05   -1.4575    
   3  Prefactor     82.700        64.548        .88335E-05   -1.3887    
   4  Prefactor     .10001E-03    14.848        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     39.902        37.434        .25365E-05   -1.4444    
   6  norm          .10000E-03    7.1961        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.9589        1.1478        .89052E-05   -1.5263    
   8  Prefactor     75.191        51.858        .92583E-05   -1.3972    
   9  norm          .33297        12.993        .11715       -1.5593    
  10  Prefactor     .10000E-03    13.631        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.3711        2.7540        .64204E-05   -1.5400    
  12  norm          .10000E-03    2.0717        .38941E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     14.636        24.229        .21002E-04   -1.4943    
  14  Prefactor     .10000E-03    2.7615        .29868E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.6052        11.041        .54670E-05   -1.5121    
  16  norm          .10000E-03    9.7569        .62603E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    21.471        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.2322        .22813        .12877E-04   -.85614    
  19  Prefactor     .92875        .10970        .37532E-04   -.95144    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.66772e-09
Minuit parameter uncertainties:
  1  5.09071e-05
  2  37.2874
  3  64.6033
  4  0.000683829
  5  37.4564
  6  3.22371e-05
  7  1.14782
  8  51.8888
  9  4.16024
  10  0.000150762
  11  2.75415
  12  0.00015112
  13  24.2449
  14  7.59449e-06
  15  11.0432
  16  8.28771e-05
  17  1.63758e-06
  18  0.228312
  19  0.109728
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.287e-01  1.097e-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:  1.232e+00  2.283e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/104219/likelihoodResults_245808001_246067201_4FGL_J0706.8+7742_daily_bin25.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): 102
logL (Free Index) = 8508.0268132
delta logL = -0.0006615507682

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8508.02615165
delta logL = 7.85803422332e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8623       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2322       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92875       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=   8508.026     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      248 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    455.49        .18142E-02** at limit **
   2  alpha         1.9119        2.8918        .50000        .91404E-08
   3  Normalizat    1.2322        .45098E-01    .32193E-03   -.56503E-06
   4  Prefactor     .92875        .23336E-01    .18766E-03   -.10904E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.91192
  Normalizat = 1.2322
  Prefactor  = 0.928746
 **********
 **   18 **HESSE 
 **********

 FCN=   8508.026     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      277 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1454.0        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9119        2.8064        .50000       -.23746    
   3  Normalizat    1.2322        .12557        .12877E-04   -.85614    
   4  Prefactor     .92875        .64984E-01    .75065E-05   -.95144    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.64618e-09
Minuit parameter uncertainties:
  1  0.000536565
  2  3786.9
  3  0.125602
  4  0.0649893
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/104219': 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): 102
logL (Free Index) = 8508.02615164
delta logL = 1.25528458739e-08

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
691    Prefactor:  9.287e-01  6.499e-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.232e+00  1.256e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/104219/cmap_HighResolution_245808001_246067201_4FGL_J0706.8+7742_daily_bin25.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.91e-05', job_status='DONE', photon_flux_upper_limit='3.42e-08', time_completed='2021-08-26 18:06:54.893953', job_id='104219', GAL2='0.93', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1630026414.89', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.26e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.86' WHERE bin_id='25' AND source_name='4FGL J0706.8+7742' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 18:06:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0141>
Subject: Job 104219: <4FGL_J0706.8+7742_daily_bin25> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0706.8+7742_daily_bin25 106.725 77.7002 245808001 246067201 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 :                                   860.25 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             297.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   990 sec.
    Turnaround time :                            992 sec.

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

