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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin250
RA = 138.986, Dec = 29.553
tmin = 304128001, tmax = 304387201
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='103539', job_status='RUN', time_executed='2021-08-31 05:33:21.924797', time_epoch_executed='1630413201.92' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='250'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/103539

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/103539/ft1_4FGL_J0915.9+2933_daily_bin250.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/103539/ft2_4FGL_J0915.9+2933_daily_bin250.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/103539/ft1_4FGL_J0915.9+2933_daily_bin250.fits outfile=/scratch/kocevski/103539/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin250.fits ra=138.986 dec=29.553 rad=12.0 tmin=304128001.0 tmax=304387201.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 3.96
user 3.18
sys 0.70

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/103539/ft2_4FGL_J0915.9+2933_daily_bin250.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/103539/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin250.fits evtable="EVENTS" outfile="/scratch/kocevski/103539/ft1_filtered_4FGL_J0915.9+2933_daily_bin250.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.02
user 0.31
sys 0.69

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/103539/ft1_filtered_4FGL_J0915.9+2933_daily_bin250.fits" evtable="EVENTS" scfile=/scratch/kocevski/103539/ft2_4FGL_J0915.9+2933_daily_bin250.fits sctable="SC_DATA" outfile=/scratch/kocevski/103539/ltcube_304128001_304387201_4FGL_J0915.9+2933_daily_bin250.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/103539/ft2_4FGL_J0915.9+2933_daily_bin250.fits
.....................!
real 12.52
user 11.53
sys 0.87

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/103539/ft1_filtered_4FGL_J0915.9+2933_daily_bin250.fits evtable="EVENTS" scfile=/scratch/kocevski/103539/ft2_4FGL_J0915.9+2933_daily_bin250.fits sctable="SC_DATA" expcube=/scratch/kocevski/103539/ltcube_304128001_304387201_4FGL_J0915.9+2933_daily_bin250.fits outfile=/scratch/kocevski/103539/expmap_304128001_304387201_4FGL_J0915.9+2933_daily_bin250.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/103539/ltcube_304128001_304387201_4FGL_J0915.9+2933_daily_bin250.fits
.....................!
real 191.47
user 185.62
sys 5.09

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/103539/ft1_filtered_4FGL_J0915.9+2933_daily_bin250.fits scfile=/scratch/kocevski/103539/ft2_4FGL_J0915.9+2933_daily_bin250.fits outfile=/scratch/kocevski/103539/cmap_304128001_304387201_4FGL_J0915.9+2933_daily_bin250.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=138.986 yref=29.553 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 1.07
user 0.36
sys 0.66

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/103539/ft1_filtered_4FGL_J0915.9+2933_daily_bin250.fits scfile=/scratch/kocevski/103539/ft2_4FGL_J0915.9+2933_daily_bin250.fits outfile=/scratch/kocevski/103539/cmap_HighResolution_304128001_304387201_4FGL_J0915.9+2933_daily_bin250.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.04
user 0.38
sys 0.65

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15831E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.5470       1.0000         .10000E-03   10000.    
     3 'norm      '    1.3294       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .36190       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .15792       1.0000         .10000E-03   10000.    
    10 'norm      '    .37912       1.0000         .10000E-03   10000.    
    11 'Prefactor '    24.649       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    7.4429       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.0927       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.2407       1.0000         .10000E-03   10000.    
    17 'Prefactor '    63.200       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.3654       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0532       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0382       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=   5878.927     FROM MIGRAD    STATUS=CONVERGED    509 CALLS     2425 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .69078        .15141E-07** at limit **
   2  Prefactor     1.5451        8.9848        .17918E-05   -.51742E-05
   3  norm          1.3293        .74848        .14900E-07   -.94821E-04
   4  Prefactor     .10000E-03    4.1508        .85464E-07** at limit **
   5  Prefactor     .10000E-03    5.5574        .74538E-07** at limit **
   6  norm          .10000E-03    15.976       -.15839E-05** at limit **
   7  Prefactor     .36187        3.4661        .19205E-05   -.64438E-03
   8  Prefactor     .10000E-03    15.689        .14539E-05** at limit **
   9  Prefactor     .11239        2.5607        .47561E-06   -.45674E-03
  10  norm          .37924        1.5728        .10217E-05   -.11016E-03
  11  Prefactor     24.697        22.665        .26753E-06    .12584E-03
  12  Prefactor     .10000E-03    27.219       -.29382E-06** at limit **
  13  norm          7.4442        8.1529        .51843E-06    .30079E-03
  14  Prefactor     .10000E-03    1.0398        .59860E-07** at limit **
  15  Prefactor     2.0911        3.8669        .29395E-06   -.14140E-03
  16  Prefactor     5.2357        26.451        .81087E-06    .54505E-07
  17  Prefactor     63.185        68.005       -.27100E-05   -.23501E-03
  18  Prefactor     6.3634        7.7412        .24539E-06   -.13992E-03
  19  Prefactor     .10000E-03    4.6247       -.82764E-07** at limit **
  20  Prefactor     .10000E-03    1.2330       -.11595E-07** at limit **
  21  Normalizat    1.0534        .17904       -.10501E-05   -.36687E-03
  22  Prefactor     1.0380        .17086       -.10555E-06   -.32751E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 1.54508
  norm       = 1.32934
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100002
  Prefactor  = 0.361874
  Prefactor  = 0.000100002
  Prefactor  = 0.112391
  norm       = 0.379244
  Prefactor  = 24.6969
  Prefactor  = 0.0001
  norm       = 7.44423
  Prefactor  = 0.0001
  Prefactor  = 2.09107
  Prefactor  = 5.23568
  Prefactor  = 63.1853
  Prefactor  = 6.36339
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 1.05339
  Prefactor  = 1.03799
 **********
 **   18 **HESSE 
 **********

 FCN=   5878.927     FROM HESSE     STATUS=OK           348 CALLS     2773 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.9460        .12280E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.5451        9.2430        .34258E-03   -1.5459    
   3  norm          1.3293        .74926        .48009E-04   -1.5477    
   4  Prefactor     .10000E-03    4.1595        .15259E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.5689        .17655E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    16.506        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .36187        5.1568        .23504E-02   -1.5588    
   8  Prefactor     .10000E-03    16.052        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .11239        40.176        .22156E-02   -1.5641    
  10  norm          .37924        1.6655        .18708E-03   -1.5585    
  11  Prefactor     24.697        23.134        .80684E-04   -1.4714    
  12  Prefactor     .10000E-03    27.263        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          7.4442        8.1908        .14701E-03   -1.5162    
  14  Prefactor     .10000E-03    1.0420        .76299E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.0911        3.8152        .18757E-03   -1.5419    
  16  Prefactor     5.2357        26.377        .17558E-03   -1.5250    
  17  Prefactor     63.185        71.464        .50477E-04   -1.4117    
  18  Prefactor     6.3634        7.7099        .15909E-03   -1.5203    
  19  Prefactor     .10000E-03    4.6536        .16102E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    7.3867        .16195E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0534        .20362        .23464E-03   -.91263    
  22  Prefactor     1.0380        .19542        .24011E-03   -.91474    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.27741e-09
