/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 8 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 = 7375
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1615.6+2130_daily_bin180
RA = 243.913, Dec = 21.5064
tmin = 285984001, tmax = 286243201
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='194510', job_status='RUN', time_executed='2021-09-13 18:02:38.751009', time_epoch_executed='1631581358.75' WHERE source_name='4FGL J1615.6+2130' and cadence='daily' and bin_id='180'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/194510

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/194510/ft1_4FGL_J1615.6+2130_daily_bin180.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/194510/ft2_4FGL_J1615.6+2130_daily_bin180.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/194510/ft1_4FGL_J1615.6+2130_daily_bin180.fits outfile=/scratch/kocevski/194510/ft1_filteredMKT_4FGL_J1615.6+2130_daily_bin180.fits ra=243.913 dec=21.5064 rad=12.0 tmin=285984001.0 tmax=286243201.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 3.39
user 3.17
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/194510/ft1_filtered_4FGL_J1615.6+2130_daily_bin180.fits" evtable="EVENTS" scfile=/scratch/kocevski/194510/ft2_4FGL_J1615.6+2130_daily_bin180.fits sctable="SC_DATA" outfile=/scratch/kocevski/194510/ltcube_285984001_286243201_4FGL_J1615.6+2130_daily_bin180.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/194510/ft2_4FGL_J1615.6+2130_daily_bin180.fits
.....................!
real 13.21
user 12.88
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/194510/ft1_filtered_4FGL_J1615.6+2130_daily_bin180.fits evtable="EVENTS" scfile=/scratch/kocevski/194510/ft2_4FGL_J1615.6+2130_daily_bin180.fits sctable="SC_DATA" expcube=/scratch/kocevski/194510/ltcube_285984001_286243201_4FGL_J1615.6+2130_daily_bin180.fits outfile=/scratch/kocevski/194510/expmap_285984001_286243201_4FGL_J1615.6+2130_daily_bin180.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/194510/ltcube_285984001_286243201_4FGL_J1615.6+2130_daily_bin180.fits
.....................!
real 191.07
user 185.80
sys 4.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/194510/ft1_filtered_4FGL_J1615.6+2130_daily_bin180.fits scfile=/scratch/kocevski/194510/ft2_4FGL_J1615.6+2130_daily_bin180.fits outfile=/scratch/kocevski/194510/cmap_285984001_286243201_4FGL_J1615.6+2130_daily_bin180.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/194510/ft1_filtered_4FGL_J1615.6+2130_daily_bin180.fits scfile=/scratch/kocevski/194510/ft2_4FGL_J1615.6+2130_daily_bin180.fits outfile=/scratch/kocevski/194510/cmap_HighResolution_285984001_286243201_4FGL_J1615.6+2130_daily_bin180.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/194510/ft1_filtered_4FGL_J1615.6+2130_daily_bin180.fits evtable="EVENTS" scfile=/scratch/kocevski/194510/ft2_4FGL_J1615.6+2130_daily_bin180.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/194510/Model_4FGL_J1615.6+2130_daily_bin180.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/194510/ft1_filtered_4FGL_J1615.6+2130_daily_bin180.fits.....................!
real 64.06
user 62.67
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .59452       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .15463E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10066E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    19.210       1.0000         .10000E-03   10000.    
     5 'norm      '    16.326       1.0000         .10000E-03   10000.    
     6 'norm      '    1.3897       1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.139       1.0000         .10000E-03   10000.    
     8 'norm      '    6.6698       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11150E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.1498       1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.0588       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    16.194       1.0000         .10000E-03   10000.    
    14 'Prefactor '    24.074       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.3128       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .92389       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=   8121.205     FROM MIGRAD    STATUS=CONVERGED    304 CALLS     1467 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .59421        1.9852       -.19196E-05   -.21030E-02
   2  Prefactor     .10000E-03    8.5132        .23753E-06** at limit **
   3  norm          .10000E-03    1.2820        .22427E-06** at limit **
   4  Prefactor     19.176        26.989       -.18180E-04   -.65792E-06
   5  norm          16.309        10.867       -.32089E-05   -.21377E-04
   6  norm          1.3901        1.1608        .17581E-06    .30630E-03
   7  Prefactor     13.127        11.619        .35964E-05   -.15383E-05
   8  norm          6.6694        11.309       -.40568E-05   -.52811E-04
   9  Prefactor     .10000E-03    5.3331       -.61189E-07** at limit **
  10  Prefactor     1.0092        20.272       -.76573E-06   -.19019E-03
  11  Prefactor     9.0679        12.515       -.70504E-05   -.53953E-04
  12  Prefactor     .10000E-03    1.7268        .36997E-07** at limit **
  13  Prefactor     16.189        27.414       -.93020E-05   -.16964E-05
  14  Prefactor     24.098        42.369        .28787E-04    .59532E-05
  15  Normalizat    1.3125        .20640        .28882E-05    .49620E-04
  16  Prefactor     .92405        .10739        .30105E-06    .27098E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.594207
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 19.1756
  norm       = 16.3092
  norm       = 1.3901
  Prefactor  = 13.1266
  norm       = 6.66945
  Prefactor  = 0.0001
  Prefactor  = 1.0092
  Prefactor  = 9.06785
  Prefactor  = 0.0001
  Prefactor  = 16.1894
  Prefactor  = 24.0982
  Normalizat = 1.31252
  Prefactor  = 0.924047
 **********
 **   18 **HESSE 
 **********

 FCN=   8121.205     FROM HESSE     STATUS=OK           209 CALLS     1676 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .59421        2.0398        .22549E-03   -1.5554    
   2  Prefactor     .10000E-03    8.5183        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.2986        .99596E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     19.176        26.928        .91383E-04   -1.4832    
   5  norm          16.309        10.865        .99124E-04   -1.4900    
   6  norm          1.3901        1.1644        .85951E-04   -1.5472    
   7  Prefactor     13.127        11.614        .11050E-03   -1.4983    
   8  norm          6.6694        11.309        .15537E-03   -1.5191    
   9  Prefactor     .10000E-03    5.3563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.0092        156.85        .78408E-02   -1.5507    
  11  Prefactor     9.0679        12.561        .13316E-03   -1.5106    
  12  Prefactor     .10000E-03    1.7339        .11561E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     16.189        27.452        .99529E-04   -1.4903    
  14  Prefactor     24.098        42.067        .81641E-04   -1.4726    
  15  Normalizat    1.3125        .24719        .30300E-03   -.83194    
  16  Prefactor     .92405        .12954        .18763E-03   -.95306    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.96831e-09
