/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 189 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 = 7037
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0915.9+2933_daily_bin109
RA = 138.986, Dec = 29.553
tmin = 267580801, tmax = 267840001
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='103309', job_status='RUN', time_executed='2021-08-31 05:35:29.462678', time_epoch_executed='1630413329.46' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='109'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/103309

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

Retrieving the FT1 file...

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

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

Retrieving 44 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/103309/ft1_4FGL_J0915.9+2933_daily_bin109.fits


Retrieving the FT1 file...

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

Retrieving 44 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/103309/ft2_4FGL_J0915.9+2933_daily_bin109.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/103309/ft1_4FGL_J0915.9+2933_daily_bin109.fits outfile=/scratch/kocevski/103309/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin109.fits ra=138.986 dec=29.553 rad=12.0 tmin=267580801.0 tmax=267840001.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.92
user 1.18
sys 3.68

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/103309/ft1_filtered_4FGL_J0915.9+2933_daily_bin109.fits" evtable="EVENTS" scfile=/scratch/kocevski/103309/ft2_4FGL_J0915.9+2933_daily_bin109.fits sctable="SC_DATA" outfile=/scratch/kocevski/103309/ltcube_267580801_267840001_4FGL_J0915.9+2933_daily_bin109.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/103309/ft2_4FGL_J0915.9+2933_daily_bin109.fits
.....................!
real 15.86
user 11.57
sys 4.24

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/103309/ft1_filtered_4FGL_J0915.9+2933_daily_bin109.fits evtable="EVENTS" scfile=/scratch/kocevski/103309/ft2_4FGL_J0915.9+2933_daily_bin109.fits sctable="SC_DATA" expcube=/scratch/kocevski/103309/ltcube_267580801_267840001_4FGL_J0915.9+2933_daily_bin109.fits outfile=/scratch/kocevski/103309/expmap_267580801_267840001_4FGL_J0915.9+2933_daily_bin109.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/103309/ltcube_267580801_267840001_4FGL_J0915.9+2933_daily_bin109.fits
.....................!
real 194.71
user 185.31
sys 8.99

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/103309/ft1_filtered_4FGL_J0915.9+2933_daily_bin109.fits scfile=/scratch/kocevski/103309/ft2_4FGL_J0915.9+2933_daily_bin109.fits outfile=/scratch/kocevski/103309/cmap_267580801_267840001_4FGL_J0915.9+2933_daily_bin109.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.66
user 0.39
sys 3.50

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/103309/ft1_filtered_4FGL_J0915.9+2933_daily_bin109.fits scfile=/scratch/kocevski/103309/ft2_4FGL_J0915.9+2933_daily_bin109.fits outfile=/scratch/kocevski/103309/cmap_HighResolution_267580801_267840001_4FGL_J0915.9+2933_daily_bin109.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.10
user 0.38
sys 3.60

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8413       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .36582       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.9899       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    61.760       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.4408       1.0000         .10000E-03   10000.    
    10 'norm      '    .73955E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    42.120       1.0000         .10000E-03   10000.    
    13 'norm      '    1.1719       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.0778       1.0000         .10000E-03   10000.    
    16 'Prefactor '    42.296       1.0000         .10000E-03   10000.    
    17 'Prefactor '    13.601       1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.494       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.3060       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .72335       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1431       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=   5396.383     FROM MIGRAD    STATUS=CONVERGED    474 CALLS     3036 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8412        1.4673       -.14761E-06   -.13038E-03
   2  Prefactor     .10000E-03    7.0315        .21698E-06** at limit **
   3  norm          .36610        .71608       -.14761E-06   -.13247E-02
   4  Prefactor     6.9836        15.876       -.34767E-05   -.32029E-04
   5  Prefactor     .10000E-03    12.884        .50244E-06** at limit **
   6  norm          .10000E-03    30.383        .74720E-06** at limit **
   7  Prefactor     .10000E-03    2.2015        .14976E-07** at limit **
   8  Prefactor     61.759        45.097       -.74807E-06    .46252E-04
   9  Prefactor     4.4406        5.0171       -.16119E-06   -.18646E-03
  10  norm          .69091E-01    1.1216       -.29058E-06    .24672E-03
  11  Prefactor     .10000E-03    9.6928       -.24449E-06** at limit **
  12  Prefactor     42.118        39.510       -.26712E-05    .15037E-04
  13  norm          1.1713        4.5882       -.47257E-05   -.92889E-03
  14  Prefactor     .10000E-03    2.1380        .15980E-06** at limit **
  15  Prefactor     4.0790        3.7124       -.12199E-05   -.12780E-03
  16  Prefactor     42.297        27.627        .51928E-06    .25971E-04
  17  Prefactor     13.573        53.537       -.67200E-04    .26787E-05
  18  Prefactor     13.494        7.0379        .16776E-06   -.91903E-03
  19  Prefactor     .10000E-03    5.2265       -.42395E-06** at limit **
  20  Prefactor     6.3062        3.1473       -.33318E-06   -.54106E-04
  21  Normalizat    .72326        .17784        .27125E-05    .13432E-03
  22  Prefactor     1.1433        .17666        .16662E-05    .13049E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.84116
  Prefactor  = 0.0001
  norm       = 0.366101
  Prefactor  = 6.98361
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 61.7592
  Prefactor  = 4.4406
  norm       = 0.0690913
  Prefactor  = 0.0001
  Prefactor  = 42.118
  norm       = 1.17131
  Prefactor  = 0.0001
  Prefactor  = 4.07896
  Prefactor  = 42.2968
  Prefactor  = 13.573
  Prefactor  = 13.4938
  Prefactor  = 0.0001
  Prefactor  = 6.30621
  Normalizat = 0.723264
  Prefactor  = 1.14326
 **********
 **   18 **HESSE 
 **********

 FCN=   5396.383     FROM HESSE     STATUS=OK           348 CALLS     3384 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8412        1.4642        .61514E-04   -1.5371    
   2  Prefactor     .10000E-03    7.0738        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .36610        .64493        .75684E-03   -1.5587    
   4  Prefactor     6.9836        15.217        .15174E-03   -1.5179    
   5  Prefactor     .10000E-03    12.975        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    30.441        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.2382        .10638E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     61.759        45.009        .51058E-04   -1.4135    
   9  Prefactor     4.4406        4.9872        .16031E-03   -1.5286    
  10  norm          .69091E-01    13.013        .14547E-02   -1.5655    
  11  Prefactor     .10000E-03    9.7072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     42.118        39.517        .61768E-04   -1.4409    
  13  norm          1.1713        4.6105        .30354E-03   -1.5492    
  14  Prefactor     .10000E-03    2.1669        .10456E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.0790        3.7007        .12534E-03   -1.5304    
  16  Prefactor     42.297        27.655        .61640E-04   -1.4406    
  17  Prefactor     13.573        52.915        .10861E-03   -1.4971    
  18  Prefactor     13.494        7.0387        .54521E-03   -1.4973    
  19  Prefactor     .10000E-03    5.2563        .16400E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.3062        3.1480        .87889E-04   -1.5206    
  21  Normalizat    .72326        .20213        .26306E-03   -1.0298    
  22  Prefactor     1.1433        .20289        .21958E-03   -.88096    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.66623e-09
