/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 = 7473
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1215.0+1656_daily_bin83
RA = 183.774, Dec = 16.9372
tmin = 260841601, tmax = 261100801
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='433834', job_status='RUN', time_executed='2021-09-05 05:11:16.905211', time_epoch_executed='1630843876.91' WHERE source_name='4FGL J1215.0+1656' and cadence='daily' and bin_id='83'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/433834

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/433834/ft1_4FGL_J1215.0+1656_daily_bin83.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/433834/ft2_4FGL_J1215.0+1656_daily_bin83.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/433834/ft1_4FGL_J1215.0+1656_daily_bin83.fits outfile=/scratch/kocevski/433834/ft1_filteredMKT_4FGL_J1215.0+1656_daily_bin83.fits ra=183.774 dec=16.9372 rad=12.0 tmin=260841601.0 tmax=261100801.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 1.60
user 1.40
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/433834/ft2_4FGL_J1215.0+1656_daily_bin83.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/433834/ft2_4FGL_J1215.0+1656_daily_bin83.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/433834/ft1_filteredMKT_4FGL_J1215.0+1656_daily_bin83.fits evtable="EVENTS" outfile="/scratch/kocevski/433834/ft1_filtered_4FGL_J1215.0+1656_daily_bin83.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.52
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/433834/ft1_filtered_4FGL_J1215.0+1656_daily_bin83.fits" evtable="EVENTS" scfile=/scratch/kocevski/433834/ft2_4FGL_J1215.0+1656_daily_bin83.fits sctable="SC_DATA" outfile=/scratch/kocevski/433834/ltcube_260841601_261100801_4FGL_J1215.0+1656_daily_bin83.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/433834/ft2_4FGL_J1215.0+1656_daily_bin83.fits
.....................!
real 12.58
user 12.27
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/433834/ft1_filtered_4FGL_J1215.0+1656_daily_bin83.fits evtable="EVENTS" scfile=/scratch/kocevski/433834/ft2_4FGL_J1215.0+1656_daily_bin83.fits sctable="SC_DATA" expcube=/scratch/kocevski/433834/ltcube_260841601_261100801_4FGL_J1215.0+1656_daily_bin83.fits outfile=/scratch/kocevski/433834/expmap_260841601_261100801_4FGL_J1215.0+1656_daily_bin83.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/433834/ltcube_260841601_261100801_4FGL_J1215.0+1656_daily_bin83.fits
.....................!
real 190.52
user 185.66
sys 4.24

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

Setting source of interest to:
4FGL J1215.0+1656 @ 183.774 16.9372

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/433834/ft1_filtered_4FGL_J1215.0+1656_daily_bin83.fits scfile=/scratch/kocevski/433834/ft2_4FGL_J1215.0+1656_daily_bin83.fits outfile=/scratch/kocevski/433834/cmap_260841601_261100801_4FGL_J1215.0+1656_daily_bin83.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=183.774 yref=16.9372 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.56
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/433834/ft1_filtered_4FGL_J1215.0+1656_daily_bin83.fits scfile=/scratch/kocevski/433834/ft2_4FGL_J1215.0+1656_daily_bin83.fits outfile=/scratch/kocevski/433834/cmap_HighResolution_260841601_261100801_4FGL_J1215.0+1656_daily_bin83.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=183.774 yref=16.9372 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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/433834/ft1_filtered_4FGL_J1215.0+1656_daily_bin83.fits evtable="EVENTS" scfile=/scratch/kocevski/433834/ft2_4FGL_J1215.0+1656_daily_bin83.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/433834/Model_4FGL_J1215.0+1656_daily_bin83.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/433834/ft1_filtered_4FGL_J1215.0+1656_daily_bin83.fits.....................!
real 72.86
user 71.34
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/433834/ft1_filtered_4FGL_J1215.0+1656_daily_bin83.fits', '/scratch/kocevski/433834/ft2_4FGL_J1215.0+1656_daily_bin83.fits', expMap='/scratch/kocevski/433834/expmap_260841601_261100801_4FGL_J1215.0+1656_daily_bin83.fits', expCube='/scratch/kocevski/433834/ltcube_260841601_261100801_4FGL_J1215.0+1656_daily_bin83.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/433834/Model_4FGL_J1215.0+1656_daily_bin83.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1215.0+1656'

4FGL J1215.0+1656
   Spectrum: PowerLaw
