/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 152 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 = 7350
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0915.9+2933_daily_bin305
RA = 138.986, Dec = 29.553
tmin = 318384001, tmax = 318643201
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='104784', job_status='RUN', time_executed='2021-08-31 05:40:08.848653', time_epoch_executed='1630413608.85' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='305'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/104784

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/104784/ft1_4FGL_J0915.9+2933_daily_bin305.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/104784/ft2_4FGL_J0915.9+2933_daily_bin305.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/104784/ft1_4FGL_J0915.9+2933_daily_bin305.fits outfile=/scratch/kocevski/104784/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin305.fits ra=138.986 dec=29.553 rad=12.0 tmin=318384001.0 tmax=318643201.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 6.98
user 2.97
sys 3.60

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/104784/ft2_4FGL_J0915.9+2933_daily_bin305.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/104784/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin305.fits evtable="EVENTS" outfile="/scratch/kocevski/104784/ft1_filtered_4FGL_J0915.9+2933_daily_bin305.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 4.28
user 0.31
sys 3.50

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/104784/ft1_filtered_4FGL_J0915.9+2933_daily_bin305.fits" evtable="EVENTS" scfile=/scratch/kocevski/104784/ft2_4FGL_J0915.9+2933_daily_bin305.fits sctable="SC_DATA" outfile=/scratch/kocevski/104784/ltcube_318384001_318643201_4FGL_J0915.9+2933_daily_bin305.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/104784/ft2_4FGL_J0915.9+2933_daily_bin305.fits
.....................!
real 16.95
user 12.10
sys 4.25

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/104784/ft1_filtered_4FGL_J0915.9+2933_daily_bin305.fits evtable="EVENTS" scfile=/scratch/kocevski/104784/ft2_4FGL_J0915.9+2933_daily_bin305.fits sctable="SC_DATA" expcube=/scratch/kocevski/104784/ltcube_318384001_318643201_4FGL_J0915.9+2933_daily_bin305.fits outfile=/scratch/kocevski/104784/expmap_318384001_318643201_4FGL_J0915.9+2933_daily_bin305.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/104784/ltcube_318384001_318643201_4FGL_J0915.9+2933_daily_bin305.fits
.....................!
real 198.01
user 185.66
sys 9.94

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/104784/ft1_filtered_4FGL_J0915.9+2933_daily_bin305.fits scfile=/scratch/kocevski/104784/ft2_4FGL_J0915.9+2933_daily_bin305.fits outfile=/scratch/kocevski/104784/cmap_318384001_318643201_4FGL_J0915.9+2933_daily_bin305.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=138.986 yref=29.553 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 4.09
user 0.36
sys 3.36

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/104784/ft1_filtered_4FGL_J0915.9+2933_daily_bin305.fits scfile=/scratch/kocevski/104784/ft2_4FGL_J0915.9+2933_daily_bin305.fits outfile=/scratch/kocevski/104784/cmap_HighResolution_318384001_318643201_4FGL_J0915.9+2933_daily_bin305.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=138.986 yref=29.553 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 4.35
user 0.37
sys 3.41

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0504       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .27563E-02   1.0000         .10000E-03   10000.    
     3 'norm      '    3.3637       1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.4716       1.0000         .10000E-03   10000.    
     5 'Prefactor '    22.000       1.0000         .10000E-03   10000.    
     6 'norm      '    53.278       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.9959       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .34617       1.0000         .10000E-03   10000.    
    10 'norm      '    1.2223       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10720E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    48.474       1.0000         .10000E-03   10000.    
    13 'norm      '    .59672       1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.2958       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    38.894       1.0000         .10000E-03   10000.    
    17 'Prefactor '    17.977       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .65018       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .50504       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.4457       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=   5996.540     FROM MIGRAD    STATUS=CONVERGED    489 CALLS     2405 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0490        1.5913       -.13450E-07    .53253E-03
   2  Prefactor     .10010E-03    10.142       -.12826E-05** at limit **
   3  norm          3.3636        .99182       -.14005E-08    .19250E-03
   4  Prefactor     8.4725        13.238        .22158E-06    .17933E-04
   5  Prefactor     21.999        15.597        .87383E-07    .44884E-05
   6  norm          53.280        38.934        .14320E-06    .84951E-05
   7  Prefactor     2.9966        2.8108        .10125E-07   -.38370E-04
   8  Prefactor     .10000E-03    33.062        .74334E-07** at limit **
   9  Prefactor     .34598        3.5473        .31135E-05    .17883E-03
  10  norm          1.2225        1.3807        .78294E-07    .47994E-04
  11  Prefactor     .10000E-03    27.543       -.70923E-06** at limit **
  12  Prefactor     48.467        46.830        .77698E-07   -.25315E-04
  13  norm          .58211        5.2510        .75111E-06   -.26035E-03
  14  Prefactor     5.2973        2.9957       -.26659E-06   -.38035E-03
  15  Prefactor     .10000E-03    .95504       -.94099E-07** at limit **
  16  Prefactor     38.869        26.263       -.14167E-06   -.18113E-03
  17  Prefactor     18.004        31.532        .61107E-06    .87406E-04
  18  Prefactor     .68673        3.3408        .75411E-06   -.31948E-03
  19  Prefactor     .10000E-03    3.2336        .35835E-07** at limit **
  20  Prefactor     .10000E-03    1.0445       -.63967E-07** at limit **
  21  Normalizat    .50485        .16929       -.12386E-06   -.10673E-03
  22  Prefactor     1.4458        .17688       -.60526E-06   -.99023E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.04899
  Prefactor  = 0.000100103
  norm       = 3.36364
  Prefactor  = 8.47247
  Prefactor  = 21.9991
  norm       = 53.2802
  Prefactor  = 2.99663
  Prefactor  = 0.0001
  Prefactor  = 0.345983
  norm       = 1.22247
  Prefactor  = 0.000100001
  Prefactor  = 48.4668
  norm       = 0.582108
  Prefactor  = 5.29726
  Prefactor  = 0.0001
  Prefactor  = 38.8691
  Prefactor  = 18.0045
  Prefactor  = 0.686733
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.504846
  Prefactor  = 1.44584
 **********
 **   18 **HESSE 
 **********

 FCN=   5996.540     FROM HESSE     STATUS=OK           348 CALLS     2753 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0490        1.5390        .65913E-04   -1.5359    
   2  Prefactor     .10010E-03    49.993        .43606E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.3636        .99188        .39531E-04   -1.5341    
   4  Prefactor     8.4725        13.237        .13773E-03   -1.5126    
   5  Prefactor     21.999        15.600        .85397E-04   -1.4770    
   6  norm          53.280        38.937        .54950E-04   -1.4247    
   7  Prefactor     2.9966        2.8128        .12146E-03   -1.5362    
   8  Prefactor     .10000E-03    33.174        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .34598        3.6546        .28191E-03   -1.5590    
  10  norm          1.2225        1.3567        .93892E-04   -1.5487    
  11  Prefactor     .10000E-03    27.926        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     48.467        46.832        .57595E-04   -1.4314    
  13  norm          .58211        11.210        .32390E-02   -1.5555    
  14  Prefactor     5.2973        2.9940        .96428E-04   -1.5248    
  15  Prefactor     .10000E-03    .96090        .73862E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     38.869        26.226        .64269E-04   -1.4460    
  17  Prefactor     18.004        31.526        .94464E-04   -1.4859    
  18  Prefactor     .68673        9.7842        .25857E-02   -1.5542    
  19  Prefactor     .10000E-03    3.2403        .13599E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    1.0640        .77176E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .50485        .19044        .31676E-03   -1.1219    
  22  Prefactor     1.4458        .20149        .21338E-03   -.79068    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.50679e-09
