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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin617
RA = 138.986, Dec = 29.553
tmin = 399254401, tmax = 399513601
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='106668', job_status='RUN', time_executed='2021-08-31 05:42:47.946016', time_epoch_executed='1630413767.95' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='617'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/106668

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/106668/ft1_4FGL_J0915.9+2933_daily_bin617.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/106668/ft2_4FGL_J0915.9+2933_daily_bin617.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/106668/ft1_4FGL_J0915.9+2933_daily_bin617.fits outfile=/scratch/kocevski/106668/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin617.fits ra=138.986 dec=29.553 rad=12.0 tmin=399254401.0 tmax=399513601.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 5.30
user 5.03
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/106668/ft1_filtered_4FGL_J0915.9+2933_daily_bin617.fits" evtable="EVENTS" scfile=/scratch/kocevski/106668/ft2_4FGL_J0915.9+2933_daily_bin617.fits sctable="SC_DATA" outfile=/scratch/kocevski/106668/ltcube_399254401_399513601_4FGL_J0915.9+2933_daily_bin617.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/106668/ft2_4FGL_J0915.9+2933_daily_bin617.fits
.....................!
real 12.28
user 11.84
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/106668/ft1_filtered_4FGL_J0915.9+2933_daily_bin617.fits evtable="EVENTS" scfile=/scratch/kocevski/106668/ft2_4FGL_J0915.9+2933_daily_bin617.fits sctable="SC_DATA" expcube=/scratch/kocevski/106668/ltcube_399254401_399513601_4FGL_J0915.9+2933_daily_bin617.fits outfile=/scratch/kocevski/106668/expmap_399254401_399513601_4FGL_J0915.9+2933_daily_bin617.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/106668/ltcube_399254401_399513601_4FGL_J0915.9+2933_daily_bin617.fits
.....................!
real 191.67
user 186.30
sys 4.72

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/106668/ft1_filtered_4FGL_J0915.9+2933_daily_bin617.fits scfile=/scratch/kocevski/106668/ft2_4FGL_J0915.9+2933_daily_bin617.fits outfile=/scratch/kocevski/106668/cmap_399254401_399513601_4FGL_J0915.9+2933_daily_bin617.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/106668/ft1_filtered_4FGL_J0915.9+2933_daily_bin617.fits scfile=/scratch/kocevski/106668/ft2_4FGL_J0915.9+2933_daily_bin617.fits outfile=/scratch/kocevski/106668/cmap_HighResolution_399254401_399513601_4FGL_J0915.9+2933_daily_bin617.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.54
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7962       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.5675       1.0000         .10000E-03   10000.    
     3 'norm      '    1.0050       1.0000         .10000E-03   10000.    
     4 'Prefactor '    33.466       1.0000         .10000E-03   10000.    
     5 'Prefactor '    25.780       1.0000         .10000E-03   10000.    
     6 'norm      '    .10541E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.1315       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10197E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.423       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.1500       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.3041       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .73303E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    66.212       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.4675       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .56551E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10922E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2137       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .96977       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=   6104.995     FROM MIGRAD    STATUS=CONVERGED    533 CALLS     2475 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7961        1.5902       -.29817E-06    .19056E-03
   2  Prefactor     1.5690        32.959        .15647E-04   -.46495E-04
   3  norm          1.0050        .73107       -.12271E-07    .27936E-04
   4  Prefactor     33.463        17.800       -.24592E-07    .24783E-04
   5  Prefactor     25.762        21.072       -.19771E-06    .20979E-03
   6  norm          .10000E-03    25.817       -.24850E-06** at limit **
   7  Prefactor     4.1322        4.3791        .23511E-06    .43854E-04
   8  Prefactor     .10000E-03    26.348        .96389E-06** at limit **
   9  Prefactor     .10000E-03    2.5001        .29085E-06** at limit **
  10  norm          .10000E-03    .78977        .30605E-06** at limit **
  11  Prefactor     18.425        16.887       -.12599E-06   -.40825E-05
  12  Prefactor     3.9450        265.66        .13484E-05   -.41500E-05
  13  norm          .10000E-03    4.9825        .39008E-06** at limit **
  14  Prefactor     2.3043        2.4723        .98815E-07    .67627E-04
  15  Prefactor     .79448E-01    2.1762       -.11555E-05    .23546E-03
  16  Prefactor     .10000E-03    71.518       -.10855E-05** at limit **
  17  Prefactor     66.171        62.257        .23222E-07    .15164E-04
  18  Prefactor     6.4653        7.8246        .13167E-05    .11268E-03
  19  Prefactor     .10002E-03    8.0745        .44089E-05** at limit **
  20  Prefactor     .10000E-03    1.3834       -.15114E-06** at limit **
  21  Normalizat    1.2134        .19347       -.35207E-05   -.26826E-03
  22  Prefactor     .97013        .18041        .26760E-05    .18312E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.79609
  Prefactor  = 1.56904
  norm       = 1.00502
  Prefactor  = 33.4633
  Prefactor  = 25.7619
  norm       = 0.0001
  Prefactor  = 4.13222
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 18.4252
  Prefactor  = 3.94496
  norm       = 0.0001
  Prefactor  = 2.30427
  Prefactor  = 0.0794485
  Prefactor  = 0.000100002
  Prefactor  = 66.1711
  Prefactor  = 6.46533
  Prefactor  = 0.000100023
  Prefactor  = 0.0001
  Normalizat = 1.21338
  Prefactor  = 0.970131
 **********
 **   18 **HESSE 
 **********

 FCN=   6104.995     FROM HESSE     STATUS=OK           352 CALLS     2827 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7961        1.5828        .86593E-04   -1.5440    
   2  Prefactor     1.5690        36.349        .16982E-02   -1.5457    
   3  norm          1.0050        .73507        .26876E-03   -1.5507    
   4  Prefactor     33.463        17.735        .69269E-04   -1.4550    
   5  Prefactor     25.762        21.146        .78897E-04   -1.4692    
   6  norm          .10000E-03    25.876        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.1322        4.3728        .16076E-03   -1.5301    
   8  Prefactor     .10000E-03    26.485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.5336        .12070E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.3256        .13455E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.425        16.880        .93314E-04   -1.4849    
  12  Prefactor     3.9450        266.07        .19786E-03   -1.5311    
  13  norm          .10000E-03    5.0660        .17041E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.3043        2.4723        .12311E-03   -1.5404    
  15  Prefactor     .79448E-01    32.478        .20854E-02   -1.5652    
  16  Prefactor     .10000E-03    73.262        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     66.171        62.260        .49323E-04   -1.4079    
  18  Prefactor     6.4653        7.8094        .78907E-03   -1.5199    
  19  Prefactor     .10002E-03    41.661        .37024E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    8.8265        .17463E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2134        .22604        .24823E-03   -.86190    
  22  Prefactor     .97013        .21453        .26474E-03   -.93732    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.02739e-09
