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


Performing analysis on: 4FGL_J0615.3-3117_daily_bin255
RA = 93.8394, Dec = -31.2853
tmin = 305424001, tmax = 305683201
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='231038', job_status='RUN', time_executed='2021-08-24 19:21:18.966393', time_epoch_executed='1629858078.97' WHERE source_name='4FGL J0615.3-3117' and cadence='daily' and bin_id='255'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/231038

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/231038/ft1_4FGL_J0615.3-3117_daily_bin255.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/231038/ft2_4FGL_J0615.3-3117_daily_bin255.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/231038/ft1_4FGL_J0615.3-3117_daily_bin255.fits outfile=/scratch/kocevski/231038/ft1_filteredMKT_4FGL_J0615.3-3117_daily_bin255.fits ra=93.8394 dec=-31.2853 rad=12.0 tmin=305424001.0 tmax=305683201.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.75
user 3.23
sys 1.49

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/231038/ft1_filtered_4FGL_J0615.3-3117_daily_bin255.fits" evtable="EVENTS" scfile=/scratch/kocevski/231038/ft2_4FGL_J0615.3-3117_daily_bin255.fits sctable="SC_DATA" outfile=/scratch/kocevski/231038/ltcube_305424001_305683201_4FGL_J0615.3-3117_daily_bin255.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/231038/ft2_4FGL_J0615.3-3117_daily_bin255.fits
.....................!
real 12.99
user 11.24
sys 1.72

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/231038/ft1_filtered_4FGL_J0615.3-3117_daily_bin255.fits evtable="EVENTS" scfile=/scratch/kocevski/231038/ft2_4FGL_J0615.3-3117_daily_bin255.fits sctable="SC_DATA" expcube=/scratch/kocevski/231038/ltcube_305424001_305683201_4FGL_J0615.3-3117_daily_bin255.fits outfile=/scratch/kocevski/231038/expmap_305424001_305683201_4FGL_J0615.3-3117_daily_bin255.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/231038/ltcube_305424001_305683201_4FGL_J0615.3-3117_daily_bin255.fits
.....................!
real 192.25
user 185.79
sys 6.11

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/231038/ft1_filtered_4FGL_J0615.3-3117_daily_bin255.fits scfile=/scratch/kocevski/231038/ft2_4FGL_J0615.3-3117_daily_bin255.fits outfile=/scratch/kocevski/231038/cmap_305424001_305683201_4FGL_J0615.3-3117_daily_bin255.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 1.77
user 0.36
sys 1.38

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/231038/ft1_filtered_4FGL_J0615.3-3117_daily_bin255.fits scfile=/scratch/kocevski/231038/ft2_4FGL_J0615.3-3117_daily_bin255.fits outfile=/scratch/kocevski/231038/cmap_HighResolution_305424001_305683201_4FGL_J0615.3-3117_daily_bin255.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 1.78
user 0.40
sys 1.36

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/231038/ft1_filtered_4FGL_J0615.3-3117_daily_bin255.fits evtable="EVENTS" scfile=/scratch/kocevski/231038/ft2_4FGL_J0615.3-3117_daily_bin255.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/231038/Model_4FGL_J0615.3-3117_daily_bin255.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/231038/ft1_filtered_4FGL_J0615.3-3117_daily_bin255.fits.....................!
real 74.01
user 70.84
sys 2.87

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/231038/ft1_filtered_4FGL_J0615.3-3117_daily_bin255.fits', '/scratch/kocevski/231038/ft2_4FGL_J0615.3-3117_daily_bin255.fits', expMap='/scratch/kocevski/231038/expmap_305424001_305683201_4FGL_J0615.3-3117_daily_bin255.fits', expCube='/scratch/kocevski/231038/ltcube_305424001_305683201_4FGL_J0615.3-3117_daily_bin255.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/231038/Model_4FGL_J0615.3-3117_daily_bin255.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/231038/ft1_filtered_4FGL_J0615.3-3117_daily_bin255.fits
Spacecraft file(s): /scratch/kocevski/231038/ft2_4FGL_J0615.3-3117_daily_bin255.fits
Exposure map: /scratch/kocevski/231038/expmap_305424001_305683201_4FGL_J0615.3-3117_daily_bin255.fits
Exposure cube: /scratch/kocevski/231038/ltcube_305424001_305683201_4FGL_J0615.3-3117_daily_bin255.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/231038/Model_4FGL_J0615.3-3117_daily_bin255.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) = 5674.39397536

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.9136       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10103E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    29.219       1.0000         .10000E-03   10000.    
     6 'norm      '    4.4792       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.4750       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10365E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .13924E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.8238       1.0000         .10000E-03   10000.    
    15 'norm      '    .43314       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10175E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    28.452       1.0000         .10000E-03   10000.    
    19 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.5353       1.0000         .10000E-03   10000.    
    22 'norm      '    9.7744       1.0000         .10000E-03   10000.    
    23 'norm      '    4.1862       1.0000         .10000E-03   10000.    
    24 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    4.4728       1.0000         .10000E-03   10000.    
    27 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    4.4116       1.0000         .10000E-03   10000.    
    29 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    31 'Normalizat'    .78114       1.0000         .10000E-01   10.000    
    32 'Prefactor '    1.1077       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=   5674.393     FROM MIGRAD    STATUS=CONVERGED    835 CALLS     4357 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    27.550       -.43593E-05** at limit **
   2  Prefactor     6.9069        22.517        .27574E-06    .10082E-04
   3  Prefactor     .10000E-03    4.9204       -.90663E-07** at limit **
   4  norm          .10000E-03    8.0410       -.56784E-06** at limit **
   5  Prefactor     29.215        59.224       -.35131E-05    .12739E-05
   6  norm          4.4785        3.0747       -.14962E-06    .64842E-04
   7  norm          .10000E-03    5.3026       -.43201E-06** at limit **
   8  Prefactor     2.4742        6.0644        .11307E-06   -.10503E-02
   9  Prefactor     .10000E-03    42.226        .18534E-04** at limit **
  10  Prefactor     .10000E-03    11.600        .21541E-05** at limit **
  11  Prefactor     .10000E-03    29.821       -.68539E-05** at limit **
  12  Prefactor     .10000E-03    27.875       -.52375E-05** at limit **
  13  Prefactor     .10000E-03    95.608       -.10547E-04** at limit **
  14  Prefactor     4.8144        15.182       -.10438E-06   -.15352E-03
  15  norm          .42182        4.3393        .16224E-06   -.63566E-04
  16  Prefactor     .10000E-03    88.161        .45839E-05** at limit **
  17  Prefactor     .10000E-03    2.5734       -.10283E-07** at limit **
  18  Prefactor     28.433        34.822       -.11435E-04    .45316E-05
  19  norm          .10000E-03    23.556        .56236E-05** at limit **
  20  Prefactor     .10000E-03    15.470       -.73742E-05** at limit **
  21  Prefactor     1.5349        4.5161        .10137E-05   -.13714E-02
  22  norm          9.7736        8.1986       -.17455E-06   -.71671E-04
  23  norm          4.1865        2.1424       -.31991E-08   -.90708E-04
  24  norm          .10000E-03    5.1304        .30470E-06** at limit **
  25  Prefactor     .10000E-03    6.2780        .24189E-06** at limit **
  26  Prefactor     4.4731        5.6232       -.20977E-06   -.33147E-04
  27  norm          .10000E-03    5.1527        .19349E-06** at limit **
  28  Prefactor     4.4133        10.820       -.27237E-07   -.12221E-04
  29  norm          .10000E-03    31.884       -.74343E-05** at limit **
  30  norm          .10000E-03    19.960        .10651E-04** at limit **
  31  Normalizat    .78118        .26144        .34795E-05   -.50333E-05
  32  Prefactor     1.1076        .12324       -.30662E-06    .46890E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 6.90693
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 29.2153
  norm       = 4.47846
  norm       = 0.0001
  Prefactor  = 2.47422
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 4.81444
  norm       = 0.421816
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.4331
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.53491
  norm       = 9.77359
  norm       = 4.18655
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.47309
  norm       = 0.0001
  Prefactor  = 4.41328
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 0.781175
  Prefactor  = 1.1076
 **********
 **   18 **HESSE 
 **********

 FCN=   5674.393     FROM HESSE     STATUS=OK           655 CALLS     5012 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    27.583        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.9069        22.414        .15258E-03   -1.5182    
   3  Prefactor     .10000E-03    4.9247        .16319E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    8.3599        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     29.215        58.934        .74118E-04   -1.4626    
   6  norm          4.4785        3.1004        .10154E-03   -1.5285    
   7  norm          .10000E-03    5.3045        .16942E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.4742        6.6286        .12995E-02   -1.5393    
   9  Prefactor     .10000E-03    42.327        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    11.609        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    29.732        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    28.009        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    95.216        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.8144        15.311        .91584E-03   -1.5269    
  15  norm          .42182        28.687        .29582E-02   -1.5578    
  16  Prefactor     .10000E-03    90.942        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    2.5754        .11797E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     28.433        34.771        .75108E-04   -1.4641    
  19  norm          .10000E-03    23.624        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    15.493        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.5349        11.439        .17214E-02   -1.5460    
  22  norm          9.7736        8.1955        .12817E-03   -1.5083    
  23  norm          4.1865        2.1444        .76253E-04   -1.5299    
  24  norm          .10000E-03    5.1518        .16660E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    6.5459        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     4.4731        5.6158        .19039E-03   -1.5285    
  27  norm          .10000E-03    5.1578        .16699E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     4.4133        10.825        .19174E-03   -1.5288    
  29  norm          .10000E-03    31.913        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          .10000E-03    20.003        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Normalizat    .78118        .28715        .40187E-03   -1.0077    
  32  Prefactor     1.1076        .13595        .17589E-03   -.89224    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.47271e-08
