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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin712
RA = 138.986, Dec = 29.553
tmin = 423878401, tmax = 424137601
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='106802', job_status='RUN', time_executed='2021-08-31 05:43:32.212292', time_epoch_executed='1630413812.21' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='712'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/106802

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/106802/ft1_4FGL_J0915.9+2933_daily_bin712.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/106802/ft2_4FGL_J0915.9+2933_daily_bin712.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/106802/ft1_4FGL_J0915.9+2933_daily_bin712.fits outfile=/scratch/kocevski/106802/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin712.fits ra=138.986 dec=29.553 rad=12.0 tmin=423878401.0 tmax=424137601.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.91
user 5.13
sys 0.74

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/106802/ft2_4FGL_J0915.9+2933_daily_bin712.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/106802/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin712.fits evtable="EVENTS" outfile="/scratch/kocevski/106802/ft1_filtered_4FGL_J0915.9+2933_daily_bin712.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.02
user 0.35
sys 0.63

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/106802/ft1_filtered_4FGL_J0915.9+2933_daily_bin712.fits" evtable="EVENTS" scfile=/scratch/kocevski/106802/ft2_4FGL_J0915.9+2933_daily_bin712.fits sctable="SC_DATA" outfile=/scratch/kocevski/106802/ltcube_423878401_424137601_4FGL_J0915.9+2933_daily_bin712.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/106802/ft2_4FGL_J0915.9+2933_daily_bin712.fits
.....................!
real 12.02
user 11.17
sys 0.81

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/106802/ft1_filtered_4FGL_J0915.9+2933_daily_bin712.fits evtable="EVENTS" scfile=/scratch/kocevski/106802/ft2_4FGL_J0915.9+2933_daily_bin712.fits sctable="SC_DATA" expcube=/scratch/kocevski/106802/ltcube_423878401_424137601_4FGL_J0915.9+2933_daily_bin712.fits outfile=/scratch/kocevski/106802/expmap_423878401_424137601_4FGL_J0915.9+2933_daily_bin712.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/106802/ltcube_423878401_424137601_4FGL_J0915.9+2933_daily_bin712.fits
.....................!
real 190.08
user 185.08
sys 4.58

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/106802/ft1_filtered_4FGL_J0915.9+2933_daily_bin712.fits scfile=/scratch/kocevski/106802/ft2_4FGL_J0915.9+2933_daily_bin712.fits outfile=/scratch/kocevski/106802/cmap_423878401_424137601_4FGL_J0915.9+2933_daily_bin712.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.14
user 0.37
sys 0.67

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/106802/ft1_filtered_4FGL_J0915.9+2933_daily_bin712.fits scfile=/scratch/kocevski/106802/ft2_4FGL_J0915.9+2933_daily_bin712.fits outfile=/scratch/kocevski/106802/cmap_HighResolution_423878401_424137601_4FGL_J0915.9+2933_daily_bin712.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.08
user 0.37
sys 0.65

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3520       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.6210       1.0000         .10000E-03   10000.    
     3 'norm      '    1.1537       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.4343       1.0000         .10000E-03   10000.    
     6 'norm      '    24.474       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.3724       1.0000         .10000E-03   10000.    
    10 'norm      '    2.0590       1.0000         .10000E-03   10000.    
    11 'Prefactor '    33.475       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10387E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.0645       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.0243       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .15073E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.340       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.8582       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .45968E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.7362       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1369       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .81395       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=   3922.239     FROM MIGRAD    STATUS=CONVERGED    519 CALLS     2417 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3529        1.5675        .92916E-07    .93881E-04
   2  Prefactor     6.6214        14.621        .71670E-09    .75901E-05
   3  norm          1.1539        .84442        .22092E-07    .45587E-04
   4  Prefactor     .10000E-03    4.7323        .11324E-06** at limit **
   5  Prefactor     7.4264        12.778        .35145E-07   -.32974E-04
   6  norm          24.458        25.619        .67734E-07    .50105E-04
   7  Prefactor     .10000E-03    3.8081       -.16879E-06** at limit **
   8  Prefactor     .10000E-03    22.554       -.18762E-05** at limit **
   9  Prefactor     2.3718        3.7088       -.18399E-06    .36866E-04
  10  norm          2.0579        2.2979        .53332E-07   -.12041E-03
  11  Prefactor     33.491        30.602        .26213E-05    .15298E-03
  12  Prefactor     .10000E-03    47.106        .25461E-06** at limit **
  13  norm          2.0549        16.960       -.50891E-05   -.10780E-03
  14  Prefactor     5.0270        5.6039        .83029E-06    .35094E-03
  15  Prefactor     .10006E-03    3.4714        .70635E-06** at limit **
  16  Prefactor     .10000E-03    12.652        .45920E-08** at limit **
  17  Prefactor     18.346        70.287       -.51112E-07   -.21213E-05
  18  Prefactor     5.8598        6.9306        .71811E-07    .17162E-04
  19  Prefactor     .96409E-03    8.8928       -.19208E-05** at limit **
  20  Prefactor     1.7374        3.3158        .33243E-06    .14404E-03
  21  Normalizat    1.1369        .20880        .10191E-05    .70837E-04
  22  Prefactor     .81387        .19650       -.10014E-05    .78025E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.35295
  Prefactor  = 6.62137
  norm       = 1.15393
  Prefactor  = 0.0001
  Prefactor  = 7.42636
  norm       = 24.4585
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.3718
  norm       = 2.05792
  Prefactor  = 33.4912
  Prefactor  = 0.0001
  norm       = 2.05492
  Prefactor  = 5.027
  Prefactor  = 0.000100064
  Prefactor  = 0.0001
  Prefactor  = 18.3457
  Prefactor  = 5.8598
  Prefactor  = 0.000964089
  Prefactor  = 1.7374
  Normalizat = 1.13692
  Prefactor  = 0.813873
 **********
 **   18 **HESSE 
 **********

 FCN=   3922.239     FROM HESSE     STATUS=OK           358 CALLS     2775 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3529        1.5359        .79730E-04   -1.5475    
   2  Prefactor     6.6214        14.547        .15595E-03   -1.5193    
   3  norm          1.1539        .83371        .47452E-04   -1.5493    
   4  Prefactor     .10000E-03    4.7356        .13304E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.4264        12.746        .14709E-03   -1.5163    
   6  norm          24.458        25.482        .40486E-03   -1.4718    
   7  Prefactor     .10000E-03    3.9027        .23855E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    22.549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.3718        3.6771        .14178E-03   -1.5400    
  10  norm          2.0579        2.2690        .96037E-04   -1.5421    
  11  Prefactor     33.491        30.718        .69259E-04   -1.4550    
  12  Prefactor     .10000E-03    47.160        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.0549        17.175        .28757E-03   -1.5421    
  14  Prefactor     5.0270        5.5944        .13747E-03   -1.5260    
  15  Prefactor     .10006E-03    23.777        .20974E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    12.658        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     18.346        70.298        .93523E-04   -1.4851    
  18  Prefactor     5.8598        6.9210        .16592E-03   -1.5224    
  19  Prefactor     .96409E-03    14.038        .57042E-01   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.7374        3.2909        .14889E-03   -1.5444    
  21  Normalizat    1.1369        .22740        .22030E-03   -.88575    
  22  Prefactor     .81387        .21849        .25396E-03   -.99219    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.58683e-09
