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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin389
RA = 138.986, Dec = 29.553
tmin = 340156801, tmax = 340416001
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='104911', job_status='RUN', time_executed='2021-08-31 05:39:35.645288', time_epoch_executed='1630413575.65' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='389'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/104911

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/104911/ft1_4FGL_J0915.9+2933_daily_bin389.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/104911/ft2_4FGL_J0915.9+2933_daily_bin389.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/104911/ft1_4FGL_J0915.9+2933_daily_bin389.fits outfile=/scratch/kocevski/104911/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin389.fits ra=138.986 dec=29.553 rad=12.0 tmin=340156801.0 tmax=340416001.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.62
user 3.16
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/104911/ft1_filtered_4FGL_J0915.9+2933_daily_bin389.fits" evtable="EVENTS" scfile=/scratch/kocevski/104911/ft2_4FGL_J0915.9+2933_daily_bin389.fits sctable="SC_DATA" outfile=/scratch/kocevski/104911/ltcube_340156801_340416001_4FGL_J0915.9+2933_daily_bin389.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/104911/ft2_4FGL_J0915.9+2933_daily_bin389.fits
.....................!
real 13.37
user 12.21
sys 0.97

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/104911/ft1_filtered_4FGL_J0915.9+2933_daily_bin389.fits evtable="EVENTS" scfile=/scratch/kocevski/104911/ft2_4FGL_J0915.9+2933_daily_bin389.fits sctable="SC_DATA" expcube=/scratch/kocevski/104911/ltcube_340156801_340416001_4FGL_J0915.9+2933_daily_bin389.fits outfile=/scratch/kocevski/104911/expmap_340156801_340416001_4FGL_J0915.9+2933_daily_bin389.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/104911/ltcube_340156801_340416001_4FGL_J0915.9+2933_daily_bin389.fits
.....................!
real 193.61
user 185.37
sys 6.70

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/104911/ft1_filtered_4FGL_J0915.9+2933_daily_bin389.fits scfile=/scratch/kocevski/104911/ft2_4FGL_J0915.9+2933_daily_bin389.fits outfile=/scratch/kocevski/104911/cmap_340156801_340416001_4FGL_J0915.9+2933_daily_bin389.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.57
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/104911/ft1_filtered_4FGL_J0915.9+2933_daily_bin389.fits scfile=/scratch/kocevski/104911/ft2_4FGL_J0915.9+2933_daily_bin389.fits outfile=/scratch/kocevski/104911/cmap_HighResolution_340156801_340416001_4FGL_J0915.9+2933_daily_bin389.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.65
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1813       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.6672       1.0000         .10000E-03   10000.    
     3 'norm      '    8.8093       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.3798       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10047E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.8128       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.3476       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.8663       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10029       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .86781       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1983       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=   7153.013     FROM MIGRAD    STATUS=CONVERGED    475 CALLS     2027 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1814        1.0361        .14896E-07   -.27764E-04
   2  Prefactor     6.6673        9.8092       -.57171E-07   -.20783E-03
   3  norm          8.8093        1.4013        .11497E-08    .13511E-03
   4  Prefactor     5.3777        12.451        .51141E-07    .17773E-04
   5  Prefactor     .10000E-03    5.5139        .21413E-06** at limit **
   6  norm          .10000E-03    30.045       -.12703E-04** at limit **
   7  Prefactor     2.8130        2.2841       -.46127E-08    .35308E-04
   8  Prefactor     .10000E-03    12.480        .33011E-05** at limit **
   9  Prefactor     .10000E-03    5.8870       -.41434E-06** at limit **
  10  norm          .10000E-03    .80120        .67722E-08** at limit **
  11  Prefactor     .10000E-03    14.910       -.11064E-04** at limit **
  12  Prefactor     .10000E-03    25.570        .94551E-05** at limit **
  13  norm          2.3492        5.2791        .55700E-06   -.95935E-03
  14  Prefactor     .10000E-03    1.1729       -.44644E-07** at limit **
  15  Prefactor     .10000E-03    1.4566       -.10076E-09** at limit **
  16  Prefactor     .10000E-03    20.796        .80895E-05** at limit **
  17  Prefactor     .10000E-03    12.635        .15493E-05** at limit **
  18  Prefactor     2.8660        4.3288       -.88318E-07   -.14654E-02
  19  Prefactor     .10000E-03    2.8236        .12932E-08** at limit **
  20  Prefactor     .10421        1.0103       -.32318E-06    .68418E-03
  21  Normalizat    .86769        .15641        .14150E-06    .12969E-03
  22  Prefactor     1.1984        .15803       -.10644E-06    .11810E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.1814
  Prefactor  = 6.66731
  norm       = 8.80933
  Prefactor  = 5.37771
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.81296
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.3492
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.86598
  Prefactor  = 0.0001
  Prefactor  = 0.104205
  Normalizat = 0.867694
  Prefactor  = 1.19838
 **********
 **   18 **HESSE 
 **********

 FCN=   7153.013     FROM HESSE     STATUS=OK           342 CALLS     2369 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1814        1.0225        .77695E-04   -1.5491    
   2  Prefactor     6.6673        9.8644        .77703E-03   -1.5191    
   3  norm          8.8093        1.4014        .37479E-04   -1.5114    
   4  Prefactor     5.3777        12.441        .17326E-03   -1.5244    
   5  Prefactor     .10000E-03    5.5329        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    30.091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.8130        2.2850        .11197E-03   -1.5373    
   8  Prefactor     .10000E-03    12.485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.0625        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.2645        .14705E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    14.965        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    25.590        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.3492        7.9717        .13377E-02   -1.5401    
  14  Prefactor     .10000E-03    1.1764        .89390E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.4709        .99605E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    20.862        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    12.636        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.8660        5.5544        .12005E-02   -1.5369    
  19  Prefactor     .10000E-03    2.8291        .13879E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10421        10.759        .16104E-02   -1.5643    
  21  Normalizat    .86769        .18720        .26628E-03   -.97605    
  22  Prefactor     1.1984        .18475        .23504E-03   -.86381    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.54241e-09
