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


Performing analysis on: 4FGL_J1615.6+2130_daily_bin1412
RA = 243.913, Dec = 21.5064
tmin = 605318401, tmax = 605577601
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='200682', job_status='RUN', time_executed='2021-09-13 18:25:30.703593', time_epoch_executed='1631582730.7' WHERE source_name='4FGL J1615.6+2130' and cadence='daily' and bin_id='1412'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/200682

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/200682/ft1_4FGL_J1615.6+2130_daily_bin1412.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/200682/ft2_4FGL_J1615.6+2130_daily_bin1412.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/200682/ft1_4FGL_J1615.6+2130_daily_bin1412.fits outfile=/scratch/kocevski/200682/ft1_filteredMKT_4FGL_J1615.6+2130_daily_bin1412.fits ra=243.913 dec=21.5064 rad=12.0 tmin=605318401.0 tmax=605577601.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.57
user 5.26
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/200682/ft2_4FGL_J1615.6+2130_daily_bin1412.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/200682/ft2_4FGL_J1615.6+2130_daily_bin1412.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/200682/ft1_filteredMKT_4FGL_J1615.6+2130_daily_bin1412.fits evtable="EVENTS" outfile="/scratch/kocevski/200682/ft1_filtered_4FGL_J1615.6+2130_daily_bin1412.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.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/200682/ft1_filtered_4FGL_J1615.6+2130_daily_bin1412.fits" evtable="EVENTS" scfile=/scratch/kocevski/200682/ft2_4FGL_J1615.6+2130_daily_bin1412.fits sctable="SC_DATA" outfile=/scratch/kocevski/200682/ltcube_605318401_605577601_4FGL_J1615.6+2130_daily_bin1412.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/200682/ft2_4FGL_J1615.6+2130_daily_bin1412.fits
.....................!
real 14.50
user 14.09
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/200682/ft1_filtered_4FGL_J1615.6+2130_daily_bin1412.fits evtable="EVENTS" scfile=/scratch/kocevski/200682/ft2_4FGL_J1615.6+2130_daily_bin1412.fits sctable="SC_DATA" expcube=/scratch/kocevski/200682/ltcube_605318401_605577601_4FGL_J1615.6+2130_daily_bin1412.fits outfile=/scratch/kocevski/200682/expmap_605318401_605577601_4FGL_J1615.6+2130_daily_bin1412.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/200682/ltcube_605318401_605577601_4FGL_J1615.6+2130_daily_bin1412.fits
.....................!
real 194.17
user 186.70
sys 5.92

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

Setting source of interest to:
4FGL J1615.6+2130 @ 243.913 21.5064

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/200682/ft1_filtered_4FGL_J1615.6+2130_daily_bin1412.fits scfile=/scratch/kocevski/200682/ft2_4FGL_J1615.6+2130_daily_bin1412.fits outfile=/scratch/kocevski/200682/cmap_605318401_605577601_4FGL_J1615.6+2130_daily_bin1412.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=243.913 yref=21.5064 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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/200682/ft1_filtered_4FGL_J1615.6+2130_daily_bin1412.fits scfile=/scratch/kocevski/200682/ft2_4FGL_J1615.6+2130_daily_bin1412.fits outfile=/scratch/kocevski/200682/cmap_HighResolution_605318401_605577601_4FGL_J1615.6+2130_daily_bin1412.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=243.913 yref=21.5064 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.57
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/200682/ft1_filtered_4FGL_J1615.6+2130_daily_bin1412.fits evtable="EVENTS" scfile=/scratch/kocevski/200682/ft2_4FGL_J1615.6+2130_daily_bin1412.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/200682/Model_4FGL_J1615.6+2130_daily_bin1412.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/200682/ft1_filtered_4FGL_J1615.6+2130_daily_bin1412.fits.....................!
real 59.31
user 57.88
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/200682/ft1_filtered_4FGL_J1615.6+2130_daily_bin1412.fits', '/scratch/kocevski/200682/ft2_4FGL_J1615.6+2130_daily_bin1412.fits', expMap='/scratch/kocevski/200682/expmap_605318401_605577601_4FGL_J1615.6+2130_daily_bin1412.fits', expCube='/scratch/kocevski/200682/ltcube_605318401_605577601_4FGL_J1615.6+2130_daily_bin1412.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/200682/Model_4FGL_J1615.6+2130_daily_bin1412.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1615.6+2130'

4FGL J1615.6+2130
   Spectrum: PowerLaw
