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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin787
RA = 138.986, Dec = 29.553
tmin = 443318401, tmax = 443577601
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='108241', job_status='RUN', time_executed='2021-08-31 05:48:03.513076', time_epoch_executed='1630414083.51' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='787'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/108241

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/108241/ft1_4FGL_J0915.9+2933_daily_bin787.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/108241/ft2_4FGL_J0915.9+2933_daily_bin787.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/108241/ft1_4FGL_J0915.9+2933_daily_bin787.fits outfile=/scratch/kocevski/108241/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin787.fits ra=138.986 dec=29.553 rad=12.0 tmin=443318401.0 tmax=443577601.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.05
user 4.38
sys 0.60

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/108241/ft1_filtered_4FGL_J0915.9+2933_daily_bin787.fits" evtable="EVENTS" scfile=/scratch/kocevski/108241/ft2_4FGL_J0915.9+2933_daily_bin787.fits sctable="SC_DATA" outfile=/scratch/kocevski/108241/ltcube_443318401_443577601_4FGL_J0915.9+2933_daily_bin787.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/108241/ft2_4FGL_J0915.9+2933_daily_bin787.fits
.....................!
real 12.59
user 11.42
sys 0.79

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/108241/ft1_filtered_4FGL_J0915.9+2933_daily_bin787.fits evtable="EVENTS" scfile=/scratch/kocevski/108241/ft2_4FGL_J0915.9+2933_daily_bin787.fits sctable="SC_DATA" expcube=/scratch/kocevski/108241/ltcube_443318401_443577601_4FGL_J0915.9+2933_daily_bin787.fits outfile=/scratch/kocevski/108241/expmap_443318401_443577601_4FGL_J0915.9+2933_daily_bin787.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/108241/ltcube_443318401_443577601_4FGL_J0915.9+2933_daily_bin787.fits
.....................!
real 195.66
user 187.37
sys 4.95

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/108241/ft1_filtered_4FGL_J0915.9+2933_daily_bin787.fits scfile=/scratch/kocevski/108241/ft2_4FGL_J0915.9+2933_daily_bin787.fits outfile=/scratch/kocevski/108241/cmap_443318401_443577601_4FGL_J0915.9+2933_daily_bin787.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 1.09
user 0.38
sys 0.55

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/108241/ft1_filtered_4FGL_J0915.9+2933_daily_bin787.fits scfile=/scratch/kocevski/108241/ft2_4FGL_J0915.9+2933_daily_bin787.fits outfile=/scratch/kocevski/108241/cmap_HighResolution_443318401_443577601_4FGL_J0915.9+2933_daily_bin787.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 1.05
user 0.36
sys 0.58

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .19531       1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.596       1.0000         .10000E-03   10000.    
     3 'norm      '    1.2037       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .33882E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    12.067       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.2623       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.1592       1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.351       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    8.5950       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .20707E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.9919       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.7480       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .96256       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .77481       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=   4764.174     FROM MIGRAD    STATUS=CONVERGED    859 CALLS     2805 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .19519        .92447        .12525E-03   -.64526E-03
   2  Prefactor     13.598        10.669        .10863E-03   -.68027E-04
   3  norm          1.2037        .64452        .39736E-04   -.27753E-04
   4  Prefactor     .10000E-03    8.2738        .18142E-02** at limit **
   5  Prefactor     .10003E-03    21.090        .65873E-01** at limit **
   6  norm          12.065        36.317        .11532E-03   -.79853E-05
   7  Prefactor     7.2622        4.1587        .10250E-03    .19410E-04
   8  Prefactor     .10000E-03    28.029        .18142E-02** at limit **
   9  Prefactor     .10000E-03    1.7320        .88457E-03** at limit **
  10  norm          1.1588        1.5033        .95334E-04    .17745E-03
  11  Prefactor     16.356        25.521        .99048E-04    .73803E-04
  12  Prefactor     .10000E-03    16.159        .18142E-02** at limit **
  13  norm          8.5946        11.056        .13673E-03   -.24695E-04
  14  Prefactor     .10000E-03    1.0474        .68895E-03** at limit **
  15  Prefactor     .10003E-03    6.8738        .18474E-02** at limit **
  16  Prefactor     7.9901        15.937        .14183E-03    .10421E-04
  17  Prefactor     .10000E-03    37.221        .18142E-02** at limit **
  18  Prefactor     .10000E-03    2.7805        .11185E-02** at limit **
  19  Prefactor     7.7481        7.0120        .14406E-03   -.29909E-04
  20  Prefactor     .10000E-03    3.9248        .18222E-02** at limit **
  21  Normalizat    .96249        .19004        .20867E-03   -.31981E-04
  22  Prefactor     .77486        .18479        .23242E-03   -.14596E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.195192
  Prefactor  = 13.5976
  norm       = 1.20372
  Prefactor  = 0.0001
  Prefactor  = 0.000100026
  norm       = 12.0649
  Prefactor  = 7.26222
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.15884
  Prefactor  = 16.3561
  Prefactor  = 0.0001
  norm       = 8.59462
  Prefactor  = 0.0001
  Prefactor  = 0.000100032
  Prefactor  = 7.99011
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.74809
  Prefactor  = 0.0001
  Normalizat = 0.962489
  Prefactor  = 0.774861
 **********
 **   18 **HESSE 
 **********

 FCN=   4764.174     FROM HESSE     STATUS=OK           330 CALLS     3135 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .19519        .92415        .50101E-05   -1.5620    
   2  Prefactor     13.598        10.668        .43451E-05   -1.4970    
   3  norm          1.2037        .64450        .15894E-05   -1.5489    
   4  Prefactor     .10000E-03    8.2777        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10003E-03    16.515        .77101E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          12.065        36.322        .46128E-05   -1.5013    
   7  Prefactor     7.2622        4.1586        .41000E-05   -1.5169    
   8  Prefactor     .10000E-03    28.031        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.7321        .17691E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.1588        1.5033        .38133E-05   -1.5493    
  11  Prefactor     16.356        25.511        .39619E-05   -1.4899    
  12  Prefactor     .10000E-03    16.159        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          8.5946        11.053        .54692E-05   -1.5122    
  14  Prefactor     .10000E-03    1.0474        .13779E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10003E-03    6.9035        .36947E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.9901        15.936        .56732E-05   -1.5143    
  17  Prefactor     .10000E-03    37.222        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    2.7809        .22370E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     7.7481        7.0120        .57624E-05   -1.5151    
  20  Prefactor     .10000E-03    3.9423        .36445E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .96249        .19015        .83467E-05   -.94298    
  22  Prefactor     .77486        .18495        .92967E-05   -1.0066    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.99051e-09
