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


Performing analysis on: 4FGL_J0702.7-1951_daily_bin1477
RA = 105.678, Dec = -19.8517
tmin = 622166401, tmax = 622425601
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='79357', job_status='RUN', time_executed='2021-08-26 16:31:37.076761', time_epoch_executed='1630020697.08' WHERE source_name='4FGL J0702.7-1951' and cadence='daily' and bin_id='1477'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/79357

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/79357/ft1_4FGL_J0702.7-1951_daily_bin1477.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/79357/ft2_4FGL_J0702.7-1951_daily_bin1477.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/79357/ft1_4FGL_J0702.7-1951_daily_bin1477.fits outfile=/scratch/kocevski/79357/ft1_filteredMKT_4FGL_J0702.7-1951_daily_bin1477.fits ra=105.678 dec=-19.8517 rad=12.0 tmin=622166401.0 tmax=622425601.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 4.05
user 3.42
sys 0.55

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/79357/ft2_4FGL_J0702.7-1951_daily_bin1477.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/79357/ft1_filteredMKT_4FGL_J0702.7-1951_daily_bin1477.fits evtable="EVENTS" outfile="/scratch/kocevski/79357/ft1_filtered_4FGL_J0702.7-1951_daily_bin1477.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.33
user 0.32
sys 0.56

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/79357/ft1_filtered_4FGL_J0702.7-1951_daily_bin1477.fits" evtable="EVENTS" scfile=/scratch/kocevski/79357/ft2_4FGL_J0702.7-1951_daily_bin1477.fits sctable="SC_DATA" outfile=/scratch/kocevski/79357/ltcube_622166401_622425601_4FGL_J0702.7-1951_daily_bin1477.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/79357/ft2_4FGL_J0702.7-1951_daily_bin1477.fits
.....................!
real 12.31
user 11.39
sys 0.75

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/79357/ft1_filtered_4FGL_J0702.7-1951_daily_bin1477.fits evtable="EVENTS" scfile=/scratch/kocevski/79357/ft2_4FGL_J0702.7-1951_daily_bin1477.fits sctable="SC_DATA" expcube=/scratch/kocevski/79357/ltcube_622166401_622425601_4FGL_J0702.7-1951_daily_bin1477.fits outfile=/scratch/kocevski/79357/expmap_622166401_622425601_4FGL_J0702.7-1951_daily_bin1477.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/79357/ltcube_622166401_622425601_4FGL_J0702.7-1951_daily_bin1477.fits
.....................!
real 190.39
user 184.87
sys 4.68

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/79357/ft1_filtered_4FGL_J0702.7-1951_daily_bin1477.fits scfile=/scratch/kocevski/79357/ft2_4FGL_J0702.7-1951_daily_bin1477.fits outfile=/scratch/kocevski/79357/cmap_622166401_622425601_4FGL_J0702.7-1951_daily_bin1477.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 0.93
user 0.37
sys 0.54

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/79357/ft1_filtered_4FGL_J0702.7-1951_daily_bin1477.fits scfile=/scratch/kocevski/79357/ft2_4FGL_J0702.7-1951_daily_bin1477.fits outfile=/scratch/kocevski/79357/cmap_HighResolution_622166401_622425601_4FGL_J0702.7-1951_daily_bin1477.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 0.93
user 0.40
sys 0.52

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/79357/ft1_filtered_4FGL_J0702.7-1951_daily_bin1477.fits evtable="EVENTS" scfile=/scratch/kocevski/79357/ft2_4FGL_J0702.7-1951_daily_bin1477.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/79357/Model_4FGL_J0702.7-1951_daily_bin1477.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/79357/ft1_filtered_4FGL_J0702.7-1951_daily_bin1477.fits.....................!
real 218.35
user 216.03
sys 1.85

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/79357/ft1_filtered_4FGL_J0702.7-1951_daily_bin1477.fits', '/scratch/kocevski/79357/ft2_4FGL_J0702.7-1951_daily_bin1477.fits', expMap='/scratch/kocevski/79357/expmap_622166401_622425601_4FGL_J0702.7-1951_daily_bin1477.fits', expCube='/scratch/kocevski/79357/ltcube_622166401_622425601_4FGL_J0702.7-1951_daily_bin1477.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/79357/Model_4FGL_J0702.7-1951_daily_bin1477.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/79357/ft1_filtered_4FGL_J0702.7-1951_daily_bin1477.fits
Spacecraft file(s): /scratch/kocevski/79357/ft2_4FGL_J0702.7-1951_daily_bin1477.fits
Exposure map: /scratch/kocevski/79357/expmap_622166401_622425601_4FGL_J0702.7-1951_daily_bin1477.fits
Exposure cube: /scratch/kocevski/79357/ltcube_622166401_622425601_4FGL_J0702.7-1951_daily_bin1477.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/79357/Model_4FGL_J0702.7-1951_daily_bin1477.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) = 15552.3756509

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.673       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .12936       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10242E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.7870       1.0000         .10000E-03   10000.    
     5 'norm      '    3.2293       1.0000         .10000E-03   10000.    
     6 'norm      '    9.5635       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    8.6975       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.0255       1.0000         .10000E-03   10000.    
    11 'norm      '    .10159E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .11997E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.9031       1.0000         .10000E-03   10000.    
    14 'Prefactor '    18.952       1.0000         .10000E-03   10000.    
    15 'norm      '    1.3884       1.0000         .10000E-03   10000.    
    16 'norm      '    6.3449       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .94162       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0028       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=   15552.35     FROM MIGRAD    STATUS=CONVERGED     87 CALLS     1249 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.665        6.3039        .97879E-07   -.32331E-02
   2  Prefactor     .10000E-03    238.30        .75988E-05** at limit **
   3  Prefactor     .10000E-03    5.7036       -.33396E-06** at limit **
   4  norm          1.7865        2.5491        .17934E-06    .19951E-04
   5  norm          3.2298        1.8885        .10708E-06    .81672E-04
   6  norm          9.5689        7.0583        .19502E-07    .11812E-02
   7  Prefactor     .10000E-03    3.5170        .88002E-07** at limit **
   8  norm          .10000E-03    3.6374        .37540E-06** at limit **
   9  norm          8.6994        1.5889       -.73486E-09    .28016E-03
  10  Prefactor     6.0238        3.5836        .83562E-07   -.45494E-04
  11  norm          .10000E-03    15.278        .20738E-05** at limit **
  12  norm          .10000E-03    32.549       -.26753E-05** at limit **
  13  norm          1.9024        2.4752        .13983E-06    .20869E-04
  14  Prefactor     18.964        2.9223       -.20708E-07    .46483E-02
  15  norm          1.3883        1.2754       -.60701E-07   -.11817E-04
  16  norm          6.3514        1.6468        .44198E-07   -.21172E-03
  17  Normalizat    .94168        .29597        .55322E-05    .26829E-04
  18  Prefactor     1.0028        .46141E-01   -.57975E-06    .24541E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 13.6646
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  norm       = 1.78649
  norm       = 3.22983
  norm       = 9.56885
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 8.69943
  Prefactor  = 6.02381
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.90238
  Prefactor  = 18.9643
  norm       = 1.38826
  norm       = 6.35142
  Normalizat = 0.941683
  Prefactor  = 1.00279
 **********
 **   18 **HESSE 
 **********

 FCN=   15552.35     FROM HESSE     STATUS=OK           294 CALLS     1543 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.665        9.0854        .27081E-02   -1.4968    
   2  Prefactor     .10000E-03    9.8100        .13271       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.6725        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.7865        2.5737        .78240E-02   -1.5441    
   5  norm          3.2298        1.8915        .56354E-02   -1.5349    
   6  norm          9.5689        10.738        .32396E-02   -1.5089    
   7  Prefactor     .10000E-03    3.4933        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    3.6399        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          8.6994        9.1740        .33979E-02   -1.5118    
  10  Prefactor     6.0238        4.0108        .40893E-02   -1.5217    
  11  norm          .10000E-03    15.318        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    32.672        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.9024        2.4985        .75361E-02   -1.5432    
  14  Prefactor     18.964        18.044        .23001E-02   -1.4837    
  15  norm          1.3883        1.2874        .92234E-02   -1.5472    
  16  norm          6.3514        12.843        .39837E-02   -1.5204    
  17  Normalizat    .94168        .30685        .18053       -.95011    
  18  Prefactor     1.0028        .46242E-01    .28100E-01   -.92637    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09546e-07
