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


Performing analysis on: 4FGL_J0615.3-3117_daily_bin1145
RA = 93.8394, Dec = -31.2853
tmin = 536112001, tmax = 536371201
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='237187', job_status='RUN', time_executed='2021-08-24 19:41:00.782666', time_epoch_executed='1629859260.78' WHERE source_name='4FGL J0615.3-3117' and cadence='daily' and bin_id='1145'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/237187

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/237187/ft1_4FGL_J0615.3-3117_daily_bin1145.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/237187/ft2_4FGL_J0615.3-3117_daily_bin1145.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/237187/ft1_4FGL_J0615.3-3117_daily_bin1145.fits outfile=/scratch/kocevski/237187/ft1_filteredMKT_4FGL_J0615.3-3117_daily_bin1145.fits ra=93.8394 dec=-31.2853 rad=12.0 tmin=536112001.0 tmax=536371201.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.92
user 3.28
sys 0.60

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/237187/ft2_4FGL_J0615.3-3117_daily_bin1145.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/237187/ft2_4FGL_J0615.3-3117_daily_bin1145.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/237187/ft1_filteredMKT_4FGL_J0615.3-3117_daily_bin1145.fits evtable="EVENTS" outfile="/scratch/kocevski/237187/ft1_filtered_4FGL_J0615.3-3117_daily_bin1145.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.86
user 0.32
sys 0.53

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/237187/ft1_filtered_4FGL_J0615.3-3117_daily_bin1145.fits" evtable="EVENTS" scfile=/scratch/kocevski/237187/ft2_4FGL_J0615.3-3117_daily_bin1145.fits sctable="SC_DATA" outfile=/scratch/kocevski/237187/ltcube_536112001_536371201_4FGL_J0615.3-3117_daily_bin1145.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/237187/ft2_4FGL_J0615.3-3117_daily_bin1145.fits
.....................!
real 12.15
user 11.37
sys 0.73

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/237187/ft1_filtered_4FGL_J0615.3-3117_daily_bin1145.fits evtable="EVENTS" scfile=/scratch/kocevski/237187/ft2_4FGL_J0615.3-3117_daily_bin1145.fits sctable="SC_DATA" expcube=/scratch/kocevski/237187/ltcube_536112001_536371201_4FGL_J0615.3-3117_daily_bin1145.fits outfile=/scratch/kocevski/237187/expmap_536112001_536371201_4FGL_J0615.3-3117_daily_bin1145.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/237187/ltcube_536112001_536371201_4FGL_J0615.3-3117_daily_bin1145.fits
.....................!
real 190.66
user 185.08
sys 5.22

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

Setting source of interest to:
4FGL J0615.3-3117 @ 93.8394 -31.2853

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/237187/ft1_filtered_4FGL_J0615.3-3117_daily_bin1145.fits scfile=/scratch/kocevski/237187/ft2_4FGL_J0615.3-3117_daily_bin1145.fits outfile=/scratch/kocevski/237187/cmap_536112001_536371201_4FGL_J0615.3-3117_daily_bin1145.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=93.8394 yref=-31.2853 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.94
user 0.36
sys 0.54

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/237187/ft1_filtered_4FGL_J0615.3-3117_daily_bin1145.fits scfile=/scratch/kocevski/237187/ft2_4FGL_J0615.3-3117_daily_bin1145.fits outfile=/scratch/kocevski/237187/cmap_HighResolution_536112001_536371201_4FGL_J0615.3-3117_daily_bin1145.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=93.8394 yref=-31.2853 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.90
user 0.37
sys 0.53

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/237187/ft1_filtered_4FGL_J0615.3-3117_daily_bin1145.fits evtable="EVENTS" scfile=/scratch/kocevski/237187/ft2_4FGL_J0615.3-3117_daily_bin1145.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/237187/Model_4FGL_J0615.3-3117_daily_bin1145.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/237187/ft1_filtered_4FGL_J0615.3-3117_daily_bin1145.fits.....................!
real 77.58
user 75.73
sys 1.68

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/237187/ft1_filtered_4FGL_J0615.3-3117_daily_bin1145.fits', '/scratch/kocevski/237187/ft2_4FGL_J0615.3-3117_daily_bin1145.fits', expMap='/scratch/kocevski/237187/expmap_536112001_536371201_4FGL_J0615.3-3117_daily_bin1145.fits', expCube='/scratch/kocevski/237187/ltcube_536112001_536371201_4FGL_J0615.3-3117_daily_bin1145.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/237187/Model_4FGL_J0615.3-3117_daily_bin1145.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0615.3-3117'

4FGL J0615.3-3117
   Spectrum: PowerLaw