Minuit parameter uncertainties:
  1  5.22532e-05
  2  22.4412
  3  3.40049e-06
  4  3.63499e-05
  5  59.052
  6  3.10049
  7  2.67669e-06
  8  6.63061
  9  0.000161484
  10  2.58907e-05
  11  0.000183694
  12  7.10117e-05
  13  0.00101757
  14  15.3232
  15  6.9599
  16  0.000418024
  17  2.33461e-06
  18  34.7954
  19  8.01592e-05
  20  4.7497e-05
  21  8.38255
  22  8.19645
  23  2.1444
  24  3.33415e-06
  25  1.34243e-05
  26  5.61646
  27  3.3959e-06
  28  10.8295
  29  6.45967e-05
  30  6.97232e-05
  31  0.287706
  32  0.135988
Done.

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

Extracting fit parameters...

4FGL J0615.3-3117
   Spectrum: PowerLaw
295    Prefactor:  1.000e-04  1.018e-03  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:  1.108e+00  1.360e-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:  7.812e-01  2.877e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 93.839 -31.285
Photon Flux Upper Limit: 1.11e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.43e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/231038/likelihoodResults_305424001_305683201_4FGL_J0615.3-3117_daily_bin255.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) = 5674.39274247
delta logL = -4.99225261592e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5674.37270826
delta logL = 0.0199842838765

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5674.373     FROM MIGRAD    STATUS=CONVERGED     79 CALLS      393 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0960        287.38        .28502E-03   -.27578E-03
   2  Index         3.0466        6.2746        .85322E-02   -.55298E-04
   3  Normalizat    .76650        .26471        .40535E-03   -.38965E-03
   4  Prefactor     1.1109        .13212        .17564E-03   -.52281E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.09598
  Index      = 3.04655
  Normalizat = 0.766504
  Prefactor  = 1.11089
 **********
 **   18 **HESSE 
 **********

 FCN=   5674.373     FROM HESSE     STATUS=OK            25 CALLS      418 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0960        37.750        .11401E-04   -1.5418    
   2  Index         3.0466        2.5370        .34129E-03   -.40138    
   3  Normalizat    .76650        .26372        .16214E-04   -1.0132    
   4  Prefactor     1.1109        .13222        .35127E-04   -.89119    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.56241e-10
