aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 192 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 = 74146
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0615.3-3117_monthly_bin168
RA = 93.8394, Dec = -31.2853
tmin = 672451201, tmax = 675043201
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='621146', job_status='RUN', time_executed='2022-05-24 02:26:15.053216', time_epoch_executed='1653384375.05' WHERE source_name='4FGL J0615.3-3117' and cadence='monthly' and bin_id='168'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/621146

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

Retrieving the FT1 file...

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

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

Retrieving 455 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/621146/ft1_4FGL_J0615.3-3117_monthly_bin168.fits


Retrieving the FT1 file...

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

Retrieving 455 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/621146/ft2_4FGL_J0615.3-3117_monthly_bin168.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/621146/ft1_4FGL_J0615.3-3117_monthly_bin168.fits outfile=/scratch/kocevski/621146/ft1_filteredMKT_4FGL_J0615.3-3117_monthly_bin168.fits ra=93.8394 dec=-31.2853 rad=12.0 tmin=672451201.0 tmax=675043201.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 28.51
user 27.75
sys 0.69

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/621146/ft2_4FGL_J0615.3-3117_monthly_bin168.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/621146/ft1_filteredMKT_4FGL_J0615.3-3117_monthly_bin168.fits evtable="EVENTS" outfile="/scratch/kocevski/621146/ft1_filtered_4FGL_J0615.3-3117_monthly_bin168.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.85
user 0.67
sys 0.17