Minuit parameter uncertainties:
  1  9.08627
  2  0.000441301
  3  2.12068e-06
  4  2.57388
  5  1.89157
  6  10.7404
  7  5.35285e-07
  8  3.48161e-06
  9  9.17544
  10  4.01094
  11  0.000170654
  12  2.25577e-05
  13  2.49859
  14  18.0496
  15  1.28742
  16  12.8488
  17  0.307423
  18  0.0462441
Done.

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

Extracting fit parameters...

4FGL J0702.7-1951
   Spectrum: LogParabola
249         norm:  1.902e+00  2.499e+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.003e+00  4.624e-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:  9.417e-01  3.074e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.81
Ra Dec: 105.678 -19.852
Photon Flux Upper Limit: 1.17e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.60e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/79357/likelihoodResults_622166401_622425601_4FGL_J0702.7-1951_daily_bin1477.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) = 15552.3481744
delta logL = 0.00569370410994

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15552.3478883
delta logL = 0.00597983069747

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15552.35     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      241 TOTAL
                     EDM=   .86E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8490        2.5576        .21336E-03    .25864E-03
   2  alpha         2.1022        .81058        .27946E-01    .25823E-04
   3  Normalizat    .94020        .28300        .80433E-03   -.46813E-04
   4  Prefactor     1.0027        .45685E-01    .12419E-03   -.10253E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.84896
  alpha      = 2.10218
  Normalizat = 0.940197
  Prefactor  = 1.00274
 **********
 **   18 **HESSE 
 **********

 FCN=   15552.35     FROM HESSE     STATUS=OK            25 CALLS      266 TOTAL
                     EDM=   .57E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8490        2.4825        .85344E-05   -1.5436    
   2  alpha         2.1022        .78805        .11178E-02   -.15981    
   3  Normalizat    .94020        .28291        .32173E-04   -.95062    
   4  Prefactor     1.0027        .45684E-01    .49676E-05   -.92638    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.7495e-11
