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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin663
RA = 138.986, Dec = 29.553
tmin = 411177601, tmax = 411436801
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='106716', job_status='RUN', time_executed='2021-08-31 05:46:27.749808', time_epoch_executed='1630413987.75' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='663'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/106716

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/106716/ft1_4FGL_J0915.9+2933_daily_bin663.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/106716/ft2_4FGL_J0915.9+2933_daily_bin663.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/106716/ft1_4FGL_J0915.9+2933_daily_bin663.fits outfile=/scratch/kocevski/106716/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin663.fits ra=138.986 dec=29.553 rad=12.0 tmin=411177601.0 tmax=411436801.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 10.88
user 6.29
sys 4.42

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/106716/ft2_4FGL_J0915.9+2933_daily_bin663.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/106716/ft2_4FGL_J0915.9+2933_daily_bin663.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/106716/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin663.fits evtable="EVENTS" outfile="/scratch/kocevski/106716/ft1_filtered_4FGL_J0915.9+2933_daily_bin663.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 5.29
user 0.32
sys 4.35

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/106716/ft1_filtered_4FGL_J0915.9+2933_daily_bin663.fits" evtable="EVENTS" scfile=/scratch/kocevski/106716/ft2_4FGL_J0915.9+2933_daily_bin663.fits sctable="SC_DATA" outfile=/scratch/kocevski/106716/ltcube_411177601_411436801_4FGL_J0915.9+2933_daily_bin663.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/106716/ft2_4FGL_J0915.9+2933_daily_bin663.fits
.....................!
real 17.83
user 12.12
sys 5.39

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/106716/ft1_filtered_4FGL_J0915.9+2933_daily_bin663.fits evtable="EVENTS" scfile=/scratch/kocevski/106716/ft2_4FGL_J0915.9+2933_daily_bin663.fits sctable="SC_DATA" expcube=/scratch/kocevski/106716/ltcube_411177601_411436801_4FGL_J0915.9+2933_daily_bin663.fits outfile=/scratch/kocevski/106716/expmap_411177601_411436801_4FGL_J0915.9+2933_daily_bin663.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/106716/ltcube_411177601_411436801_4FGL_J0915.9+2933_daily_bin663.fits
.....................!
real 199.61
user 187.34
sys 10.70

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