Number of photons that the gtmktime cut: 11140

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/621146/ft1_filtered_4FGL_J0615.3-3117_monthly_bin168.fits" evtable="EVENTS" scfile=/scratch/kocevski/621146/ft2_4FGL_J0615.3-3117_monthly_bin168.fits sctable="SC_DATA" outfile=/scratch/kocevski/621146/ltcube_672451201_675043201_4FGL_J0615.3-3117_monthly_bin168.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/621146/ft2_4FGL_J0615.3-3117_monthly_bin168.fits
.....................!
real 118.20
user 117.58
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/621146/ft1_filtered_4FGL_J0615.3-3117_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/621146/ft2_4FGL_J0615.3-3117_monthly_bin168.fits sctable="SC_DATA" expcube=/scratch/kocevski/621146/ltcube_672451201_675043201_4FGL_J0615.3-3117_monthly_bin168.fits outfile=/scratch/kocevski/621146/expmap_672451201_675043201_4FGL_J0615.3-3117_monthly_bin168.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/621146/ltcube_672451201_675043201_4FGL_J0615.3-3117_monthly_bin168.fits
.....................!
real 192.41
user 187.25
sys 4.82

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/621146/ft1_filtered_4FGL_J0615.3-3117_monthly_bin168.fits scfile=/scratch/kocevski/621146/ft2_4FGL_J0615.3-3117_monthly_bin168.fits outfile=/scratch/kocevski/621146/cmap_672451201_675043201_4FGL_J0615.3-3117_monthly_bin168.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.80
user 0.61
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/621146/ft1_filtered_4FGL_J0615.3-3117_monthly_bin168.fits scfile=/scratch/kocevski/621146/ft2_4FGL_J0615.3-3117_monthly_bin168.fits outfile=/scratch/kocevski/621146/cmap_HighResolution_672451201_675043201_4FGL_J0615.3-3117_monthly_bin168.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.80
user 0.62
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/621146/ft1_filtered_4FGL_J0615.3-3117_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/621146/ft2_4FGL_J0615.3-3117_monthly_bin168.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/621146/Model_4FGL_J0615.3-3117_monthly_bin168.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/621146/ft1_filtered_4FGL_J0615.3-3117_monthly_bin168.fits....................!
real 1258.95
user 1255.46
sys 1.33

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.6661       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.0694       1.0000         .10000E-03   10000.    
     4 'norm      '    2.4465       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    5.2874       1.0000         .10000E-03   10000.    
     7 'norm      '    2.0268       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.2398       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .54287       1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.299       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.3123       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.8481       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.1580       1.0000         .10000E-03   10000.    
    15 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10256E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.2164       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .45919E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.6864       1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.2414       1.0000         .10000E-03   10000.    
    22 'norm      '    .22793       1.0000         .10000E-03   10000.    
    23 'norm      '    2.0273       1.0000         .10000E-03   10000.    
    24 'norm      '    2.8763       1.0000         .10000E-03   10000.    
    25 'Prefactor '    23.099       1.0000         .10000E-03   10000.    
    26 'Prefactor '    2.4293       1.0000         .10000E-03   10000.    
    27 'norm      '    .11700       1.0000         .10000E-03   10000.    
    28 'Prefactor '    1.7610       1.0000         .10000E-03   10000.    
    29 'norm      '    .10525E-03   1.0000         .10000E-03   10000.    
    30 'norm      '    8.4602       1.0000         .10000E-03   10000.    
    31 'Normalizat'    .95626       1.0000         .10000E-01   10.000    
    32 'Prefactor '    .99806       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=   116928.2     FROM MIGRAD    STATUS=CONVERGED    859 CALLS     3842 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.6668        7.5864        .31156E-06    .93607E-05
   2  Prefactor     .10000E-03    1.2374       -.13554E-05** at limit **
   3  Prefactor     3.0699        1.9273       -.13226E-06    .13561E-04
   4  norm          2.4460        1.1573       -.95972E-10    .10062E-03
   5  Prefactor     .10000E-03    1.2743        .12049E-05** at limit **
   6  norm          5.2872        .65225       -.32118E-07    .15404E-03
   7  norm          2.0263        1.3417       -.47704E-07    .49682E-05
   8  Prefactor     2.2390        1.5498       -.89035E-07    .57588E-04
   9  Prefactor     .44521        2.4602       -.18857E-06    .24526E-03
  10  Prefactor     14.279        6.8153       -.14811E-05   -.27830E-04
  11  Prefactor     .10000E-03    2.7033        .19069E-06** at limit **
  12  Prefactor     5.3115        3.1964       -.17720E-08    .25505E-04
  13  Prefactor     2.8390        6.5361       -.16216E-05   -.29511E-04
  14  Prefactor     2.1588        2.6158       -.16456E-06   -.26116E-04
  15  norm          .10000E-03    .23884        .58931E-07** at limit **
  16  Prefactor     .10000E-03    .59463        .31628E-07** at limit **
  17  Prefactor     3.2170        1.1508        .62210E-07   -.19079E-03
  18  Prefactor     .10000E-03    1.1636        .24639E-06** at limit **
  19  norm          .10014E-03    .95831        .34889E-06** at limit **
  20  Prefactor     7.6763        5.0754        .27274E-06    .45377E-05
  21  Prefactor     6.2420        1.3743       -.59341E-07   -.30816E-03
  22  norm          .23075        .50209E-01    .48916E-09   -.15647E-03
  23  norm          2.0272        .39042        .23604E-07    .82653E-05
  24  norm          2.8763        1.9490       -.22451E-06   -.94307E-05
  25  Prefactor     23.098        1.7143       -.94240E-07   -.14322E-03
  26  Prefactor     2.4297        1.1249       -.70690E-07   -.51891E-04
  27  norm          .11274        .40812        .19399E-07   -.26606E-03
  28  Prefactor     1.7623        1.2687       -.14350E-07   -.33656E-04
  29  norm          .10000E-03    11.612        .34585E-06** at limit **
  30  norm          8.4602        7.7162       -.10705E-08   -.98177E-05
  31  Normalizat    .95632        .52413E-01    .36024E-06   -.20066E-03
  32  Prefactor     .99806        .25486E-01   -.50884E-07   -.23996E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.66678
  Prefactor  = 0.0001
  Prefactor  = 3.06987
  norm       = 2.446
  Prefactor  = 0.0001
  norm       = 5.28724
  norm       = 2.02635
  Prefactor  = 2.23904
  Prefactor  = 0.445208
  Prefactor  = 14.2791
  Prefactor  = 0.0001
  Prefactor  = 5.31148
  Prefactor  = 2.83899
  Prefactor  = 2.15878
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.21705
  Prefactor  = 0.0001
  norm       = 0.000100142
  Prefactor  = 7.67631
  Prefactor  = 6.24198
  norm       = 0.23075
  norm       = 2.0272
  norm       = 2.8763
  Prefactor  = 23.0981
  Prefactor  = 2.42974
  norm       = 0.112738
  Prefactor  = 1.76226
  norm       = 0.0001
  norm       = 8.46017
  Normalizat = 0.956318
  Prefactor  = 0.998059
 **********
 **   18 **HESSE 
 **********

 FCN=   116928.2     FROM HESSE     STATUS=OK           703 CALLS     4545 TOTAL
                     EDM=   .19E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.6668        7.5919        .13616E-03   -1.5119    
   2  Prefactor     .10000E-03    1.2621        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.0699        1.9271        .23153E-03   -1.5358    
   4  norm          2.4460        1.1562        .21122E-03   -1.5395    
   5  Prefactor     .10000E-03    1.2782        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.2872        .65598        .89801E-04   -1.5248    
   7  norm          2.0263        1.3367        .29062E-03   -1.5423    
   8  Prefactor     2.2390        1.5425        .27463E-03   -1.5409    
   9  Prefactor     .44521        2.4905        .18445       -1.5575    
  10  Prefactor     14.279        6.8234        .10592E-03   -1.4952    
  11  Prefactor     .10000E-03    2.7481        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.3115        3.1467        .17438E-03   -1.5247    
  13  Prefactor     2.8390        6.5238        .24092E-03   -1.5371    
  14  Prefactor     2.1588        2.5685        .28043E-03   -1.5414    
  15  norm          .10000E-03    .95187        .31222E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    2.5026        .50414E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.2170        1.1211        .10357E-02   -1.5349    
  18  Prefactor     .10000E-03    1.1732        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10014E-03    .86018        .11876       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.6763        5.0747        .14464E-03   -1.5154    
  21  Prefactor     6.2420        1.3743        .16068E-03   -1.5208    
  22  norm          .23075        .80504        .20209E-02   -1.5612    
  23  norm          2.0272        .39035        .89615E-04   -1.5423    
  24  norm          2.8763        1.9369        .23966E-03   -1.5369    
  25  Prefactor     23.098        1.7013        .83343E-04   -1.4746    
  26  Prefactor     2.4297        1.1206        .23377E-03   -1.5396    
  27  norm          .11274        .49397        .72837E-01   -1.5641    
  28  Prefactor     1.7623        1.2617        .31575E-03   -1.5442    
  29  norm          .10000E-03    11.935        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  norm          8.4602        7.7341        .68911E-03   -1.5126    
  31  Normalizat    .95632        .58298E-01    .34632E-03   -.94509    
  32  Prefactor     .99806        .28787E-01    .17917E-03   -.92794    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.86237e-07
