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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin453
RA = 138.986, Dec = 29.553
tmin = 356745601, tmax = 357004801
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='105009', job_status='RUN', time_executed='2021-08-31 05:36:06.530947', time_epoch_executed='1630413366.53' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='453'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/105009

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/105009/ft1_4FGL_J0915.9+2933_daily_bin453.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/105009/ft2_4FGL_J0915.9+2933_daily_bin453.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/105009/ft1_4FGL_J0915.9+2933_daily_bin453.fits outfile=/scratch/kocevski/105009/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin453.fits ra=138.986 dec=29.553 rad=12.0 tmin=356745601.0 tmax=357004801.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 3.88
user 3.27
sys 0.59

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/105009/ft1_filtered_4FGL_J0915.9+2933_daily_bin453.fits" evtable="EVENTS" scfile=/scratch/kocevski/105009/ft2_4FGL_J0915.9+2933_daily_bin453.fits sctable="SC_DATA" outfile=/scratch/kocevski/105009/ltcube_356745601_357004801_4FGL_J0915.9+2933_daily_bin453.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/105009/ft2_4FGL_J0915.9+2933_daily_bin453.fits
.....................!
real 12.84
user 12.01
sys 0.77

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/105009/ft1_filtered_4FGL_J0915.9+2933_daily_bin453.fits evtable="EVENTS" scfile=/scratch/kocevski/105009/ft2_4FGL_J0915.9+2933_daily_bin453.fits sctable="SC_DATA" expcube=/scratch/kocevski/105009/ltcube_356745601_357004801_4FGL_J0915.9+2933_daily_bin453.fits outfile=/scratch/kocevski/105009/expmap_356745601_357004801_4FGL_J0915.9+2933_daily_bin453.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/105009/ltcube_356745601_357004801_4FGL_J0915.9+2933_daily_bin453.fits
.....................!
real 191.11
user 184.74
sys 5.88

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/105009/ft1_filtered_4FGL_J0915.9+2933_daily_bin453.fits scfile=/scratch/kocevski/105009/ft2_4FGL_J0915.9+2933_daily_bin453.fits outfile=/scratch/kocevski/105009/cmap_356745601_357004801_4FGL_J0915.9+2933_daily_bin453.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 1.03
user 0.37
sys 0.54

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/105009/ft1_filtered_4FGL_J0915.9+2933_daily_bin453.fits scfile=/scratch/kocevski/105009/ft2_4FGL_J0915.9+2933_daily_bin453.fits outfile=/scratch/kocevski/105009/cmap_HighResolution_356745601_357004801_4FGL_J0915.9+2933_daily_bin453.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.93
user 0.38
sys 0.53

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .78818       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.3666       1.0000         .10000E-03   10000.    
     3 'norm      '    4.1813       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.5909       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    36.048       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .53352       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.1606       1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.208       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    2.1413       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.4440       1.0000         .10000E-03   10000.    
    16 'Prefactor '    20.489       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.9880       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .58026       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.3386       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=   5760.770     FROM MIGRAD    STATUS=CONVERGED    485 CALLS     2389 TOTAL
                     EDM=   .37E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .78739        1.3729       -.24588E-07   -.14630E-03
   2  Prefactor     8.3695        12.150       -.13677E-06   -.45670E-05
   3  norm          4.1813        1.1080       -.33092E-08    .15933E-04
   4  Prefactor     3.5907        3.7891        .33727E-06   -.45741E-03
   5  Prefactor     .10000E-03    8.4797        .29748E-08** at limit **
   6  norm          36.045        36.351       -.28545E-05   -.11745E-04
   7  Prefactor     .54721        2.9150       -.15756E-06   -.74648E-04
   8  Prefactor     .10000E-03    11.193       -.13578E-07** at limit **
   9  Prefactor     .10000E-03    .90474       -.12402E-08** at limit **
  10  norm          1.1607        1.1324       -.51322E-08    .11665E-04
  11  Prefactor     18.210        17.567        .56693E-06    .21021E-04
  12  Prefactor     .10000E-03    26.367       -.13566E-07** at limit **
  13  norm          2.1389        6.1548       -.86816E-06   -.96300E-04
  14  Prefactor     .10000E-03    .96701       -.90361E-09** at limit **
  15  Prefactor     2.4450        3.2685        .70238E-07   -.26155E-04
  16  Prefactor     20.485        28.130       -.28470E-05   -.10192E-04
  17  Prefactor     .10000E-03    39.608        .11106E-06** at limit **
  18  Prefactor     .10000E-03    4.0589        .21923E-07** at limit **
  19  Prefactor     .10000E-03    3.4952       -.27015E-08** at limit **
  20  Prefactor     2.9880        2.2999        .24995E-07    .78654E-05
  21  Normalizat    .58021        .17403        .82569E-06    .11858E-04
  22  Prefactor     1.3387        .17692       -.47204E-07    .48798E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.787387
  Prefactor  = 8.36947
  norm       = 4.18127
  Prefactor  = 3.59069
  Prefactor  = 0.0001
  norm       = 36.0455
  Prefactor  = 0.547211
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.16067
  Prefactor  = 18.2103
  Prefactor  = 0.0001
  norm       = 2.13892
  Prefactor  = 0.0001
  Prefactor  = 2.44499
  Prefactor  = 20.4855
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.98799
  Normalizat = 0.58021
  Prefactor  = 1.33866
 **********
 **   18 **HESSE 
 **********

 FCN=   5760.770     FROM HESSE     STATUS=OK           348 CALLS     2737 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .78739        1.3267        .10975E-03   -1.5531    
   2  Prefactor     8.3695        12.036        .13860E-03   -1.5129    
   3  norm          4.1813        1.1159        .39433E-04   -1.5299    
   4  Prefactor     3.5907        9.1080        .10662E-02   -1.5329    
   5  Prefactor     .10000E-03    8.5100        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          36.045        36.345        .66749E-04   -1.4506    
   7  Prefactor     .54721        5.8319        .24565E-02   -1.5560    
   8  Prefactor     .10000E-03    11.196        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    .90850        .70494E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.1607        1.1254        .77454E-04   -1.5492    
  11  Prefactor     18.210        17.448        .93862E-04   -1.4854    
  12  Prefactor     .10000E-03    26.400        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.1389        6.1670        .28166E-03   -1.5415    
  14  Prefactor     .10000E-03    .97499        .72846E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.4450        3.2587        .14961E-03   -1.5395    
  16  Prefactor     20.485        28.180        .88487E-04   -1.4802    
  17  Prefactor     .10000E-03    39.653        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.1343        .14928E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.5085        .13857E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.9880        2.3023        .96606E-04   -1.5362    
  21  Normalizat    .58021        .20421        .28834E-03   -1.0883    
  22  Prefactor     1.3387        .21183        .21021E-03   -.82165    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.62417e-08