Minuit parameter uncertainties:
  1  1.58286
  2  15.114
  3  0.735079
  4  17.738
  5  21.1526
  6  7.19092e-05
  7  4.37317
  8  0.000153987
  9  3.46446e-05
  10  2.40399e-05
  11  16.8843
  12  65.0988
  13  6.51108e-05
  14  2.47246
  15  3.21243
  16  0.000851892
  17  62.3218
  18  7.81058
  19  0.00195933
  20  4.25261e-05
  21  0.22622
  22  0.214714
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.000e-04  2.404e-05  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:  9.701e-01  2.147e-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.213e+00  2.262e-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.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.08e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/106668/likelihoodResults_399254401_399513601_4FGL_J0915.9+2933_daily_bin617.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) = 6104.99821171
delta logL = -0.00358652618343

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6104.97817872
delta logL = 0.0164464666568

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .68699E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8938       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2095       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97076       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=   6104.978     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      297 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .68552E-01    5.1451        .17055E-01    .25338E-02
   2  alpha         2.8955        3.3402        .41816        .37220E-04
   3  Normalizat    1.2095        .19122E-01    .56213E-01   -.10720E-05
   4  Prefactor     .97076        .18567E-01    .45901E-01    .26908E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0685516
  alpha      = 2.89551
  Normalizat = 1.20948
  Prefactor  = 0.970762
 **********
 **   18 **HESSE 
 **********

 FCN=   6104.978     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      332 TOTAL
                     EDM=   .31E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .68552E-01    120.50        .87008E-03   -1.5656    
   2  alpha         2.8955        3.8639        .52943E-01    .15887    
   3  Normalizat    1.2095        .15645        .24858E-03   -.86310    
   4  Prefactor     .97076        .16081        .26465E-03   -.93711    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.1043e-08
Minuit parameter uncertainties:
  1  5.75562
  2  34.3809
  3  0.156506
  4  0.160894
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/106668': 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) = 6104.97817854
delta logL = 0.0164466518045

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  6.855e-02  5.756e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  2.896e+00  3.438e+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:  9.708e-01  1.609e-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.209e+00  1.565e-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/106668/cmap_HighResolution_399254401_399513601_4FGL_J0915.9+2933_daily_bin617.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.08e-05', job_status='DONE', photon_flux_upper_limit='3.55e-08', time_completed='2021-08-31 05:53:22.749131', job_id='106668', GAL2='0.97', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1630414402.75', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.64e-02', ts2='0.03', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='617' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:53:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0131>
Subject: Job 106668: <4FGL_J0915.9+2933_daily_bin617> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin617 138.986 29.553 399254401 399513601 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 :                                   631.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             339.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   745 sec.
    Turnaround time :                            747 sec.

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

