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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin602
RA = 138.986, Dec = 29.553
tmin = 395366401, tmax = 395625601
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='106651', job_status='RUN', time_executed='2021-08-31 05:43:55.257195', time_epoch_executed='1630413835.26' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='602'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/106651

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

Retrieving the FT1 file...

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

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

Retrieving 51 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/106651/ft1_4FGL_J0915.9+2933_daily_bin602.fits


Retrieving the FT1 file...

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

Retrieving 51 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/106651/ft2_4FGL_J0915.9+2933_daily_bin602.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/106651/ft1_4FGL_J0915.9+2933_daily_bin602.fits outfile=/scratch/kocevski/106651/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin602.fits ra=138.986 dec=29.553 rad=12.0 tmin=395366401.0 tmax=395625601.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.67
user 4.85
sys 0.60

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/106651/ft1_filtered_4FGL_J0915.9+2933_daily_bin602.fits" evtable="EVENTS" scfile=/scratch/kocevski/106651/ft2_4FGL_J0915.9+2933_daily_bin602.fits sctable="SC_DATA" outfile=/scratch/kocevski/106651/ltcube_395366401_395625601_4FGL_J0915.9+2933_daily_bin602.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/106651/ft2_4FGL_J0915.9+2933_daily_bin602.fits
.....................!
real 12.90
user 11.83
sys 0.69

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/106651/ft1_filtered_4FGL_J0915.9+2933_daily_bin602.fits evtable="EVENTS" scfile=/scratch/kocevski/106651/ft2_4FGL_J0915.9+2933_daily_bin602.fits sctable="SC_DATA" expcube=/scratch/kocevski/106651/ltcube_395366401_395625601_4FGL_J0915.9+2933_daily_bin602.fits outfile=/scratch/kocevski/106651/expmap_395366401_395625601_4FGL_J0915.9+2933_daily_bin602.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/106651/ltcube_395366401_395625601_4FGL_J0915.9+2933_daily_bin602.fits
.....................!
real 191.83
user 185.20
sys 5.31

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/106651/ft1_filtered_4FGL_J0915.9+2933_daily_bin602.fits scfile=/scratch/kocevski/106651/ft2_4FGL_J0915.9+2933_daily_bin602.fits outfile=/scratch/kocevski/106651/cmap_395366401_395625601_4FGL_J0915.9+2933_daily_bin602.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 0.93
user 0.37
sys 0.47

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/106651/ft1_filtered_4FGL_J0915.9+2933_daily_bin602.fits scfile=/scratch/kocevski/106651/ft2_4FGL_J0915.9+2933_daily_bin602.fits outfile=/scratch/kocevski/106651/cmap_HighResolution_395366401_395625601_4FGL_J0915.9+2933_daily_bin602.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.16
user 0.37
sys 0.52

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.7313       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.1532       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.2823       1.0000         .10000E-03   10000.    
     6 'norm      '    17.801       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .20364E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    22.155       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.1656       1.0000         .10000E-03   10000.    
    10 'norm      '    .41536       1.0000         .10000E-03   10000.    
    11 'Prefactor '    15.683       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10477E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.7850       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.1530       1.0000         .10000E-03   10000.    
    17 'Prefactor '    14.767       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .41045       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .15629       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0514       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1240       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=   6265.414     FROM MIGRAD    STATUS=CONVERGED    502 CALLS     2460 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.7317        2.1588       -.14091E-07    .11349E-03
   2  Prefactor     .10000E-03    47.602       -.24319E-06** at limit **
   3  norm          3.1534        1.0671       -.92984E-08    .20703E-03
   4  Prefactor     .10000E-03    6.7627       -.12126E-07** at limit **
   5  Prefactor     3.2838        28.745       -.17127E-06    .52627E-04
   6  norm          17.804        29.160       -.27646E-06   -.14228E-05
   7  Prefactor     .10000E-03    2.2893        .15601E-05** at limit **
   8  Prefactor     22.155        36.793        .53889E-06    .62481E-04
   9  Prefactor     1.1648        4.2988       -.14990E-05    .21828E-03
  10  norm          .41668        1.9786        .65796E-06    .67570E-03
  11  Prefactor     15.681        21.584        .94078E-06    .12927E-03
  12  Prefactor     .10000E-03    23.266       -.21041E-06** at limit **
  13  norm          .10000E-03    11.276       -.19005E-07** at limit **
  14  Prefactor     .10000E-03    1.0444        .12220E-06** at limit **
  15  Prefactor     9.7849        5.9148        .11629E-06    .49759E-03
  16  Prefactor     5.1485        26.281        .25368E-07    .34228E-04
  17  Prefactor     14.801        47.579       -.46122E-05   -.10752E-03
  18  Prefactor     .43568        17.305        .75216E-05   -.11548E-03
  19  Prefactor     .10000E-03    5.0594       -.61844E-07** at limit **
  20  Prefactor     .15983        1.8431        .16098E-05    .46808E-04
  21  Normalizat    1.0515        .18954        .32446E-06    .31561E-03
  22  Prefactor     1.1238        .17669        .22670E-06    .27528E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.73174
  Prefactor  = 0.0001
  norm       = 3.15337
  Prefactor  = 0.0001
  Prefactor  = 3.2838
  norm       = 17.8042
  Prefactor  = 0.000100001
  Prefactor  = 22.1551
  Prefactor  = 1.16485
  norm       = 0.416678
  Prefactor  = 15.6806
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.78489
  Prefactor  = 5.14851
  Prefactor  = 14.801
  Prefactor  = 0.43568
  Prefactor  = 0.0001
  Prefactor  = 0.159834
  Normalizat = 1.05154
  Prefactor  = 1.12377
 **********
 **   18 **HESSE 
 **********

 FCN=   6265.414     FROM HESSE     STATUS=OK           350 CALLS     2810 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.7317        2.1564        .63296E-04   -1.5189    
   2  Prefactor     .10000E-03    49.231        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.1534        1.0657        .45710E-04   -1.5353    
   4  Prefactor     .10000E-03    6.7788        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.2838        28.520        .22350E-03   -1.5346    
   6  norm          17.804        29.173        .94929E-04   -1.4864    
   7  Prefactor     .10000E-03    11.157        .19589E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.155        36.744        .85098E-04   -1.4766    
   9  Prefactor     1.1648        4.3211        .29688E-03   -1.5492    
  10  norm          .41668        3.2013        .19196E-02   -1.5579    
  11  Prefactor     15.681        21.533        .10114E-03   -1.4916    
  12  Prefactor     .10000E-03    23.283        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    11.479        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.0479        .79035E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.7849        5.8293        .12810E-03   -1.5082    
  16  Prefactor     5.1485        26.221        .17710E-03   -1.5254    
  17  Prefactor     14.801        48.375        .10423E-03   -1.4938    
  18  Prefactor     .43568        22.634        .29145E-02   -1.5576    
  19  Prefactor     .10000E-03    5.0826        .17388E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .15983        5.5904        .16663E-02   -1.5628    
  21  Normalizat    1.0515        .22524        .26621E-03   -.91323    
  22  Prefactor     1.1238        .21031        .25317E-03   -.88710    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33751e-09
