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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin769
RA = 138.986, Dec = 29.553
tmin = 438652801, tmax = 438912001
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='108208', job_status='RUN', time_executed='2021-08-31 05:47:46.370251', time_epoch_executed='1630414066.37' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/108208

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/108208/ft1_4FGL_J0915.9+2933_daily_bin769.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/108208/ft2_4FGL_J0915.9+2933_daily_bin769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/108208/ft1_4FGL_J0915.9+2933_daily_bin769.fits outfile=/scratch/kocevski/108208/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin769.fits ra=138.986 dec=29.553 rad=12.0 tmin=438652801.0 tmax=438912001.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 12.16
user 6.12
sys 5.49

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/108208/ft1_filtered_4FGL_J0915.9+2933_daily_bin769.fits" evtable="EVENTS" scfile=/scratch/kocevski/108208/ft2_4FGL_J0915.9+2933_daily_bin769.fits sctable="SC_DATA" outfile=/scratch/kocevski/108208/ltcube_438652801_438912001_4FGL_J0915.9+2933_daily_bin769.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/108208/ft2_4FGL_J0915.9+2933_daily_bin769.fits
.....................!
real 20.44
user 12.25
sys 6.15

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/108208/ft1_filtered_4FGL_J0915.9+2933_daily_bin769.fits evtable="EVENTS" scfile=/scratch/kocevski/108208/ft2_4FGL_J0915.9+2933_daily_bin769.fits sctable="SC_DATA" expcube=/scratch/kocevski/108208/ltcube_438652801_438912001_4FGL_J0915.9+2933_daily_bin769.fits outfile=/scratch/kocevski/108208/expmap_438652801_438912001_4FGL_J0915.9+2933_daily_bin769.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/108208/ltcube_438652801_438912001_4FGL_J0915.9+2933_daily_bin769.fits
.....................!
real 206.39
user 186.69
sys 12.20

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/108208/ft1_filtered_4FGL_J0915.9+2933_daily_bin769.fits scfile=/scratch/kocevski/108208/ft2_4FGL_J0915.9+2933_daily_bin769.fits outfile=/scratch/kocevski/108208/cmap_438652801_438912001_4FGL_J0915.9+2933_daily_bin769.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 6.26
user 0.37
sys 5.30

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/108208/ft1_filtered_4FGL_J0915.9+2933_daily_bin769.fits scfile=/scratch/kocevski/108208/ft2_4FGL_J0915.9+2933_daily_bin769.fits outfile=/scratch/kocevski/108208/cmap_HighResolution_438652801_438912001_4FGL_J0915.9+2933_daily_bin769.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 6.53
user 0.37
sys 5.31

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.6148       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.8194       1.0000         .10000E-03   10000.    
     3 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.7635       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .40979       1.0000         .10000E-03   10000.    
     6 'norm      '    1.6595       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    31.010       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .90702       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .13407E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10832E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    3.8910       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.6209       1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.826       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10271E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .94988E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.6710       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .35683       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .48081       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.4769       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=   3978.944     FROM MIGRAD    STATUS=CONVERGED    903 CALLS     2854 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.6151        1.8219        .80187E-04    .26576E-03
   2  Prefactor     5.8295        17.147        .16648E-03    .15160E-04
   3  norm          .10000E-03    1.1460        .95443E-03** at limit **
   4  Prefactor     5.7651        15.206        .16730E-03   -.18008E-05
   5  Prefactor     .26301        320.58        .45281E-02   -.83743E-04
   6  norm          1.7134        226.22        .32752E-03    .21365E-04
   7  Prefactor     .10000E-03    1.4145        .73101E-03** at limit **
   8  Prefactor     31.144        44.094        .71951E-04   -.38237E-04
   9  Prefactor     .10000E-03    1.7863        .82230E-03** at limit **
  10  norm          .90715        1.0495        .68732E-04   -.51028E-04
  11  Prefactor     .10000E-03    98.628        .36285E-03** at limit **
  12  Prefactor     .10000E-03    15.578        .18142E-02** at limit **
  13  norm          3.9034        8.0345        .20455E-03   -.29852E-03
  14  Prefactor     4.6196        4.5453        .12293E-03   -.45416E-03
  15  Prefactor     16.829        6.1212        .88186E-04    .61346E-03
  16  Prefactor     .10000E-03    11.606        .18142E-02** at limit **
  17  Prefactor     .10000E-03    21.106        .18142E-02** at limit **
  18  Prefactor     .19670        61.484        .34197E-02    .42809E-03
  19  Prefactor     3.6788        10.297        .21081E-03    .10036E-03
  20  Prefactor     .34738        9.7549        .18220E-02    .72411E-03
  21  Normalizat    .48068        .23654        .31316E-03    .33265E-03
  22  Prefactor     1.4770        .23620        .20063E-03    .58282E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.61505
  Prefactor  = 5.8295
  norm       = 0.0001
  Prefactor  = 5.76508
  Prefactor  = 0.263008
  norm       = 1.7134
  Prefactor  = 0.0001
  Prefactor  = 31.1443
  Prefactor  = 0.0001
  norm       = 0.907151
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.9034
  Prefactor  = 4.61957
  Prefactor  = 16.8293
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.196699
  Prefactor  = 3.67876
  Prefactor  = 0.347379
  Normalizat = 0.480684
  Prefactor  = 1.47696
 **********
 **   18 **HESSE 
 **********

 FCN=   3978.944     FROM HESSE     STATUS=OK           326 CALLS     3180 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.6151        1.8207        .32075E-05   -1.5454    
   2  Prefactor     5.8295        17.133        .66594E-05   -1.5225    
   3  norm          .10000E-03    1.1487        .19089E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.7651        15.192        .66920E-05   -1.5228    
   5  Prefactor     .26301        320.25        .18113E-03   -1.5605    
   6  norm          1.7134        225.90        .13101E-04   -1.5446    
   7  Prefactor     .10000E-03    1.4145        .14620E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     31.144        44.074        .14390E-04   -1.4591    
   9  Prefactor     .10000E-03    1.7864        .16446E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .90715        1.0494        .27493E-05   -1.5517    
  11  Prefactor     .10000E-03    98.629        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    15.578        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.9034        8.0293        .81819E-05   -1.5313    
  14  Prefactor     4.6196        4.5430        .49173E-05   -1.5278    
  15  Prefactor     16.829        6.1158        .17637E-04   -1.4887    
  16  Prefactor     .10000E-03    11.607        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    21.106        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .19670        61.615        .13679E-03   -1.5619    
  19  Prefactor     3.6788        10.292        .84326E-05   -1.5324    
  20  Prefactor     .34738        9.5473        .72880E-04   -1.5590    
  21  Normalizat    .48068        .23426        .12526E-04   -1.1332    
  22  Prefactor     1.4770        .23616        .40126E-04   -.78187    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.25372e-09