295    Prefactor:  6.244e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
296        Index:  2.120e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
297        Scale:  2.310e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/237187/ft1_filtered_4FGL_J0615.3-3117_daily_bin1145.fits
Spacecraft file(s): /scratch/kocevski/237187/ft2_4FGL_J0615.3-3117_daily_bin1145.fits
Exposure map: /scratch/kocevski/237187/expmap_536112001_536371201_4FGL_J0615.3-3117_daily_bin1145.fits
Exposure cube: /scratch/kocevski/237187/ltcube_536112001_536371201_4FGL_J0615.3-3117_daily_bin1145.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/237187/Model_4FGL_J0615.3-3117_daily_bin1145.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) = 6300.90924476

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    36.967       1.0000         .10000E-03   10000.    
     2 'Prefactor '    27.921       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10101E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10086E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    2.2295       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.0612       1.0000         .10000E-03   10000.    
     9 'Prefactor '    54.564       1.0000         .10000E-03   10000.    
    10 'Prefactor '    51.417       1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.917       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.3013       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .18288       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    41.391       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .31411E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    3.2474       1.0000         .10000E-03   10000.    
    23 'norm      '    1.8082       1.0000         .10000E-03   10000.    
    24 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    14.844       1.0000         .10000E-03   10000.    
    27 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    29 'norm      '    24.838       1.0000         .10000E-03   10000.    
    30 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    31 'Normalizat'    .89804       1.0000         .10000E-01   10.000    
    32 'Prefactor '    .84087       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6160E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6300.902     FROM MIGRAD    STATUS=CONVERGED    856 CALLS     4343 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 12.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     36.965        33.571       -.27498E-07    .76389E-04
   2  Prefactor     27.909        23.930        .86777E-07    .13266E-03
   3  Prefactor     .10000E-03    6.0938       -.14791E-07** at limit **
   4  norm          .10000E-03    3.2506        .16682E-06** at limit **
   5  Prefactor     .10000E-03    21.346        .48173E-06** at limit **
   6  norm          .10000E-03    .76948        .22525E-07** at limit **
   7  norm          2.2272        18.688       -.39219E-05    .63514E-04
   8  Prefactor     6.0590        10.397        .54953E-06    .11422E-03
   9  Prefactor     54.520        83.556       -.85680E-06    .10475E-03
  10  Prefactor     51.398        33.527       -.21090E-06    .95091E-04
  11  Prefactor     10.859        24.875       -.36143E-05   -.29063E-03
  12  Prefactor     .10000E-03    16.063       -.96469E-07** at limit **
  13  Prefactor     2.3885        133.74        .10933E-04    .34682E-04
  14  Prefactor     .68058E-01    7.9534        .39417E-05   -.25658E-03
  15  norm          .10000E-03    2.1128        .21216E-06** at limit **
  16  Prefactor     .10000E-03    3.7727        .18962E-06** at limit **
  17  Prefactor     .10000E-03    5.4061        .19434E-06** at limit **
  18  Prefactor     .10000E-03    6.9985       -.16956E-06** at limit **
  19  norm          41.386        29.003        .17599E-07    .14540E-04
  20  Prefactor     .10000E-03    161.61        .47148E-04** at limit **
  21  Prefactor     .10000E-03    3.9517       -.15886E-07** at limit **
  22  norm          3.2472        4.4221        .19994E-09    .32478E-04
  23  norm          1.8079        1.2614        .68220E-08    .47358E-04
  24  norm          .10000E-03    3.2796       -.87284E-08** at limit **
  25  Prefactor     .10000E-03    1.7414       -.43628E-08** at limit **
  26  Prefactor     14.844        6.0578        .73708E-07    .85838E-04
  27  norm          .10000E-03    3.3637        .81033E-07** at limit **
  28  Prefactor     .10000E-03    4.1004        .12551E-07** at limit **
  29  norm          24.806        41.677       -.31098E-06    .11853E-03
  30  norm          .10000E-03    14.160        .87825E-09** at limit **
  31  Normalizat    .89842        .20893       -.60564E-06   -.15178E-03
  32  Prefactor     .84078        .96803E-01    .27454E-06   -.27644E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 36.9647
  Prefactor  = 27.9087
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 2.2272
  Prefactor  = 6.05898
  Prefactor  = 54.5197
  Prefactor  = 51.3978
  Prefactor  = 10.8588
  Prefactor  = 0.0001
  Prefactor  = 2.3885
  Prefactor  = 0.0680581
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 41.3862
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.24716
  norm       = 1.80792
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.8443
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 24.8055
  norm       = 0.0001
  Normalizat = 0.898418
  Prefactor  = 0.840783
 **********
 **   18 **HESSE 
 **********

 FCN=   6300.902     FROM HESSE     STATUS=OK           655 CALLS     4998 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     36.965        33.608        .65917E-04   -1.4491    
   2  Prefactor     27.909        24.118        .75818E-04   -1.4651    
   3  Prefactor     .10000E-03    6.1147        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    3.2839        .13966E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    21.365        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .78512        .67938E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.2272        18.736        .13767E-02   -1.5409    
   8  Prefactor     6.0590        10.381        .16308E-03   -1.5216    
   9  Prefactor     54.520        83.352        .54302E-04   -1.4230    
  10  Prefactor     51.398        33.586        .55930E-04   -1.4273    
  11  Prefactor     10.859        25.027        .12126E-03   -1.5049    
  12  Prefactor     .10000E-03    16.143        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.3885        133.95        .27052E-03   -1.5399    
  14  Prefactor     .68058E-01    13.399        .62337E-01   -1.5656    
  15  norm          .10000E-03    2.1212        .11270E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    3.7756        .15060E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    5.5489        .36039E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    7.0038        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          41.386        29.006        .62307E-04   -1.4420    
  20  Prefactor     .10000E-03    156.82        .62631E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.9731        .15401E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.2472        4.4176        .18928E-03   -1.5348    
  23  norm          1.8079        1.2640        .72513E-04   -1.5439    
  24  norm          .10000E-03    3.2886        .14038E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    1.7541        .10224E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     14.844        6.0625        .10396E-03   -1.4937    
  27  norm          .10000E-03    3.3689        .14218E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    4.1066        .15698E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  norm          24.806        41.712        .80376E-04   -1.4711    
  30  norm          .10000E-03    14.163        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Normalizat    .89842        .23660        .33396E-03   -.96516    
  32  Prefactor     .84078        .10922        .17025E-03   -.98242    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28267e-09