262    Prefactor:  1.342e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
263        Index:  2.410e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  8.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/433834/ft1_filtered_4FGL_J1215.0+1656_daily_bin83.fits
Spacecraft file(s): /scratch/kocevski/433834/ft2_4FGL_J1215.0+1656_daily_bin83.fits
Exposure map: /scratch/kocevski/433834/expmap_260841601_261100801_4FGL_J1215.0+1656_daily_bin83.fits
Exposure cube: /scratch/kocevski/433834/ltcube_260841601_261100801_4FGL_J1215.0+1656_daily_bin83.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/433834/Model_4FGL_J1215.0+1656_daily_bin83.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) = 8623.08202231

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.791       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.2269       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.0858       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.561       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    52.225       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10823E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.4829       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.5258       1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.481       1.0000         .10000E-03   10000.    
    14 'Prefactor '    27.756       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10993E-02   1.0000         .10000E-03   10000.    
    16 'norm      '    .21520       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    19.632       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.9337       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.1979       1.0000         .10000E-03   10000.    
    23 'Prefactor '    10.248       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .84434       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.1337       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8623.079     FROM MIGRAD    STATUS=CONVERGED    614 CALLS     3100 TOTAL
                     EDM=   .87E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.792        16.901       -.33097E-07    .14896E-05
   2  Prefactor     4.2273        7.0449        .13004E-05    .27718E-03
   3  Prefactor     .10000E-03    1.7019        .18099E-07** at limit **
   4  Prefactor     1.0858        1.2000        .86794E-07    .28887E-03
   5  Prefactor     .10000E-03    31.306       -.34492E-05** at limit **
   6  Prefactor     14.561        8.5895        .15117E-06    .59216E-04
   7  Prefactor     .10000E-03    7.5792        .62267E-06** at limit **
   8  Prefactor     .10000E-03    1.1910        .39250E-07** at limit **
   9  Prefactor     52.227        61.878       -.17791E-05   -.59416E-05
  10  Prefactor     .10000E-03    .96583       -.59990E-07** at limit **
  11  Prefactor     2.4834        2.8597        .67233E-09    .28458E-05
  12  Prefactor     5.5220        17.831        .10883E-05   -.26738E-06
  13  Prefactor     10.479        2.8005        .92843E-07   -.19125E-04
  14  Prefactor     27.756        25.867        .13369E-06   -.10965E-04
  15  Prefactor     .10000E-03    11.191        .48606E-05** at limit **
  16  norm          .21505        .22496        .13824E-06    .73676E-03
  17  Prefactor     .10000E-03    41.368        .36546E-05** at limit **
  18  norm          .10000E-03    2.9272        .26918E-06** at limit **
  19  Prefactor     19.633        13.294       -.92069E-06   -.10314E-03
  20  Prefactor     5.9300        47.277        .64205E-05    .47957E-05
  21  Prefactor     .10000E-03    12.111        .22035E-05** at limit **
  22  Prefactor     4.1980        4.0059        .18059E-06   -.41893E-04
  23  Prefactor     10.249        10.274       -.24803E-06   -.51643E-04
  24  Prefactor     .10000E-03    3.7893       -.17697E-07** at limit **
  25  Normalizat    .84435        .16274       -.23158E-06   -.37690E-04
  26  Prefactor     1.1336        .14933        .10971E-06   -.73323E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.7921
  Prefactor  = 4.22726
  Prefactor  = 0.0001
  Prefactor  = 1.08585
  Prefactor  = 0.0001
  Prefactor  = 14.5609
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 52.2272
  Prefactor  = 0.0001
  Prefactor  = 2.48343
  Prefactor  = 5.522
  Prefactor  = 10.4794
  Prefactor  = 27.7557
  Prefactor  = 0.000100001
  norm       = 0.215054
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 19.6327
  Prefactor  = 5.93002
  Prefactor  = 0.0001
  Prefactor  = 4.19801
  Prefactor  = 10.2489
  Prefactor  = 0.0001
  Normalizat = 0.844346
  Prefactor  = 1.13364
 **********
 **   18 **HESSE 
 **********

 FCN=   8623.079     FROM HESSE     STATUS=OK           466 CALLS     3566 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.792        16.899        .11666E-03   -1.5021    
   2  Prefactor     4.2273        8.3489        .97999E-03   -1.5297    
   3  Prefactor     .10000E-03    1.7050        .11830E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.0858        1.2092        .23030E-03   -1.5500    
   5  Prefactor     .10000E-03    31.253        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.561        8.6188        .52483E-03   -1.4945    
   7  Prefactor     .10000E-03    7.6162        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.2060        .98887E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     52.227        61.864        .55498E-04   -1.4261    
  10  Prefactor     .10000E-03    5.5042        .16600E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.4834        2.7157        .15051E-03   -1.5393    
  12  Prefactor     5.5220        17.823        .17092E-03   -1.5238    
  13  Prefactor     10.479        2.7935        .77552E-04   -1.5060    
  14  Prefactor     27.756        25.856        .76042E-04   -1.4654    
  15  Prefactor     .10000E-03    12.968        .33036E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .21505        .21321        .40259E-03   -1.5615    
  17  Prefactor     .10000E-03    41.286        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    3.0383        .30906E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     19.633        13.200        .90396E-04   -1.4821    
  20  Prefactor     5.9300        46.793        .16485E-03   -1.5221    
  21  Prefactor     .10000E-03    12.089        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     4.1980        4.0098        .17630E-03   -1.5298    
  23  Prefactor     10.249        10.279        .12517E-03   -1.5068    
  24  Prefactor     .10000E-03    3.7969        .17650E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .84435        .18930        .27486E-03   -.98444    
  26  Prefactor     1.1336        .17589        .23834E-03   -.88399    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.05787e-10
