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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin676
RA = 138.986, Dec = 29.553
tmin = 414547201, tmax = 414806401
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='106740', job_status='RUN', time_executed='2021-08-31 05:44:11.949511', time_epoch_executed='1630413851.95' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='676'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/106740

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/106740/ft1_4FGL_J0915.9+2933_daily_bin676.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/106740/ft2_4FGL_J0915.9+2933_daily_bin676.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/106740/ft1_4FGL_J0915.9+2933_daily_bin676.fits outfile=/scratch/kocevski/106740/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin676.fits ra=138.986 dec=29.553 rad=12.0 tmin=414547201.0 tmax=414806401.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 6.06
user 5.59
sys 0.44

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/106740/ft2_4FGL_J0915.9+2933_daily_bin676.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/106740/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin676.fits evtable="EVENTS" outfile="/scratch/kocevski/106740/ft1_filtered_4FGL_J0915.9+2933_daily_bin676.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 0.73
user 0.34
sys 0.35

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/106740/ft1_filtered_4FGL_J0915.9+2933_daily_bin676.fits" evtable="EVENTS" scfile=/scratch/kocevski/106740/ft2_4FGL_J0915.9+2933_daily_bin676.fits sctable="SC_DATA" outfile=/scratch/kocevski/106740/ltcube_414547201_414806401_4FGL_J0915.9+2933_daily_bin676.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/106740/ft2_4FGL_J0915.9+2933_daily_bin676.fits
.....................!
real 12.51
user 11.87
sys 0.59

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/106740/ft1_filtered_4FGL_J0915.9+2933_daily_bin676.fits evtable="EVENTS" scfile=/scratch/kocevski/106740/ft2_4FGL_J0915.9+2933_daily_bin676.fits sctable="SC_DATA" expcube=/scratch/kocevski/106740/ltcube_414547201_414806401_4FGL_J0915.9+2933_daily_bin676.fits outfile=/scratch/kocevski/106740/expmap_414547201_414806401_4FGL_J0915.9+2933_daily_bin676.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/106740/ltcube_414547201_414806401_4FGL_J0915.9+2933_daily_bin676.fits
.....................!
real 191.00
user 185.97
sys 4.63

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/106740/ft1_filtered_4FGL_J0915.9+2933_daily_bin676.fits scfile=/scratch/kocevski/106740/ft2_4FGL_J0915.9+2933_daily_bin676.fits outfile=/scratch/kocevski/106740/cmap_414547201_414806401_4FGL_J0915.9+2933_daily_bin676.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.78
user 0.38
sys 0.34

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/106740/ft1_filtered_4FGL_J0915.9+2933_daily_bin676.fits scfile=/scratch/kocevski/106740/ft2_4FGL_J0915.9+2933_daily_bin676.fits outfile=/scratch/kocevski/106740/cmap_HighResolution_414547201_414806401_4FGL_J0915.9+2933_daily_bin676.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 0.76
user 0.39
sys 0.34

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10044E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.1820       1.0000         .10000E-03   10000.    
     3 'norm      '    4.6278       1.0000         .10000E-03   10000.    
     4 'Prefactor '    26.006       1.0000         .10000E-03   10000.    
     5 'Prefactor '    27.832       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .39911       1.0000         .10000E-03   10000.    
     8 'Prefactor '    48.820       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11012E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10112E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.4090       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.1023       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.5212       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    49.825       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10164E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .64503E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .94521       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .98360       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=   5335.228     FROM MIGRAD    STATUS=CONVERGED    474 CALLS     2368 TOTAL
                     EDM=   .86E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .98991       -.60264E-06** at limit **
   2  Prefactor     5.1698        13.812        .57925E-05   -.23290E-03
   3  norm          4.6278        1.2878       -.53426E-07    .80564E-04
   4  Prefactor     26.006        17.853        .31226E-07    .52908E-05
   5  Prefactor     27.826        18.833       -.65855E-06   -.20639E-03
   6  norm          .10000E-03    9.9496       -.12726E-06** at limit **
   7  Prefactor     .39928        2.8872        .14325E-05   -.26538E-03
   8  Prefactor     48.809        33.499       -.23185E-05   -.40939E-03
   9  Prefactor     .10000E-03    4.1908       -.15072E-06** at limit **
  10  norm          .10000E-03    .58171        .59321E-08** at limit **
  11  Prefactor     .10000E-03    6.3365       -.13148E-06** at limit **
  12  Prefactor     .10000E-03    43.235        .10170E-06** at limit **
  13  norm          1.4062        5.8791        .14640E-05   -.15902E-03
  14  Prefactor     3.1009        2.8441       -.22362E-07   -.31638E-04
  15  Prefactor     3.5204        3.6645        .36388E-06    .17474E-03
  16  Prefactor     .10000E-03    9.8130       -.33038E-07** at limit **
  17  Prefactor     49.805        53.575       -.48672E-05   -.34148E-03
  18  Prefactor     .10000E-03    3.1759        .16417E-07** at limit **
  19  Prefactor     .10000E-03    10.767        .38963E-06** at limit **
  20  Prefactor     .10002E-03    1.3686        .40647E-06** at limit **
  21  Normalizat    .94550        .17645       -.30713E-06   -.74611E-04
  22  Prefactor     .98332        .17098       -.16947E-06   -.29549E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 5.16978
  norm       = 4.62778
  Prefactor  = 26.006
  Prefactor  = 27.8257
  norm       = 0.0001
  Prefactor  = 0.399276
  Prefactor  = 48.8088
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.4062
  Prefactor  = 3.10085
  Prefactor  = 3.52036
  Prefactor  = 0.0001
  Prefactor  = 49.8046
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100015
  Normalizat = 0.945501
  Prefactor  = 0.983319
 **********
 **   18 **HESSE 
 **********

 FCN=   5335.228     FROM HESSE     STATUS=OK           344 CALLS     2712 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.9768        .13842E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.1698        14.468        .88297E-03   -1.5253    
   3  norm          4.6278        1.2892        .40438E-04   -1.5278    
   4  Prefactor     26.006        17.869        .78555E-04   -1.4688    
   5  Prefactor     27.826        18.944        .75938E-04   -1.4652    
   6  norm          .10000E-03    9.9542        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .39928        2.8876        .24127E-03   -1.5582    
   8  Prefactor     48.809        34.324        .28696E-03   -1.4310    
   9  Prefactor     .10000E-03    4.3259        .29103E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .58458        .54376E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    6.3405        .17952E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    43.532        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.4062        5.8170        .33431E-03   -1.5471    
  14  Prefactor     3.1009        2.8309        .11216E-03   -1.5356    
  15  Prefactor     3.5204        3.6582        .13549E-03   -1.5333    
  16  Prefactor     .10000E-03    9.8252        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     49.805        56.422        .56812E-04   -1.4295    
  18  Prefactor     .10000E-03    3.1972        .12709E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    10.911        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10002E-03    10.783        .16163E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .94550        .20050        .24059E-03   -.94879    
  22  Prefactor     .98332        .19644        .23999E-03   -.93288    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.04266e-09