Setting source of interest to:
4FGL J0915.9+2933 @ 138.986 29.553

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/106716/ft1_filtered_4FGL_J0915.9+2933_daily_bin663.fits scfile=/scratch/kocevski/106716/ft2_4FGL_J0915.9+2933_daily_bin663.fits outfile=/scratch/kocevski/106716/cmap_411177601_411436801_4FGL_J0915.9+2933_daily_bin663.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=138.986 yref=29.553 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 4.92
user 0.37
sys 4.29

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/106716/ft1_filtered_4FGL_J0915.9+2933_daily_bin663.fits scfile=/scratch/kocevski/106716/ft2_4FGL_J0915.9+2933_daily_bin663.fits outfile=/scratch/kocevski/106716/cmap_HighResolution_411177601_411436801_4FGL_J0915.9+2933_daily_bin663.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=138.986 yref=29.553 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 4.92
user 0.37
sys 4.24

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/106716/ft1_filtered_4FGL_J0915.9+2933_daily_bin663.fits evtable="EVENTS" scfile=/scratch/kocevski/106716/ft2_4FGL_J0915.9+2933_daily_bin663.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/106716/Model_4FGL_J0915.9+2933_daily_bin663.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/106716/ft1_filtered_4FGL_J0915.9+2933_daily_bin663.fits.....................!
real 46.72
user 37.28
sys 6.66

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/106716/ft1_filtered_4FGL_J0915.9+2933_daily_bin663.fits', '/scratch/kocevski/106716/ft2_4FGL_J0915.9+2933_daily_bin663.fits', expMap='/scratch/kocevski/106716/expmap_411177601_411436801_4FGL_J0915.9+2933_daily_bin663.fits', expCube='/scratch/kocevski/106716/ltcube_411177601_411436801_4FGL_J0915.9+2933_daily_bin663.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/106716/Model_4FGL_J0915.9+2933_daily_bin663.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0915.9+2933'

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.063e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.750e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
272         beta:  7.920e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  1.366e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/106716/ft1_filtered_4FGL_J0915.9+2933_daily_bin663.fits
Spacecraft file(s): /scratch/kocevski/106716/ft2_4FGL_J0915.9+2933_daily_bin663.fits
Exposure map: /scratch/kocevski/106716/expmap_411177601_411436801_4FGL_J0915.9+2933_daily_bin663.fits
Exposure cube: /scratch/kocevski/106716/ltcube_411177601_411436801_4FGL_J0915.9+2933_daily_bin663.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/106716/Model_4FGL_J0915.9+2933_daily_bin663.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) = 3880.82504201

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.9720       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.651       1.0000         .10000E-03   10000.    
     3 'norm      '    .55938       1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.090       1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.687       1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.1119       1.0000         .10000E-03   10000.    
    10 'norm      '    2.2853       1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.356       1.0000         .10000E-03   10000.    
    12 'Prefactor '    51.332       1.0000         .10000E-03   10000.    
    13 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .16309E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .18398E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.233       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .88126       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1402       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+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=   3880.726     FROM MIGRAD    STATUS=CONVERGED    866 CALLS     2820 TOTAL
                     EDM=   .98E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9719        1.5364        .53445E-04   -.92320E-04
   2  Prefactor     10.649        12.264        .12277E-03   -.41903E-04
   3  norm          .55945        .67778        .56805E-03    .89626E-03
   4  Prefactor     13.089        13.463        .11071E-03   -.46671E-04
   5  Prefactor     12.694        20.147        .11246E-03   -.54843E-04
   6  norm          .10000E-03    56.323        .18142E-02** at limit **
   7  Prefactor     .10000E-03    2.0426        .86702E-03** at limit **
   8  Prefactor     .10000E-03    18.775        .18142E-02** at limit **
   9  Prefactor     2.1116        4.2040        .17115E-03   -.12797E-03
  10  norm          2.2856        2.2480        .89416E-04   -.25028E-03
  11  Prefactor     15.355        25.033        .10221E-03   -.22024E-04
  12  Prefactor     51.328        46.003        .55977E-04   -.70678E-05
  13  norm          .10000E-03    5.9542        .14811E-02** at limit **
  14  Prefactor     .10000E-03    2.1454        .88817E-03** at limit **
  15  Prefactor     .10000E-03    4.2265        .24500E-03** at limit **
  16  Prefactor     .10000E-03    159.65        .36285E-03** at limit **
  17  Prefactor     .10007E-03    1000.2        .36285E-03** at limit **
  18  Prefactor     .10000E-03    10.148        .50174E-01** at limit **
  19  Prefactor     12.232        11.144        .11453E-03   -.33600E-04
  20  Prefactor     .10000E-03    2.0980        .87301E-03** at limit **
  21  Normalizat    .88136        .25012        .24767E-03   -.27834E-03
  22  Prefactor     1.1402        .24515        .22747E-03    .64648E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.97193
  Prefactor  = 10.6493
  norm       = 0.559447
  Prefactor  = 13.0892
  Prefactor  = 12.6942
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.11161
  norm       = 2.28562
  Prefactor  = 15.3548
  Prefactor  = 51.3281
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100074
  Prefactor  = 0.000100002
  Prefactor  = 12.232
  Prefactor  = 0.0001
  Normalizat = 0.881363
  Prefactor  = 1.14021
 **********
 **   18 **HESSE 
 **********

 FCN=   3880.726     FROM HESSE     STATUS=OK           332 CALLS     3152 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9719        1.5364        .21378E-05   -1.5363    
   2  Prefactor     10.649        12.263        .49107E-05   -1.5055    
   3  norm          .55945        .67747        .22722E-04   -1.5558    
   4  Prefactor     13.089        13.460        .44285E-05   -1.4984    
   5  Prefactor     12.694        20.146        .44983E-05   -1.4995    
   6  norm          .10000E-03    56.334        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.0426        .17340E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    18.775        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.1116        4.2035        .68458E-05   -1.5417    
  10  norm          2.2856        2.2480        .35766E-05   -1.5406    
  11  Prefactor     15.355        25.031        .40883E-05   -1.4924    
  12  Prefactor     51.328        46.003        .11195E-04   -1.4274    
  13  norm          .10000E-03    5.9546        .29623E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.1455        .17763E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.2266        .49001E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    159.66        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10007E-03    1000.3        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    9.5119        .52336E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     12.232        11.144        .45813E-05   -1.5008    
  20  Prefactor     .10000E-03    2.0983        .17460E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .88136        .25030        .49534E-04   -.97118    
  22  Prefactor     1.1402        .24536        .45494E-04   -.88191    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.7241e-10