Minuit parameter uncertainties:
  1  1.53903
  2  0.00454643
  3  0.991886
  4  13.2414
  5  15.6032
  6  38.9554
  7  2.81289
  8  7.43918e-05
  9  2.24879
  10  1.3567
  11  0.000262537
  12  46.8673
  13  5.10966
  14  2.99404
  15  6.4569e-07
  16  26.2342
  17  31.5547
  18  5.18491
  19  2.4886e-06
  20  5.58179e-07
  21  0.190684
  22  0.201599
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.222e+00  1.357e+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.446e+00  2.016e-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.048e-01  1.907e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.48
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.24e-08 +/- 1.37e-08
Energy Flux (Fixed Index): 1.42e-05 +/- 1.58e-05

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

Saving results to:
/scratch/kocevski/104784/likelihoodResults_318384001_318643201_4FGL_J0915.9+2933_daily_bin305.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) = 5996.52932922
delta logL = 0.0104598502385

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5996.5288951
delta logL = 0.0108939641868

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2616       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6420       1.0000          .0000       5.0000    
     3 'Normalizat'    .50604       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4452       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=   5996.529     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      234 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2615        1.4123        .95349E-04    .82962E-03
   2  alpha         1.6420        .71259        .17939E-01    .55344E-04
   3  Normalizat    .50603        .18224        .31641E-03   -.47860E-04
   4  Prefactor     1.4452        .19990        .21342E-03   -.25516E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.26154
  alpha      = 1.642
  Normalizat = 0.506033
  Prefactor  = 1.44519
 **********
 **   18 **HESSE 
 **********

 FCN=   5996.529     FROM HESSE     STATUS=OK            23 CALLS      257 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2615        1.4059        .38140E-05   -1.5483    
   2  alpha         1.6420        .70962        .71757E-03   -.35032    
   3  Normalizat    .50603        .18236        .12656E-04   -1.1214    
   4  Prefactor     1.4452        .20004        .85368E-05   -.79087    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.72883e-10
Minuit parameter uncertainties:
  1  1.4059
  2  0.720895
  3  0.182573
  4  0.200153
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/104784': 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) = 5996.5288951
delta logL = 0.0108939645361

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.262e+00  1.406e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.642e+00  7.209e-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.445e+00  2.002e-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.060e-01  1.826e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.50
Ra Dec: 138.986 29.553
Photon Index (Free Index): 1.64 +/- 0.72
Photon Flux (Free Index): 1.13e-08 +/- 1.46e-08
Energy Flux (Free Index): 1.70e-05 +/- 2.77e-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/104784/cmap_HighResolution_318384001_318643201_4FGL_J0915.9+2933_daily_bin305.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.73e-05', comment='SUCCESS', photon_flux='1.24e-08', energy_flux2='1.70e-05', photon_flux_error='1.37e-08', dlogl='1.09e-02', energy_flux='1.42e-05', photon_flux2='1.13e-08', job_status='DONE', time_completed='2021-08-31 05:51:28.313209', photon_index_error2='0.72', photon_index2='1.64', ts='1.48', fit_tolerance='1e-08', GAL='1.45', photon_index_error='0.00', photon_flux_upper_limit='4.98e-08', energy_flux_error2='2.77e-05', EG='0.50', time_epoch_completed='1630414288.31', return_code='0', job_id='104784', GAL2='1.45', EG2='0.51', return_code2='0', energy_flux_error='1.58e-05', photon_flux_error2='1.46e-08', ts2='1.50', photon_index='1.75' WHERE bin_id='305' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:51:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0228>
Subject: Job 104784: <4FGL_J0915.9+2933_daily_bin305> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin305 138.986 29.553 318384001 318643201 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 :                                   712.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             248.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   960 sec.
    Turnaround time :                            962 sec.

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

