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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin121
RA = 138.986, Dec = 29.553
tmin = 270691201, tmax = 270950401
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='103327', job_status='RUN', time_executed='2021-08-31 05:34:22.395021', time_epoch_executed='1630413262.4' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='121'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/103327

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/103327/ft1_4FGL_J0915.9+2933_daily_bin121.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/103327/ft2_4FGL_J0915.9+2933_daily_bin121.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/103327/ft1_4FGL_J0915.9+2933_daily_bin121.fits outfile=/scratch/kocevski/103327/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin121.fits ra=138.986 dec=29.553 rad=12.0 tmin=270691201.0 tmax=270950401.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 1.73
user 1.46
sys 0.16

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/103327/ft1_filtered_4FGL_J0915.9+2933_daily_bin121.fits evtable="EVENTS" scfile=/scratch/kocevski/103327/ft2_4FGL_J0915.9+2933_daily_bin121.fits sctable="SC_DATA" expcube=/scratch/kocevski/103327/ltcube_270691201_270950401_4FGL_J0915.9+2933_daily_bin121.fits outfile=/scratch/kocevski/103327/expmap_270691201_270950401_4FGL_J0915.9+2933_daily_bin121.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/103327/ltcube_270691201_270950401_4FGL_J0915.9+2933_daily_bin121.fits
.....................!
real 192.64
user 187.52
sys 4.59

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/103327/ft1_filtered_4FGL_J0915.9+2933_daily_bin121.fits scfile=/scratch/kocevski/103327/ft2_4FGL_J0915.9+2933_daily_bin121.fits outfile=/scratch/kocevski/103327/cmap_270691201_270950401_4FGL_J0915.9+2933_daily_bin121.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.55
user 0.37
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7667       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .12654E-02   1.0000         .10000E-03   10000.    
     3 'norm      '    1.0513       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.5429       1.0000         .10000E-03   10000.    
     5 'Prefactor '    31.694       1.0000         .10000E-03   10000.    
     6 'norm      '    .12505E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.8289       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10144E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.173       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10224E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .22641E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.9602       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .83322       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10136E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .23904E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .98599E-01   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .78962       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.6652       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=   9297.292     FROM MIGRAD    STATUS=CONVERGED    497 CALLS     2435 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7658        1.2440        .67627E-07   -.46659E-03
   2  Prefactor     .10004E-03    7.9178        .14148E-05** at limit **
   3  norm          1.0512        .78352        .58078E-07   -.19854E-03
   4  Prefactor     6.5303        13.314        .65753E-06    .13301E-03
   5  Prefactor     31.689        17.825       -.12762E-06   -.64692E-04
   6  norm          .10000E-03    69.891       -.42885E-06** at limit **
   7  Prefactor     1.8290        1.9171        .13647E-07   -.39343E-04
   8  Prefactor     .10000E-03    15.480        .72392E-06** at limit **
   9  Prefactor     16.173        5.1405       -.53311E-06   -.23237E-02
  10  norm          .10000E-03    .34814       -.12433E-07** at limit **
  11  Prefactor     .10000E-03    6.7430       -.25615E-07** at limit **
  12  Prefactor     .10000E-03    16.443       -.18472E-06** at limit **
  13  norm          .10000E-03    3.1253        .40632E-06** at limit **
  14  Prefactor     1.9601        2.5205        .38356E-06    .98810E-04
  15  Prefactor     .83324        2.5169        .17193E-05    .23963E-03
  16  Prefactor     .10000E-03    7.8139       -.12014E-06** at limit **
  17  Prefactor     .10000E-03    16.419       -.13198E-06** at limit **
  18  Prefactor     .10012E-03    4.6392       -.17693E-05** at limit **
  19  Prefactor     .10000E-03    2.7484        .86442E-08** at limit **
  20  Prefactor     .99606E-01    .88143        .38383E-06   -.59111E-03
  21  Normalizat    .78961        .16278       -.37879E-06   -.18056E-03
  22  Prefactor     1.6652        .16197       -.28454E-06   -.17181E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.76579
  Prefactor  = 0.000100038
  norm       = 1.05122
  Prefactor  = 6.53026
  Prefactor  = 31.6885
  norm       = 0.000100001
  Prefactor  = 1.829
  Prefactor  = 0.000100001
  Prefactor  = 16.1731
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100004
  Prefactor  = 1.96007
  Prefactor  = 0.833244
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100124
  Prefactor  = 0.0001
  Prefactor  = 0.0996059
  Normalizat = 0.789609
  Prefactor  = 1.66522
 **********
 **   18 **HESSE 
 **********

 FCN=   9297.292     FROM HESSE     STATUS=OK           350 CALLS     2785 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7658        1.2149        .85570E-04   -1.5442    
   2  Prefactor     .10004E-03    36.025        .48292E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.0512        .75584        .67283E-04   -1.5503    
   4  Prefactor     6.5303        13.218        .15689E-03   -1.5197    
   5  Prefactor     31.689        17.875        .71173E-04   -1.4582    
   6  norm          .10000E-03    70.669        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.8290        1.9162        .13292E-03   -1.5437    
   8  Prefactor     .10000E-03    15.696        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.173        5.6159        .99591E-04   -1.4903    
  10  norm          .10000E-03    .34948        .55556E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    6.7601        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    16.458        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    25.556        .32573E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.9601        2.5000        .16671E-03   -1.5428    
  15  Prefactor     .83324        2.6421        .26858E-03   -1.5525    
  16  Prefactor     .10000E-03    7.8274        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    16.431        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10012E-03    23.169        .33742E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.7536        .15610E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .99606E-01    8.9221        .16767E-02   -1.5645    
  21  Normalizat    .78961        .18898        .31530E-03   -1.0046    
  22  Prefactor     1.6652        .19019        .23605E-03   -.73012    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.27824e-09
