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


Performing analysis on: 4FGL_J1615.6+2130_daily_bin1000
RA = 243.913, Dec = 21.5064
tmin = 498528001, tmax = 498787201
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='199044', job_status='RUN', time_executed='2021-09-13 18:18:41.982320', time_epoch_executed='1631582321.98' WHERE source_name='4FGL J1615.6+2130' and cadence='daily' and bin_id='1000'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/199044

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/199044/ft1_4FGL_J1615.6+2130_daily_bin1000.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/199044/ft2_4FGL_J1615.6+2130_daily_bin1000.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/199044/ft1_4FGL_J1615.6+2130_daily_bin1000.fits outfile=/scratch/kocevski/199044/ft1_filteredMKT_4FGL_J1615.6+2130_daily_bin1000.fits ra=243.913 dec=21.5064 rad=12.0 tmin=498528001.0 tmax=498787201.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.96
user 4.70
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/199044/ft1_filtered_4FGL_J1615.6+2130_daily_bin1000.fits" evtable="EVENTS" scfile=/scratch/kocevski/199044/ft2_4FGL_J1615.6+2130_daily_bin1000.fits sctable="SC_DATA" outfile=/scratch/kocevski/199044/ltcube_498528001_498787201_4FGL_J1615.6+2130_daily_bin1000.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/199044/ft2_4FGL_J1615.6+2130_daily_bin1000.fits
.....................!
real 15.25
user 14.89
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/199044/ft1_filtered_4FGL_J1615.6+2130_daily_bin1000.fits evtable="EVENTS" scfile=/scratch/kocevski/199044/ft2_4FGL_J1615.6+2130_daily_bin1000.fits sctable="SC_DATA" expcube=/scratch/kocevski/199044/ltcube_498528001_498787201_4FGL_J1615.6+2130_daily_bin1000.fits outfile=/scratch/kocevski/199044/expmap_498528001_498787201_4FGL_J1615.6+2130_daily_bin1000.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/199044/ltcube_498528001_498787201_4FGL_J1615.6+2130_daily_bin1000.fits
.....................!
real 193.09
user 188.34
sys 4.23

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/199044/ft1_filtered_4FGL_J1615.6+2130_daily_bin1000.fits scfile=/scratch/kocevski/199044/ft2_4FGL_J1615.6+2130_daily_bin1000.fits outfile=/scratch/kocevski/199044/cmap_498528001_498787201_4FGL_J1615.6+2130_daily_bin1000.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/199044/ft1_filtered_4FGL_J1615.6+2130_daily_bin1000.fits scfile=/scratch/kocevski/199044/ft2_4FGL_J1615.6+2130_daily_bin1000.fits outfile=/scratch/kocevski/199044/cmap_HighResolution_498528001_498787201_4FGL_J1615.6+2130_daily_bin1000.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/199044/ft1_filtered_4FGL_J1615.6+2130_daily_bin1000.fits evtable="EVENTS" scfile=/scratch/kocevski/199044/ft2_4FGL_J1615.6+2130_daily_bin1000.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/199044/Model_4FGL_J1615.6+2130_daily_bin1000.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/199044/ft1_filtered_4FGL_J1615.6+2130_daily_bin1000.fits.....................!
real 62.01
user 60.72
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/199044/ft1_filtered_4FGL_J1615.6+2130_daily_bin1000.fits', '/scratch/kocevski/199044/ft2_4FGL_J1615.6+2130_daily_bin1000.fits', expMap='/scratch/kocevski/199044/expmap_498528001_498787201_4FGL_J1615.6+2130_daily_bin1000.fits', expCube='/scratch/kocevski/199044/ltcube_498528001_498787201_4FGL_J1615.6+2130_daily_bin1000.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/199044/Model_4FGL_J1615.6+2130_daily_bin1000.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/199044/ft1_filtered_4FGL_J1615.6+2130_daily_bin1000.fits
Spacecraft file(s): /scratch/kocevski/199044/ft2_4FGL_J1615.6+2130_daily_bin1000.fits
Exposure map: /scratch/kocevski/199044/expmap_498528001_498787201_4FGL_J1615.6+2130_daily_bin1000.fits
Exposure cube: /scratch/kocevski/199044/ltcube_498528001_498787201_4FGL_J1615.6+2130_daily_bin1000.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/199044/Model_4FGL_J1615.6+2130_daily_bin1000.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) = 7786.49543607

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    23.266       1.0000         .10000E-03   10000.    
     3 'norm      '    .74948       1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.346       1.0000         .10000E-03   10000.    
     5 'norm      '    13.301       1.0000         .10000E-03   10000.    
     6 'norm      '    5.5054       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.1650       1.0000         .10000E-03   10000.    
     8 'norm      '    10.393       1.0000         .10000E-03   10000.    
     9 'Prefactor '    30.709       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.7678       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.7676       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.2997       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.3175       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .75838       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=   7786.446     FROM MIGRAD    STATUS=CONVERGED    300 CALLS     1271 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.3595        .45995E-07** at limit **
   2  Prefactor     23.254        22.995        .38312E-05   -.84238E-05
   3  norm          .75006        1.2385       -.19529E-06   -.94167E-03
   4  Prefactor     10.345        17.350       -.27064E-06   -.15042E-04
   5  norm          13.301        8.7148        .54822E-05   -.36120E-04
   6  norm          5.5053        2.1151       -.41888E-06    .52445E-04
   7  Prefactor     8.1642        10.457       -.21748E-05   -.84578E-04
   8  norm          10.392        14.234        .16414E-05   -.47706E-04
   9  Prefactor     30.706        15.793        .12788E-06   -.34305E-04
  10  Prefactor     .10000E-03    22.595       -.18577E-06** at limit **
  11  Prefactor     2.7566        37.058        .78221E-05   -.66932E-04
  12  Prefactor     7.7693        7.7181        .54960E-06   -.19034E-03
  13  Prefactor     3.1653        73.557       -.75524E-05   -.31449E-04
  14  Prefactor     .10000E-03    51.423        .63339E-06** at limit **
  15  Normalizat    1.3175        .21849       -.20636E-05    .17439E-04
  16  Prefactor     .75843        .10416        .14935E-06   -.17425E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 23.2544
  norm       = 0.750064
  Prefactor  = 10.345
  norm       = 13.3005
  norm       = 5.50532
  Prefactor  = 8.16419
  norm       = 10.3919
  Prefactor  = 30.7064
  Prefactor  = 0.0001
  Prefactor  = 2.75657
  Prefactor  = 7.76932
  Prefactor  = 3.16529
  Prefactor  = 0.0001
  Normalizat = 1.31751
  Prefactor  = 0.758433
 **********
 **   18 **HESSE 
 **********

 FCN=   7786.446     FROM HESSE     STATUS=OK           213 CALLS     1484 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.3846        .10042E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     23.254        22.984        .83044E-04   -1.4743    
   3  norm          .75006        .95730        .12304E-02   -1.5535    
   4  Prefactor     10.345        17.336        .12457E-03   -1.5065    
   5  norm          13.301        8.6898        .10983E-03   -1.4978    
   6  norm          5.5053        2.1146        .76037E-04   -1.5239    
   7  Prefactor     8.1642        10.486        .14031E-03   -1.5136    
   8  norm          10.392        14.211        .12429E-03   -1.5063    
   9  Prefactor     30.706        15.817        .72302E-04   -1.4599    
  10  Prefactor     .10000E-03    22.648        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.7566        36.810        .24464E-03   -1.5376    
  12  Prefactor     7.7693        7.6283        .14388E-03   -1.5150    
  13  Prefactor     3.1653        72.734        .22288E-03   -1.5352    
  14  Prefactor     .10000E-03    51.486        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.3175        .26270        .30322E-03   -.83045    
  16  Prefactor     .75843        .12566        .19272E-03   -1.0128    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.43297e-10
