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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin894
RA = 138.986, Dec = 29.553
tmin = 471052801, tmax = 471312001
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='108360', job_status='RUN', time_executed='2021-08-31 05:51:03.891335', time_epoch_executed='1630414263.89' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='894'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/108360

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/108360/ft1_4FGL_J0915.9+2933_daily_bin894.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/108360/ft2_4FGL_J0915.9+2933_daily_bin894.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/108360/ft1_4FGL_J0915.9+2933_daily_bin894.fits outfile=/scratch/kocevski/108360/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin894.fits ra=138.986 dec=29.553 rad=12.0 tmin=471052801.0 tmax=471312001.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 4.10
user 3.73
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/108360/ft1_filtered_4FGL_J0915.9+2933_daily_bin894.fits" evtable="EVENTS" scfile=/scratch/kocevski/108360/ft2_4FGL_J0915.9+2933_daily_bin894.fits sctable="SC_DATA" outfile=/scratch/kocevski/108360/ltcube_471052801_471312001_4FGL_J0915.9+2933_daily_bin894.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/108360/ft2_4FGL_J0915.9+2933_daily_bin894.fits
.....................!
real 13.21
user 12.78
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/108360/ft1_filtered_4FGL_J0915.9+2933_daily_bin894.fits evtable="EVENTS" scfile=/scratch/kocevski/108360/ft2_4FGL_J0915.9+2933_daily_bin894.fits sctable="SC_DATA" expcube=/scratch/kocevski/108360/ltcube_471052801_471312001_4FGL_J0915.9+2933_daily_bin894.fits outfile=/scratch/kocevski/108360/expmap_471052801_471312001_4FGL_J0915.9+2933_daily_bin894.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/108360/ltcube_471052801_471312001_4FGL_J0915.9+2933_daily_bin894.fits
.....................!
real 191.14
user 186.50
sys 4.30

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

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

This is gtbin version HEAD
real 0.78
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/108360/ft1_filtered_4FGL_J0915.9+2933_daily_bin894.fits scfile=/scratch/kocevski/108360/ft2_4FGL_J0915.9+2933_daily_bin894.fits outfile=/scratch/kocevski/108360/cmap_HighResolution_471052801_471312001_4FGL_J0915.9+2933_daily_bin894.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.66
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    8.7539       1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.763       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .24418       1.0000         .10000E-03   10000.    
     6 'norm      '    7.5013       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .17267       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.3342       1.0000         .10000E-03   10000.    
    10 'norm      '    2.1256       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .75565       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.3106       1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.7497       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.4830       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.1072       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .84442       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2171       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=   6559.861     FROM MIGRAD    STATUS=CONVERGED    515 CALLS     2077 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .41897        .87977E-08** at limit **
   2  Prefactor     .10000E-03    4.0967       -.33241E-08** at limit **
   3  norm          8.7539        1.4261        .82955E-08   -.83018E-05
   4  Prefactor     16.762        13.332        .91198E-07    .13489E-04
   5  Prefactor     .85845E-01    7.8920       -.17315E-06    .93562E-04
   6  norm          7.5023        25.785        .62464E-06    .15750E-04
   7  Prefactor     .18084        1.6711        .16060E-07   -.61683E-04
   8  Prefactor     .10000E-03    13.345        .26279E-05** at limit **
   9  Prefactor     8.3330        4.9359        .88255E-07    .58961E-04
  10  norm          2.1258        1.5520       -.13672E-07   -.16853E-04
  11  Prefactor     .10000E-03    9.0559       -.23498E-06** at limit **
  12  Prefactor     .10000E-03    20.335       -.26686E-06** at limit **
  13  norm          .75505        7.0201        .32081E-05   -.28588E-03
  14  Prefactor     3.3100        2.8296       -.17392E-06   -.15948E-03
  15  Prefactor     1.7507        3.3454        .46154E-06   -.88505E-04
  16  Prefactor     .10000E-03    13.073       -.24938E-05** at limit **
  17  Prefactor     .10000E-03    63.358        .45150E-06** at limit **
  18  Prefactor     4.4796        6.9447        .47547E-06    .10521E-04
  19  Prefactor     .10000E-03    6.6608        .25388E-07** at limit **
  20  Prefactor     5.1067        2.8857        .47996E-07   -.44096E-04
  21  Normalizat    .84458        .17206       -.91802E-06   -.30690E-04
  22  Prefactor     1.2172        .16883        .75854E-08   -.67971E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 8.75392
  Prefactor  = 16.7621
  Prefactor  = 0.085845
  norm       = 7.50231
  Prefactor  = 0.180837
  Prefactor  = 0.000100003
  Prefactor  = 8.333
  norm       = 2.1258
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.755045
  Prefactor  = 3.30998
  Prefactor  = 1.75069
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 4.47957
  Prefactor  = 0.0001
  Prefactor  = 5.10666
  Normalizat = 0.844576
  Prefactor  = 1.21718
 **********
 **   18 **HESSE 
 **********

 FCN=   6559.861     FROM HESSE     STATUS=OK           356 CALLS     2433 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .43145        .10235E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.1098        .16010E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.7539        1.4274        .36948E-04   -1.5116    
   4  Prefactor     16.762        13.338        .97825E-04   -1.4889    
   5  Prefactor     .85845E-01    13.621        .69795E-01   -1.5649    
   6  norm          7.5023        25.812        .14643E-03   -1.5160    
   7  Prefactor     .18084        7.1256        .20142E-02   -1.5623    
   8  Prefactor     .10000E-03    14.416        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.3330        4.9411        .13086E-03   -1.5131    
  10  norm          2.1258        1.5481        .83326E-04   -1.5416    
  11  Prefactor     .10000E-03    9.1030        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    20.356        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .75505        7.8675        .42954E-03   -1.5534    
  14  Prefactor     3.3100        2.8271        .11983E-03   -1.5344    
  15  Prefactor     1.7507        3.3356        .19225E-03   -1.5443    
  16  Prefactor     .10000E-03    14.047        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    63.537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.4796        6.9535        .19016E-03   -1.5285    
  19  Prefactor     .10000E-03    6.9207        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.1067        2.8862        .97447E-04   -1.5256    
  21  Normalizat    .84458        .19933        .26894E-03   -.98436    
  22  Prefactor     1.2172        .19690        .23792E-03   -.85804    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.74101e-08
