/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 214 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 = 7398
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0915.9+2933_daily_bin311
RA = 138.986, Dec = 29.553
tmin = 319939201, tmax = 320198401
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='104792', job_status='RUN', time_executed='2021-08-31 05:40:37.639601', time_epoch_executed='1630413637.64' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='311'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/104792

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/104792/ft1_4FGL_J0915.9+2933_daily_bin311.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/104792/ft2_4FGL_J0915.9+2933_daily_bin311.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/104792/ft1_4FGL_J0915.9+2933_daily_bin311.fits outfile=/scratch/kocevski/104792/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin311.fits ra=138.986 dec=29.553 rad=12.0 tmin=319939201.0 tmax=320198401.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.70
user 3.25
sys 1.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/104792/ft1_filtered_4FGL_J0915.9+2933_daily_bin311.fits" evtable="EVENTS" scfile=/scratch/kocevski/104792/ft2_4FGL_J0915.9+2933_daily_bin311.fits sctable="SC_DATA" outfile=/scratch/kocevski/104792/ltcube_319939201_320198401_4FGL_J0915.9+2933_daily_bin311.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/104792/ft2_4FGL_J0915.9+2933_daily_bin311.fits
.....................!
real 13.16
user 11.41
sys 1.42

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/104792/ft1_filtered_4FGL_J0915.9+2933_daily_bin311.fits evtable="EVENTS" scfile=/scratch/kocevski/104792/ft2_4FGL_J0915.9+2933_daily_bin311.fits sctable="SC_DATA" expcube=/scratch/kocevski/104792/ltcube_319939201_320198401_4FGL_J0915.9+2933_daily_bin311.fits outfile=/scratch/kocevski/104792/expmap_319939201_320198401_4FGL_J0915.9+2933_daily_bin311.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/104792/ltcube_319939201_320198401_4FGL_J0915.9+2933_daily_bin311.fits
.....................!
real 194.63
user 187.36
sys 6.29

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/104792/ft1_filtered_4FGL_J0915.9+2933_daily_bin311.fits scfile=/scratch/kocevski/104792/ft2_4FGL_J0915.9+2933_daily_bin311.fits outfile=/scratch/kocevski/104792/cmap_319939201_320198401_4FGL_J0915.9+2933_daily_bin311.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.71
user 0.37
sys 1.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/104792/ft1_filtered_4FGL_J0915.9+2933_daily_bin311.fits scfile=/scratch/kocevski/104792/ft2_4FGL_J0915.9+2933_daily_bin311.fits outfile=/scratch/kocevski/104792/cmap_HighResolution_319939201_320198401_4FGL_J0915.9+2933_daily_bin311.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.94
user 0.38
sys 1.13

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/104792/ft1_filtered_4FGL_J0915.9+2933_daily_bin311.fits', '/scratch/kocevski/104792/ft2_4FGL_J0915.9+2933_daily_bin311.fits', expMap='/scratch/kocevski/104792/expmap_319939201_320198401_4FGL_J0915.9+2933_daily_bin311.fits', expCube='/scratch/kocevski/104792/ltcube_319939201_320198401_4FGL_J0915.9+2933_daily_bin311.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/104792/Model_4FGL_J0915.9+2933_daily_bin311.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/104792/ft1_filtered_4FGL_J0915.9+2933_daily_bin311.fits
Spacecraft file(s): /scratch/kocevski/104792/ft2_4FGL_J0915.9+2933_daily_bin311.fits
Exposure map: /scratch/kocevski/104792/expmap_319939201_320198401_4FGL_J0915.9+2933_daily_bin311.fits
Exposure cube: /scratch/kocevski/104792/ltcube_319939201_320198401_4FGL_J0915.9+2933_daily_bin311.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/104792/Model_4FGL_J0915.9+2933_daily_bin311.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 5312.21270388

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6399       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.1377       1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.959       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.6457       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11083E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10324E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.9471       1.0000         .10000E-03   10000.    
    11 'Prefactor '    22.987       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    6.4933       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .76288       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .75483       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10113E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .92915       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .90380       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=   5311.973     FROM MIGRAD    STATUS=CONVERGED    467 CALLS     2363 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6398        1.2246        .46779E-07   -.12810E-04
   2  Prefactor     .10000E-03    6.4943        .24912E-07** at limit **
   3  norm          3.1377        1.0215        .14650E-07   -.40654E-04
   4  Prefactor     14.956        12.983        .13765E-06   -.34154E-05
   5  Prefactor     .10000E-03    20.823        .10022E-06** at limit **
   6  norm          .10000E-03    11.138        .10820E-05** at limit **
   7  Prefactor     1.6454        2.4935        .17322E-06   -.31738E-04
   8  Prefactor     .10000E-03    21.042        .47136E-07** at limit **
   9  Prefactor     .10000E-03    3.0262       -.78273E-07** at limit **
  10  norm          1.9469        1.2925        .11955E-08    .16751E-04
  11  Prefactor     22.996        23.085        .10029E-05    .72679E-04
  12  Prefactor     .10000E-03    35.599        .32386E-05** at limit **
  13  norm          6.4854        10.360       -.12342E-05   -.20327E-03
  14  Prefactor     .76149        4.9904        .21364E-05   -.12608E-03
  15  Prefactor     .10000E-03    .70282       -.11716E-07** at limit **
  16  Prefactor     .10000E-03    9.5727       -.36412E-06** at limit **
  17  Prefactor     .10000E-03    40.446       -.32162E-05** at limit **
  18  Prefactor     .75459        7.0985        .20518E-05   -.19799E-03
  19  Prefactor     .10000E-03    12.106       -.94637E-06** at limit **
  20  Prefactor     .10000E-03    .96372       -.15883E-07** at limit **
  21  Normalizat    .92929        .16011       -.79454E-06   -.99155E-04
  22  Prefactor     .90369        .15855       -.14572E-06   -.11490E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.63978
  Prefactor  = 0.0001
  norm       = 3.13765
  Prefactor  = 14.9559
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.64536
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.94691
  Prefactor  = 22.9961
  Prefactor  = 0.000100002
  norm       = 6.48544
  Prefactor  = 0.761493
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.754592
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.92929
  Prefactor  = 0.903692
 **********
 **   18 **HESSE 
 **********

 FCN=   5311.973     FROM HESSE     STATUS=OK           344 CALLS     2707 TOTAL
                     EDM=   .49E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6398        1.2208        .67369E-04   -1.5452    
   2  Prefactor     .10000E-03    6.5218        .18137E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.1377        1.0229        .39472E-04   -1.5354    
   4  Prefactor     14.956        12.999        .10356E-03   -1.4934    
   5  Prefactor     .10000E-03    21.135        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    11.252        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.6454        2.4693        .13730E-03   -1.5451    
   8  Prefactor     .10000E-03    21.058        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.0717        .12363E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.9469        1.3013        .65781E-04   -1.5429    
  11  Prefactor     22.996        23.400        .83545E-04   -1.4749    
  12  Prefactor     .10000E-03    36.700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          6.4854        10.403        .15750E-03   -1.5199    
  14  Prefactor     .76149        5.1973        .28870E-02   -1.5533    
  15  Prefactor     .10000E-03    .70428        .59663E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    9.5902        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    41.357        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .75459        7.7933        .38171E-03   -1.5534    
  19  Prefactor     .10000E-03    12.480        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    .97562        .69833E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .92929        .18431        .22539E-03   -.95438    
  22  Prefactor     .90369        .18320        .23183E-03   -.96012    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.88056e-08