Minuit parameter uncertainties:
  1  1.46423
  2  1.22399e-05
  3  0.644945
  4  15.2253
  5  3.39576e-05
  6  2.05798e-05
  7  1.25923e-05
  8  45.0337
  9  4.9877
  10  1.89548
  11  3.18821e-05
  12  39.5416
  13  4.61186
  14  1.122e-05
  15  3.7009
  16  27.6632
  17  53.0993
  18  7.03912
  19  1.55666e-05
  20  3.14813
  21  0.202334
  22  0.203025
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  6.909e-02  1.895e+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.143e+00  2.030e-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:  7.233e-01  2.023e-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: 5.29e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.08e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/103309/likelihoodResults_267580801_267840001_4FGL_J0915.9+2933_daily_bin109.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) = 5396.3824283
delta logL = 0.000230367191762

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5396.38232395
delta logL = 0.000334717227815

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .74788E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6519       1.0000          .0000       5.0000    
     3 'Normalizat'    .72323       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1433       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5396.382     FROM MIGRAD    STATUS=FAILED       106 CALLS      293 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .82995E-01    928.59        .14962E-02    .64706E-03
   2  alpha         1.6582        3.5731        .40344        .30742E-05
   3  Normalizat    .72342        .50159E-01    .26303E-03   -.22320E-03
   4  Prefactor     1.1430        .61884E-01    .21960E-03    .18974E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5396.382     FROM SIMPLEX   STATUS=UNCHANGED     97 CALLS      390 TOTAL
                     EDM=   .54E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .82995E-01    928.59        .28380E-03    .64706E-03
   2  alpha         1.6582        3.5731        .11327E-02    .30742E-05
   3  Normalizat    .72342        .50159E-01    .34691E-04   -.22320E-03
   4  Prefactor     1.1430        .61884E-01    .21906E-04    .18974E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5396.382     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      424 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .82971E-01    16.277        .59849E-04    .35370E-03
   2  alpha         1.6582        3.1456        .83798E-01    .17605E-04
   3  Normalizat    .72342        .19258        .10521E-04   -.24636E-03
   4  Prefactor     1.1430        .20166        .43919E-04    .13833E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0829712
  alpha      = 1.6582
  Normalizat = 0.72342
  Prefactor  = 1.14301
 **********
 **   18 **HESSE 
 **********

 FCN=   5396.382     FROM HESSE     STATUS=OK            25 CALLS      449 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .82971E-01    10.066        .23939E-05   -1.5650    
   2  alpha         1.6582        3.3085        .33519E-02   -.34343    
   3  Normalizat    .72342        .19213        .21043E-05   -1.0298    
   4  Prefactor     1.1430        .20022        .87838E-05   -.88103    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8253e-09
Minuit parameter uncertainties:
  1  1.82702
  2  3.31674
  3  0.192314
  4  0.200355
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/103309': 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) = 5396.3823123
delta logL = 0.000346364226061

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  8.297e-02  1.827e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.658e+00  3.317e+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.143e+00  2.004e-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:  7.234e-01  1.923e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 138.986 29.553

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.08e-05', job_status='DONE', photon_flux_upper_limit='5.29e-08', time_completed='2021-08-31 05:46:53.960260', job_id='103309', GAL2='1.14', fit_tolerance='1e-08', EG2='0.72', EG='0.72', time_epoch_completed='1630414013.96', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='3.46e-04', ts2='0.00', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='109' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:46:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0142>
Subject: Job 103309: <4FGL_J0915.9+2933_daily_bin109> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin109 138.986 29.553 267580801 267840001 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 :                                   731.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             244.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   961 sec.
    Turnaround time :                            964 sec.

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

