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


Performing analysis on: 4FGL_J1615.6+4712_daily_bin693
RA = 243.922, Dec = 47.2028
tmin = 418953601, tmax = 419212801
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='204922', job_status='RUN', time_executed='2021-09-13 18:35:53.082622', time_epoch_executed='1631583353.08' WHERE source_name='4FGL J1615.6+4712' and cadence='daily' and bin_id='693'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/204922

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/204922/ft1_4FGL_J1615.6+4712_daily_bin693.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/204922/ft2_4FGL_J1615.6+4712_daily_bin693.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/204922/ft1_4FGL_J1615.6+4712_daily_bin693.fits outfile=/scratch/kocevski/204922/ft1_filteredMKT_4FGL_J1615.6+4712_daily_bin693.fits ra=243.922 dec=47.2028 rad=12.0 tmin=418953601.0 tmax=419212801.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 5.56
user 5.25
sys 0.28

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/204922/ft1_filtered_4FGL_J1615.6+4712_daily_bin693.fits" evtable="EVENTS" scfile=/scratch/kocevski/204922/ft2_4FGL_J1615.6+4712_daily_bin693.fits sctable="SC_DATA" outfile=/scratch/kocevski/204922/ltcube_418953601_419212801_4FGL_J1615.6+4712_daily_bin693.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/204922/ft2_4FGL_J1615.6+4712_daily_bin693.fits
.....................!
real 13.77
user 13.34
sys 0.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/204922/ft1_filtered_4FGL_J1615.6+4712_daily_bin693.fits evtable="EVENTS" scfile=/scratch/kocevski/204922/ft2_4FGL_J1615.6+4712_daily_bin693.fits sctable="SC_DATA" expcube=/scratch/kocevski/204922/ltcube_418953601_419212801_4FGL_J1615.6+4712_daily_bin693.fits outfile=/scratch/kocevski/204922/expmap_418953601_419212801_4FGL_J1615.6+4712_daily_bin693.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/204922/ltcube_418953601_419212801_4FGL_J1615.6+4712_daily_bin693.fits
.....................!
real 191.52
user 185.78
sys 5.18

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/204922/ft1_filtered_4FGL_J1615.6+4712_daily_bin693.fits scfile=/scratch/kocevski/204922/ft2_4FGL_J1615.6+4712_daily_bin693.fits outfile=/scratch/kocevski/204922/cmap_418953601_419212801_4FGL_J1615.6+4712_daily_bin693.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.54
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/204922/ft1_filtered_4FGL_J1615.6+4712_daily_bin693.fits scfile=/scratch/kocevski/204922/ft2_4FGL_J1615.6+4712_daily_bin693.fits outfile=/scratch/kocevski/204922/cmap_HighResolution_418953601_419212801_4FGL_J1615.6+4712_daily_bin693.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.55
user 0.41
sys 0.13

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/204922/ft1_filtered_4FGL_J1615.6+4712_daily_bin693.fits', '/scratch/kocevski/204922/ft2_4FGL_J1615.6+4712_daily_bin693.fits', expMap='/scratch/kocevski/204922/expmap_418953601_419212801_4FGL_J1615.6+4712_daily_bin693.fits', expCube='/scratch/kocevski/204922/ltcube_418953601_419212801_4FGL_J1615.6+4712_daily_bin693.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/204922/Model_4FGL_J1615.6+4712_daily_bin693.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/204922/ft1_filtered_4FGL_J1615.6+4712_daily_bin693.fits
Spacecraft file(s): /scratch/kocevski/204922/ft2_4FGL_J1615.6+4712_daily_bin693.fits
Exposure map: /scratch/kocevski/204922/expmap_418953601_419212801_4FGL_J1615.6+4712_daily_bin693.fits
Exposure cube: /scratch/kocevski/204922/ltcube_418953601_419212801_4FGL_J1615.6+4712_daily_bin693.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/204922/Model_4FGL_J1615.6+4712_daily_bin693.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) = 3067.9147109

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.4119       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.887       1.0000         .10000E-03   10000.    
     5 'norm      '    .10740E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    94.833       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.5003       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.0134       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .33417       1.0000         .10000E-03   10000.    
    16 'norm      '    17.066       1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.0214       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.0380       1.0000         .10000E-03   10000.    
    19 'Prefactor '    44.314       1.0000         .10000E-03   10000.    
    20 'norm      '    .10066E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.2447       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .15665E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    6.4995       1.0000         .10000E-03   10000.    
    27 'norm      '    1.1325       1.0000         .10000E-03   10000.    
    28 'Prefactor '    8.0390       1.0000         .10000E-03   10000.    
    29 'norm      '    .47356E-01   1.0000         .10000E-03   10000.    
    30 'Normalizat'    .89442       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .98138       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=   3067.887     FROM MIGRAD    STATUS=CONVERGED    820 CALLS     4154 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.8635        .91832E-08** at limit **
   2  Prefactor     8.4117        8.5999        .19507E-07   -.45994E-05
   3  Prefactor     .10000E-03    12.435        .11580E-06** at limit **
   4  Prefactor     13.885        19.136        .62888E-06   -.87216E-05
   5  norm          .10001E-03    89.976        .40087E-05** at limit **
   6  Prefactor     .10000E-03    22.930        .50988E-06** at limit **
   7  Prefactor     .10000E-03    6.2379        .55016E-07** at limit **
   8  norm          .10000E-03    9.9073        .15109E-07** at limit **
   9  Prefactor     94.834        101.32       -.10272E-05    .12864E-05
  10  Prefactor     6.5000        12.617        .39714E-05   -.59856E-04
  11  Prefactor     .10000E-03    53.131       -.85327E-06** at limit **
  12  Prefactor     .10000E-03    4.8993       -.18126E-07** at limit **
  13  Prefactor     7.0134        6.3782       -.33514E-07    .62005E-05
  14  norm          .10000E-03    17.747       -.28552E-06** at limit **
  15  norm          .33418        .22462        .48036E-08   -.17967E-03
  16  norm          17.067        18.985       -.78352E-07    .17529E-05
  17  Prefactor     3.0230        48.983        .13593E-05   -.11788E-05
  18  Prefactor     8.0373        8.5475        .15245E-05   -.53949E-04
  19  Prefactor     44.310        32.659       -.50009E-06    .15787E-04
  20  norm          .10000E-03    42.923       -.78884E-06** at limit **
  21  Prefactor     .10000E-03    1.0238        .16716E-08** at limit **
  22  Prefactor     1.2454        1.9329        .68243E-07    .70266E-05
  23  Prefactor     .10000E-03    3.2344       -.13769E-06** at limit **
  24  Prefactor     .10000E-03    5.9687       -.17798E-06** at limit **
  25  Prefactor     .10001E-03    155.97       -.69095E-05** at limit **
  26  norm          6.4997        2.5416       -.23666E-08    .28082E-04
  27  norm          1.1329        1.6018       -.43295E-06   -.25520E-03
  28  Prefactor     8.0382        15.451        .34958E-05    .88487E-06
  29  norm          .47652E-01    .80328       -.18024E-06    .47242E-04
  30  Normalizat    .89463        .29306       -.39342E-06    .35181E-05
  31  Prefactor     .98125        .26942       -.16373E-05    .44085E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 8.41168
  Prefactor  = 0.0001
  Prefactor  = 13.8854
  norm       = 0.000100011
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 94.8344
  Prefactor  = 6.49996
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.01341
  norm       = 0.0001
  norm       = 0.334184
  norm       = 17.0672
  Prefactor  = 3.02299
  Prefactor  = 8.03727
  Prefactor  = 44.3105
  norm       = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 1.24543
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100014
  norm       = 6.49972
  norm       = 1.13286
  Prefactor  = 8.03824
  norm       = 0.0476522
  Normalizat = 0.894631
  Prefactor  = 0.98125
 **********
 **   18 **HESSE 
 **********

 FCN=   3067.887     FROM HESSE     STATUS=OK           626 CALLS     4780 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.8665        .73829E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.4117        8.5985        .13822E-03   -1.5128    
   3  Prefactor     .10000E-03    12.443        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.885        19.173        .10748E-03   -1.4963    
   5  norm          .10001E-03    92.712        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    23.021        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.2433        .13512E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    9.9558        .17028E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     94.834        101.33        .41272E-04   -1.3757    
  10  Prefactor     6.5000        12.574        .78705E-03   -1.5198    
  11  Prefactor     .10000E-03    53.423        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.9052        .11974E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.0134        6.3349        .12198E-03   -1.5178    
  14  norm          .10000E-03    17.766        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .33418        .21881        .17363E-04   -1.5592    
  16  norm          17.067        18.983        .96952E-04   -1.4881    
  17  Prefactor     3.0230        48.405        .23347E-03   -1.5360    
  18  Prefactor     8.0373        8.5313        .70710E-03   -1.5141    
  19  Prefactor     44.310        32.732        .60226E-04   -1.4376    
  20  norm          .10000E-03    43.130        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    1.2696        .96896E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.2454        1.7362        .76856E-04   -1.5485    
  23  Prefactor     .10000E-03    3.2449        .97275E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    6.1788        .26335E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10001E-03    161.80        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          6.4997        2.5368        .53120E-04   -1.5198    
  27  norm          1.1329        1.5628        .78515E-04   -1.5495    
  28  Prefactor     8.0382        15.435        .70705E-03   -1.5141    
  29  norm          .47652E-01    4.0245        .92921E-03   -1.5664    
  30  Normalizat    .89463        .34500        .28243E-03   -.96649    
  31  Prefactor     .98125        .31827        .25640E-03   -.93357    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.53872e-10
