/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 90 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 = 6336
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0702.7-1951_daily_bin1338
RA = 105.678, Dec = -19.8517
tmin = 586137601, tmax = 586396801
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='79147', job_status='RUN', time_executed='2021-08-26 16:32:44.397952', time_epoch_executed='1630020764.4' WHERE source_name='4FGL J0702.7-1951' and cadence='daily' and bin_id='1338'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/79147

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

Retrieving the FT1 file...

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

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

Retrieving 41 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/79147/ft1_4FGL_J0702.7-1951_daily_bin1338.fits


Retrieving the FT1 file...

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

Retrieving 41 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/79147/ft2_4FGL_J0702.7-1951_daily_bin1338.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/79147/ft1_4FGL_J0702.7-1951_daily_bin1338.fits outfile=/scratch/kocevski/79147/ft1_filteredMKT_4FGL_J0702.7-1951_daily_bin1338.fits ra=105.678 dec=-19.8517 rad=12.0 tmin=586137601.0 tmax=586396801.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 6.91
user 4.28
sys 1.14

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/79147/ft2_4FGL_J0702.7-1951_daily_bin1338.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/79147/ft2_4FGL_J0702.7-1951_daily_bin1338.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/79147/ft1_filteredMKT_4FGL_J0702.7-1951_daily_bin1338.fits evtable="EVENTS" outfile="/scratch/kocevski/79147/ft1_filtered_4FGL_J0702.7-1951_daily_bin1338.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.73
user 0.33
sys 1.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/79147/ft1_filtered_4FGL_J0702.7-1951_daily_bin1338.fits" evtable="EVENTS" scfile=/scratch/kocevski/79147/ft2_4FGL_J0702.7-1951_daily_bin1338.fits sctable="SC_DATA" outfile=/scratch/kocevski/79147/ltcube_586137601_586396801_4FGL_J0702.7-1951_daily_bin1338.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/79147/ft2_4FGL_J0702.7-1951_daily_bin1338.fits
.....................!
real 11.50
user 9.83
sys 1.46

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/79147/ft1_filtered_4FGL_J0702.7-1951_daily_bin1338.fits evtable="EVENTS" scfile=/scratch/kocevski/79147/ft2_4FGL_J0702.7-1951_daily_bin1338.fits sctable="SC_DATA" expcube=/scratch/kocevski/79147/ltcube_586137601_586396801_4FGL_J0702.7-1951_daily_bin1338.fits outfile=/scratch/kocevski/79147/expmap_586137601_586396801_4FGL_J0702.7-1951_daily_bin1338.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/79147/ltcube_586137601_586396801_4FGL_J0702.7-1951_daily_bin1338.fits
.....................!
real 193.59
user 185.52
sys 6.55

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 159 point sources and 0 extended sources

Setting source of interest to:
4FGL J0702.7-1951 @ 105.678 -19.8517

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/79147/ft1_filtered_4FGL_J0702.7-1951_daily_bin1338.fits scfile=/scratch/kocevski/79147/ft2_4FGL_J0702.7-1951_daily_bin1338.fits outfile=/scratch/kocevski/79147/cmap_586137601_586396801_4FGL_J0702.7-1951_daily_bin1338.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=105.678 yref=-19.8517 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.47
user 0.36
sys 1.06

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/79147/ft1_filtered_4FGL_J0702.7-1951_daily_bin1338.fits scfile=/scratch/kocevski/79147/ft2_4FGL_J0702.7-1951_daily_bin1338.fits outfile=/scratch/kocevski/79147/cmap_HighResolution_586137601_586396801_4FGL_J0702.7-1951_daily_bin1338.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=105.678 yref=-19.8517 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.58
user 0.38
sys 1.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/79147/ft1_filtered_4FGL_J0702.7-1951_daily_bin1338.fits evtable="EVENTS" scfile=/scratch/kocevski/79147/ft2_4FGL_J0702.7-1951_daily_bin1338.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/79147/Model_4FGL_J0702.7-1951_daily_bin1338.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/79147/ft1_filtered_4FGL_J0702.7-1951_daily_bin1338.fits.....................!
real 185.99
user 181.65
sys 2.64

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/79147/ft1_filtered_4FGL_J0702.7-1951_daily_bin1338.fits', '/scratch/kocevski/79147/ft2_4FGL_J0702.7-1951_daily_bin1338.fits', expMap='/scratch/kocevski/79147/expmap_586137601_586396801_4FGL_J0702.7-1951_daily_bin1338.fits', expCube='/scratch/kocevski/79147/ltcube_586137601_586396801_4FGL_J0702.7-1951_daily_bin1338.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/79147/Model_4FGL_J0702.7-1951_daily_bin1338.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0702.7-1951'