Minuit parameter uncertainties:
  1  2.15638
  2  0.000234009
  3  1.0657
  4  5.08655e-06
  5  19.3672
  6  29.1963
  7  0.000198333
  8  36.7812
  9  4.32222
  10  2.30979
  11  21.5439
  12  4.47633e-05
  13  8.42123e-05
  14  5.86346e-06
  15  5.82966
  16  23.2539
  17  48.5033
  18  6.28225
  19  1.79101e-05
  20  1.89014
  21  0.225441
  22  0.210461
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  4.167e-01  2.310e+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.124e+00  2.105e-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.052e+00  2.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/106651/likelihoodResults_395366401_395625601_4FGL_J0915.9+2933_daily_bin602.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) = 6264.7832459
delta logL = 0.630585938513

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6264.77085535
delta logL = 0.64297649827

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0973       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6208       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0257       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1229       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=   6264.771     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      246 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0974        19.168        .11365E-01    .90033E-03
   2  alpha         2.6207        3.7412        .33482        .52446E-04
   3  Normalizat    1.0256        .45521E-01    .42626E-01    .11793E-04
   4  Prefactor     1.1229        .43961E-01    .57172E-01    .61770E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.09741
  alpha      = 2.62065
  Normalizat = 1.02565
  Prefactor  = 1.12291
 **********
 **   18 **HESSE 
 **********

 FCN=   6264.771     FROM HESSE     STATUS=OK            33 CALLS      279 TOTAL
                     EDM=   .59E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0974        1.5977        .78365E-04   -1.5498    
   2  alpha         2.6207        .72299        .11489E-01    .48280E-01
   3  Normalizat    1.0256        .21175        .26860E-03   -.92176    
   4  Prefactor     1.1229        .20661        .25281E-03   -.88738    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.9497e-12
Minuit parameter uncertainties:
  1  1.59781
  2  0.733489
  3  0.211927
  4  0.206757
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/106651': 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) = 6264.77085532
delta logL = 0.642976527278

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.097e+00  1.598e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  2.621e+00  7.335e-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.123e+00  2.068e-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.026e+00  2.119e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.33
Ra Dec: 138.986 29.553
Photon Index (Free Index): 2.62 +/- 0.73
Photon Flux (Free Index): 4.58e-08 +/- 4.71e-08
Energy Flux (Free Index): 1.31e-05 +/- 1.35e-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/106651/cmap_HighResolution_395366401_395625601_4FGL_J0915.9+2933_daily_bin602.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.94e-05', comment='SUCCESS', energy_flux2='1.31e-05', dlogl='6.43e-01', photon_flux2='4.58e-08', job_status='DONE', time_completed='2021-08-31 05:54:39.508893', photon_index_error2='0.73', photon_index2='2.62', ts='0.04', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', photon_flux_upper_limit='6.04e-08', energy_flux_error2='1.35e-05', EG='1.05', time_epoch_completed='1630414479.51', return_code='0', job_id='106651', GAL2='1.12', EG2='1.03', return_code2='0', photon_flux_error2='4.71e-08', ts2='1.33', photon_index='1.75' WHERE bin_id='602' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:54:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 106651: <4FGL_J0915.9+2933_daily_bin602> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin602> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 05:40:54 2021
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:40:55 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 05:40:55 2021
Terminated at Tue Aug 31 05:54:40 2021
Results reported at Tue Aug 31 05:54:40 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin602 138.986 29.553 395366401 395625601 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 :                                   637.20 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             307.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   824 sec.
    Turnaround time :                            826 sec.

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

