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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin774
RA = 138.986, Dec = 29.553
tmin = 439948801, tmax = 440208001
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='108213', job_status='RUN', time_executed='2021-08-31 05:49:40.452278', time_epoch_executed='1630414180.45' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/108213

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/108213/ft1_4FGL_J0915.9+2933_daily_bin774.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/108213/ft2_4FGL_J0915.9+2933_daily_bin774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/108213/ft1_4FGL_J0915.9+2933_daily_bin774.fits outfile=/scratch/kocevski/108213/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin774.fits ra=138.986 dec=29.553 rad=12.0 tmin=439948801.0 tmax=440208001.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 4.75
user 3.16
sys 1.07

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/108213/ft2_4FGL_J0915.9+2933_daily_bin774.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/108213/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin774.fits evtable="EVENTS" outfile="/scratch/kocevski/108213/ft1_filtered_4FGL_J0915.9+2933_daily_bin774.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 3.45
user 0.33
sys 1.04

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/108213/ft1_filtered_4FGL_J0915.9+2933_daily_bin774.fits" evtable="EVENTS" scfile=/scratch/kocevski/108213/ft2_4FGL_J0915.9+2933_daily_bin774.fits sctable="SC_DATA" outfile=/scratch/kocevski/108213/ltcube_439948801_440208001_4FGL_J0915.9+2933_daily_bin774.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/108213/ft2_4FGL_J0915.9+2933_daily_bin774.fits
.....................!
real 16.28
user 12.03
sys 1.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/108213/ft1_filtered_4FGL_J0915.9+2933_daily_bin774.fits evtable="EVENTS" scfile=/scratch/kocevski/108213/ft2_4FGL_J0915.9+2933_daily_bin774.fits sctable="SC_DATA" expcube=/scratch/kocevski/108213/ltcube_439948801_440208001_4FGL_J0915.9+2933_daily_bin774.fits outfile=/scratch/kocevski/108213/expmap_439948801_440208001_4FGL_J0915.9+2933_daily_bin774.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/108213/ltcube_439948801_440208001_4FGL_J0915.9+2933_daily_bin774.fits
.....................!
real 197.42
user 185.80
sys 6.68

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/108213/ft1_filtered_4FGL_J0915.9+2933_daily_bin774.fits scfile=/scratch/kocevski/108213/ft2_4FGL_J0915.9+2933_daily_bin774.fits outfile=/scratch/kocevski/108213/cmap_439948801_440208001_4FGL_J0915.9+2933_daily_bin774.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.76
user 0.39
sys 0.99

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/108213/ft1_filtered_4FGL_J0915.9+2933_daily_bin774.fits scfile=/scratch/kocevski/108213/ft2_4FGL_J0915.9+2933_daily_bin774.fits outfile=/scratch/kocevski/108213/cmap_HighResolution_439948801_440208001_4FGL_J0915.9+2933_daily_bin774.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.89
user 0.37
sys 1.02

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9407       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.6401       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10139E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.4380       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.6258       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10086E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.7207       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.293       1.0000         .10000E-03   10000.    
    13 'norm      '    2.4612       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .27346E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .14847E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10139E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    14.192       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10153E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .97290       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .90547       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=   5939.435     FROM MIGRAD    STATUS=CONVERGED    509 CALLS     2118 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9406        1.4613       -.21129E-09    .35102E-04
   2  Prefactor     .10000E-03    6.6223       -.28790E-05** at limit **
   3  norm          1.6401        .69643       -.38862E-08   -.10598E-03
   4  Prefactor     .10000E-03    3.3500        .11686E-06** at limit **
   5  Prefactor     .10000E-03    7.7541        .13717E-05** at limit **
   6  norm          .10000E-03    14.609       -.38561E-06** at limit **
   7  Prefactor     3.4384        3.4562       -.87591E-07   -.68618E-04
   8  Prefactor     1.6142        138.84       -.55989E-04   -.46809E-04
   9  Prefactor     .10000E-03    2.3084       -.12740E-06** at limit **
  10  norm          .10000E-03    .88414       -.76044E-07** at limit **
  11  Prefactor     6.7479        15.905        .62806E-05    .37189E-03
  12  Prefactor     11.291        49.162       -.21363E-05   -.20499E-04
  13  norm          2.4509        3.9565        .15681E-05   -.13658E-02
  14  Prefactor     .10000E-03    1.7465       -.31509E-06** at limit **
  15  Prefactor     .10001E-03    2.0228        .87605E-06** at limit **
  16  Prefactor     .10000E-03    57.869        .84559E-06** at limit **
  17  Prefactor     .10000E-03    21.789        .26138E-06** at limit **
  18  Prefactor     14.192        7.3322       -.63694E-07   -.16361E-04
  19  Prefactor     .10000E-03    3.8045        .56949E-06** at limit **
  20  Prefactor     .10000E-03    1.6802       -.22726E-06** at limit **
  21  Normalizat    .97288        .15643       -.47256E-06    .38089E-04
  22  Prefactor     .90553        .15270        .88749E-06    .59911E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.94062
  Prefactor  = 0.0001
  norm       = 1.64011
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.43843
  Prefactor  = 1.6142
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 6.74791
  Prefactor  = 11.2912
  norm       = 2.45085
  Prefactor  = 0.000100001
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.1925
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.972884
  Prefactor  = 0.90553
 **********
 **   18 **HESSE 
 **********

 FCN=   5939.435     FROM HESSE     STATUS=OK           350 CALLS     2468 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9406        1.4501        .77610E-04   -1.5429    
   2  Prefactor     .10000E-03    6.6256        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.6401        .69472        .20320E-03   -1.5452    
   4  Prefactor     .10000E-03    3.3560        .13775E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.7754        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    14.636        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.4384        3.4484        .13817E-03   -1.5337    
   8  Prefactor     1.6142        143.92        .33178E-03   -1.5454    
   9  Prefactor     .10000E-03    4.7760        .22100E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.1681        .14005E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.7479        17.571        .15478E-03   -1.5188    
  12  Prefactor     11.291        49.164        .11922E-03   -1.5036    
  13  norm          2.4509        8.7275        .13034E-02   -1.5395    
  14  Prefactor     .10000E-03    9.0291        .19079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10001E-03    5.7991        .20481E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    59.104        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    21.795        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     14.192        7.3129        .10632E-03   -1.4954    
  19  Prefactor     .10000E-03    3.8344        .14677E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.5895        .19173E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .97288        .17752        .22455E-03   -.93944    
  22  Prefactor     .90553        .17623        .23234E-03   -.95948    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07001e-08