Minuit parameter uncertainties:
  1  1.02254
  2  9.86679
  3  1.40145
  4  12.447
  5  2.01527e-07
  6  5.63002e-05
  7  2.28506
  8  1.37208e-05
  9  9.55687e-06
  10  1.21769e-06
  11  2.6882e-05
  12  4.28827e-05
  13  7.97531
  14  5.66529e-07
  15  5.88153e-07
  16  2.2345e-05
  17  5.34253e-06
  18  5.55535
  19  1.75206e-07
  20  2.11707
  21  0.187342
  22  0.184849
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.000e-04  1.218e-06  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.198e+00  1.848e-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:  8.677e-01  1.873e-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.58e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.12e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/104911/likelihoodResults_340156801_340416001_4FGL_J0915.9+2933_daily_bin389.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) = 7153.01676157
delta logL = -0.00376033434532

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7152.57593041
delta logL = 0.437070823074

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .24014       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2391       1.0000          .0000       5.0000    
     3 'Normalizat'    .83190       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2115       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=   7152.576     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      274 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .24013        4.3434        .10159E-01    .35342E-02
   2  alpha         3.2391        3.9490        .29442        .29218E-04
   3  Normalizat    .83191        .30744E-01    .44025E-01    .19493E-04
   4  Prefactor     1.2115        .31408E-01    .52893E-01    .39807E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.24013
  alpha      = 3.23908
  Normalizat = 0.831913
  Prefactor  = 1.2115
 **********
 **   18 **HESSE 
 **********

 FCN=   7152.576     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      309 TOTAL
                     EDM=   .55E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .24013        16.022        .48113E-03   -1.5610    
   2  alpha         3.2391        2.9964        .15491E-01    .30012    
   3  Normalizat    .83191        .17089        .27136E-03   -.98896    
   4  Prefactor     1.2115        .17570        .23385E-03   -.85978    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.47944e-08
Minuit parameter uncertainties:
  1  3.92316
  2  7.97684
  3  0.171001
  4  0.175785
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/104911': 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) = 7152.5759304
delta logL = 0.437070828683

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  2.401e-01  3.923e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  3.239e+00  7.977e+00  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.212e+00  1.758e-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:  8.319e-01  1.710e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/104911/cmap_HighResolution_340156801_340416001_4FGL_J0915.9+2933_daily_bin389.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.12e-05', job_status='DONE', photon_flux_upper_limit='3.58e-08', time_completed='2021-08-31 05:50:24.772328', job_id='104911', GAL2='1.21', fit_tolerance='1e-08', EG2='0.83', EG='0.87', time_epoch_completed='1630414224.77', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.20', dlogl='4.37e-01', ts2='0.90', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='389' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:50:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 104911: <4FGL_J0915.9+2933_daily_bin389> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin389> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 31 05:35:36 2021
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:35:38 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:35:38 2021
Terminated at Tue Aug 31 05:50:25 2021
Results reported at Tue Aug 31 05:50:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin389 138.986 29.553 340156801 340416001 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 :                                   641.59 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             275.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   887 sec.
    Turnaround time :                            889 sec.

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