Minuit parameter uncertainties:
  1  4.86536e-06
  2  7.5596
  3  0.749261
  4  1.12793e-05
  5  1.13776e-05
  6  0.000376132
  7  2.73203
  8  0.000315682
  9  4.25091
  10  1.58938
  11  23.1427
  12  8.20158e-05
  13  8.19204
  14  6.26427e-07
  15  3.81561
  16  23.5198
  17  71.5617
  18  7.71108
  19  9.14205e-06
  20  0.000146517
  21  0.20377
  22  0.195551
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  3.792e-01  1.589e+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.038e+00  1.956e-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.053e+00  2.038e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/103539/likelihoodResults_304128001_304387201_4FGL_J0915.9+2933_daily_bin250.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) = 5878.83070945
delta logL = 0.0965478354765

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5878.8288723
delta logL = 0.098384981562

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .34607       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7419       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0376       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0447       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=   5878.829     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      208 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .34528        11.682        .10625E-01    .16992E-02
   2  alpha         2.7440        3.8634        .41398        .26741E-04
   3  Normalizat    1.0376        .26188E-01    .41476E-01   -.21794E-04
   4  Prefactor     1.0447        .26486E-01    .40231E-01   -.45436E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.345284
  alpha      = 2.74397
  Normalizat = 1.03757
  Prefactor  = 1.04469
 **********
 **   18 **HESSE 
 **********

 FCN=   5878.829     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      241 TOTAL
                     EDM=   .83E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .34528        66.290        .87770E-04   -1.5590    
   2  alpha         2.7440        3.5692        .19914E-01    .97742E-01
   3  Normalizat    1.0376        .32272        .23622E-03   -.91782    
   4  Prefactor     1.0447        .27499        .23941E-03   -.91254    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.30477e-07
Minuit parameter uncertainties:
  1  9.57784
  2  18.0156
  3  0.323331
  4  0.275363
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/103539': 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): 102
logL (Free Index) = 5878.82887199
delta logL = 0.0983852924319

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  3.453e-01  9.578e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  2.744e+00  1.802e+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.045e+00  2.754e-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.038e+00  3.233e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.06
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/103539/cmap_HighResolution_304128001_304387201_4FGL_J0915.9+2933_daily_bin250.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.61e-05', job_status='DONE', photon_flux_upper_limit='4.88e-08', time_completed='2021-08-31 05:43:53.927442', job_id='103539', GAL2='1.04', fit_tolerance='1e-08', EG2='1.04', EG='1.05', time_epoch_completed='1630413833.93', return_code2='102', ts='0.06', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='9.84e-02', ts2='0.26', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='250' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:43:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 103539: <4FGL_J0915.9+2933_daily_bin250> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin250> 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) <bullet0242>, 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:43:54 2021
Results reported at Tue Aug 31 05:43:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin250 138.986 29.553 304128001 304387201 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 :                                   636.59 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             306.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   764 sec.
    Turnaround time :                            766 sec.

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