274    Prefactor:  3.532e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
275        Index:  2.755e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  4.684e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/200682/ft1_filtered_4FGL_J1615.6+2130_daily_bin1412.fits
Spacecraft file(s): /scratch/kocevski/200682/ft2_4FGL_J1615.6+2130_daily_bin1412.fits
Exposure map: /scratch/kocevski/200682/expmap_605318401_605577601_4FGL_J1615.6+2130_daily_bin1412.fits
Exposure cube: /scratch/kocevski/200682/ltcube_605318401_605577601_4FGL_J1615.6+2130_daily_bin1412.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/200682/Model_4FGL_J1615.6+2130_daily_bin1412.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) = 7604.82209231

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    9.5458       1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.940       1.0000         .10000E-03   10000.    
     5 'norm      '    11.082       1.0000         .10000E-03   10000.    
     6 'norm      '    2.3006       1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.683       1.0000         .10000E-03   10000.    
     8 'norm      '    13.554       1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.795       1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.800       1.0000         .10000E-03   10000.    
    11 'Prefactor '    23.906       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    17.266       1.0000         .10000E-03   10000.    
    14 'Prefactor '    17.400       1.0000         .10000E-03   10000.    
    15 'Normalizat'    .72487       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0530       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7604.819     FROM MIGRAD    STATUS=CONVERGED    274 CALLS     1418 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .92329       -.57311E-09** at limit **
   2  Prefactor     .10000E-03    12.717        .34067E-07** at limit **
   3  norm          9.5458        3.5342        .59621E-06   -.12316E-04
   4  Prefactor     16.940        19.876       -.10339E-05   -.24372E-05
   5  norm          11.082        9.6394        .65267E-07   -.61533E-04
   6  norm          2.3005        1.5188        .54415E-07    .12862E-03
   7  Prefactor     11.683        11.285       -.31290E-06   -.38172E-04
   8  norm          13.554        17.239       -.15370E-05   -.17521E-04
   9  Prefactor     18.795        12.477        .17744E-06   -.12628E-04
  10  Prefactor     14.797        27.664       -.72460E-05   -.57991E-05
  11  Prefactor     23.906        18.286        .60861E-06   -.36077E-05
  12  Prefactor     .10000E-03    1.3277        .66140E-07** at limit **
  13  Prefactor     17.263        25.187       -.46100E-05   -.72479E-05
  14  Prefactor     17.397        40.510       -.51494E-05   -.22172E-05
  15  Normalizat    .72470        .21681        .22111E-06   -.31744E-05
  16  Prefactor     1.0531        .11248        .55812E-06   -.46531E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.54583
  Prefactor  = 16.9396
  norm       = 11.0823
  norm       = 2.3005
  Prefactor  = 11.6833
  norm       = 13.5538
  Prefactor  = 18.7952
  Prefactor  = 14.7966
  Prefactor  = 23.9064
  Prefactor  = 0.0001
  Prefactor  = 17.2635
  Prefactor  = 17.3973
  Normalizat = 0.724698
  Prefactor  = 1.05314
 **********
 **   18 **HESSE 
 **********

 FCN=   7604.819     FROM HESSE     STATUS=OK           211 CALLS     1629 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .93776        .81800E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    12.749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          9.5458        3.5338        .95130E-04   -1.5090    
   4  Prefactor     16.940        19.875        .97310E-04   -1.4885    
   5  norm          11.082        9.6225        .12035E-03   -1.5042    
   6  norm          2.3005        1.5221        .84158E-04   -1.5405    
   7  Prefactor     11.683        11.287        .11720E-03   -1.5024    
   8  norm          13.554        17.245        .10880E-03   -1.4971    
   9  Prefactor     18.795        12.476        .92385E-04   -1.4841    
  10  Prefactor     14.797        27.709        .10411E-03   -1.4938    
  11  Prefactor     23.906        18.316        .81926E-04   -1.4730    
  12  Prefactor     .10000E-03    1.3302        .98119E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     17.263        25.216        .96389E-04   -1.4877    
  14  Prefactor     17.397        40.513        .96017E-04   -1.4874    
  15  Normalizat    .72470        .24867        .37934E-03   -1.0293    
  16  Prefactor     1.0531        .13039        .17039E-03   -.90979    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18819e-11