Minuit parameter uncertainties:
  1  1.3267
  2  12.0396
  3  1.11587
  4  9.1115
  5  4.1357e-07
  6  36.3671
  7  3.57294
  8  3.35266e-06
  9  2.65006e-07
  10  1.12537
  11  17.4532
  12  1.31444e-05
  13  6.16881
  14  1.01568e-07
  15  3.25897
  16  28.1986
  17  8.35408e-07
  18  4.16215e-06
  19  1.37543e-06
  20  2.30234
  21  0.204474
  22  0.211962
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.161e+00  1.125e+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.339e+00  2.120e-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:  5.802e-01  2.045e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.93
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.17e-08 +/- 1.14e-08
Energy Flux (Fixed Index): 1.35e-05 +/- 1.31e-05

TS (Fixed Index): 2.93
Ra Dec: 138.986 29.553
Photon Flux Upper Limit: 4.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.22e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/105009/likelihoodResults_356745601_357004801_4FGL_J0915.9+2933_daily_bin453.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): 0
logL (Free Index) = 5760.54521018
delta logL = 0.224551395417

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5760.54224087
delta logL = 0.227520709033

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0738       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3087       1.0000          .0000       5.0000    
     3 'Normalizat'    .58306       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3385       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=   5760.542     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      207 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0737        1.2647        .11687E-01   -.78818E-04
   2  alpha         1.3087        .60852        .44565       -.18271E-04
   3  Normalizat    .58299        .16378        .65008E-01    .29306E-04
   4  Prefactor     1.3386        .17539        .47557E-01   -.86093E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 1.07375
  alpha      = 1.30867
  Normalizat = 0.582989
  Prefactor  = 1.33861
 **********
 **   18 **HESSE 
 **********

 FCN=   5760.542     FROM HESSE     STATUS=OK            33 CALLS      240 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0737        1.1690        .75570E-04   -1.5501    
   2  alpha         1.3087        .63389        .17347E-01   -.49671    
   3  Normalizat    .58299        .19335        .28767E-03   -1.0871    
   4  Prefactor     1.3386        .20772        .21023E-03   -.82166    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.61768e-10
Minuit parameter uncertainties:
  1  1.169
  2  0.64302
  3  0.193577
  4  0.207848
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/105009': 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) = 5760.54224079
delta logL = 0.227520786952

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.074e+00  1.169e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.309e+00  6.430e-01  0.000e+00  5.000e+00 ( 1.000e+00)
272         beta:  7.920e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  1.366e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.339e+00  2.078e-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:  5.830e-01  1.936e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.39
Ra Dec: 138.986 29.553
Photon Index (Free Index): 1.31 +/- 0.64
Photon Flux (Free Index): 7.46e-09 +/- 9.11e-09
Energy Flux (Free Index): 2.77e-05 +/- 4.02e-05

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/105009/cmap_HighResolution_356745601_357004801_4FGL_J0915.9+2933_daily_bin453.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.22e-05', comment='SUCCESS', photon_flux='1.17e-08', energy_flux2='2.77e-05', photon_flux_error='1.14e-08', dlogl='2.28e-01', energy_flux='1.35e-05', photon_flux2='7.46e-09', job_status='DONE', time_completed='2021-08-31 05:46:16.384481', photon_index_error2='0.64', photon_index2='1.31', ts='2.93', fit_tolerance='1e-08', GAL='1.34', photon_index_error='0.00', photon_flux_upper_limit='4.54e-08', energy_flux_error2='4.02e-05', EG='0.58', time_epoch_completed='1630413976.38', return_code='0', job_id='105009', GAL2='1.34', EG2='0.58', return_code2='0', energy_flux_error='1.31e-05', photon_flux_error2='9.11e-09', ts2='3.39', photon_index='1.75' WHERE bin_id='453' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:46:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 105009: <4FGL_J0915.9+2933_daily_bin453> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin453> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 31 05:35:44 2021
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:35:45 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:35:45 2021
Terminated at Tue Aug 31 05:46:17 2021
Results reported at Tue Aug 31 05:46:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin453 138.986 29.553 356745601 357004801 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 :                                   611.27 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             338.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   631 sec.
    Turnaround time :                            633 sec.

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

