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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin1461
RA = 138.986, Dec = 29.553
tmin = 618019201, tmax = 618278401
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='110533', job_status='RUN', time_executed='2021-08-31 05:52:11.049759', time_epoch_executed='1630414331.05' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='1461'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/110533

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/110533/ft1_4FGL_J0915.9+2933_daily_bin1461.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/110533/ft2_4FGL_J0915.9+2933_daily_bin1461.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/110533/ft1_4FGL_J0915.9+2933_daily_bin1461.fits outfile=/scratch/kocevski/110533/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin1461.fits ra=138.986 dec=29.553 rad=12.0 tmin=618019201.0 tmax=618278401.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.42
user 4.88
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/110533/ft1_filtered_4FGL_J0915.9+2933_daily_bin1461.fits" evtable="EVENTS" scfile=/scratch/kocevski/110533/ft2_4FGL_J0915.9+2933_daily_bin1461.fits sctable="SC_DATA" outfile=/scratch/kocevski/110533/ltcube_618019201_618278401_4FGL_J0915.9+2933_daily_bin1461.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/110533/ft2_4FGL_J0915.9+2933_daily_bin1461.fits
.....................!
real 11.54
user 11.16
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/110533/ft1_filtered_4FGL_J0915.9+2933_daily_bin1461.fits evtable="EVENTS" scfile=/scratch/kocevski/110533/ft2_4FGL_J0915.9+2933_daily_bin1461.fits sctable="SC_DATA" expcube=/scratch/kocevski/110533/ltcube_618019201_618278401_4FGL_J0915.9+2933_daily_bin1461.fits outfile=/scratch/kocevski/110533/expmap_618019201_618278401_4FGL_J0915.9+2933_daily_bin1461.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/110533/ltcube_618019201_618278401_4FGL_J0915.9+2933_daily_bin1461.fits
.....................!
real 191.84
user 185.83
sys 4.90

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/110533/ft1_filtered_4FGL_J0915.9+2933_daily_bin1461.fits scfile=/scratch/kocevski/110533/ft2_4FGL_J0915.9+2933_daily_bin1461.fits outfile=/scratch/kocevski/110533/cmap_618019201_618278401_4FGL_J0915.9+2933_daily_bin1461.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 0.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/110533/ft1_filtered_4FGL_J0915.9+2933_daily_bin1461.fits scfile=/scratch/kocevski/110533/ft2_4FGL_J0915.9+2933_daily_bin1461.fits outfile=/scratch/kocevski/110533/cmap_HighResolution_618019201_618278401_4FGL_J0915.9+2933_daily_bin1461.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 0.59
user 0.39
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/110533/ft1_filtered_4FGL_J0915.9+2933_daily_bin1461.fits', '/scratch/kocevski/110533/ft2_4FGL_J0915.9+2933_daily_bin1461.fits', expMap='/scratch/kocevski/110533/expmap_618019201_618278401_4FGL_J0915.9+2933_daily_bin1461.fits', expCube='/scratch/kocevski/110533/ltcube_618019201_618278401_4FGL_J0915.9+2933_daily_bin1461.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/110533/Model_4FGL_J0915.9+2933_daily_bin1461.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/110533/ft1_filtered_4FGL_J0915.9+2933_daily_bin1461.fits
Spacecraft file(s): /scratch/kocevski/110533/ft2_4FGL_J0915.9+2933_daily_bin1461.fits
Exposure map: /scratch/kocevski/110533/expmap_618019201_618278401_4FGL_J0915.9+2933_daily_bin1461.fits
Exposure cube: /scratch/kocevski/110533/ltcube_618019201_618278401_4FGL_J0915.9+2933_daily_bin1461.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/110533/Model_4FGL_J0915.9+2933_daily_bin1461.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) = 5684.97736023

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.5661       1.0000         .10000E-03   10000.    
     4 'Prefactor '    28.937       1.0000         .10000E-03   10000.    
     5 'Prefactor '    50.445       1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.2541       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.9980       1.0000         .10000E-03   10000.    
    10 'norm      '    3.0850       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.0435       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    52.947       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.7664       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .68113       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.4693       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.

 FCN=   5684.972     FROM MIGRAD    STATUS=CONVERGED    465 CALLS     2360 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .44689        .15429E-07** at limit **
   2  Prefactor     .10001E-03    21.230        .59715E-05** at limit **
   3  norm          2.5660        1.2222        .37079E-07   -.28454E-03
   4  Prefactor     28.936        23.025       -.16550E-06   -.60310E-04
   5  Prefactor     50.450        25.767        .15095E-05    .35496E-03
   6  norm          .10000E-03    15.162       -.33485E-05** at limit **
   7  Prefactor     7.2544        4.8375       -.61692E-07   -.16850E-03
   8  Prefactor     .10000E-03    16.743       -.11369E-06** at limit **
   9  Prefactor     1.9981        2.7753        .49715E-07    .41204E-04
  10  norm          3.0852        2.3019       -.24303E-07   -.77680E-04
  11  Prefactor     .10001E-03    26.269       -.72699E-05** at limit **
  12  Prefactor     .10001E-03    22.857        .45922E-05** at limit **
  13  norm          .10000E-03    10.281        .79657E-06** at limit **
  14  Prefactor     2.0439        2.3941        .36126E-07    .48912E-04
  15  Prefactor     .10000E-03    5.2367       -.13485E-06** at limit **
  16  Prefactor     .10000E-03    25.837       -.10703E-05** at limit **
  17  Prefactor     52.942        90.161       -.43910E-05   -.68170E-04
  18  Prefactor     4.7657        7.4589        .37687E-05   -.14232E-02
  19  Prefactor     .10000E-03    5.2051        .19238E-06** at limit **
  20  Prefactor     .10000E-03    1.0056       -.66860E-07** at limit **
  21  Normalizat    .68097        .18669       -.13783E-05    .16568E-04
  22  Prefactor     1.4695        .18850        .11312E-06   -.52311E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.00010001
  norm       = 2.56598
  Prefactor  = 28.9363
  Prefactor  = 50.4499
  norm       = 0.000100004
  Prefactor  = 7.25435
  Prefactor  = 0.0001
  Prefactor  = 1.99807
  norm       = 3.08515
  Prefactor  = 0.000100014
  Prefactor  = 0.000100007
  norm       = 0.0001
  Prefactor  = 2.04388
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 52.942
  Prefactor  = 4.76569
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.680973
  Prefactor  = 1.46954
 **********
 **   18 **HESSE 
 **********

 FCN=   5684.972     FROM HESSE     STATUS=OK           336 CALLS     2696 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .45827        .98418E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10001E-03    22.386        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.5660        1.2199        .52930E-04   -1.5388    
   4  Prefactor     28.936        23.065        .74478E-04   -1.4632    
   5  Prefactor     50.450        25.918        .56464E-04   -1.4286    
   6  norm          .10000E-03    15.498        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.2544        4.8437        .12948E-03   -1.5169    
   8  Prefactor     .10000E-03    16.753        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.9981        2.7551        .14229E-03   -1.5425    
  10  norm          3.0852        2.2949        .95030E-04   -1.5357    
  11  Prefactor     .10001E-03    27.873        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10001E-03    23.475        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    10.712        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.0439        2.3826        .12119E-03   -1.5422    
  15  Prefactor     .10000E-03    5.3824        .33599E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    25.952        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     52.942        90.251        .55120E-04   -1.4251    
  18  Prefactor     4.7657        8.7938        .92145E-03   -1.5271    
  19  Prefactor     .10000E-03    5.2331        .16800E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    1.0143        .73816E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .68097        .21349        .30579E-03   -1.0465    
  22  Prefactor     1.4695        .21772        .22750E-03   -.78397    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.84766e-09