Minuit parameter uncertainties:
  1  1.82073
  2  17.1478
  3  4.13552e-05
  4  15.202
  5  18.4515
  6  39.4999
  7  1.23805e-05
  8  44.1199
  9  9.04686e-06
  10  1.04941
  11  0.000111799
  12  5.59821e-07
  13  8.0315
  14  4.54339
  15  6.11602
  16  3.55941e-05
  17  2.63042e-05
  18  6.96811
  19  10.2967
  20  3.64238
  21  0.234738
  22  0.236337
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  9.072e-01  1.049e+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.477e+00  2.363e-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:  4.807e-01  2.347e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.18
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 9.18e-09 +/- 1.06e-08
Energy Flux (Fixed Index): 1.06e-05 +/- 1.22e-05

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

Saving results to:
/scratch/kocevski/108208/likelihoodResults_438652801_438912001_4FGL_J0915.9+2933_daily_bin769.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) = 3978.90129552
delta logL = 0.0430627851129

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3978.90043826
delta logL = 0.0439200366122

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .94856       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5011       1.0000          .0000       5.0000    
     3 'Normalizat'    .48206       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4764       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=   3978.900     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      227 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .94994        67.541        .12983E-01   -.13512E-03
   2  alpha         1.5023        4.2473        .46350       -.24632E-05
   3  Normalizat    .48208        .13986        .70643E-01    .29033E-04
   4  Prefactor     1.4764        .12645        .45399E-01    .31342E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.949941
  alpha      = 1.50227
  Normalizat = 0.482081
  Prefactor  = 1.47637
 **********
 **   18 **HESSE 
 **********

 FCN=   3978.900     FROM HESSE     STATUS=OK            33 CALLS      260 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .94994        1.0928        .69778E-04   -1.5513    
   2  alpha         1.5023        .79386        .18420E-01   -.41052    
   3  Normalizat    .48208        .21445        .31274E-03   -1.1325    
   4  Prefactor     1.4764        .23102        .20066E-03   -.78204    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28502e-11
Minuit parameter uncertainties:
  1  1.09281
  2  0.81065
  3  0.214818
  4  0.231179
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/108208': 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) = 3978.90043645
delta logL = 0.0439218540391

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  9.499e-01  1.093e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.502e+00  8.107e-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.476e+00  2.312e-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:  4.821e-01  2.148e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.27
Ra Dec: 138.986 29.553
Photon Index (Free Index): 1.50 +/- 0.81
Photon Flux (Free Index): 7.45e-09 +/- 9.93e-09
Energy Flux (Free Index): 1.62e-05 +/- 3.11e-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/108208/cmap_HighResolution_438652801_438912001_4FGL_J0915.9+2933_daily_bin769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.44e-05', comment='SUCCESS', photon_flux='9.18e-09', energy_flux2='1.62e-05', photon_flux_error='1.06e-08', dlogl='4.39e-02', energy_flux='1.06e-05', photon_flux2='7.45e-09', job_status='DONE', time_completed='2021-08-31 05:59:15.741884', photon_index_error2='0.81', photon_index2='1.50', ts='2.18', fit_tolerance='1e-08', GAL='1.48', photon_index_error='0.00', photon_flux_upper_limit='4.73e-08', energy_flux_error2='3.11e-05', EG='0.48', time_epoch_completed='1630414755.74', return_code='0', job_id='108208', GAL2='1.48', EG2='0.48', return_code2='0', energy_flux_error='1.22e-05', photon_flux_error2='9.93e-09', ts2='2.27', photon_index='1.75' WHERE bin_id='769' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:59:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 108208: <4FGL_J0915.9+2933_daily_bin769> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin769 138.986 29.553 438652801 438912001 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 :                                   710.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             265.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   801 sec.
    Turnaround time :                            804 sec.

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

