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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin912
RA = 138.986, Dec = 29.553
tmin = 475718401, tmax = 475977601
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='108391', job_status='RUN', time_executed='2021-08-31 05:49:43.521885', time_epoch_executed='1630414183.52' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='912'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/108391

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/108391/ft1_4FGL_J0915.9+2933_daily_bin912.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/108391/ft2_4FGL_J0915.9+2933_daily_bin912.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/108391/ft1_4FGL_J0915.9+2933_daily_bin912.fits outfile=/scratch/kocevski/108391/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin912.fits ra=138.986 dec=29.553 rad=12.0 tmin=475718401.0 tmax=475977601.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.90
user 3.27
sys 0.80

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/108391/ft1_filtered_4FGL_J0915.9+2933_daily_bin912.fits" evtable="EVENTS" scfile=/scratch/kocevski/108391/ft2_4FGL_J0915.9+2933_daily_bin912.fits sctable="SC_DATA" outfile=/scratch/kocevski/108391/ltcube_475718401_475977601_4FGL_J0915.9+2933_daily_bin912.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/108391/ft2_4FGL_J0915.9+2933_daily_bin912.fits
.....................!
real 12.47
user 11.13
sys 1.00

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/108391/ft1_filtered_4FGL_J0915.9+2933_daily_bin912.fits evtable="EVENTS" scfile=/scratch/kocevski/108391/ft2_4FGL_J0915.9+2933_daily_bin912.fits sctable="SC_DATA" expcube=/scratch/kocevski/108391/ltcube_475718401_475977601_4FGL_J0915.9+2933_daily_bin912.fits outfile=/scratch/kocevski/108391/expmap_475718401_475977601_4FGL_J0915.9+2933_daily_bin912.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/108391/ltcube_475718401_475977601_4FGL_J0915.9+2933_daily_bin912.fits
.....................!
real 193.06
user 185.74
sys 4.81

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/108391/ft1_filtered_4FGL_J0915.9+2933_daily_bin912.fits scfile=/scratch/kocevski/108391/ft2_4FGL_J0915.9+2933_daily_bin912.fits outfile=/scratch/kocevski/108391/cmap_475718401_475977601_4FGL_J0915.9+2933_daily_bin912.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.98
user 0.37
sys 0.72

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/108391/ft1_filtered_4FGL_J0915.9+2933_daily_bin912.fits scfile=/scratch/kocevski/108391/ft2_4FGL_J0915.9+2933_daily_bin912.fits outfile=/scratch/kocevski/108391/cmap_HighResolution_475718401_475977601_4FGL_J0915.9+2933_daily_bin912.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.21
user 0.38
sys 0.73

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.2876       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.7731       1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.135       1.0000         .10000E-03   10000.    
     6 'norm      '    11.692       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10255E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.4544       1.0000         .10000E-03   10000.    
    10 'norm      '    1.7134       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    4.4609       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .21655E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    24.166       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11187E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    15.076       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.2641       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .94147       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0694       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=   5710.013     FROM MIGRAD    STATUS=CONVERGED    491 CALLS     2054 TOTAL
                     EDM=   .50E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .61060        .49192E-07** at limit **
   2  Prefactor     .10000E-03    9.1666       -.53063E-06** at limit **
   3  norm          1.2875        .78258        .31188E-07   -.18639E-03
   4  Prefactor     4.7719        14.219       -.38630E-06   -.84836E-04
   5  Prefactor     17.140        14.199       -.14593E-06   -.36370E-04
   6  norm          11.693        19.520       -.75518E-06   -.10751E-04
   7  Prefactor     .10000E-03    .88324        .51920E-08** at limit **
   8  Prefactor     .10000E-03    28.670       -.75021E-06** at limit **
   9  Prefactor     7.4537        4.5103       -.14847E-07   -.10231E-03
  10  norm          1.7142        1.3339        .33484E-07    .10684E-03
  11  Prefactor     .10000E-03    8.7626        .41654E-06** at limit **
  12  Prefactor     .10000E-03    40.976        .12361E-05** at limit **
  13  norm          4.4600        5.9703        .10990E-05   -.24059E-03
  14  Prefactor     .10000E-03    .78340       -.48662E-08** at limit **
  15  Prefactor     .10000E-03    1.9130        .11530E-06** at limit **
  16  Prefactor     24.169        22.171       -.95296E-06   -.18401E-04
  17  Prefactor     .10000E-03    166.63       -.30687E-05** at limit **
  18  Prefactor     15.073        7.6867        .35836E-05   -.52999E-04
  19  Prefactor     .10000E-03    3.6687        .14081E-07** at limit **
  20  Prefactor     6.2634        2.8267       -.16837E-06   -.11904E-03
  21  Normalizat    .94177        .17670       -.11815E-05   -.19168E-04
  22  Prefactor     1.0692        .17423        .13962E-06   -.74027E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.2875
  Prefactor  = 4.77188
  Prefactor  = 17.14
  norm       = 11.6927
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.45374
  norm       = 1.71417
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.45998
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.1685
  Prefactor  = 0.0001
  Prefactor  = 15.0729
  Prefactor  = 0.0001
  Prefactor  = 6.26343
  Normalizat = 0.941767
  Prefactor  = 1.06916
 **********
 **   18 **HESSE 
 **********

 FCN=   5710.013     FROM HESSE     STATUS=OK           348 CALLS     2402 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.0853        .11469E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.2683        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.2875        .77732        .48461E-04   -1.5481    
   4  Prefactor     4.7719        14.163        .18416E-03   -1.5271    
   5  Prefactor     17.140        14.204        .96756E-04   -1.4880    
   6  norm          11.693        19.513        .11716E-03   -1.5024    
   7  Prefactor     .10000E-03    .88510        .69348E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    28.731        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.4537        4.5115        .12011E-03   -1.5162    
  10  norm          1.7142        1.3330        .74660E-04   -1.5446    
  11  Prefactor     .10000E-03    8.7741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    41.275        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.4600        5.9177        .19065E-03   -1.5286    
  14  Prefactor     .10000E-03    .78460        .65300E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.2336        .19853E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     24.169        22.174        .81484E-04   -1.4724    
  17  Prefactor     .10000E-03    167.82        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     15.073        7.6700        .10315E-03   -1.4931    
  19  Prefactor     .10000E-03    3.6810        .14134E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.2634        2.8298        .81900E-04   -1.5207    
  21  Normalizat    .94177        .20155        .24274E-03   -.95008    
  22  Prefactor     1.0692        .20037        .23552E-03   -.90458    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11312e-10