Minuit parameter uncertainties:
  1  1.19123e-06
  2  7.89477e-06
  3  3.53384
  4  19.8823
  5  9.62382
  6  1.52209
  7  11.2886
  8  17.251
  9  12.4773
  10  27.7333
  11  18.3206
  12  2.01282e-06
  13  25.2318
  14  40.577
  15  0.249059
  16  0.130433
Done.

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

Extracting fit parameters...

4FGL J1615.6+2130
   Spectrum: PowerLaw
274    Prefactor:  1.880e+01  1.248e+01  1.000e-04  1.000e+04 ( 1.000e-12)
275        Index:  2.755e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
276        Scale:  4.684e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  1.053e+00  1.304e-01  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
569   Normalization:  7.247e-01  2.491e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.69
Ra Dec: 243.913 21.506
Photon Index (Fixed Index): 2.76 +/- 0.00
Photon Flux (Fixed Index): 7.55e-08 +/- 5.01e-08
Energy Flux (Fixed Index): 1.74e-05 +/- 1.16e-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) = 7602.20709736
delta logL = 2.61155435962

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7602.13878704
delta logL = 2.67986468397

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.835       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5786       1.0000          .0000       10.000    
     3 'Normalizat'    .78189       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0357       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5730E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7602.139     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      211 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.835        9.3539        .26922E-02    .55045E-02
   2  Index         1.5785        .27674        .15234       -.10532E-03
   3  Normalizat    .78181        .20563        .82697E-01    .32119E-04
   4  Prefactor     1.0358        .11016        .40830E-01   -.17285E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.8346
  Index      = 1.57855
  Normalizat = 0.781814
  Prefactor  = 1.03577
 **********
 **   18 **HESSE 
 **********

 FCN=   7602.139     FROM HESSE     STATUS=OK            31 CALLS      242 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.835        13.214        .10769E-03   -1.4964    
   2  Index         1.5785        .42775        .61631E-02   -.75363    
   3  Normalizat    .78181        .23999        .36617E-03   -1.0075    
   4  Prefactor     1.0358        .12896        .17153E-03   -.91547    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.77944e-08
Minuit parameter uncertainties:
  1  13.2166
  2  0.428734
  3  0.240311
  4  0.129003
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/200682': 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) = 7602.13878692
delta logL = 2.6798648037

Extracting fit parameters...

4FGL J1615.6+2130
   Spectrum: PowerLaw
274    Prefactor:  1.383e+01  1.322e+01  1.000e-04  1.000e+04 ( 1.000e-12)
275        Index:  1.579e+00  4.287e-01  0.000e+00  1.000e+01 (-1.000e+00)
276        Scale:  4.684e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
570    Prefactor:  1.036e+00  1.290e-01  0.000e+00  1.000e+01 ( 1.000e+00)
571        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
572        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
569   Normalization:  7.818e-01  2.403e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.05
Ra Dec: 243.913 21.506
Photon Index (Free Index): 1.58 +/- 0.43
Photon Flux (Free Index): 2.69e-08 +/- 2.52e-08
Energy Flux (Free Index): 6.53e-05 +/- 6.45e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/200682/cmap_HighResolution_605318401_605577601_4FGL_J1615.6+2130_daily_bin1412.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.55e-08', energy_flux2='6.53e-05', photon_flux_error='5.01e-08', dlogl='2.68e+00', energy_flux='1.74e-05', photon_flux2='2.69e-08', job_status='DONE', time_completed='2021-09-13 18:35:12.853775', photon_index_error2='0.43', photon_index2='1.58', ts='4.69', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', energy_flux_error2='6.45e-05', EG='0.72', time_epoch_completed='1631583312.85', return_code='0', job_id='200682', GAL2='1.04', EG2='0.78', return_code2='0', energy_flux_error='1.16e-05', photon_flux_error2='2.52e-08', ts2='10.05', photon_index='2.76' WHERE bin_id='1412' AND source_name='4FGL J1615.6+2130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 13 18:35:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0166>
Subject: Job 200682: <4FGL_J1615.6+2130_daily_bin1412> in cluster <slac> Done

Job <4FGL_J1615.6+2130_daily_bin1412> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Sep 13 18:20:31 2021
Job was executed on host(s) <bullet0166>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 13 18:23:09 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep 13 18:23:09 2021
Terminated at Mon Sep 13 18:35:13 2021
Results reported at Mon Sep 13 18:35:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1615.6+2130_daily_bin1412 243.913 21.5064 605318401 605577601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1615.6+2130 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   541.23 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             311.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   724 sec.
    Turnaround time :                            882 sec.

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