Minuit parameter uncertainties:
  1  5.33795e-06
  2  22.9929
  3  0.957315
  4  17.3448
  5  8.69066
  6  2.11468
  7  10.4887
  8  14.2155
  9  15.8191
  10  9.92341e-06
  11  20.1611
  12  7.62928
  13  30.3876
  14  3.79318e-05
  15  0.262962
  16  0.125712
Done.

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

Extracting fit parameters...

4FGL J1615.6+2130
   Spectrum: PowerLaw
274    Prefactor:  3.071e+01  1.582e+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:  7.584e-01  1.257e-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:  1.318e+00  2.630e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.97
Ra Dec: 243.913 21.506
Photon Index (Fixed Index): 2.76 +/- 0.00
Photon Flux (Fixed Index): 1.23e-07 +/- 6.35e-08
Energy Flux (Fixed Index): 2.85e-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) = 7785.65091884
delta logL = 0.794693407423

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7785.59669708
delta logL = 0.848915168984

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    35.361       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1922       1.0000          .0000       10.000    
     3 'Normalizat'    1.3680       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73921       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=   7785.597     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      217 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     35.405        20.403        .16848E-02   -.83801E-04
   2  Index         2.1925        .37859        .17927       -.16691E-04
   3  Normalizat    1.3681        .20772        .67484E-01   -.23659E-03
   4  Prefactor     .73914        .10342        .42921E-01   -.65605E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 35.405
  Index      = 2.19245
  Normalizat = 1.36811
  Prefactor  = 0.739143
 **********
 **   18 **HESSE 
 **********

 FCN=   7785.597     FROM HESSE     STATUS=OK            29 CALLS      246 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     35.405        18.804        .67392E-04   -1.4517    
   2  Index         2.1925        .39538        .69870E-02   -.59621    
   3  Normalizat    1.3681        .25009        .29855E-03   -.81555    
   4  Prefactor     .73914        .12379        .19488E-03   -1.0201    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.29752e-10