4FGL J0702.7-1951
   Spectrum: LogParabola
249         norm:  1.267e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
250        alpha:  2.015e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
251         beta:  8.908e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
252           Eb:  1.379e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/79147/ft1_filtered_4FGL_J0702.7-1951_daily_bin1338.fits
Spacecraft file(s): /scratch/kocevski/79147/ft2_4FGL_J0702.7-1951_daily_bin1338.fits
Exposure map: /scratch/kocevski/79147/expmap_586137601_586396801_4FGL_J0702.7-1951_daily_bin1338.fits
Exposure cube: /scratch/kocevski/79147/ltcube_586137601_586396801_4FGL_J0702.7-1951_daily_bin1338.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/79147/Model_4FGL_J0702.7-1951_daily_bin1338.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) = 12330.081454

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    .32861       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    7.9118       1.0000         .10000E-03   10000.    
     5 'norm      '    4.1652       1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    42.212       1.0000         .10000E-03   10000.    
     9 'norm      '    20.145       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10200E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    67.971       1.0000         .10000E-03   10000.    
    12 'norm      '    27.750       1.0000         .10000E-03   10000.    
    13 'norm      '    1.5845       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.1414       1.0000         .10000E-03   10000.    
    16 'norm      '    13.376       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .85065       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0134       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12330.07     FROM MIGRAD    STATUS=CONVERGED    110 CALLS     1490 TOTAL
                     EDM=   .61E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.5774       -.21622E-05** at limit **
   2  Prefactor     .11591E-03    9088.9        .80316E-04** at limit **
   3  Prefactor     .10000E-03    2.2576       -.14953E-05** at limit **
   4  norm          7.9163        1.9119        .36489E-06    .52623E-02
   5  norm          4.1666        2.3593        .75997E-06    .14861E-04
   6  norm          .10000E-03    3.3580       -.37056E-05** at limit **
   7  Prefactor     .10000E-03    2.3299        .16394E-05** at limit **
   8  norm          42.207        16.330       -.47224E-05    .80708E-02
   9  norm          20.147        11.739        .15392E-05    .70077E-03
  10  Prefactor     .10000E-03    3.5844        .30619E-05** at limit **
  11  norm          67.972        2.7880       -.60438E-06    .31890E-02
  12  norm          27.746        3.1059       -.10079E-05    .32561E-02
  13  norm          1.5844        1.5940       -.16235E-06    .16210E-03
  14  Prefactor     .10000E-03    5.5265        .40485E-05** at limit **
  15  norm          2.1413        1.5023       -.22790E-06    .74867E-04
  16  norm          13.368        12.518       -.61267E-05   -.66120E-02
  17  Normalizat    .85120        .33869        .34702E-04   -.17035E-05
  18  Prefactor     1.0134        .52624E-01   -.15875E-05    .81184E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100002
  Prefactor  = 0.000115914
  Prefactor  = 0.0001
  norm       = 7.91627
  norm       = 4.16659
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 42.2069
  norm       = 20.1469
  Prefactor  = 0.0001
  norm       = 67.9719
  norm       = 27.7464
  norm       = 1.58443
  Prefactor  = 0.000100001
  norm       = 2.1413
  norm       = 13.3679
  Normalizat = 0.851202
  Prefactor  = 1.01335
 **********
 **   18 **HESSE 
 **********

 FCN=   12330.07     FROM HESSE     STATUS=OK           294 CALLS     1784 TOTAL
                     EDM=   .40E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.6159        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .11591E-03    13.536        .13477       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.2960        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.9163        5.5078        .35638E-02   -1.5145    
   5  norm          4.1666        2.3664        .49372E-02   -1.5300    
   6  norm          .10000E-03    3.3885        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.3430        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          42.207        25.736        .15425E-02   -1.4408    
   9  norm          20.147        11.923        .22309E-02   -1.4810    
  10  Prefactor     .10000E-03    3.5412        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          67.972        86.067        .12171E-02   -1.4057    
  12  norm          27.746        72.390        .19013E-02   -1.4654    
  13  norm          1.5844        1.5795        .84320E-02   -1.5456    
  14  Prefactor     .10000E-03    5.6660        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.1413        1.5040        .70412E-02   -1.5415    
  16  norm          13.368        16.462        .27380E-02   -1.4977    
  17  Normalizat    .85120        .36347        .19433       -.98197    
  18  Prefactor     1.0134        .53748E-01    .28451E-01   -.92286    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.03171e-07