Minuit parameter uncertainties:
  1  1.45011
  2  2.36157e-05
  3  0.694723
  4  1.41691e-08
  5  4.02227e-06
  6  6.82978e-06
  7  3.44857
  8  30.5589
  9  0.000207131
  10  1.84009e-05
  11  17.5846
  12  47.1871
  13  8.732
  14  0.000225557
  15  0.000439639
  16  8.93884e-05
  17  2.11566e-06
  18  7.31332
  19  1.66308e-06
  20  3.28125e-05
  21  0.177625
  22  0.176345
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.000e-04  1.840e-05  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:  9.055e-01  1.763e-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.729e-01  1.776e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/108213/likelihoodResults_439948801_440208001_4FGL_J0915.9+2933_daily_bin774.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) = 5939.43693005
delta logL = -0.00221253516338

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5939.43471778
delta logL = -2.63586116489e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10864E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7946       1.0000          .0000       5.0000    
     3 'Normalizat'    .97292       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90555       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=   5938.946     FROM MIGRAD    STATUS=CONVERGED    158 CALLS      314 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .76206E-02    .85130E-02    .14236E-02   -.95607E-02
   2  alpha         5.0000        .94435        .50000    ** at limit **
   3  Normalizat    .89438        .20040        .22455E-02   -.14115E-04
   4  Prefactor     .95387        .18593        .23234E-03    .27304E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00762061
  alpha      = 5
  Normalizat = 0.894384
  Prefactor  = 0.953874
 **********
 **   18 **HESSE 
 **********

 FCN=   5938.946     FROM HESSE     STATUS=OK            31 CALLS      345 TOTAL
                     EDM=   .79E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .76206E-02    .84933E-02    .66610E-05   -1.5725    
   2  alpha         5.0000        3.1859        .59110E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .89438        .19087        .89821E-04   -.96658    
   4  Prefactor     .95387        .18240        .92935E-05   -.94283    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.87184e-12
Minuit parameter uncertainties:
  1  0.00849326
  2  1.14706e-06
  3  0.191013
  4  0.182522
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/108213': 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) = 5938.94638118
delta logL = 0.488336336609

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  7.621e-03  8.493e-03  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  5.000e+00  1.147e-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:  9.539e-01  1.825e-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.944e-01  1.910e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.12
Ra Dec: 138.986 29.553
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 5.85e-08 +/- 6.48e-08
Energy Flux (Free Index): 8.01e-06 +/- 8.90e-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/108213/cmap_HighResolution_439948801_440208001_4FGL_J0915.9+2933_daily_bin774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.98e-05', comment='SUCCESS', energy_flux2='8.01e-06', dlogl='4.88e-01', photon_flux2='5.85e-08', job_status='DONE', time_completed='2021-08-31 06:00:06.684406', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='3.46e-08', energy_flux_error2='8.90e-06', EG='0.97', time_epoch_completed='1630414806.68', return_code='0', job_id='108213', GAL2='0.95', EG2='0.89', return_code2='0', photon_flux_error2='6.48e-08', ts2='1.12', photon_index='1.75' WHERE bin_id='774' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:00:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0044>
Subject: Job 108213: <4FGL_J0915.9+2933_daily_bin774> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin774 138.986 29.553 439948801 440208001 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 :                                   621.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             224.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   852 sec.
    Turnaround time :                            854 sec.

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