Minuit parameter uncertainties:
  1  3.01725e-07
  2  0.00092459
  3  1.21986
  4  23.0718
  5  25.9237
  6  0.000472109
  7  4.84397
  8  5.28717e-06
  9  2.75527
  10  2.29497
  11  0.00126771
  12  0.000789868
  13  0.00011792
  14  2.38273
  15  2.52576e-05
  16  0.000181734
  17  90.4855
  18  8.7962
  19  1.70618e-05
  20  1.64034e-06
  21  0.213748
  22  0.217859
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  3.085e+00  2.295e+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.470e+00  2.179e-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:  6.810e-01  2.137e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.46
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 3.12e-08 +/- 2.32e-08
Energy Flux (Fixed Index): 3.59e-05 +/- 2.67e-05

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

Saving results to:
/scratch/kocevski/110533/likelihoodResults_618019201_618278401_4FGL_J0915.9+2933_daily_bin1461.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) = 5682.32157301
delta logL = 2.64999630965

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5682.30455279
delta logL = 2.66701653016

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .67164       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.4744       1.0000          .0000       5.0000    
     3 'Normalizat'    .51775       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5705       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=   5682.305     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      237 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .67175        3.6652        .54851E-02   -.15912E-03
   2  alpha         3.4745        1.9032        .14594        .87360E-04
   3  Normalizat    .51772        .73893E-01    .78116E-01    .34305E-04
   4  Prefactor     1.5706        .71440E-01    .49962E-01   -.14681E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.671754
  alpha      = 3.47454
  Normalizat = 0.517725
  Prefactor  = 1.57059
 **********
 **   18 **HESSE 
 **********

 FCN=   5682.305     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      270 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .67175        5.3381        .24470E-04   -1.5544    
   2  alpha         3.4745        3.9324        .61988E-02    .40043    
   3  Normalizat    .51772        .27135        .34593E-03   -1.1160    
   4  Prefactor     1.5706        .26463        .22085E-03   -.75581    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.87375e-09