Minuit parameter uncertainties:
  1  2.04008
  2  3.52514e-05
  3  2.77483e-05
  4  26.9447
  5  10.8659
  6  1.16446
  7  11.6162
  8  11.3127
  9  2.17112e-05
  10  25.2296
  11  12.5646
  12  6.51969e-06
  13  27.4738
  14  42.1187
  15  0.247417
  16  0.129587
Done.

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

Extracting fit parameters...

4FGL J1615.6+2130
   Spectrum: PowerLaw
274    Prefactor:  1.000e-04  2.171e-05  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:  9.240e-01  1.296e-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.313e+00  2.474e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 243.913 21.506
Photon Flux Upper Limit: 8.02e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.34e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/194510/likelihoodResults_285984001_286243201_4FGL_J1615.6+2130_daily_bin180.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): 102
logL (Free Index) = 8121.20633371
delta logL = -0.000889724148692

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8121.20544436
delta logL = -3.80116944143e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7449       1.0000          .0000       10.000    
     3 'Normalizat'    1.3125       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92403       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8121.205     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      254 TOTAL
                     EDM=   .25E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    33.842        .18142E-01** at limit **
   2  Index         2.3972        5.9702        .50000        .27171E-07
   3  Normalizat    1.3125        .12645E-01    .30300E-03   -.11860E-03
   4  Prefactor     .92405        .67461E-02    .18763E-03   -.17868E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.39719
  Normalizat = 1.31252
  Prefactor  = 0.924046
 **********
 **   18 **HESSE 
 **********

 FCN=   8121.205     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      283 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    333.36        .21063E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3972        5.4007        .50000       -.54751    
   3  Normalizat    1.3125        .42122E-01    .12120E-04   -.83194    
   4  Prefactor     .92405        .22473E-01    .37526E-04   -.95306    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.43472e-10
Minuit parameter uncertainties:
  1  0.00010436
  2  1027.18
  3  0.0421235
  4  0.0224734
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/194510': 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): 102
logL (Free Index) = 8121.20544325
delta logL = 7.35179128242e-07

Extracting fit parameters...

4FGL J1615.6+2130
   Spectrum: PowerLaw
274    Prefactor:  1.000e-04  1.044e-04  1.000e-04  1.000e+04 ( 1.000e-12)
275        Index:  2.397e+00  1.027e+03  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:  9.240e-01  2.247e-02  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.313e+00  4.212e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/194510/cmap_HighResolution_285984001_286243201_4FGL_J1615.6+2130_daily_bin180.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.34e-03', job_status='DONE', photon_flux_upper_limit='8.02e-08', time_completed='2021-09-13 18:12:47.396344', job_id='194510', GAL2='0.92', fit_tolerance='1e-08', EG2='1.31', EG='1.31', time_epoch_completed='1631581967.4', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='7.35e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='180' AND source_name='4FGL J1615.6+2130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 13 18:12:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 194510: <4FGL_J1615.6+2130_daily_bin180> in cluster <slac> Done

Job <4FGL_J1615.6+2130_daily_bin180> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Sep 13 18:00:21 2021
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 13 18:02:23 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:02:23 2021
Terminated at Mon Sep 13 18:12:48 2021
Results reported at Mon Sep 13 18:12:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1615.6+2130_daily_bin180 243.913 21.5064 285984001 286243201 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 :                                   606.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             372.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   624 sec.
    Turnaround time :                            747 sec.

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

