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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin123
RA = 138.986, Dec = 29.553
tmin = 271209601, tmax = 271468801
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='103329', job_status='RUN', time_executed='2021-08-31 05:34:16.470689', time_epoch_executed='1630413256.47' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='123'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/103329

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/103329/ft1_4FGL_J0915.9+2933_daily_bin123.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/103329/ft2_4FGL_J0915.9+2933_daily_bin123.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/103329/ft1_4FGL_J0915.9+2933_daily_bin123.fits outfile=/scratch/kocevski/103329/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin123.fits ra=138.986 dec=29.553 rad=12.0 tmin=271209601.0 tmax=271468801.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.61
user 1.11
sys 0.38

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/103329/ft2_4FGL_J0915.9+2933_daily_bin123.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/103329/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin123.fits evtable="EVENTS" outfile="/scratch/kocevski/103329/ft1_filtered_4FGL_J0915.9+2933_daily_bin123.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 1.08
user 0.26
sys 0.36

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/103329/ft1_filtered_4FGL_J0915.9+2933_daily_bin123.fits" evtable="EVENTS" scfile=/scratch/kocevski/103329/ft2_4FGL_J0915.9+2933_daily_bin123.fits sctable="SC_DATA" outfile=/scratch/kocevski/103329/ltcube_271209601_271468801_4FGL_J0915.9+2933_daily_bin123.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/103329/ft2_4FGL_J0915.9+2933_daily_bin123.fits
.....................!
real 10.10
user 9.36
sys 0.52

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/103329/ft1_filtered_4FGL_J0915.9+2933_daily_bin123.fits evtable="EVENTS" scfile=/scratch/kocevski/103329/ft2_4FGL_J0915.9+2933_daily_bin123.fits sctable="SC_DATA" expcube=/scratch/kocevski/103329/ltcube_271209601_271468801_4FGL_J0915.9+2933_daily_bin123.fits outfile=/scratch/kocevski/103329/expmap_271209601_271468801_4FGL_J0915.9+2933_daily_bin123.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/103329/ltcube_271209601_271468801_4FGL_J0915.9+2933_daily_bin123.fits
.....................!
real 149.26
user 143.11
sys 4.17

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/103329/ft1_filtered_4FGL_J0915.9+2933_daily_bin123.fits scfile=/scratch/kocevski/103329/ft2_4FGL_J0915.9+2933_daily_bin123.fits outfile=/scratch/kocevski/103329/cmap_271209601_271468801_4FGL_J0915.9+2933_daily_bin123.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.69
user 0.30
sys 0.34

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/103329/ft1_filtered_4FGL_J0915.9+2933_daily_bin123.fits scfile=/scratch/kocevski/103329/ft2_4FGL_J0915.9+2933_daily_bin123.fits outfile=/scratch/kocevski/103329/cmap_HighResolution_271209601_271468801_4FGL_J0915.9+2933_daily_bin123.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.68
user 0.30
sys 0.35

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.3245       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .11607E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.6121       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    17.556       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10758E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    25.162       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.3078       1.0000         .10000E-03   10000.    
    10 'norm      '    1.9162       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.8977       1.0000         .10000E-03   10000.    
    12 'Prefactor '    23.870       1.0000         .10000E-03   10000.    
    13 'norm      '    .89938E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.0621       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .92296       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.3082       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.4305       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.4548       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .95570       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=   8610.290     FROM MIGRAD    STATUS=CONVERGED    859 CALLS     2772 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.3246        1.0212        .80386E-04   -.11823E-03
   2  Prefactor     .10000E-03    3.9686        .18025E-02** at limit **
   3  norm          .10000E-03    9.9161        .86944E-03** at limit **
   4  Prefactor     5.6241        11.741        .16958E-03   -.14709E-03
   5  Prefactor     .10000E-03    8.3214        .18142E-02** at limit **
   6  norm          17.533        32.896        .95588E-04    .79686E-04
   7  Prefactor     .10000E-03    2.6573        .20853E-02** at limit **
   8  Prefactor     25.171        32.330        .79858E-04   -.12761E-03
   9  Prefactor     4.3082        3.9585        .16781E-03   -.19945E-03
  10  norm          1.9162        1.2418        .80577E-04    .62080E-04
  11  Prefactor     8.8481        21.893        .13437E-03   -.22370E-03
  12  Prefactor     23.855        30.984        .81988E-04    .73436E-04
  13  norm          .93978E-01    6.6465        .60657E-01    .39636E-03
  14  Prefactor     .10000E-03    2.0269        .25468E-03** at limit **
  15  Prefactor     2.0622        2.2976        .14338E-03    .86901E-04
  16  Prefactor     .10000E-03    9.5181        .18142E-02** at limit **
  17  Prefactor     .10000E-03    21.827        .18142E-02** at limit **
  18  Prefactor     .92325        6.4785        .44442E-03    .69581E-05
  19  Prefactor     5.3082        6.2729        .17445E-03   -.18378E-04
  20  Prefactor     1.4304        1.4115        .10576E-03    .30637E-03
  21  Normalizat    1.4546        .18870        .23690E-03   -.37744E-03
  22  Prefactor     .95583        .18148        .27667E-03   -.89991E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.32462
  Prefactor  = 0.0001
  norm       = 0.000100002
  Prefactor  = 5.62409
  Prefactor  = 0.0001
  norm       = 17.533
  Prefactor  = 0.000100001
  Prefactor  = 25.1708
  Prefactor  = 4.30817
  norm       = 1.91618
  Prefactor  = 8.84811
  Prefactor  = 23.8547
  norm       = 0.0939777
  Prefactor  = 0.0001
  Prefactor  = 2.06216
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.923247
  Prefactor  = 5.30819
  Prefactor  = 1.43043
  Normalizat = 1.45463
  Prefactor  = 0.955832
 **********
 **   18 **HESSE 
 **********

 FCN=   8610.290     FROM HESSE     STATUS=OK           330 CALLS     3102 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.3246        1.0211        .32154E-05   -1.5478    
   2  Prefactor     .10000E-03    3.9690        .36051E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    10.298        .34777E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.6241        11.710        .67831E-05   -1.5234    
   5  Prefactor     .10000E-03    8.3230        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          17.533        32.873        .38235E-05   -1.4870    
   7  Prefactor     .10000E-03    2.6691        .41707E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     25.171        32.323        .15972E-04   -1.4704    
   9  Prefactor     4.3082        3.9581        .67123E-05   -1.5293    
  10  norm          1.9162        1.2418        .32231E-05   -1.5431    
  11  Prefactor     8.8481        21.815        .53748E-05   -1.5113    
  12  Prefactor     23.855        30.983        .16398E-04   -1.4731    
  13  norm          .93978E-01    6.3777        .62345E-01   -1.5647    
  14  Prefactor     .10000E-03    2.0269        .50935E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.0622        2.2975        .57353E-05   -1.5421    
  16  Prefactor     .10000E-03    9.5184        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    21.827        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .92325        6.4742        .17777E-04   -1.5516    
  19  Prefactor     5.3082        6.2727        .69778E-05   -1.5247    
  20  Prefactor     1.4304        1.4115        .42303E-05   -1.5469    
  21  Normalizat    1.4546        .18881        .47381E-04   -.79061    
  22  Prefactor     .95583        .18163        .11067E-04   -.94217    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75169e-09
