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


Performing analysis on: 4FGL_J1615.6+2130_daily_bin1057
RA = 243.913, Dec = 21.5064
tmin = 513302401, tmax = 513561601
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='199127', job_status='RUN', time_executed='2021-09-13 18:20:15.341318', time_epoch_executed='1631582415.34' WHERE source_name='4FGL J1615.6+2130' and cadence='daily' and bin_id='1057'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/199127

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/199127/ft1_4FGL_J1615.6+2130_daily_bin1057.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/199127/ft2_4FGL_J1615.6+2130_daily_bin1057.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/199127/ft1_4FGL_J1615.6+2130_daily_bin1057.fits outfile=/scratch/kocevski/199127/ft1_filteredMKT_4FGL_J1615.6+2130_daily_bin1057.fits ra=243.913 dec=21.5064 rad=12.0 tmin=513302401.0 tmax=513561601.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.43
user 5.17
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/199127/ft1_filtered_4FGL_J1615.6+2130_daily_bin1057.fits" evtable="EVENTS" scfile=/scratch/kocevski/199127/ft2_4FGL_J1615.6+2130_daily_bin1057.fits sctable="SC_DATA" outfile=/scratch/kocevski/199127/ltcube_513302401_513561601_4FGL_J1615.6+2130_daily_bin1057.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/199127/ft2_4FGL_J1615.6+2130_daily_bin1057.fits
.....................!
real 14.41
user 13.92
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/199127/ft1_filtered_4FGL_J1615.6+2130_daily_bin1057.fits evtable="EVENTS" scfile=/scratch/kocevski/199127/ft2_4FGL_J1615.6+2130_daily_bin1057.fits sctable="SC_DATA" expcube=/scratch/kocevski/199127/ltcube_513302401_513561601_4FGL_J1615.6+2130_daily_bin1057.fits outfile=/scratch/kocevski/199127/expmap_513302401_513561601_4FGL_J1615.6+2130_daily_bin1057.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/199127/ltcube_513302401_513561601_4FGL_J1615.6+2130_daily_bin1057.fits
.....................!
real 193.31
user 188.26
sys 4.62

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/199127/ft1_filtered_4FGL_J1615.6+2130_daily_bin1057.fits scfile=/scratch/kocevski/199127/ft2_4FGL_J1615.6+2130_daily_bin1057.fits outfile=/scratch/kocevski/199127/cmap_513302401_513561601_4FGL_J1615.6+2130_daily_bin1057.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.55
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/199127/ft1_filtered_4FGL_J1615.6+2130_daily_bin1057.fits scfile=/scratch/kocevski/199127/ft2_4FGL_J1615.6+2130_daily_bin1057.fits outfile=/scratch/kocevski/199127/cmap_HighResolution_513302401_513561601_4FGL_J1615.6+2130_daily_bin1057.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.42
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4954       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.9637       1.0000         .10000E-03   10000.    
     3 'norm      '    .10309E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.447       1.0000         .10000E-03   10000.    
     5 'norm      '    7.4583       1.0000         .10000E-03   10000.    
     6 'norm      '    6.3336       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    13.711       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.5170       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10117E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    20.589       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    30.628       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.1391       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0153       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=   9794.646     FROM MIGRAD    STATUS=CONVERGED    301 CALLS     1447 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.4956        1.9515       -.45360E-06   -.11528E-02
   2  Prefactor     3.9689        39.637        .23924E-04   -.27955E-04
   3  norm          .10000E-03    1.0606        .14033E-05** at limit **
   4  Prefactor     17.424        34.699       -.34877E-04   -.20071E-04
   5  norm          7.4540        8.3825        .14408E-06   -.64425E-03
   6  norm          6.3336        1.9147       -.53344E-08   -.19203E-03
   7  Prefactor     .10000E-03    7.2644       -.10284E-06** at limit **
   8  norm          13.711        12.580       -.34875E-06   -.57658E-04
   9  Prefactor     7.5166        13.597       -.65832E-06   -.70223E-04
  10  Prefactor     .10000E-03    54.927        .10407E-05** at limit **
  11  Prefactor     20.587        18.814       -.10546E-05    .15210E-04
  12  Prefactor     .10000E-03    1.9939       -.80642E-08** at limit **
  13  Prefactor     30.626        27.151       -.20801E-05    .43175E-04
  14  Prefactor     .10000E-03    19.030       -.91971E-07** at limit **
  15  Normalizat    1.1390        .20441        .22713E-05   -.40559E-03
  16  Prefactor     1.0153        .10293        .11989E-06   -.53839E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.49559
  Prefactor  = 3.96886
  norm       = 0.000100004
  Prefactor  = 17.4243
  norm       = 7.45401
  norm       = 6.33364
  Prefactor  = 0.0001
  norm       = 13.7115
  Prefactor  = 7.51662
  Prefactor  = 0.0001
  Prefactor  = 20.5872
  Prefactor  = 0.0001
  Prefactor  = 30.6262
  Prefactor  = 0.0001
  Normalizat = 1.13901
  Prefactor  = 1.01528
 **********
 **   18 **HESSE 
 **********

 FCN=   9794.646     FROM HESSE     STATUS=OK           205 CALLS     1652 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.4956        1.9391        .15140E-03   -1.5463    
   2  Prefactor     3.9689        39.113        .20260E-03   -1.5310    
   3  norm          .10000E-03    7.5396        .19031E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     17.424        34.708        .95887E-04   -1.4873    
   5  norm          7.4540        8.2254        .14685E-03   -1.5162    
   6  norm          6.3336        1.9142        .72127E-04   -1.5205    
   7  Prefactor     .10000E-03    7.3494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          13.711        12.578        .10817E-03   -1.4967    
   9  Prefactor     7.5166        13.613        .14628E-03   -1.5160    
  10  Prefactor     .10000E-03    55.302        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     20.587        18.816        .88272E-04   -1.4800    
  12  Prefactor     .10000E-03    2.0020        .13645E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     30.626        27.146        .72397E-04   -1.4601    
  14  Prefactor     .10000E-03    19.032        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.1390        .24302        .34219E-03   -.88509    
  16  Prefactor     1.0153        .12300        .18752E-03   -.92222    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.36335e-09
