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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin996
RA = 138.986, Dec = 29.553
tmin = 497491201, tmax = 497750401
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='108509', job_status='RUN', time_executed='2021-08-31 05:49:24.657238', time_epoch_executed='1630414164.66' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='996'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/108509

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/108509/ft1_4FGL_J0915.9+2933_daily_bin996.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/108509/ft2_4FGL_J0915.9+2933_daily_bin996.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/108509/ft1_4FGL_J0915.9+2933_daily_bin996.fits outfile=/scratch/kocevski/108509/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin996.fits ra=138.986 dec=29.553 rad=12.0 tmin=497491201.0 tmax=497750401.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.07
user 3.63
sys 0.48

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/108509/ft1_filtered_4FGL_J0915.9+2933_daily_bin996.fits" evtable="EVENTS" scfile=/scratch/kocevski/108509/ft2_4FGL_J0915.9+2933_daily_bin996.fits sctable="SC_DATA" outfile=/scratch/kocevski/108509/ltcube_497491201_497750401_4FGL_J0915.9+2933_daily_bin996.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/108509/ft2_4FGL_J0915.9+2933_daily_bin996.fits
.....................!
real 13.64
user 11.75
sys 0.61

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/108509/ft1_filtered_4FGL_J0915.9+2933_daily_bin996.fits evtable="EVENTS" scfile=/scratch/kocevski/108509/ft2_4FGL_J0915.9+2933_daily_bin996.fits sctable="SC_DATA" expcube=/scratch/kocevski/108509/ltcube_497491201_497750401_4FGL_J0915.9+2933_daily_bin996.fits outfile=/scratch/kocevski/108509/expmap_497491201_497750401_4FGL_J0915.9+2933_daily_bin996.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/108509/ltcube_497491201_497750401_4FGL_J0915.9+2933_daily_bin996.fits
.....................!
real 193.91
user 185.35
sys 4.54

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/108509/ft1_filtered_4FGL_J0915.9+2933_daily_bin996.fits scfile=/scratch/kocevski/108509/ft2_4FGL_J0915.9+2933_daily_bin996.fits outfile=/scratch/kocevski/108509/cmap_497491201_497750401_4FGL_J0915.9+2933_daily_bin996.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.58
user 0.38
sys 0.38

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/108509/ft1_filtered_4FGL_J0915.9+2933_daily_bin996.fits scfile=/scratch/kocevski/108509/ft2_4FGL_J0915.9+2933_daily_bin996.fits outfile=/scratch/kocevski/108509/cmap_HighResolution_497491201_497750401_4FGL_J0915.9+2933_daily_bin996.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.82
user 0.38
sys 0.38

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3058       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .98189       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    40.045       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.8788       1.0000         .10000E-03   10000.    
     8 'Prefactor '    28.234       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.0655       1.0000         .10000E-03   10000.    
    10 'norm      '    1.9604       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .13952E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.7241       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.8686       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.8921       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.7170       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10299E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2381       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .66963       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=   6454.045     FROM MIGRAD    STATUS=CONVERGED    464 CALLS     2322 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3056        .98795       -.14326E-06   -.59828E-03
   2  Prefactor     .10000E-03    23.326        .37901E-05** at limit **
   3  norm          .98195        .50912       -.92887E-07   -.20320E-03
   4  Prefactor     .10000E-03    13.274        .48576E-06** at limit **
   5  Prefactor     .10000E-03    17.530       -.82388E-05** at limit **
   6  norm          40.052        37.951        .84655E-05    .11497E-04
   7  Prefactor     3.8790        2.8652        .11086E-06    .71552E-04
   8  Prefactor     28.187        44.033       -.74227E-04    .59199E-05
   9  Prefactor     8.0656        4.5345        .23393E-05    .86253E-04
  10  norm          1.9604        1.4012       -.60335E-07    .35102E-04
  11  Prefactor     .10006E-03    26.713       -.52102E-05** at limit **
  12  Prefactor     .10000E-03    24.060        .41025E-05** at limit **
  13  norm          2.7227        7.2910        .10086E-04   -.52113E-04
  14  Prefactor     .10000E-03    1.0597       -.10565E-07** at limit **
  15  Prefactor     1.8685        1.7952       -.76261E-07    .12984E-03
  16  Prefactor     .10000E-03    23.088        .65541E-05** at limit **
  17  Prefactor     .10000E-03    19.847        .26020E-05** at limit **
  18  Prefactor     4.8913        5.8962       -.88935E-06   -.30213E-03
  19  Prefactor     7.7171        8.8231       -.47210E-06   -.61397E-04
  20  Prefactor     .10000E-03    1.1868       -.11922E-06** at limit **
  21  Normalizat    1.2380        .15911        .15547E-05   -.11985E-04
  22  Prefactor     .66964        .15026        .11079E-05    .40324E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.30559
  Prefactor  = 0.0001
  norm       = 0.981952
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 40.0517
  Prefactor  = 3.87897
  Prefactor  = 28.1869
  Prefactor  = 8.06564
  norm       = 1.96041
  Prefactor  = 0.000100058
  Prefactor  = 0.0001
  norm       = 2.72266
  Prefactor  = 0.0001
  Prefactor  = 1.86854
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.89133
  Prefactor  = 7.71705
  Prefactor  = 0.0001
  Normalizat = 1.238
  Prefactor  = 0.669636
 **********
 **   18 **HESSE 
 **********

 FCN=   6454.045     FROM HESSE     STATUS=OK           346 CALLS     2668 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3056        .97565        .67011E-04   -1.5479    
   2  Prefactor     .10000E-03    24.118        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .98195        .51283        .40047E-04   -1.5510    
   4  Prefactor     .10000E-03    13.505        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    17.821        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          40.052        37.938        .63342E-04   -1.4441    
   7  Prefactor     3.8790        2.8661        .11308E-03   -1.5314    
   8  Prefactor     28.187        43.999        .75397E-04   -1.4646    
   9  Prefactor     8.0656        4.5285        .12018E-03   -1.5140    
  10  norm          1.9604        1.4001        .77971E-04   -1.5428    
  11  Prefactor     .10006E-03    26.642        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    24.083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.7227        7.2342        .24673E-03   -1.5378    
  14  Prefactor     .10000E-03    1.0652        .80689E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.8685        1.8042        .10235E-03   -1.5435    
  16  Prefactor     .10000E-03    23.199        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    19.852        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.8913        5.8846        .18186E-03   -1.5266    
  19  Prefactor     7.7171        8.8294        .14435E-03   -1.5152    
  20  Prefactor     .10000E-03    1.9987        .16952E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2380        .18133        .21091E-03   -.85437    
  22  Prefactor     .66964        .17132        .26814E-03   -1.0473    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.39155e-09