Minuit parameter uncertainties:
  1  3.78746
  2  2.89578
  3  0.272043
  4  0.264867
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/110533': 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): 102
logL (Free Index) = 5682.30455198
delta logL = 2.66701733818

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  6.718e-01  3.787e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  3.475e+00  2.896e+00  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.571e+00  2.649e-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:  5.177e-01  2.720e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.29
Ra Dec: 138.986 29.553
Photon Index (Free Index): 3.47 +/- 2.90
Photon Flux (Free Index): 1.62e-07 +/- 1.23e-07
Energy Flux (Free Index): 2.92e-05 +/- 1.50e-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/110533/cmap_HighResolution_618019201_618278401_4FGL_J0915.9+2933_daily_bin1461.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.79e-05', comment='SUCCESS', photon_flux='3.12e-08', energy_flux2='2.92e-05', photon_flux_error='2.32e-08', dlogl='2.67e+00', energy_flux='3.59e-05', photon_flux2='1.62e-07', job_status='DONE', time_completed='2021-08-31 06:02:14.889296', photon_index_error2='2.90', photon_index2='3.47', ts='3.46', fit_tolerance='1e-08', GAL='1.47', photon_index_error='0.00', photon_flux_upper_limit='8.52e-08', energy_flux_error2='1.50e-05', EG='0.68', time_epoch_completed='1630414934.89', return_code='0', job_id='110533', GAL2='1.57', EG2='0.52', return_code2='102', energy_flux_error='2.67e-05', photon_flux_error2='1.23e-07', ts2='9.29', photon_index='1.75' WHERE bin_id='1461' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:02:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0064>
Subject: Job 110533: <4FGL_J0915.9+2933_daily_bin1461> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin1461> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Aug 31 05:51:54 2021
Job was executed on host(s) <bullet0064>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:51:55 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:51:55 2021
Terminated at Tue Aug 31 06:02:15 2021
Results reported at Tue Aug 31 06:02:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin1461 138.986 29.553 618019201 618278401 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 :                                   597.21 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             327.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   620 sec.
    Turnaround time :                            621 sec.

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