Minuit parameter uncertainties:
  1  4.9303e-07
  2  7.29089e-07
  3  1.42741
  4  13.3405
  5  2.1619
  6  25.8499
  7  2.26996
  8  0.000390241
  9  4.94138
  10  1.54813
  11  3.04347e-05
  12  4.64101e-05
  13  4.87506
  14  2.82724
  15  3.33597
  16  0.000365919
  17  0.000145504
  18  6.9548
  19  6.1532e-06
  20  2.88632
  21  0.199498
  22  0.197019
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  2.126e+00  1.548e+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.217e+00  1.970e-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.446e-01  1.995e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.28
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 2.15e-08 +/- 1.57e-08
Energy Flux (Fixed Index): 2.47e-05 +/- 1.80e-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) = 6559.85294125
delta logL = 0.00791693957126

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6559.85276283
delta logL = 0.00809535750614

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1091       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8225       1.0000          .0000       5.0000    
     3 'Normalizat'    .84275       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2178       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=   6559.853     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      205 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1091        51.060        .71022E-02    .18538E-03
   2  alpha         1.8225        2.6821        .31316        .16173E-04
   3  Normalizat    .84275        .14095        .44166E-01    .18075E-04
   4  Prefactor     1.2178        .94829E-01    .53800E-01    .26937E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.10908
  alpha      = 1.82254
  Normalizat = 0.842746
  Prefactor  = 1.21777
 **********
 **   18 **HESSE 
 **********

 FCN=   6559.853     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1091        1.5406        .82250E-04   -1.5418    
   2  alpha         1.8225        .56871        .15627E-01   -.27442    
   3  Normalizat    .84275        .18558        .26921E-03   -.98502    
   4  Prefactor     1.2178        .19363        .23787E-03   -.85786    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.37703e-10
Minuit parameter uncertainties:
  1  1.54066
  2  0.574137
  3  0.185716
  4  0.193747
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/108360': 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) = 6559.85276283
delta logL = 0.00809535780536

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  2.109e+00  1.541e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.823e+00  5.741e-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.218e+00  1.937e-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.427e-01  1.857e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.28
Ra Dec: 138.986 29.553
Photon Index (Free Index): 1.82 +/- 0.57
Photon Flux (Free Index): 2.34e-08 +/- 2.23e-08
Energy Flux (Free Index): 2.27e-05 +/- 2.26e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/108360/cmap_HighResolution_471052801_471312001_4FGL_J0915.9+2933_daily_bin894.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.15e-08', energy_flux2='2.27e-05', photon_flux_error='1.57e-08', dlogl='8.10e-03', energy_flux='2.47e-05', photon_flux2='2.34e-08', job_status='DONE', time_completed='2021-08-31 06:00:36.315407', photon_index_error2='0.57', photon_index2='1.82', ts='5.28', fit_tolerance='1e-08', GAL='1.22', photon_index_error='0.00', energy_flux_error2='2.26e-05', EG='0.84', time_epoch_completed='1630414836.32', return_code='0', job_id='108360', GAL2='1.22', EG2='0.84', return_code2='0', energy_flux_error='1.80e-05', photon_flux_error2='2.23e-08', ts2='5.28', photon_index='1.75' WHERE bin_id='894' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:00:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0156>
Subject: Job 108360: <4FGL_J0915.9+2933_daily_bin894> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin894 138.986 29.553 471052801 471312001 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 :                                   558.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             240.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   872 sec.
    Turnaround time :                            874 sec.

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

