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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin217
RA = 138.986, Dec = 29.553
tmin = 295574401, tmax = 295833601
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='103468', job_status='RUN', time_executed='2021-08-31 05:36:12.448824', time_epoch_executed='1630413372.45' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='217'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/103468

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/103468/ft1_4FGL_J0915.9+2933_daily_bin217.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/103468/ft2_4FGL_J0915.9+2933_daily_bin217.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/103468/ft1_4FGL_J0915.9+2933_daily_bin217.fits outfile=/scratch/kocevski/103468/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin217.fits ra=138.986 dec=29.553 rad=12.0 tmin=295574401.0 tmax=295833601.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.27
user 2.17
sys 3.87

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/103468/ft1_filtered_4FGL_J0915.9+2933_daily_bin217.fits" evtable="EVENTS" scfile=/scratch/kocevski/103468/ft2_4FGL_J0915.9+2933_daily_bin217.fits sctable="SC_DATA" outfile=/scratch/kocevski/103468/ltcube_295574401_295833601_4FGL_J0915.9+2933_daily_bin217.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/103468/ft2_4FGL_J0915.9+2933_daily_bin217.fits
.....................!
real 17.23
user 12.56
sys 4.44

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/103468/ft1_filtered_4FGL_J0915.9+2933_daily_bin217.fits evtable="EVENTS" scfile=/scratch/kocevski/103468/ft2_4FGL_J0915.9+2933_daily_bin217.fits sctable="SC_DATA" expcube=/scratch/kocevski/103468/ltcube_295574401_295833601_4FGL_J0915.9+2933_daily_bin217.fits outfile=/scratch/kocevski/103468/expmap_295574401_295833601_4FGL_J0915.9+2933_daily_bin217.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/103468/ltcube_295574401_295833601_4FGL_J0915.9+2933_daily_bin217.fits
.....................!
real 195.92
user 185.17
sys 9.54

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/103468/ft1_filtered_4FGL_J0915.9+2933_daily_bin217.fits scfile=/scratch/kocevski/103468/ft2_4FGL_J0915.9+2933_daily_bin217.fits outfile=/scratch/kocevski/103468/cmap_295574401_295833601_4FGL_J0915.9+2933_daily_bin217.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 4.24
user 0.38
sys 3.74

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/103468/ft1_filtered_4FGL_J0915.9+2933_daily_bin217.fits scfile=/scratch/kocevski/103468/ft2_4FGL_J0915.9+2933_daily_bin217.fits outfile=/scratch/kocevski/103468/cmap_HighResolution_295574401_295833601_4FGL_J0915.9+2933_daily_bin217.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 4.35
user 0.40
sys 3.76

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .74137       1.0000         .10000E-03   10000.    
     2 'Prefactor '    20.190       1.0000         .10000E-03   10000.    
     3 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.211       1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.079       1.0000         .10000E-03   10000.    
     6 'norm      '    .10067E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    27.266       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.7635       1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.384       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10795E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10272E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.1987       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.4290       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10555E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1880       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .84227       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=   5578.824     FROM MIGRAD    STATUS=CONVERGED    470 CALLS     2360 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .74136        1.2102       -.95272E-07   -.77951E-03
   2  Prefactor     20.192        16.042        .99017E-07   -.80238E-04
   3  norm          .10000E-03    .31813        .27911E-06** at limit **
   4  Prefactor     10.208        12.058       -.47820E-05   -.35932E-03
   5  Prefactor     17.081        12.886        .14094E-05   -.64354E-04
   6  norm          .10000E-03    68.029        .53294E-04** at limit **
   7  Prefactor     .10000E-03    .95516        .18878E-07** at limit **
   8  Prefactor     27.268        27.132        .98982E-06    .11137E-05
   9  Prefactor     .10000E-03    1.8137        .18250E-07** at limit **
  10  norm          1.7636        1.3895       -.15205E-07    .36212E-04
  11  Prefactor     10.382        12.457       -.14229E-05   -.20685E-04
  12  Prefactor     .10000E-03    55.235        .24491E-04** at limit **
  13  norm          .10000E-03    3.2440        .99465E-08** at limit **
  14  Prefactor     .10000E-03    1.6217        .20605E-07** at limit **
  15  Prefactor     .10000E-03    1.2408        .15043E-07** at limit **
  16  Prefactor     .10000E-03    50.003       -.29093E-04** at limit **
  17  Prefactor     .10000E-03    89.204       -.61926E-04** at limit **
  18  Prefactor     5.1967        6.7339        .47109E-06   -.85915E-04
  19  Prefactor     6.4296        9.8765        .19810E-05   -.73457E-04
  20  Prefactor     .10000E-03    1.0385       -.29367E-07** at limit **
  21  Normalizat    1.1879        .17468       -.18845E-06   -.29643E-05
  22  Prefactor     .84234        .16826        .34602E-06   -.10605E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.741362
  Prefactor  = 20.1916
  norm       = 0.0001
  Prefactor  = 10.2076
  Prefactor  = 17.0809
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.2682
  Prefactor  = 0.0001
  norm       = 1.7636
  Prefactor  = 10.3823
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 5.19673
  Prefactor  = 6.42955
  Prefactor  = 0.0001
  Normalizat = 1.18791
  Prefactor  = 0.842338
 **********
 **   18 **HESSE 
 **********

 FCN=   5578.824     FROM HESSE     STATUS=OK           346 CALLS     2706 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .74136        1.0272        .97092E-03   -1.5536    
   2  Prefactor     20.192        15.688        .89138E-04   -1.4809    
   3  norm          .10000E-03    .50505        .80097E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.208        11.895        .12539E-03   -1.5069    
   5  Prefactor     17.081        12.895        .96913E-04   -1.4881    
   6  norm          .10000E-03    68.498        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    .95823        .71282E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     27.268        27.127        .76721E-04   -1.4663    
   9  Prefactor     .10000E-03    1.8336        .98190E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.7636        1.3931        .76003E-04   -1.5442    
  11  Prefactor     10.382        12.455        .12434E-03   -1.5063    
  12  Prefactor     .10000E-03    55.422        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    3.2640        .13132E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.6386        .92839E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.2502        .81212E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    50.936        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    89.225        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.1967        6.7287        .17631E-03   -1.5252    
  19  Prefactor     6.4296        9.8904        .15829E-03   -1.5201    
  20  Prefactor     .10000E-03    2.2336        .14792E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1879        .19863        .21814E-03   -.86977    
  22  Prefactor     .84234        .19101        .25271E-03   -.98186    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.65068e-10