Minuit parameter uncertainties:
  1  18.8067
  2  0.395981
  3  0.250314
  4  0.123836
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/199044': 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) = 7785.59669425
delta logL = 0.848918000645

Extracting fit parameters...

4FGL J1615.6+2130
   Spectrum: PowerLaw
274    Prefactor:  3.541e+01  1.881e+01  1.000e-04  1.000e+04 ( 1.000e-12)
275        Index:  2.192e+00  3.960e-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:  7.391e-01  1.238e-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:  1.368e+00  2.503e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.66
Ra Dec: 243.913 21.506
Photon Index (Free Index): 2.19 +/- 0.40
Photon Flux (Free Index): 8.77e-08 +/- 5.74e-08
Energy Flux (Free Index): 4.00e-05 +/- 2.47e-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/199044/cmap_HighResolution_498528001_498787201_4FGL_J1615.6+2130_daily_bin1000.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.23e-07', energy_flux2='4.00e-05', photon_flux_error='6.35e-08', dlogl='8.49e-01', energy_flux='2.85e-05', photon_flux2='8.77e-08', job_status='DONE', time_completed='2021-09-13 18:27:40.387028', photon_index_error2='0.40', photon_index2='2.19', ts='5.97', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', energy_flux_error2='2.47e-05', EG='1.32', time_epoch_completed='1631582860.39', return_code='0', job_id='199044', GAL2='0.74', EG2='1.37', return_code2='0', energy_flux_error='1.47e-05', photon_flux_error2='5.74e-08', ts2='7.66', photon_index='2.76' WHERE bin_id='1000' AND source_name='4FGL J1615.6+2130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 13 18:27:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0040>
Subject: Job 199044: <4FGL_J1615.6+2130_daily_bin1000> in cluster <slac> Done

Job <4FGL_J1615.6+2130_daily_bin1000> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Sep 13 18:15:28 2021
Job was executed on host(s) <bullet0040>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 13 18:16:34 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:16:34 2021
Terminated at Mon Sep 13 18:27:41 2021
Results reported at Mon Sep 13 18:27:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1615.6+2130_daily_bin1000 243.913 21.5064 498528001 498787201 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 :                                   531.50 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             280.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   666 sec.
    Turnaround time :                            733 sec.

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

