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 47 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 = 7488
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1615.6+4712_daily_bin1668
RA = 243.922, Dec = 47.2028
tmin = 671673601, tmax = 671932801
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='555767', job_status='RUN', time_executed='2022-04-18 03:05:20.495323', time_epoch_executed='1650276320.5' WHERE source_name='4FGL J1615.6+4712' and cadence='daily' and bin_id='1668'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/555767

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/555767/ft1_4FGL_J1615.6+4712_daily_bin1668.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/555767/ft2_4FGL_J1615.6+4712_daily_bin1668.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/555767/ft1_4FGL_J1615.6+4712_daily_bin1668.fits outfile=/scratch/kocevski/555767/ft1_filteredMKT_4FGL_J1615.6+4712_daily_bin1668.fits ra=243.922 dec=47.2028 rad=12.0 tmin=671673601.0 tmax=671932801.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.04
user 2.76
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/555767/ft2_4FGL_J1615.6+4712_daily_bin1668.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/555767/ft2_4FGL_J1615.6+4712_daily_bin1668.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/555767/ft1_filteredMKT_4FGL_J1615.6+4712_daily_bin1668.fits evtable="EVENTS" outfile="/scratch/kocevski/555767/ft1_filtered_4FGL_J1615.6+4712_daily_bin1668.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.32
sys 0.17

Number of photons that the gtmktime cut: 703

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/555767/ft1_filtered_4FGL_J1615.6+4712_daily_bin1668.fits" evtable="EVENTS" scfile=/scratch/kocevski/555767/ft2_4FGL_J1615.6+4712_daily_bin1668.fits sctable="SC_DATA" outfile=/scratch/kocevski/555767/ltcube_671673601_671932801_4FGL_J1615.6+4712_daily_bin1668.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/555767/ft2_4FGL_J1615.6+4712_daily_bin1668.fits
.....................!
real 13.26
user 12.82
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/555767/ft1_filtered_4FGL_J1615.6+4712_daily_bin1668.fits evtable="EVENTS" scfile=/scratch/kocevski/555767/ft2_4FGL_J1615.6+4712_daily_bin1668.fits sctable="SC_DATA" expcube=/scratch/kocevski/555767/ltcube_671673601_671932801_4FGL_J1615.6+4712_daily_bin1668.fits outfile=/scratch/kocevski/555767/expmap_671673601_671932801_4FGL_J1615.6+4712_daily_bin1668.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/555767/ltcube_671673601_671932801_4FGL_J1615.6+4712_daily_bin1668.fits
.....................!
real 166.87
user 159.95
sys 6.30

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

Setting source of interest to:
4FGL J1615.6+4712 @ 243.922 47.2028

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/555767/ft1_filtered_4FGL_J1615.6+4712_daily_bin1668.fits scfile=/scratch/kocevski/555767/ft2_4FGL_J1615.6+4712_daily_bin1668.fits outfile=/scratch/kocevski/555767/cmap_671673601_671932801_4FGL_J1615.6+4712_daily_bin1668.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.922 yref=47.2028 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.48
user 0.31
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/555767/ft1_filtered_4FGL_J1615.6+4712_daily_bin1668.fits scfile=/scratch/kocevski/555767/ft2_4FGL_J1615.6+4712_daily_bin1668.fits outfile=/scratch/kocevski/555767/cmap_HighResolution_671673601_671932801_4FGL_J1615.6+4712_daily_bin1668.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.922 yref=47.2028 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.48
user 0.31
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/555767/ft1_filtered_4FGL_J1615.6+4712_daily_bin1668.fits', '/scratch/kocevski/555767/ft2_4FGL_J1615.6+4712_daily_bin1668.fits', expMap='/scratch/kocevski/555767/expmap_671673601_671932801_4FGL_J1615.6+4712_daily_bin1668.fits', expCube='/scratch/kocevski/555767/ltcube_671673601_671932801_4FGL_J1615.6+4712_daily_bin1668.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/555767/Model_4FGL_J1615.6+4712_daily_bin1668.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1615.6+4712'

4FGL J1615.6+4712
   Spectrum: PowerLaw