Minuit parameter uncertainties:
  1  2.52909e-05
  2  14.4781
  3  1.2892
  4  17.8731
  5  18.9476
  6  1.77263e-05
  7  2.14737
  8  34.3375
  9  2.46847e-05
  10  6.90972e-07
  11  1.4398e-06
  12  1.9019e-05
  13  5.72084
  14  2.83103
  15  3.65841
  16  8.64013e-06
  17  56.4826
  18  4.95451e-06
  19  2.75651e-05
  20  0.00081125
  21  0.200661
  22  0.196587
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.000e-04  6.910e-07  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.833e-01  1.966e-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.455e-01  2.007e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/106740/likelihoodResults_414547201_414806401_4FGL_J0915.9+2933_daily_bin676.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): 102
logL (Free Index) = 5335.22842119
delta logL = -5.20925823366e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5335.22841604
delta logL = -5.93317963649e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7564       1.0000          .0000       5.0000    
     3 'Normalizat'    .94550       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98336       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=   5335.228     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      236 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    107.35        .54403E-03** at limit **
   2  alpha         1.8509        2.6048        .50000        .24682E-06
   3  Normalizat    .94550        .85677E-01    .24059E-03   -.73999E-04
   4  Prefactor     .98332        .87428E-01    .23999E-03   -.78211E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.85093
  Normalizat = 0.945501
  Prefactor  = 0.983318
 **********
 **   18 **HESSE 
 **********

 FCN=   5335.228     FROM HESSE     STATUS=OK            27 CALLS      263 TOTAL
                     EDM=   .86E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .66842        .10881E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8509        2.6513        .50000       -.26264    
   3  Normalizat    .94550        .19138        .96236E-05   -.94879    
   4  Prefactor     .98332        .19533        .95995E-05   -.93288    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.56541e-11
Minuit parameter uncertainties:
  1  1.24574e-06
  2  82.4615
  3  0.191522
  4  0.195471
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/106740': 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) = 5335.22841543
delta logL = 5.50174263481e-07

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.000e-04  1.246e-06  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.851e+00  8.246e+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.833e-01  1.955e-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.455e-01  1.915e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 138.986 29.553

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/106740/cmap_HighResolution_414547201_414806401_4FGL_J0915.9+2933_daily_bin676.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.63e-05', job_status='DONE', photon_flux_upper_limit='3.16e-08', time_completed='2021-08-31 05:54:05.954462', job_id='106740', GAL2='0.98', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1630414445.95', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='5.50e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='676' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:54:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0078>
Subject: Job 106740: <4FGL_J0915.9+2933_daily_bin676> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin676> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 05:41:03 2021
Job was executed on host(s) <bullet0078>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:41:04 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:41:04 2021
Terminated at Tue Aug 31 05:54:06 2021
Results reported at Tue Aug 31 05:54:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin676 138.986 29.553 414547201 414806401 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 :                                   592.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             255.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   782 sec.
    Turnaround time :                            783 sec.

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