Minuit parameter uncertainties:
  1  17.8029
  2  2.68702
  3  0.264156
  4  0.132257
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/231038': 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) = 5674.37270826
delta logL = 0.0199842851707

Extracting fit parameters...

4FGL J0615.3-3117
   Spectrum: PowerLaw
295    Prefactor:  2.096e+00  1.780e+01  1.000e-04  1.000e+04 ( 1.000e-14)
296        Index:  3.047e+00  2.687e+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:  1.111e+00  1.323e-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:  7.665e-01  2.642e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/231038/cmap_HighResolution_305424001_305683201_4FGL_J0615.3-3117_daily_bin255.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.43e-03', job_status='DONE', photon_flux_upper_limit='1.11e-07', time_completed='2021-08-24 19:36:13.900112', job_id='231038', GAL2='1.11', fit_tolerance='1e-08', EG2='0.77', EG='0.78', time_epoch_completed='1629858973.9', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='2.00e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='255' AND source_name='4FGL J0615.3-3117' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 24 19:36:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 231038: <4FGL_J0615.3-3117_daily_bin255> in cluster <slac> Done

Job <4FGL_J0615.3-3117_daily_bin255> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 24 19:20:36 2021
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 24 19:20:37 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:20:37 2021
Terminated at Tue Aug 24 19:36:14 2021
Results reported at Tue Aug 24 19:36:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0615.3-3117_daily_bin255 93.8394 -31.2853 305424001 305683201 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 :                                   912.33 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             298.53 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   937 sec.
    Turnaround time :                            938 sec.

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