Minuit parameter uncertainties:
  1  0.000210251
  2  0.0293605
  3  2.41189e-05
  4  5.50819
  5  2.36643
  6  1.0393e-05
  7  1.80817e-05
  8  25.7427
  9  11.9247
  10  1.8051e-05
  11  86.225
  12  72.6206
  13  1.57957
  14  0.000147081
  15  1.50401
  16  16.4679
  17  0.364517
  18  0.0537512
Done.

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

Extracting fit parameters...

4FGL J0702.7-1951
   Spectrum: LogParabola
249         norm:  1.584e+00  1.580e+00  1.000e-04  1.000e+04 ( 1.000e-12)
250        alpha:  2.015e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
251         beta:  8.908e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
252           Eb:  1.379e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
538    Prefactor:  1.013e+00  5.375e-02  0.000e+00  1.000e+01 ( 1.000e+00)
539        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
540        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
537   Normalization:  8.512e-01  3.645e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.49
Ra Dec: 105.678 -19.852
Photon Index (Fixed Index): 2.01 +/- 0.00
Photon Flux (Fixed Index): 2.27e-08 +/- 2.27e-08
Energy Flux (Fixed Index): 1.48e-05 +/- 1.47e-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) = 12328.745029
delta logL = 1.32961477872

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12328.5845442
delta logL = 1.4900995547

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .69795       1.0000         .10000E-03   10000.    
     2 'alpha     '    .70392       1.0000          .0000       5.0000    
     3 'Normalizat'    .85646       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0141       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12328.58     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      217 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .69636        .83400        .18876E-01   -.12897E-02
   2  alpha         .70228        .54543        .50000       -.47490E-04
   3  Normalizat    .85675        .33367        .19377        .73150E-04
   4  Prefactor     1.0141        .52837E-01    .28440E-01   -.32676E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.696362
  alpha      = 0.702279
  Normalizat = 0.85675
  Prefactor  = 1.01408
 **********
 **   18 **HESSE 
 **********

 FCN=   12328.58     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .69636        1.0638        .93099E-04   -1.5541    
   2  alpha         .70228        .65862        .29746E-01   -.80249    
   3  Normalizat    .85675        .32849        .86321E-03   -.97997    
   4  Prefactor     1.0141        .52457E-01    .12570E-03   -.92262    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.97906e-09
Minuit parameter uncertainties:
  1  1.06379
  2  0.675517
  3  0.329261
  4  0.0524597
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/79147': 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) = 12328.584541
delta logL = 1.49010281504

Extracting fit parameters...

4FGL J0702.7-1951
   Spectrum: LogParabola
249         norm:  6.964e-01  1.064e+00  1.000e-04  1.000e+04 ( 1.000e-12)
250        alpha:  7.023e-01  6.755e-01  0.000e+00  5.000e+00 ( 1.000e+00)
251         beta:  8.908e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
252           Eb:  1.379e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
538    Prefactor:  1.014e+00  5.246e-02  0.000e+00  1.000e+01 ( 1.000e+00)
539        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
540        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
537   Normalization:  8.568e-01  3.293e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.47
Ra Dec: 105.678 -19.852
Photon Index (Free Index): 0.70 +/- 0.68
Photon Flux (Free Index): 6.07e-09 +/- 6.35e-09
Energy Flux (Free Index): 9.11e-05 +/- 1.28e-04

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/79147/cmap_HighResolution_586137601_586396801_4FGL_J0702.7-1951_daily_bin1338.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.27e-08', energy_flux2='9.11e-05', photon_flux_error='2.27e-08', dlogl='1.49e+00', energy_flux='1.48e-05', photon_flux2='6.07e-09', job_status='DONE', time_completed='2021-08-26 16:45:40.781363', photon_index_error2='0.68', photon_index2='0.70', ts='5.49', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='1.28e-04', EG='0.85', time_epoch_completed='1630021540.78', return_code='0', job_id='79147', GAL2='1.01', EG2='0.86', return_code2='0', energy_flux_error='1.47e-05', photon_flux_error2='6.35e-09', ts2='8.47', photon_index='2.01' WHERE bin_id='1338' AND source_name='4FGL J0702.7-1951' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 16:45:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0286>
Subject: Job 79147: <4FGL_J0702.7-1951_daily_bin1338> in cluster <slac> Done

Job <4FGL_J0702.7-1951_daily_bin1338> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Aug 26 16:30:39 2021
Job was executed on host(s) <bullet0286>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 26 16:30:40 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Aug 26 16:30:40 2021
Terminated at Thu Aug 26 16:45:41 2021
Results reported at Thu Aug 26 16:45:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0702.7-1951_daily_bin1338 105.678 -19.8517 586137601 586396801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0702.7-1951 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   783.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             334.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   901 sec.
    Turnaround time :                            902 sec.

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