Minuit parameter uncertainties:
  1  0.975662
  2  0.000213517
  3  0.512833
  4  0.000161583
  5  8.9695e-05
  6  37.961
  7  2.86622
  8  44.0493
  9  4.52871
  10  1.40014
  11  0.00248465
  12  8.90302e-05
  13  7.23649
  14  1.49857e-06
  15  1.80425
  16  7.38792e-05
  17  1.11478e-05
  18  5.88531
  19  8.83087
  20  2.23336e-05
  21  0.181418
  22  0.171453
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.960e+00  1.400e+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:  6.696e-01  1.715e-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.238e+00  1.814e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.74
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.98e-08 +/- 1.42e-08
Energy Flux (Fixed Index): 2.28e-05 +/- 1.63e-05

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) = 6454.04468576
delta logL = 0.000241130032009

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6454.04467989
delta logL = 0.000246997640716

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9570       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7618       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2377       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66975       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=   6454.045     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      221 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9557        43.888        .74142E-02    .68135E-04
   2  alpha         1.7612        2.7579        .36417        .17509E-04
   3  Normalizat    1.2378        .97055E-01    .34025E-01    .13195E-05
   4  Prefactor     .66972        .75547E-01    .60615E-01    .27562E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.95565
  alpha      = 1.76119
  Normalizat = 1.23779
  Prefactor  = 0.669716
 **********
 **   18 **HESSE 
 **********

 FCN=   6454.045     FROM HESSE     STATUS=OK            33 CALLS      254 TOTAL
                     EDM=   .18E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9557        1.4188        .77782E-04   -1.5428    
   2  alpha         1.7612        .49849        .13544E-01   -.30000    
   3  Normalizat    1.2378        .17576        .21092E-03   -.85443    
   4  Prefactor     .66972        .16997        .26812E-03   -1.0473    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79376e-12
Minuit parameter uncertainties:
  1  1.41885
  2  0.502178
  3  0.175846
  4  0.170106
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/108509': 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) = 6454.04467839
delta logL = 0.000248499246482

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  6.697e-01  1.701e-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.238e+00  1.758e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.73
Ra Dec: 138.986 29.553
Photon Index (Free Index): 1.76 +/- 0.50
Photon Flux (Free Index): 2.01e-08 +/- 1.72e-08
Energy Flux (Free Index): 2.25e-05 +/- 2.28e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/108509/cmap_HighResolution_497491201_497750401_4FGL_J0915.9+2933_daily_bin996.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.98e-08', energy_flux2='2.25e-05', photon_flux_error='1.42e-08', dlogl='2.48e-04', energy_flux='2.28e-05', photon_flux2='2.01e-08', job_status='DONE', time_completed='2021-08-31 05:59:24.977975', photon_index_error2='0.50', photon_index2='1.76', ts='5.74', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', energy_flux_error2='2.28e-05', EG='1.24', time_epoch_completed='1630414764.98', return_code='0', job_id='108509', GAL2='0.67', EG2='1.24', return_code2='0', energy_flux_error='1.63e-05', photon_flux_error2='1.72e-08', ts2='5.73', photon_index='1.75' WHERE bin_id='996' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:59:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 108509: <4FGL_J0915.9+2933_daily_bin996> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin996> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Aug 31 05:46:14 2021
Job was executed on host(s) <bullet0260>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:46:15 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:46:15 2021
Terminated at Tue Aug 31 05:59:25 2021
Results reported at Tue Aug 31 05:59:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin996 138.986 29.553 497491201 497750401 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 :                                   574.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             255.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   790 sec.
    Turnaround time :                            791 sec.

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