Minuit parameter uncertainties:
  1  33.6252
  2  24.126
  3  6.23924e-06
  4  2.07086e-05
  5  0.000221407
  6  2.25368e-06
  7  12.9247
  8  10.3841
  9  83.5315
  10  33.598
  11  25.0512
  12  0.000168115
  13  35.8576
  14  1.90892
  15  2.09923e-05
  16  1.80381e-05
  17  2.62472e-05
  18  3.70694e-05
  19  29.0164
  20  0.000384908
  21  1.34175e-05
  22  4.41809
  23  1.26404
  24  1.03063e-06
  25  4.68888e-07
  26  6.06274
  27  1.21288e-05
  28  8.26753e-06
  29  41.761
  30  6.8968e-05
  31  0.236878
  32  0.109249
Done.

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

Extracting fit parameters...

4FGL J0615.3-3117
   Spectrum: PowerLaw
295    Prefactor:  2.389e+00  3.586e+01  1.000e-04  1.000e+04 ( 1.000e-14)
296        Index:  2.120e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
297        Scale:  2.310e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
613    Prefactor:  8.408e-01  1.092e-01  0.000e+00  1.000e+01 ( 1.000e+00)
614        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
615        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
612   Normalization:  8.984e-01  2.369e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 93.839 -31.285
Photon Flux Upper Limit: 7.74e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.86e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/237187/likelihoodResults_536112001_536371201_4FGL_J0615.3-3117_daily_bin1145.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) = 6300.90222131
delta logL = 0.000191366345462

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6300.90201577
delta logL = 0.000396904729314

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6300.902     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      227 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2909        364.60        .66255E-02    .29793E-04
   2  Index         2.2072        .62585        .50000       -.79814E-06
   3  Normalizat    .89815        .10853E-01    .75470E-01    .19340E-04
   4  Prefactor     .84083        .53981E-02    .44246E-01    .15439E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.29089
  Index      = 2.20723
  Normalizat = 0.898155
  Prefactor  = 0.840833
 **********
 **   18 **HESSE 
 **********

 FCN=   6300.902     FROM HESSE     STATUS=OK            33 CALLS      260 TOTAL
                     EDM=   .39E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2909        112.69        .26502E-03   -1.5405    
   2  Index         2.2072        2.8565        .59483E-02   -.59264    
   3  Normalizat    .89815        .21373        .33400E-03   -.96525    
   4  Prefactor     .84083        .10613        .17025E-03   -.98240    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.9265e-12
Minuit parameter uncertainties:
  1  32.1988
  2  3.15101
  3  0.21393
  4  0.106152
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/237187': 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) = 6300.90201085
delta logL = 0.000401829084694

Extracting fit parameters...

4FGL J0615.3-3117
   Spectrum: PowerLaw
295    Prefactor:  2.291e+00  3.220e+01  1.000e-04  1.000e+04 ( 1.000e-14)
296        Index:  2.207e+00  3.151e+00  0.000e+00  1.000e+01 (-1.000e+00)
297        Scale:  2.310e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
613    Prefactor:  8.408e-01  1.062e-01  0.000e+00  1.000e+01 ( 1.000e+00)
614        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
615        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
612   Normalization:  8.982e-01  2.139e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 93.839 -31.285

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/237187/cmap_HighResolution_536112001_536371201_4FGL_J0615.3-3117_daily_bin1145.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.86e-03', job_status='DONE', photon_flux_upper_limit='7.74e-08', time_completed='2021-08-24 19:57:04.614187', job_id='237187', GAL2='0.84', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1629860224.61', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='4.02e-04', ts2='0.01', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='1145' AND source_name='4FGL J0615.3-3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 19:57:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 237187: <4FGL_J0615.3-3117_daily_bin1145> in cluster <slac> Done

Job <4FGL_J0615.3-3117_daily_bin1145> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 24 19:40:28 2021
Job was executed on host(s) <bullet0262>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 19:40:29 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 24 19:40:29 2021
Terminated at Tue Aug 24 19:57:05 2021
Results reported at Tue Aug 24 19:57:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0615.3-3117_daily_bin1145 93.8394 -31.2853 536112001 536371201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0615.3-3117 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   956.34 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             337.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   995 sec.
    Turnaround time :                            997 sec.

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