Minuit parameter uncertainties:
  1  1.53591
  2  14.5546
  3  0.833715
  4  3.34124e-06
  5  12.7506
  6  25.493
  7  9.39414e-06
  8  0.000187828
  9  3.67746
  10  2.26908
  11  30.7322
  12  6.87255e-06
  13  11.8858
  14  5.595
  15  0.00246959
  16  6.07743e-06
  17  70.6177
  18  6.92192
  19  0.220327
  20  3.29126
  21  0.227594
  22  0.218725
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  2.058e+00  2.269e+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:  8.139e-01  2.187e-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:  1.137e+00  2.276e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.42
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 2.08e-08 +/- 2.30e-08
Energy Flux (Fixed Index): 2.39e-05 +/- 2.64e-05

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

Saving results to:
/scratch/kocevski/106802/likelihoodResults_423878401_424137601_4FGL_J0915.9+2933_daily_bin712.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) = 3921.73567093
delta logL = 0.503304526466

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3921.71507334
delta logL = 0.523902111411

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .90156       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9814       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0621       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85645       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=   3921.715     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      237 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .89325        10.639        .95615E-02    .17282E-02
   2  alpha         2.9878        3.8757        .24374        .81361E-04
   3  Normalizat    1.0612        .58281E-01    .39811E-01   -.26003E-03
   4  Prefactor     .85709        .53033E-01    .44447E-01   -.19999E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.893247
  alpha      = 2.98782
  Normalizat = 1.06116
  Prefactor  = 0.857093
 **********
 **   18 **HESSE 
 **********

 FCN=   3921.715     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      266 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .89325        22.192        .43111E-04   -1.5519    
   2  alpha         2.9878        3.6611        .87627E-02    .19639    
   3  Normalizat    1.0612        .42001        .22697E-03   -.91009    
   4  Prefactor     .85709        .34559        .24814E-03   -.97657    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.73766e-10
Minuit parameter uncertainties:
  1  8.90782
  2  6.16445
  3  0.421338
  4  0.346476
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/106802': 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) = 3921.7150629
delta logL = 0.523912549059

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  8.932e-01  8.908e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  2.988e+00  6.164e+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:  8.571e-01  3.465e-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:  1.061e+00  4.213e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.50
Ra Dec: 138.986 29.553
Photon Index (Free Index): 2.99 +/- 6.16
Photon Flux (Free Index): 7.72e-08 +/- 2.12e-07
Energy Flux (Free Index): 1.71e-05 +/- 1.82e-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/106802/cmap_HighResolution_423878401_424137601_4FGL_J0915.9+2933_daily_bin712.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.26e-05', comment='SUCCESS', photon_flux='2.08e-08', energy_flux2='1.71e-05', photon_flux_error='2.30e-08', dlogl='5.24e-01', energy_flux='2.39e-05', photon_flux2='7.72e-08', job_status='DONE', time_completed='2021-08-31 05:52:21.945853', photon_index_error2='6.16', photon_index2='2.99', ts='1.42', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='8.06e-08', energy_flux_error2='1.82e-05', EG='1.14', time_epoch_completed='1630414341.95', return_code='0', job_id='106802', GAL2='0.86', EG2='1.06', return_code2='102', energy_flux_error='2.64e-05', photon_flux_error2='2.12e-07', ts2='2.50', photon_index='1.75' WHERE bin_id='712' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:52:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 106802: <4FGL_J0915.9+2933_daily_bin712> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin712> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 05:41:07 2021
Job was executed on host(s) <bullet0080>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:41:08 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:08 2021
Terminated at Tue Aug 31 05:52:22 2021
Results reported at Tue Aug 31 05:52:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin712 138.986 29.553 423878401 424137601 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 :                                   530.58 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             285.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   674 sec.
    Turnaround time :                            675 sec.

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