Minuit parameter uncertainties:
  1  1.02725
  2  15.691
  3  2.04039e-05
  4  11.898
  5  12.8976
  6  0.000222961
  7  1.80566e-07
  8  27.139
  9  1.74661e-06
  10  1.39308
  11  12.4577
  12  0.000102313
  13  5.2892e-06
  14  1.94204e-06
  15  3.31125e-07
  16  0.000513232
  17  0.000145377
  18  6.72968
  19  9.89292
  20  5.07582e-06
  21  0.198756
  22  0.191159
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.764e+00  1.393e+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:  8.423e-01  1.912e-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.188e+00  1.988e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.94
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.79e-08 +/- 1.41e-08
Energy Flux (Fixed Index): 2.05e-05 +/- 1.62e-05

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) = 5578.27269693
delta logL = 0.551765624104

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5578.15409869
delta logL = 0.670363866538

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .92094       1.0000         .10000E-03   10000.    
     2 'alpha     '    .96562       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1935       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84554       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=   5578.154     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      201 TOTAL
                     EDM=   .78E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .92085        .88611        .12883E-01   -.52396E-04
   2  alpha         .96471        .45554        .35908       -.34902E-04
   3  Normalizat    1.1934        .16777        .35051E-01    .61068E-04
   4  Prefactor     .84570        .16767        .44307E-01    .73758E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.920853
  alpha      = 0.964707
  Normalizat = 1.1934
  Prefactor  = 0.845704
 **********
 **   18 **HESSE 
 **********

 FCN=   5578.154     FROM HESSE     STATUS=OK            35 CALLS      236 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .92085        1.5089        .61291E-03   -1.5516    
   2  alpha         .96471        .73986        .15468E-01   -.66127    
   3  Normalizat    1.1934        .19010        .21774E-03   -.86807    
   4  Prefactor     .84570        .19009        .25242E-03   -.98065    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25253e-11
Minuit parameter uncertainties:
  1  1.50901
  2  0.758398
  3  0.19021
  4  0.190242
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/103468': 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) = 5578.15409626
delta logL = 0.670366297953

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  9.209e-01  1.509e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  9.647e-01  7.584e-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:  8.457e-01  1.902e-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.193e+00  1.902e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.28
Ra Dec: 138.986 29.553
Photon Index (Free Index): 0.96 +/- 0.76
Photon Flux (Free Index): 6.51e-09 +/- 8.60e-09
Energy Flux (Free Index): 5.93e-05 +/- 7.53e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/103468/cmap_HighResolution_295574401_295833601_4FGL_J0915.9+2933_daily_bin217.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.79e-08', energy_flux2='5.93e-05', photon_flux_error='1.41e-08', dlogl='6.70e-01', energy_flux='2.05e-05', photon_flux2='6.51e-09', job_status='DONE', time_completed='2021-08-31 05:46:12.090891', photon_index_error2='0.76', photon_index2='0.96', ts='7.94', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='7.53e-05', EG='1.19', time_epoch_completed='1630413972.09', return_code='0', job_id='103468', GAL2='0.85', EG2='1.19', return_code2='0', energy_flux_error='1.62e-05', photon_flux_error2='8.60e-09', ts2='9.28', photon_index='1.75' WHERE bin_id='217' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:46:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 103468: <4FGL_J0915.9+2933_daily_bin217> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin217 138.986 29.553 295574401 295833601 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 :                                   651.40 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             214.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   907 sec.
    Turnaround time :                            909 sec.

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