Minuit parameter uncertainties:
  1  1.93915
  2  24.9395
  3  0.000363889
  4  34.7486
  5  8.22666
  6  1.91424
  7  8.32449e-06
  8  12.5801
  9  13.6182
  10  0.000144552
  11  18.8215
  12  7.10211e-07
  13  27.1567
  14  1.16966e-06
  15  0.243263
  16  0.12303
Done.

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

Extracting fit parameters...

4FGL J1615.6+2130
   Spectrum: PowerLaw
274    Prefactor:  7.517e+00  1.362e+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.015e+00  1.230e-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.139e+00  2.433e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.37
Ra Dec: 243.913 21.506
Photon Flux Upper Limit: 1.43e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.13e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/199127/likelihoodResults_513302401_513561601_4FGL_J1615.6+2130_daily_bin1057.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) = 9794.59120346
delta logL = 0.0551092910719

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9794.55480343
delta logL = 0.0915093155618

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1467       1.0000         .10000E-03   10000.    
     2 'Index     '    3.7285       1.0000          .0000       10.000    
     3 'Normalizat'    1.1124       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0255       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   9794.555     FROM MIGRAD    STATUS=FAILED       106 CALLS      279 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1506        92.940        .98970E-03    .19850E-04
   2  Index         3.7278        6.7823        .11091E-01    .26915E-03
   3  Normalizat    1.1124        .24577        .34577E-03    .17558E-04
   4  Prefactor     1.0255        .12919        .18668E-03    .10109E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   9794.555     FROM SIMPLEX   STATUS=UNCHANGED     88 CALLS      367 TOTAL
                     EDM=   .96E-05    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1506        92.940        .23967E-03   -1.5300    
   2  Index         3.7278        6.7823        .10133E-02   -.25726    
   3  Normalizat    1.1124        .24577        .17890E-03   -.89355    
   4  Prefactor     1.0255        .12919        .84364E-04   -.91884    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9794.555     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      398 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1506        11.810        .39588E-04    .10338E-05
   2  Index         3.7278        2.1944        .22181E-02    .10357E-04
   3  Normalizat    1.1124        .24384        .13831E-04    .17426E-04
   4  Prefactor     1.0255        .12414        .74672E-05    .10353E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.15055
  Index      = 3.72784
  Normalizat = 1.1124
  Prefactor  = 1.0255
 **********
 **   18 **HESSE 
 **********

 FCN=   9794.555     FROM HESSE     STATUS=OK            23 CALLS      421 TOTAL
                     EDM=   .21E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1506        11.235        .79176E-05   -1.5300    
   2  Index         3.7278        2.0937        .44363E-03   -.25726    
   3  Normalizat    1.1124        .24344        .27661E-05   -.89355    
   4  Prefactor     1.0255        .12384        .14934E-05   -.91884    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.12324e-11
Minuit parameter uncertainties:
  1  11.2403
  2  2.16536
  3  0.243688
  4  0.12387
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/199127': 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) = 9794.55480336
delta logL = 0.0915093848635

Extracting fit parameters...

4FGL J1615.6+2130
   Spectrum: PowerLaw
274    Prefactor:  4.151e+00  1.124e+01  1.000e-04  1.000e+04 ( 1.000e-12)
275        Index:  3.728e+00  2.165e+00  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.025e+00  1.239e-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.112e+00  2.437e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.37
Ra Dec: 243.913 21.506

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/199127/cmap_HighResolution_513302401_513561601_4FGL_J1615.6+2130_daily_bin1057.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.13e-02', job_status='DONE', photon_flux_upper_limit='1.43e-07', time_completed='2021-09-13 18:31:37.497650', job_id='199127', GAL2='1.03', fit_tolerance='1e-08', EG2='1.11', EG='1.14', time_epoch_completed='1631583097.5', return_code2='0', ts='0.37', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='9.15e-02', ts2='0.57', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='1057' AND source_name='4FGL J1615.6+2130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 13 18:31:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0167>
Subject: Job 199127: <4FGL_J1615.6+2130_daily_bin1057> in cluster <slac> Done

Job <4FGL_J1615.6+2130_daily_bin1057> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Sep 13 18:15:33 2021
Job was executed on host(s) <bullet0167>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 13 18:17:11 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:17:11 2021
Terminated at Mon Sep 13 18:31:38 2021
Results reported at Mon Sep 13 18:31:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1615.6+2130_daily_bin1057 243.913 21.5064 513302401 513561601 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 :                                   668.40 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             297.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   866 sec.
    Turnaround time :                            965 sec.

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