Minuit parameter uncertainties:
  1  1.53637
  2  12.2657
  3  0.677481
  4  13.4629
  5  20.1568
  6  2.81609e-05
  7  1.72959e-06
  8  1.12001e-05
  9  4.20407
  10  2.24806
  11  25.0477
  12  46.0348
  13  7.77723e-06
  14  3.59762e-06
  15  3.0664e-05
  16  0.00102581
  17  0.0175118
  18  0.000290863
  19  11.1461
  20  7.4267e-06
  21  0.250633
  22  0.245603
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  2.286e+00  2.248e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.750e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
272         beta:  7.920e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  1.366e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.140e+00  2.456e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  8.814e-01  2.506e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.62
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 2.31e-08 +/- 2.28e-08
Energy Flux (Fixed Index): 2.66e-05 +/- 2.62e-05

TS (Fixed Index): 2.62
Ra Dec: 138.986 29.553
Photon Flux Upper Limit: 8.43e-08 ph cm-2 s-1
Energy Flux Upper Limit: 9.68e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/106716/likelihoodResults_411177601_411436801_4FGL_J0915.9+2933_daily_bin663.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) = 3879.43895042
delta logL = 1.28704140078

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3879.43747785
delta logL = 1.28851397365

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2092       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8900       1.0000          .0000       5.0000    
     3 'Normalizat'    .80542       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1790       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3879.437     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      231 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2092        12.914        .88240E-02    .14582E-02
   2  alpha         2.8900        3.8424        .17845        .63202E-04
   3  Normalizat    .80541        .74477E-01    .43681E-01    .41847E-04
   4  Prefactor     1.1790        .71850E-01    .50641E-01   -.41605E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.20916
  alpha      = 2.88998
  Normalizat = 0.805406
  Prefactor  = 1.17905
 **********
 **   18 **HESSE 
 **********

 FCN=   3879.437     FROM HESSE     STATUS=OK            31 CALLS      262 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2092        1.8424        .39400E-04   -1.5488    
   2  alpha         2.8900        .83602        .72157E-02    .15663    
   3  Normalizat    .80541        .24146        .25730E-03   -.99868    
   4  Prefactor     1.1790        .24551        .22388E-03   -.86979    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.63936e-10
Minuit parameter uncertainties:
  1  1.84252
  2  0.852876
  3  0.241779
  4  0.245749
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/106716': 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) = 3879.43747784
delta logL = 1.28851397627

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.209e+00  1.843e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  2.890e+00  8.529e-01  0.000e+00  5.000e+00 ( 1.000e+00)
272         beta:  7.920e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  1.366e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.179e+00  2.457e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  8.054e-01  2.418e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.25
Ra Dec: 138.986 29.553
Photon Index (Free Index): 2.89 +/- 0.85
Photon Flux (Free Index): 8.57e-08 +/- 5.81e-08
Energy Flux (Free Index): 2.01e-05 +/- 1.28e-05

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/106716/cmap_HighResolution_411177601_411436801_4FGL_J0915.9+2933_daily_bin663.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.68e-05', comment='SUCCESS', photon_flux='2.31e-08', energy_flux2='2.01e-05', photon_flux_error='2.28e-08', dlogl='1.29e+00', energy_flux='2.66e-05', photon_flux2='8.57e-08', job_status='DONE', time_completed='2021-08-31 05:56:54.374991', photon_index_error2='0.85', photon_index2='2.89', ts='2.62', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='8.43e-08', energy_flux_error2='1.28e-05', EG='0.88', time_epoch_completed='1630414614.38', return_code='0', job_id='106716', GAL2='1.18', EG2='0.81', return_code2='0', energy_flux_error='2.62e-05', photon_flux_error2='5.81e-08', ts2='5.25', photon_index='1.75' WHERE bin_id='663' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:56:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0102>
Subject: Job 106716: <4FGL_J0915.9+2933_daily_bin663> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin663> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 05:41:01 2021
Job was executed on host(s) <bullet0102>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:41:02 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 05:41:02 2021
Terminated at Tue Aug 31 05:56:55 2021
Results reported at Tue Aug 31 05:56:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin663 138.986 29.553 411177601 411436801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0915.9+2933 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   675.53 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             221.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   953 sec.
    Turnaround time :                            954 sec.

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