Minuit parameter uncertainties:
  1  2.48264
  2  0.802094
  3  0.283358
  4  0.0456857
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/79357': 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) = 15552.3478882
delta logL = 0.00597983852822

Extracting fit parameters...

4FGL J0702.7-1951
   Spectrum: LogParabola
249         norm:  1.849e+00  2.483e+00  1.000e-04  1.000e+04 ( 1.000e-12)
250        alpha:  2.102e+00  8.021e-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.003e+00  4.569e-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:  9.402e-01  2.834e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.81
Ra Dec: 105.678 -19.852

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/79357/cmap_HighResolution_622166401_622425601_4FGL_J0702.7-1951_daily_bin1477.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.60e-05', job_status='DONE', photon_flux_upper_limit='1.17e-07', time_completed='2021-08-26 16:47:16.331126', job_id='79357', GAL2='1.00', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1630021636.33', return_code2='0', ts='0.81', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='5.98e-03', ts2='0.82', photon_index_error='0.00', photon_index='2.01' WHERE bin_id='1477' AND source_name='4FGL J0702.7-1951' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 26 16:47:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 79357: <4FGL_J0702.7-1951_daily_bin1477> in cluster <slac> Done

Job <4FGL_J0702.7-1951_daily_bin1477> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Aug 26 16:30:53 2021
Job was executed on host(s) <bullet0250>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 26 16:30:53 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:53 2021
Terminated at Thu Aug 26 16:47:16 2021
Results reported at Thu Aug 26 16:47:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0702.7-1951_daily_bin1477 105.678 -19.8517 622166401 622425601 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 :                                   940.15 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             324.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   983 sec.
    Turnaround time :                            983 sec.

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

