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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin251
RA = 138.986, Dec = 29.553
tmin = 304387201, tmax = 304646401
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='103541', job_status='RUN', time_executed='2021-08-31 05:35:23.566774', time_epoch_executed='1630413323.57' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='251'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/103541

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/103541/ft1_4FGL_J0915.9+2933_daily_bin251.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/103541/ft2_4FGL_J0915.9+2933_daily_bin251.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/103541/ft1_4FGL_J0915.9+2933_daily_bin251.fits outfile=/scratch/kocevski/103541/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin251.fits ra=138.986 dec=29.553 rad=12.0 tmin=304387201.0 tmax=304646401.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.25
user 3.78
sys 1.42

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/103541/ft1_filtered_4FGL_J0915.9+2933_daily_bin251.fits" evtable="EVENTS" scfile=/scratch/kocevski/103541/ft2_4FGL_J0915.9+2933_daily_bin251.fits sctable="SC_DATA" outfile=/scratch/kocevski/103541/ltcube_304387201_304646401_4FGL_J0915.9+2933_daily_bin251.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/103541/ft2_4FGL_J0915.9+2933_daily_bin251.fits
.....................!
real 13.40
user 11.74
sys 1.61

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/103541/ft1_filtered_4FGL_J0915.9+2933_daily_bin251.fits evtable="EVENTS" scfile=/scratch/kocevski/103541/ft2_4FGL_J0915.9+2933_daily_bin251.fits sctable="SC_DATA" expcube=/scratch/kocevski/103541/ltcube_304387201_304646401_4FGL_J0915.9+2933_daily_bin251.fits outfile=/scratch/kocevski/103541/expmap_304387201_304646401_4FGL_J0915.9+2933_daily_bin251.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/103541/ltcube_304387201_304646401_4FGL_J0915.9+2933_daily_bin251.fits
.....................!
real 193.25
user 187.13
sys 5.72

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/103541/ft1_filtered_4FGL_J0915.9+2933_daily_bin251.fits scfile=/scratch/kocevski/103541/ft2_4FGL_J0915.9+2933_daily_bin251.fits outfile=/scratch/kocevski/103541/cmap_304387201_304646401_4FGL_J0915.9+2933_daily_bin251.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 2.13
user 0.35
sys 1.28

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/103541/ft1_filtered_4FGL_J0915.9+2933_daily_bin251.fits scfile=/scratch/kocevski/103541/ft2_4FGL_J0915.9+2933_daily_bin251.fits outfile=/scratch/kocevski/103541/cmap_HighResolution_304387201_304646401_4FGL_J0915.9+2933_daily_bin251.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.75
user 0.37
sys 1.27

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .71208       1.0000         .10000E-03   10000.    
     3 'norm      '    .92666       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.7975       1.0000         .10000E-03   10000.    
     6 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.4174       1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.1798       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .31943E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    1.3958       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.4257       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    35.583       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10152E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .16834E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2353       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .70653       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=   5244.254     FROM MIGRAD    STATUS=CONVERGED    493 CALLS     2059 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .34365       -.49998E-07** at limit **
   2  Prefactor     .72867        27.769       -.11238E-04    .11400E-03
   3  norm          .92663        .71756        .20617E-08    .14983E-03
   4  Prefactor     .10000E-03    17.976        .15848E-06** at limit **
   5  Prefactor     9.7974        12.058        .44664E-06    .80882E-04
   6  norm          .10000E-03    23.352        .32288E-06** at limit **
   7  Prefactor     .10000E-03    2.1777       -.34567E-08** at limit **
   8  Prefactor     .10000E-03    8.3389       -.30880E-07** at limit **
   9  Prefactor     1.4200        5.1850       -.11414E-05   -.31839E-03
  10  norm          .10000E-03    .66154        .16267E-08** at limit **
  11  Prefactor     2.1759        11.192        .78958E-05    .10419E-03
  12  Prefactor     .10000E-03    89.349       -.48329E-05** at limit **
  13  norm          1.3986        4.8827       -.60352E-06    .50221E-04
  14  Prefactor     1.4241        4.5824        .45247E-06    .25981E-03
  15  Prefactor     .10000E-03    1.5110        .33102E-07** at limit **
  16  Prefactor     35.587        24.970       -.13494E-06    .62028E-04
  17  Prefactor     .10000E-03    100.55        .14991E-05** at limit **
  18  Prefactor     .10000E-03    4.7207       -.22995E-06** at limit **
  19  Prefactor     .10000E-03    4.9812        .10747E-06** at limit **
  20  Prefactor     .10000E-03    1.3905       -.15815E-05** at limit **
  21  Normalizat    1.2352        .17105        .23553E-06    .46616E-03
  22  Prefactor     .70650        .16387        .67306E-07    .32984E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.728675
  norm       = 0.926627
  Prefactor  = 0.0001
  Prefactor  = 9.79741
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.42
  norm       = 0.0001
  Prefactor  = 2.17588
  Prefactor  = 0.000100001
  norm       = 1.39861
  Prefactor  = 1.42407
  Prefactor  = 0.0001
  Prefactor  = 35.5868
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.23521
  Prefactor  = 0.7065
 **********
 **   18 **HESSE 
 **********

 FCN=   5244.254     FROM HESSE     STATUS=OK           338 CALLS     2397 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .34548        .41357E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .72867        60.651        .47090E-02   -1.5537    
   3  norm          .92663        .70674        .51676E-04   -1.5515    
   4  Prefactor     .10000E-03    18.487        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.7974        12.087        .64011E-03   -1.5082    
   6  norm          .10000E-03    23.451        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.2248        .10431E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    8.3398        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.4200        4.7560        .23108E-03   -1.5470    
  10  norm          .10000E-03    .67459        .57503E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.1759        16.164        .13942E-02   -1.5413    
  12  Prefactor     .10000E-03    89.127        .21363E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          1.3986        4.8103        .27368E-03   -1.5471    
  14  Prefactor     1.4241        4.1374        .19849E-03   -1.5469    
  15  Prefactor     .10000E-03    1.5544        .17376E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     35.587        25.039        .67182E-04   -1.4514    
  17  Prefactor     .10000E-03    100.81        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.7943        .15345E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.0296        .15782E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    4.7300        .14657E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2352        .19445        .20076E-03   -.85522    
  22  Prefactor     .70650        .18631        .25604E-03   -1.0327    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1065e-09