Minuit parameter uncertainties:
  1  7.59272
  2  2.35145e-06
  3  1.92709
  4  1.15622
  5  7.18613e-07
  6  0.655983
  7  1.33672
  8  1.5425
  9  2.10589
  10  6.8238
  11  1.39177e-05
  12  3.14684
  13  6.52543
  14  2.56863
  15  8.3727e-06
  16  3.13803e-05
  17  1.12114
  18  1.85655e-06
  19  0.000698352
  20  5.07501
  21  1.37434
  22  0.80508
  23  0.39035
  24  1.93694
  25  1.7013
  26  1.12064
  27  0.47177
  28  1.2617
  29  7.6059e-06
  30  7.73498
  31  0.0583016
  32  0.0287876
Done.

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

Extracting fit parameters...

4FGL J0615.3-3117
   Spectrum: PowerLaw
295    Prefactor:  2.839e+00  6.525e+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

GAL_V02
   Spectrum: PowerLaw
613    Prefactor:  9.981e-01  2.879e-02  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:  9.563e-01  5.830e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.22
Ra Dec: 93.839 -31.285
Photon Flux Upper Limit: 1.29e-08 ph cm-2 s-1
Energy Flux Upper Limit: 9.79e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/621146/likelihoodResults_672451201_675043201_4FGL_J0615.3-3117_monthly_bin168.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) = 116928.173532
delta logL = 0.000305654582917

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 116928.173483
delta logL = 0.000354824805981

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   116928.2     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      290 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7693        7.2872        .12202E-02    .47081E-03
   2  Index         2.1586        1.4769        .58473E-02   -.71549E-06
   3  Normalizat    .95616        .52279E-01    .34635E-03    .58296E-04
   4  Prefactor     .99810        .27524E-01    .17916E-03    .60916E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.76927
  Index      = 2.15857
  Normalizat = 0.95616
  Prefactor  = 0.998099
 **********
 **   18 **HESSE 
 **********

 FCN=   116928.2     FROM HESSE     STATUS=OK            25 CALLS      315 TOTAL
                     EDM=   .69E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7693        6.9810        .24403E-03   -1.5375    
   2  Index         2.1586        1.4169        .23389E-03   -.60442    
   3  Normalizat    .95616        .52288E-01    .13854E-04   -.94514    
   4  Prefactor     .99810        .27534E-01    .71666E-05   -.92793    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.91583e-13
Minuit parameter uncertainties:
  1  6.98301
  2  1.44657
  3  0.0522905
  4  0.0275345
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/621146': 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) = 116928.173467
delta logL = 0.000370813664631

Extracting fit parameters...

4FGL J0615.3-3117
   Spectrum: PowerLaw
295    Prefactor:  2.769e+00  6.983e+00  1.000e-04  1.000e+04 ( 1.000e-14)
296        Index:  2.159e+00  1.447e+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:  9.981e-01  2.753e-02  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:  9.562e-01  5.229e-02  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/621146/cmap_HighResolution_672451201_675043201_4FGL_J0615.3-3117_monthly_bin168.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.79e-04', job_status='DONE', photon_flux_upper_limit='1.29e-08', time_completed='2022-05-24 05:55:42.300820', job_id='621146', GAL2='1.00', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1653396942.3', return_code2='0', ts='0.22', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='3.71e-04', ts2='0.22', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='168' AND source_name='4FGL J0615.3-3117' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Tue May 24 05:55:42 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0025>
Subject: Job 621146: <4FGL_J0615.3-3117_monthly_bin168> in cluster <slac> Done

Job <4FGL_J0615.3-3117_monthly_bin168> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue May 24 02:20:38 2022
Job was executed on host(s) <bullet0025>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May 24 02:22:54 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May 24 02:22:54 2022
Terminated at Tue May 24 06:02:19 2022
Results reported at Tue May 24 06:02:19 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0615.3-3117_monthly_bin168 93.8394 -31.2853 672451201 675043201 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 :                                   12203.00 sec.
    Max Memory :                                 790 MB
    Average Memory :                             450.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   13152 sec.
    Turnaround time :                            13301 sec.

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