Minuit parameter uncertainties:
  1  1.21495
  2  0.00232639
  3  0.755849
  4  13.2236
  5  17.8779
  6  0.000384512
  7  1.9163
  8  0.000252845
  9  5.61608
  10  4.12017e-07
  11  1.46377e-05
  12  6.0139e-05
  13  0.00065026
  14  2.50012
  15  2.64245
  16  2.4211e-05
  17  4.07479e-05
  18  0.00339441
  19  2.10461e-07
  20  1.88475
  21  0.189138
  22  0.190273
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.000e-04  4.120e-07  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.665e+00  1.903e-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.896e-01  1.891e-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: 2.01e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.31e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/103327/likelihoodResults_270691201_270950401_4FGL_J0915.9+2933_daily_bin121.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) = 9297.29224179
delta logL = -1.29181717057e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9297.29223987
delta logL = 6.27449480817e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7331       1.0000          .0000       5.0000    
     3 'Normalizat'    .78959       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.6653       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.

 FCN=   9297.292     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      243 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .37442        .57340E-03** at limit **
   2  alpha         1.3149        2.7144        .17566E-01    .16439E-06
   3  Normalizat    .78961        .18095        .31530E-03   -.76190E-03
   4  Prefactor     1.6652        .18873        .23605E-03   -.98049E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.3149
  Normalizat = 0.789608
  Prefactor  = 1.66522
 **********
 **   18 **HESSE 
 **********

 FCN=   9297.292     FROM HESSE     STATUS=OK            23 CALLS      266 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .37406        .11468E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.3149        2.8188        .70262E-03   -.49388    
   3  Normalizat    .78961        .18109        .63061E-04   -1.0046    
   4  Prefactor     1.6652        .18887        .47211E-04   -.73012    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.36079e-10
Minuit parameter uncertainties:
  1  6.92075e-06
  2  114.677
  3  0.181224
  4  0.188947
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/103327': 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) = 9297.2922311
delta logL = 9.40214704315e-06

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.000e-04  6.921e-06  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.315e+00  1.147e+02  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.665e+00  1.889e-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.896e-01  1.812e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/103327/cmap_HighResolution_270691201_270950401_4FGL_J0915.9+2933_daily_bin121.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.31e-05', job_status='DONE', photon_flux_upper_limit='2.01e-08', time_completed='2021-08-31 05:47:02.407591', job_id='103327', GAL2='1.67', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1630414022.41', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.67', dlogl='9.40e-06', ts2='-0.00', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='121' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:47:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0155>
Subject: Job 103327: <4FGL_J0915.9+2933_daily_bin121> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin121 138.986 29.553 270691201 270950401 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 :                                   757.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   968 sec.
    Turnaround time :                            970 sec.

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