Minuit parameter uncertainties:
  1  16.9062
  2  8.35122
  3  1.26458e-07
  4  1.20922
  5  3.23756e-05
  6  8.61954
  7  1.38576e-05
  8  1.28206e-06
  9  61.9404
  10  5.61151e-05
  11  2.71588
  12  17.8399
  13  2.79354
  14  25.866
  15  0.000228304
  16  0.213209
  17  4.39133e-05
  18  1.06396e-05
  19  13.2024
  20  33.3514
  21  1.20233e-05
  22  4.01007
  23  10.2804
  24  1.85138e-06
  25  0.189449
  26  0.175983
Done.

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

Extracting fit parameters...

4FGL J1215.0+1656
   Spectrum: PowerLaw
262    Prefactor:  2.483e+00  2.716e+00  1.000e-04  1.000e+04 ( 1.000e-12)
263        Index:  2.410e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
264        Scale:  8.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  1.134e+00  1.760e-01  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  8.443e-01  1.894e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.10
Ra Dec: 183.774 16.937
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 3.10e-08 +/- 3.38e-08
Energy Flux (Fixed Index): 1.00e-05 +/- 1.09e-05

TS (Fixed Index): 1.10
Ra Dec: 183.774 16.937
Photon Flux Upper Limit: 1.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.86e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/433834/likelihoodResults_260841601_261100801_4FGL_J1215.0+1656_daily_bin83.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) = 8622.86740155
delta logL = 0.211707968992

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8622.85994857
delta logL = 0.219160950815

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8622.860     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      275 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7149        29.914        .80221E-02    .10866E-02
   2  Index         2.9709        3.5915        .14695        .16164E-03
   3  Normalizat    .81754        .44494E-01    .63113E-01    .23642E-04
   4  Prefactor     1.1501        .42214E-01    .53571E-01   -.48920E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.71487
  Index      = 2.97085
  Normalizat = 0.817545
  Prefactor  = 1.15007
 **********
 **   18 **HESSE 
 **********

 FCN=   8622.860     FROM HESSE     STATUS=OK            33 CALLS      308 TOTAL
                     EDM=   .49E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7149        3.2435        .10127E-03   -1.5446    
   2  Index         2.9709        1.2035        .83557E-02   -.41789    
   3  Normalizat    .81754        .18383        .27917E-03   -.99421    
   4  Prefactor     1.1501        .17816        .23686E-03   -.87882    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.94629e-11
Minuit parameter uncertainties:
  1  3.24382
  2  1.21789
  3  0.183974
  4  0.178253
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/433834': 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) = 8622.85994836
delta logL = 0.219161157995

Extracting fit parameters...

4FGL J1215.0+1656
   Spectrum: PowerLaw
262    Prefactor:  1.715e+00  3.244e+00  1.000e-04  1.000e+04 ( 1.000e-12)
263        Index:  2.971e+00  1.218e+00  0.000e+00  1.000e+01 (-1.000e+00)
264        Scale:  8.538e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
584    Prefactor:  1.150e+00  1.783e-01  0.000e+00  1.000e+01 ( 1.000e+00)
585        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
586        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
583   Normalization:  8.175e-01  1.840e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.57
Ra Dec: 183.774 16.937
Photon Index (Free Index): 2.97 +/- 1.22
Photon Flux (Free Index): 5.10e-08 +/- 4.86e-08
Energy Flux (Free Index): 1.03e-05 +/- 9.76e-06

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/433834/cmap_HighResolution_260841601_261100801_4FGL_J1215.0+1656_daily_bin83.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.86e-03', comment='SUCCESS', photon_flux='3.10e-08', energy_flux2='1.03e-05', photon_flux_error='3.38e-08', dlogl='2.19e-01', energy_flux='1.00e-05', photon_flux2='5.10e-08', job_status='DONE', time_completed='2021-09-05 05:26:02.086546', photon_index_error2='1.22', photon_index2='2.97', ts='1.10', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='1.02e-07', energy_flux_error2='9.76e-06', EG='0.84', time_epoch_completed='1630844762.09', return_code='0', job_id='433834', GAL2='1.15', EG2='0.82', return_code2='0', energy_flux_error='1.09e-05', photon_flux_error2='4.86e-08', ts2='1.57', photon_index='2.41' WHERE bin_id='83' AND source_name='4FGL J1215.0+1656' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 05:26:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0122>
Subject: Job 433834: <4FGL_J1215.0+1656_daily_bin83> in cluster <slac> Done

Job <4FGL_J1215.0+1656_daily_bin83> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep  5 05:11:04 2021
Job was executed on host(s) <bullet0122>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 05:11:05 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep  5 05:11:05 2021
Terminated at Sun Sep  5 05:26:03 2021
Results reported at Sun Sep  5 05:26:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1215.0+1656_daily_bin83 183.774 16.9372 260841601 261100801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1215.0+1656 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   881.21 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             370.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   897 sec.
    Turnaround time :                            899 sec.

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