Minuit parameter uncertainties:
  1  0.849241
  2  10.6691
  3  0.644507
  4  4.11343e-05
  5  0.00130311
  6  36.3885
  7  4.15879
  8  0.000212425
  9  2.30745e-05
  10  1.50334
  11  25.528
  12  1.88798e-05
  13  11.0557
  14  5.75384e-06
  15  0.000933696
  16  15.9444
  17  7.16377e-05
  18  7.04754e-06
  19  7.01273
  20  8.15113e-05
  21  0.190284
  22  0.1851
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.159e+00  1.503e+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:  7.749e-01  1.851e-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:  9.625e-01  1.903e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.05
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.17e-08 +/- 1.52e-08
Energy Flux (Fixed Index): 1.35e-05 +/- 1.75e-05

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

Saving results to:
/scratch/kocevski/108241/likelihoodResults_443318401_443577601_4FGL_J0915.9+2933_daily_bin787.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) = 4761.11399846
delta logL = 3.05975448579

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4760.68270886
delta logL = 3.49104408353

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .16397E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .78859       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89355       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=   4760.683     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      303 TOTAL
                     EDM=   .49E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .16386E-01    .16553        .91048E-03    .25553E-02
   2  alpha         5.0000        2.7922        .46268    ** at limit **
   3  Normalizat    .78862        .13531        .43461E-01    .87889E-05
   4  Prefactor     .89347        .13603        .44923E-01    .82050E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0163863
  alpha      = 5
  Normalizat = 0.78862
  Prefactor  = 0.89347
 **********
 **   18 **HESSE 
 **********

 FCN=   4760.683     FROM HESSE     STATUS=OK            37 CALLS      340 TOTAL
                     EDM=   .41E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .16386E-01    .89317E-02    .37935E-05   -1.5682    
   2  alpha         5.0000        .27012        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .78862        .19211        .22720E-03   -1.0049    
   4  Prefactor     .89347        .18950        .21804E-03   -.96370    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.0908e-12
Minuit parameter uncertainties:
  1  0.00893171
  2  8.60921e-06
  3  0.192276
  4  0.189638
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/108241': 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) = 4760.68270193
delta logL = 3.49105101096

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.639e-02  8.932e-03  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  5.000e+00  8.609e-06  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:  8.935e-01  1.896e-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:  7.886e-01  1.923e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.72
Ra Dec: 138.986 29.553
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 1.26e-07 +/- 6.82e-08
Energy Flux (Free Index): 1.72e-05 +/- 9.36e-06

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/108241/cmap_HighResolution_443318401_443577601_4FGL_J0915.9+2933_daily_bin787.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.35e-05', comment='SUCCESS', photon_flux='1.17e-08', energy_flux2='1.72e-05', photon_flux_error='1.52e-08', dlogl='3.49e+00', energy_flux='1.35e-05', photon_flux2='1.26e-07', job_status='DONE', time_completed='2021-08-31 05:58:15.957363', photon_index_error2='0.00', photon_index2='5.00', ts='1.05', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', photon_flux_upper_limit='5.52e-08', energy_flux_error2='9.36e-06', EG='0.96', time_epoch_completed='1630414695.96', return_code='0', job_id='108241', GAL2='0.89', EG2='0.79', return_code2='0', energy_flux_error='1.75e-05', photon_flux_error2='6.82e-08', ts2='8.72', photon_index='1.75' WHERE bin_id='787' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:58:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 108241: <4FGL_J0915.9+2933_daily_bin787> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin787> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Aug 31 05:45:55 2021
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:45:56 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:45:56 2021
Terminated at Tue Aug 31 05:58:16 2021
Results reported at Tue Aug 31 05:58:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin787 138.986 29.553 443318401 443577601 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 :                                   588.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             279.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   740 sec.
    Turnaround time :                            741 sec.

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