Minuit parameter uncertainties:
  1  1.02116
  2  2.92922e-06
  3  0.000294742
  4  11.7147
  5  2.63204e-05
  6  32.9073
  7  8.3449e-05
  8  32.3451
  9  3.95833
  10  1.24178
  11  21.835
  12  31.0039
  13  1.54772
  14  7.33709e-06
  15  2.29759
  16  1.44481e-05
  17  7.10371e-05
  18  4.89018
  19  6.27348
  20  1.41154
  21  0.188905
  22  0.18175
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.916e+00  1.242e+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:  9.558e-01  1.817e-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.455e+00  1.889e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.60
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.94e-08 +/- 1.26e-08
Energy Flux (Fixed Index): 2.23e-05 +/- 1.44e-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) = 8609.97767607
delta logL = 0.312330252586

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8609.9402774
delta logL = 0.349728923309

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5686       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3054       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4605       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95607       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=   8609.940     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      203 TOTAL
                     EDM=   .24E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5673        1.0741        .84871E-03   -.15046E-02
   2  alpha         1.3050        .39068        .40803       -.35090E-04
   3  Normalizat    1.4604        .15740        .53500E-01    .13442E-03
   4  Prefactor     .95618        .15372        .45716E-01    .28861E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.56729
  alpha      = 1.30501
  Normalizat = 1.46038
  Prefactor  = 0.956181
 **********
 **   18 **HESSE 
 **********

 FCN=   8609.940     FROM HESSE     STATUS=OK            31 CALLS      234 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5673        1.2905        .16974E-03   -1.5458    
   2  alpha         1.3050        .52175        .16147E-01   -.49837    
   3  Normalizat    1.4604        .18329        .23654E-03   -.78898    
   4  Prefactor     .95618        .17913        .27669E-03   -.94205    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29909e-09
Minuit parameter uncertainties:
  1  1.29048
  2  0.526784
  3  0.183376
  4  0.179244
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/103329': 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) = 8609.9402767
delta logL = 0.349729621996

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.567e+00  1.290e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.305e+00  5.268e-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.562e-01  1.792e-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.460e+00  1.834e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.30
Ra Dec: 138.986 29.553
Photon Index (Free Index): 1.31 +/- 0.53
Photon Flux (Free Index): 1.09e-08 +/- 1.04e-08
Energy Flux (Free Index): 4.08e-05 +/- 4.24e-05

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/103329/cmap_HighResolution_271209601_271468801_4FGL_J0915.9+2933_daily_bin123.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.94e-08', energy_flux2='4.08e-05', photon_flux_error='1.26e-08', dlogl='3.50e-01', energy_flux='2.23e-05', photon_flux2='1.09e-08', job_status='DONE', time_completed='2021-08-31 05:43:07.063159', photon_index_error2='0.53', photon_index2='1.31', ts='11.60', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='4.24e-05', EG='1.45', time_epoch_completed='1630413787.06', return_code='0', job_id='103329', GAL2='0.96', EG2='1.46', return_code2='0', energy_flux_error='1.44e-05', photon_flux_error2='1.04e-08', ts2='12.30', photon_index='1.75' WHERE bin_id='123' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:43:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0033>
Subject: Job 103329: <4FGL_J0915.9+2933_daily_bin123> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin123> 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) <bullet0033>, 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:43:07 2021
Results reported at Tue Aug 31 05:43:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin123 138.986 29.553 271209601 271468801 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 :                                   528.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   733 sec.
    Turnaround time :                            734 sec.

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