300    Prefactor:  1.421e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
301        Index:  2.189e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  1.761e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/555767/ft1_filtered_4FGL_J1615.6+4712_daily_bin1668.fits
Spacecraft file(s): /scratch/kocevski/555767/ft2_4FGL_J1615.6+4712_daily_bin1668.fits
Exposure map: /scratch/kocevski/555767/expmap_671673601_671932801_4FGL_J1615.6+4712_daily_bin1668.fits
Exposure cube: /scratch/kocevski/555767/ltcube_671673601_671932801_4FGL_J1615.6+4712_daily_bin1668.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/555767/Model_4FGL_J1615.6+4712_daily_bin1668.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) = 7556.16936195

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2788       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.9831       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.0004       1.0000         .10000E-03   10000.    
     8 'norm      '    6.8594       1.0000         .10000E-03   10000.    
     9 'Prefactor '    26.172       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.5048       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .47151       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .33312E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    42.264       1.0000         .10000E-03   10000.    
    15 'norm      '    .31599       1.0000         .10000E-03   10000.    
    16 'norm      '    .47391       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .95562       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.8516       1.0000         .10000E-03   10000.    
    19 'Prefactor '    16.198       1.0000         .10000E-03   10000.    
    20 'norm      '    62.302       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .37081       1.0000         .10000E-03   10000.    
    22 'Prefactor '    8.2019       1.0000         .10000E-03   10000.    
    23 'Prefactor '    5.2937       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    10.096       1.0000         .10000E-03   10000.    
    26 'norm      '    5.2599       1.0000         .10000E-03   10000.    
    27 'norm      '    .10065E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    4.1511       1.0000         .10000E-03   10000.    
    29 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    .90617       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .90839       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7556.164     FROM MIGRAD    STATUS=CONVERGED    811 CALLS     4198 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2787        1.7128        .70449E-08   -.58604E-05
   2  Prefactor     .10000E-03    7.3231        .90049E-07** at limit **
   3  Prefactor     .10000E-03    32.585       -.32813E-07** at limit **
   4  Prefactor     .10000E-03    5.4844        .79874E-08** at limit **
   5  norm          .10000E-03    12.121        .21027E-07** at limit **
   6  Prefactor     9.9570        23.544       -.62536E-07   -.41240E-04
   7  Prefactor     1.9999        5.9060        .12058E-05    .45314E-04
   8  norm          6.8593        8.4204       -.34695E-06   -.24793E-04
   9  Prefactor     26.153        59.798       -.15149E-06   -.17042E-04
  10  Prefactor     7.4994        5.2772        .75108E-07   -.38519E-04
  11  Prefactor     .10000E-03    48.431       -.11350E-06** at limit **
  12  Prefactor     .46334        2.7212       -.15582E-06    .39621E-04
  13  Prefactor     .10003E-03    1.6116        .34640E-06** at limit **
  14  norm          42.267        21.617        .17639E-07    .19122E-04
  15  norm          .31599        .15151       -.32464E-07   -.23429E-02
  16  norm          .53486        9.4235        .10555E-05   -.28145E-03
  17  Prefactor     .94727        13.752       -.15092E-06   -.80254E-05
  18  Prefactor     1.8514        3.7307        .71707E-06   -.72553E-05
  19  Prefactor     16.198        7.0267        .67758E-08   -.23309E-05
  20  norm          62.276        45.031       -.86183E-07   -.18805E-03
  21  Prefactor     .36975        1.2052        .88519E-06    .17520E-03
  22  Prefactor     8.2036        1.9809       -.15629E-06   -.14722E-02
  23  Prefactor     5.2940        3.6883       -.38034E-07   -.78905E-04
  24  Prefactor     .10000E-03    1.0461       -.15683E-06** at limit **
  25  Prefactor     10.096        9.2963        .35111E-07   -.67887E-05
  26  norm          5.2600        1.9035       -.13788E-07   -.20584E-03
  27  norm          .10000E-03    .28129        .19641E-07** at limit **
  28  Prefactor     4.1513        4.7101        .20398E-06   -.12855E-04
  29  norm          .10000E-03    .21426        .41698E-08** at limit **
  30  Normalizat    .90635        .17478        .21605E-06   -.18901E-03
  31  Prefactor     .90826        .16502       -.33707E-06   -.15217E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.27871
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 9.95702
  Prefactor  = 1.99985
  norm       = 6.85933
  Prefactor  = 26.1533
  Prefactor  = 7.4994
  Prefactor  = 0.0001
  Prefactor  = 0.46334
  Prefactor  = 0.000100026
  norm       = 42.2672
  norm       = 0.315988
  norm       = 0.534864
  Prefactor  = 0.947271
  Prefactor  = 1.85136
  Prefactor  = 16.1977
  norm       = 62.2764
  Prefactor  = 0.369747
  Prefactor  = 8.20357
  Prefactor  = 5.29398
  Prefactor  = 0.0001
  Prefactor  = 10.0965
  norm       = 5.26
  norm       = 0.0001
  Prefactor  = 4.1513
  norm       = 0.0001
  Normalizat = 0.906346
  Prefactor  = 0.908255
 **********
 **   18 **HESSE 
 **********

 FCN=   7556.164     FROM HESSE     STATUS=OK           640 CALLS     4838 TOTAL
                     EDM=   .46E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2787        1.6877        .12817E-03   -1.5482    
   2  Prefactor     .10000E-03    7.4992        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    33.338        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.5200        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    12.204        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.9570        23.552        .12682E-03   -1.5077    
   7  Prefactor     1.9999        5.7454        .29283E-03   -1.5425    
   8  norm          6.8593        8.2988        .15319E-03   -1.5184    
   9  Prefactor     26.153        59.137        .78306E-04   -1.4685    
  10  Prefactor     7.4994        5.2541        .14639E-03   -1.5160    
  11  Prefactor     .10000E-03    49.286        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .46334        9.1085        .25926E-02   -1.5572    
  13  Prefactor     .10003E-03    11.066        .20054E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          42.267        21.494        .61663E-04   -1.4407    
  15  norm          .31599        .15547        .20256E-04   -1.5596    
  16  norm          .53486        55.903        .49474E-02   -1.5562    
  17  Prefactor     .94727        97.364        .55876E-02   -1.5513    
  18  Prefactor     1.8514        3.6595        .21870E-03   -1.5436    
  19  Prefactor     16.198        7.0270        .99515E-04   -1.4903    
  20  norm          62.276        45.527        .25419E-03   -1.4128    
  21  Prefactor     .36975        1.1772        .13704E-03   -1.5586    
  22  Prefactor     8.2036        1.9222        .45961E-04   -1.5135    
  23  Prefactor     5.2940        3.6218        .12596E-03   -1.5248    
  24  Prefactor     .10000E-03    1.0584        .86708E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     10.096        9.2959        .12611E-03   -1.5072    
  26  norm          5.2600        1.9051        .69654E-04   -1.5249    
  27  norm          .10000E-03    .36815        .87827E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     4.1513        4.6853        .19236E-03   -1.5300    
  29  norm          .10000E-03    .21433        .18142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .90635        .20204        .26261E-03   -.96237    
  31  Prefactor     .90826        .19338        .25822E-03   -.95853    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.58564e-08