Minuit parameter uncertainties:
  1  4.90965e-08
  2  8.59978
  3  2.71891e-05
  4  19.1815
  5  0.0020541
  6  0.000188218
  7  1.10105e-05
  8  1.76516e-06
  9  101.514
  10  12.5788
  11  0.000256031
  12  2.497e-07
  13  6.33549
  14  0.000103539
  15  0.218814
  16  18.9896
  17  24.2159
  18  8.53259
  19  32.7454
  20  0.000519515
  21  4.13078e-06
  22  1.73628
  23  5.94107e-06
  24  1.83717e-05
  25  0.00299662
  26  2.53684
  27  1.56291
  28  15.4425
  29  0.874989
  30  0.345858
  31  0.318884
Done.

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

Extracting fit parameters...

4FGL J1615.6+4712
   Spectrum: PowerLaw
300    Prefactor:  6.500e+00  1.258e+01  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.812e-01  3.189e-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:  8.946e-01  3.459e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.35
Ra Dec: 243.922 47.203
Photon Flux Upper Limit: 1.74e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.33e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/204922/likelihoodResults_418953601_419212801_4FGL_J1615.6+4712_daily_bin693.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) = 3067.86691677
delta logL = 0.0196372059199

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3067.85483531
delta logL = 0.031718673496

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3067.855     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      237 TOTAL
                     EDM=   .92E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.0031        17.631        .13360E-03   -.11861E-02
   2  Index         1.8931        1.0765        .10717E-01   -.32229E-03
   3  Normalizat    .90477        .32649        .28099E-03    .28063E-03
   4  Prefactor     .97311        .31085        .25731E-03    .46792E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.00308
  Index      = 1.89315
  Normalizat = 0.904769
  Prefactor  = 0.973108
 **********
 **   18 **HESSE 
 **********

 FCN=   3067.855     FROM HESSE     STATUS=OK            23 CALLS      260 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.0031        17.212        .26720E-04   -1.5108    
   2  Index         1.8931        1.0515        .42869E-03   -.67049    
   3  Normalizat    .90477        .32653        .56198E-04   -.96293    
   4  Prefactor     .97311        .31095        .51461E-04   -.93631    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.63166e-09