Minuit parameter uncertainties:
  1  1.85686e-07
  2  13.3088
  3  0.70675
  4  0.000104571
  5  12.09
  6  4.28283e-05
  7  1.75112e-06
  8  2.46821e-06
  9  4.75722
  10  1.28702e-07
  11  11.8651
  12  0.000464931
  13  4.81162
  14  4.13824
  15  4.7487e-06
  16  25.0461
  17  0.000292587
  18  1.69844e-05
  19  8.42485e-07
  20  2.78288e-05
  21  0.194563
  22  0.186474
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.000e-04  1.287e-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:  7.065e-01  1.865e-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.235e+00  1.946e-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.11e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.57e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/103541/likelihoodResults_304387201_304646401_4FGL_J0915.9+2933_daily_bin251.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) = 5244.26029148
delta logL = -0.00675927539123

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5244.25353232
delta logL = -1.12311681733e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7539       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2352       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70652       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5244.254     FROM MIGRAD    STATUS=FAILED        88 CALLS      228 TOTAL
                     EDM=   .71E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    123.18        .57528E-03** at limit **
   2  alpha         1.8640        3.7830        .50000        .16953E-06
   3  Normalizat    1.2352        .80661E-01    .20076E-03   -.35317E-03
   4  Prefactor     .70650        .80369E-01    .25604E-03   -.28360E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5244.254     FROM SIMPLEX   STATUS=UNCHANGED    185 CALLS      413 TOTAL
                     EDM=   .83E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    123.18        .13104E-03** at limit **
   2  alpha         1.8640        3.7830        .24356E-05    .16953E-06
   3  Normalizat    1.2352        .80661E-01    .12023E-06   -.35317E-03
   4  Prefactor     .70650        .80369E-01    .64355E-07   -.28360E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5244.254     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      447 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .77516        .11506E-03** at limit **
   2  alpha         1.8630        3.8159        .50000       -.71987E-07
   3  Normalizat    1.2352        .18573        .40152E-04   -.35212E-03
   4  Prefactor     .70650        .18506        .10242E-04   -.28262E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.86301
  Normalizat = 1.2352
  Prefactor  = 0.7065
 **********
 **   18 **HESSE 
 **********

 FCN=   5244.254     FROM HESSE     STATUS=OK            29 CALLS      476 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .68404        .23011E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8630        3.3516        .50000       -.25764    
   3  Normalizat    1.2352        .18572        .80303E-05   -.85522    
   4  Prefactor     .70650        .18504        .20483E-05   -1.0327    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17846e-10
Minuit parameter uncertainties:
  1  2.3807e-06
  2  79.9913
  3  0.185822
  4  0.185197
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/103541': 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) = 5244.25353154
delta logL = 6.61119884171e-07

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.000e-04  2.381e-06  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.863e+00  7.999e+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:  7.065e-01  1.852e-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.235e+00  1.858e-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/103541/cmap_HighResolution_304387201_304646401_4FGL_J0915.9+2933_daily_bin251.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.57e-05', job_status='DONE', photon_flux_upper_limit='3.11e-08', time_completed='2021-08-31 05:45:10.527331', job_id='103541', GAL2='0.71', fit_tolerance='1e-08', EG2='1.24', EG='1.24', time_epoch_completed='1630413910.53', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='6.61e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='251' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:45:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 103541: <4FGL_J0915.9+2933_daily_bin251> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin251> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 05:31:08 2021
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:31:10 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:31:10 2021
Terminated at Tue Aug 31 05:45:11 2021
Results reported at Tue Aug 31 05:45:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin251 138.986 29.553 304387201 304646401 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 :                                   601.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             266.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   840 sec.
    Turnaround time :                            843 sec.

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