Minuit parameter uncertainties:
  1  5.1742e-06
  2  1.21498e-05
  3  0.777324
  4  14.1727
  5  14.2072
  6  19.5235
  7  5.82705e-07
  8  6.48507e-07
  9  4.51175
  10  1.33304
  11  9.43697e-06
  12  1.19478e-05
  13  5.91852
  14  2.6988e-07
  15  2.83771e-05
  16  22.1815
  17  0.000490533
  18  7.67045
  19  2.66765e-06
  20  2.82989
  21  0.201714
  22  0.200507
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.714e+00  1.333e+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:  1.069e+00  2.005e-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.418e-01  2.017e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.87
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.74e-08 +/- 1.35e-08
Energy Flux (Fixed Index): 1.99e-05 +/- 1.55e-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) = 5710.00401872
delta logL = 0.008650908454

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5710.00381115
delta logL = 0.00885847315203

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6953       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6527       1.0000          .0000       5.0000    
     3 'Normalizat'    .94387       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0684       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=   5710.004     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      226 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6953        1.3437        .75028E-04   -.12819E-03
   2  alpha         1.6527        .70651        .17733E-01   -.54068E-04
   3  Normalizat    .94387        .19323        .24250E-03    .38772E-04
   4  Prefactor     1.0684        .19895        .23560E-03    .16407E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.69528
  alpha      = 1.65271
  Normalizat = 0.943868
  Prefactor  = 1.0684
 **********
 **   18 **HESSE 
 **********

 FCN=   5710.004     FROM HESSE     STATUS=OK            25 CALLS      251 TOTAL
                     EDM=   .50E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6953        1.3486        .30011E-05   -1.5448    
   2  alpha         1.6527        .70893        .35466E-02   -.34576    
   3  Normalizat    .94387        .19338        .96998E-05   -.94935    
   4  Prefactor     1.0684        .19913        .94238E-05   -.90483    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.96872e-12
Minuit parameter uncertainties:
  1  1.34858
  2  0.720128
  3  0.193518
  4  0.199267
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/108391': 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) = 5710.00381115
delta logL = 0.00885847323298

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.695e+00  1.349e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.653e+00  7.201e-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:  1.068e+00  1.993e-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.439e-01  1.935e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.89
Ra Dec: 138.986 29.553
Photon Index (Free Index): 1.65 +/- 0.72
Photon Flux (Free Index): 1.53e-08 +/- 1.84e-08
Energy Flux (Free Index): 2.25e-05 +/- 2.75e-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/108391/cmap_HighResolution_475718401_475977601_4FGL_J0915.9+2933_daily_bin912.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.74e-08', energy_flux2='2.25e-05', photon_flux_error='1.35e-08', dlogl='8.86e-03', energy_flux='1.99e-05', photon_flux2='1.53e-08', job_status='DONE', time_completed='2021-08-31 05:59:03.647577', photon_index_error2='0.72', photon_index2='1.65', ts='5.87', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', energy_flux_error2='2.75e-05', EG='0.94', time_epoch_completed='1630414743.65', return_code='0', job_id='108391', GAL2='1.07', EG2='0.94', return_code2='0', energy_flux_error='1.55e-05', photon_flux_error2='1.84e-08', ts2='5.89', photon_index='1.75' WHERE bin_id='912' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:59:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0290>
Subject: Job 108391: <4FGL_J0915.9+2933_daily_bin912> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin912 138.986 29.553 475718401 475977601 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 :                                   551.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             266.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   776 sec.
    Turnaround time :                            779 sec.

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