Minuit parameter uncertainties:
  1  17.2217
  2  1.06456
  3  0.327244
  4  0.311519
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/204922': 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) = 3067.85483528
delta logL = 0.0317186994967

Extracting fit parameters...

4FGL J1615.6+4712
   Spectrum: PowerLaw
300    Prefactor:  9.003e+00  1.722e+01  1.000e-04  1.000e+04 ( 1.000e-13)
301        Index:  1.893e+00  1.065e+00  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.731e-01  3.115e-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.048e-01  3.272e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.35
Ra Dec: 243.922 47.203

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/204922/cmap_HighResolution_418953601_419212801_4FGL_J1615.6+4712_daily_bin693.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.33e-02', job_status='DONE', photon_flux_upper_limit='1.74e-07', time_completed='2021-09-13 18:46:55.893097', job_id='204922', GAL2='0.97', fit_tolerance='1e-08', EG2='0.90', EG='0.89', time_epoch_completed='1631584015.89', return_code2='0', ts='0.35', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='3.17e-02', ts2='0.41', photon_index_error='0.00', photon_index='2.19' WHERE bin_id='693' AND source_name='4FGL J1615.6+4712' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 13 18:46:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 204922: <4FGL_J1615.6+4712_daily_bin693> in cluster <slac> Done

Job <4FGL_J1615.6+4712_daily_bin693> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Mon Sep 13 18:35:20 2021
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 13 18:35:41 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep 13 18:35:41 2021
Terminated at Mon Sep 13 18:46:56 2021
Results reported at Mon Sep 13 18:46:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1615.6+4712_daily_bin693 243.922 47.2028 418953601 419212801 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 :                                   659.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             353.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   675 sec.
    Turnaround time :                            696 sec.

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