Minuit parameter uncertainties:
  1  1.22083
  2  3.23778e-06
  3  1.02294
  4  13.0014
  5  3.04889e-05
  6  9.79906e-05
  7  2.46945
  8  4.32029e-05
  9  2.05877e-05
  10  1.30133
  11  23.4097
  12  0.000512476
  13  10.4054
  14  3.97904
  15  2.68914e-08
  16  2.5594e-05
  17  0.000534857
  18  4.85056
  19  5.47496e-05
  20  9.52552e-07
  21  0.184432
  22  0.183322
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.947e+00  1.301e+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:  9.037e-01  1.833e-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.293e-01  1.844e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 17.10
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.97e-08 +/- 1.32e-08
Energy Flux (Fixed Index): 2.26e-05 +/- 1.51e-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) = 5310.90326213
delta logL = 1.06932258699

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5310.80355085
delta logL = 1.16903387146

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2141       1.0000         .10000E-03   10000.    
     2 'alpha     '    .94205       1.0000          .0000       5.0000    
     3 'Normalizat'    .93818       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90271       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=   5310.804     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      200 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2115        .90715        .10254E-01   -.30155E-03
   2  alpha         .94107        .38509        .29831       -.23688E-04
   3  Normalizat    .93784        .15493        .45388E-01    .20750E-04
   4  Prefactor     .90296        .15823        .45040E-01   -.22686E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.21148
  alpha      = 0.941071
  Normalizat = 0.937838
  Prefactor  = 0.902955
 **********
 **   18 **HESSE 
 **********

 FCN=   5310.804     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2115        1.2375        .53815E-03   -1.5488    
   2  alpha         .94107        .51731        .12949E-02   -.67330    
   3  Normalizat    .93784        .17869        .22446E-03   -.95143    
   4  Prefactor     .90296        .18251        .23194E-03   -.96038    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.15344e-10
Minuit parameter uncertainties:
  1  1.23751
  2  0.523551
  3  0.178805
  4  0.182634
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/104792': 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) = 5310.80354646
delta logL = 1.16903826058

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.211e+00  1.238e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  9.411e-01  5.236e-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:  9.030e-01  1.826e-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.378e-01  1.788e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 19.43
Ra Dec: 138.986 29.553
Photon Index (Free Index): 0.94 +/- 0.52
Photon Flux (Free Index): 8.68e-09 +/- 7.12e-09
Energy Flux (Free Index): 8.36e-05 +/- 8.99e-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/104792/cmap_HighResolution_319939201_320198401_4FGL_J0915.9+2933_daily_bin311.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.97e-08', energy_flux2='8.36e-05', photon_flux_error='1.32e-08', dlogl='1.17e+00', energy_flux='2.26e-05', photon_flux2='8.68e-09', job_status='DONE', time_completed='2021-08-31 05:49:49.182995', photon_index_error2='0.52', photon_index2='0.94', ts='17.10', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', energy_flux_error2='8.99e-05', EG='0.93', time_epoch_completed='1630414189.18', return_code='0', job_id='104792', GAL2='0.90', EG2='0.94', return_code2='0', energy_flux_error='1.51e-05', photon_flux_error2='7.12e-09', ts2='19.43', photon_index='1.75' WHERE bin_id='311' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:49:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0239>
Subject: Job 104792: <4FGL_J0915.9+2933_daily_bin311> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin311> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 31 05:35:28 2021
Job was executed on host(s) <bullet0239>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:35:29 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:35:29 2021
Terminated at Tue Aug 31 05:49:50 2021
Results reported at Tue Aug 31 05:49:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin311 138.986 29.553 319939201 320198401 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 :                                   555.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             256.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   860 sec.
    Turnaround time :                            862 sec.

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