Minuit parameter uncertainties:
  1  1.68771
  2  4.89561e-07
  3  2.16779e-05
  4  1.00207e-07
  5  8.09685e-07
  6  23.5736
  7  5.74699
  8  8.3002
  9  59.2697
  10  5.2544
  11  7.96439e-05
  12  4.10896
  13  0.00107926
  14  21.4982
  15  0.155469
  16  10.9458
  17  19.2385
  18  3.65991
  19  7.02732
  20  45.5528
  21  1.17727
  22  1.92225
  23  3.62191
  24  2.43687e-06
  25  9.29725
  26  1.9051
  27  2.98417e-06
  28  4.68574
  29  7.65995e-09
  30  0.20221
  31  0.193521
Done.

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

Extracting fit parameters...

4FGL J1615.6+4712
   Spectrum: PowerLaw
300    Prefactor:  7.499e+00  5.254e+00  1.000e-04  1.000e+04 ( 1.000e-13)
301        Index:  2.189e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
302        Scale:  1.761e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
673    Prefactor:  9.083e-01  1.935e-01  0.000e+00  1.000e+01 ( 1.000e+00)
674        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
675        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
672   Normalization:  9.063e-01  2.022e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.95
Ra Dec: 243.922 47.203
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 3.37e-08 +/- 2.36e-08
Energy Flux (Fixed Index): 1.54e-05 +/- 1.08e-05

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) = 7556.06322445
delta logL = 0.101025100917

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7556.05753214
delta logL = 0.106717406375

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7556.058     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      270 TOTAL
                     EDM=   .32E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.3313        155.18        .32818E-02    .18823E-03
   2  Index         1.9196        3.2880        .21015        .52845E-04
   3  Normalizat    .91822        .79209E-01    .45135E-01    .77261E-05
   4  Prefactor     .90156        .57921E-01    .45026E-01    .25488E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.33129
  Index      = 1.91956
  Normalizat = 0.918223
  Prefactor  = 0.901561
 * **********
 **   18 **HESSE 
 **********

 FCN=   7556.058     FROM HESSE     STATUS=OK            33 CALLS      303 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.3313        7.4199        .65636E-03   -1.5097    
   2  Index         1.9196        .58310        .73423E-02   -.66377    
   3  Normalizat    .91822        .19329        .26110E-03   -.95823    
   4  Prefactor     .90156        .18987        .25907E-03   -.96087    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02353e-09
Minuit parameter uncertainties:
  1  7.42068
  2  0.585252
  3  0.193433
  4  0.190005
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/555474': 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) = 7556.05752179
delta logL = 0.106727759381

Extracting fit parameters...

4FGL J1615.6+4712
   Spectrum: PowerLaw
300    Prefactor:  9.331e+00  7.421e+00  1.000e-04  1.000e+04 ( 1.000e-13)
301        Index:  1.920e+00  5.853e-01  0.000e+00  1.000e+01 (-1.000e+00)
302        Scale:  1.761e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
673    Prefactor:  9.016e-01  1.900e-01  0.000e+00  1.000e+01 ( 1.000e+00)
674        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
675        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
672   Normalization:  9.182e-01  1.934e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.15
Ra Dec: 243.922 47.203
Photon Index (Free Index): 1.92 +/- 0.59
Photon Flux (Free Index): 2.50e-08 +/- 2.56e-08
Energy Flux (Free Index): 2.12e-05 +/- 2.38e-05

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/555474/cmap_HighResolution_671673601_671932801_4FGL_J1615.6+4712_daily_bin1668.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.37e-08', energy_flux2='2.12e-05', photon_flux_error='2.36e-08', dlogl='1.07e-01', energy_flux='1.54e-05', photon_flux2='2.50e-08', job_status='DONE', time_completed='2022-04-18 03:19:27.988892', photon_index_error2='0.59', photon_index2='1.92', ts='4.95', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='2.38e-05', EG='0.91', time_epoch_completed='1650277167.99', return_code='0', job_id='555474', GAL2='0.90', EG2='0.92', return_code2='0', energy_flux_error='1.08e-05', photon_flux_error2='2.56e-08', ts2='5.15', photon_index='2.19' WHERE bin_id='1668' AND source_name='4FGL J1615.6+4712' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Apr 18 03:19:28 PDT 2022

-----------------------------------------------------------
Sender: LSF System <scs@bullet0026>
Subject: Job 555767: <4FGL_J1615.6+4712_daily_bin1668> in cluster <slac> Done

Job <4FGL_J1615.6+4712_daily_bin1668> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Apr 18 00:07:45 2022
Job was executed on host(s) <bullet0026>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Apr 18 03:04:26 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Apr 18 03:04:26 2022
Terminated at Mon Apr 18 03:19:24 2022
Results reported at Mon Apr 18 03:19:24 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1615.6+4712_daily_bin1668 243.922 47.2028 671673601 671932801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1615.6+4712 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   845.00 sec.
    Max Memory :                                 782 MB
    Average Memory :                             292.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   898 sec.
    Turnaround time :                            11499 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0280>
Subject: Job 555474: <4FGL_J1615.6+4712_daily_bin1668> in cluster <slac> Done

Job <4FGL_J1615.6+4712_daily_bin1668> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Apr 18 00:07:32 2022
Job was executed on host(s) <bullet0280>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Apr 18 02:59:14 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Apr 18 02:59:14 2022
Terminated at Mon Apr 18 03:19:28 2022
Results reported at Mon Apr 18 03:19:28 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1615.6+4712_daily_bin1668 243.922 47.2028 671673601 671932801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1615.6+4712 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1001.40 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             256.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1214 sec.
    Turnaround time :                            11516 sec.

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

