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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin430
RA = 138.986, Dec = 29.553
tmin = 350784001, tmax = 351043201
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='104975', job_status='RUN', time_executed='2021-08-31 05:38:28.935349', time_epoch_executed='1630413508.94' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='430'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/104975

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/104975/ft1_4FGL_J0915.9+2933_daily_bin430.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/104975/ft2_4FGL_J0915.9+2933_daily_bin430.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/104975/ft1_4FGL_J0915.9+2933_daily_bin430.fits outfile=/scratch/kocevski/104975/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin430.fits ra=138.986 dec=29.553 rad=12.0 tmin=350784001.0 tmax=351043201.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.63
user 3.16
sys 0.45

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/104975/ft1_filtered_4FGL_J0915.9+2933_daily_bin430.fits" evtable="EVENTS" scfile=/scratch/kocevski/104975/ft2_4FGL_J0915.9+2933_daily_bin430.fits sctable="SC_DATA" outfile=/scratch/kocevski/104975/ltcube_350784001_351043201_4FGL_J0915.9+2933_daily_bin430.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/104975/ft2_4FGL_J0915.9+2933_daily_bin430.fits
.....................!
real 12.53
user 11.79
sys 0.65

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/104975/ft1_filtered_4FGL_J0915.9+2933_daily_bin430.fits evtable="EVENTS" scfile=/scratch/kocevski/104975/ft2_4FGL_J0915.9+2933_daily_bin430.fits sctable="SC_DATA" expcube=/scratch/kocevski/104975/ltcube_350784001_351043201_4FGL_J0915.9+2933_daily_bin430.fits outfile=/scratch/kocevski/104975/expmap_350784001_351043201_4FGL_J0915.9+2933_daily_bin430.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/104975/ltcube_350784001_351043201_4FGL_J0915.9+2933_daily_bin430.fits
.....................!
real 191.53
user 185.51
sys 4.60

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/104975/ft1_filtered_4FGL_J0915.9+2933_daily_bin430.fits scfile=/scratch/kocevski/104975/ft2_4FGL_J0915.9+2933_daily_bin430.fits outfile=/scratch/kocevski/104975/cmap_350784001_351043201_4FGL_J0915.9+2933_daily_bin430.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.82
user 0.37
sys 0.42

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/104975/ft1_filtered_4FGL_J0915.9+2933_daily_bin430.fits scfile=/scratch/kocevski/104975/ft2_4FGL_J0915.9+2933_daily_bin430.fits outfile=/scratch/kocevski/104975/cmap_HighResolution_350784001_351043201_4FGL_J0915.9+2933_daily_bin430.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.85
user 0.38
sys 0.43

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .23571       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .81673       1.0000         .10000E-03   10000.    
     4 'Prefactor '    25.080       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.5088       1.0000         .10000E-03   10000.    
     6 'norm      '    43.072       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .57404       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10232E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.8297       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .13423E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.1925       1.0000         .10000E-03   10000.    
    17 'Prefactor '    30.985       1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.1885       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2554       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .72503       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=   5596.034     FROM MIGRAD    STATUS=CONVERGED    512 CALLS     2414 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .23567        .84790       -.34239E-06   -.20914E-02
   2  Prefactor     .10000E-03    4.3333        .27258E-06** at limit **
   3  norm          .81686        .71201        .54180E-07   -.10843E-02
   4  Prefactor     25.077        15.049       -.10492E-05   -.63491E-04
   5  Prefactor     5.4994        17.104        .37362E-04    .41474E-04
   6  norm          43.014        43.335        .12389E-04   -.28217E-04
   7  Prefactor     .10000E-03    2.2306        .15362E-06** at limit **
   8  Prefactor     .12683        36.168        .86137E-06    .14494E-03
   9  Prefactor     .10000E-03    4.3988       -.45933E-07** at limit **
  10  norm          .10000E-03    .43518       -.12448E-06** at limit **
  11  Prefactor     .10000E-03    13.757        .11967E-06** at limit **
  12  Prefactor     .10000E-03    81.257        .61462E-05** at limit **
  13  norm          .10000E-03    2.5380        .12208E-06** at limit **
  14  Prefactor     3.8326        3.1306        .48085E-06   -.23298E-03
  15  Prefactor     .10000E-03    1.9292       -.13667E-05** at limit **
  16  Prefactor     8.1807        19.713        .61696E-05    .32621E-05
  17  Prefactor     30.980        37.363       -.55600E-05   -.10861E-04
  18  Prefactor     5.1864        7.1903        .52279E-05   -.25090E-03
  19  Prefactor     .10000E-03    3.5122        .54891E-07** at limit **
  20  Prefactor     .10000E-03    .59759        .33527E-07** at limit **
  21  Normalizat    1.2557        .17869       -.66390E-05    .38864E-03
  22  Prefactor     .72491        .16713        .26280E-06   -.19209E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.235669
  Prefactor  = 0.0001
  norm       = 0.816865
  Prefactor  = 25.0773
  Prefactor  = 5.49935
  norm       = 43.0142
  Prefactor  = 0.0001
  Prefactor  = 0.126829
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 3.83264
  Prefactor  = 0.000100004
  Prefactor  = 8.18074
  Prefactor  = 30.9802
  Prefactor  = 5.18643
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.25568
  Prefactor  = 0.724914
 **********
 **   18 **HESSE 
 **********

 FCN=   5596.034     FROM HESSE     STATUS=OK           356 CALLS     2770 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .23567        .84388        .12650E-03   -1.5611    
   2  Prefactor     .10000E-03    4.3502        .15207E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .81686        .68052        .55679E-03   -1.5527    
   4  Prefactor     25.077        14.995        .79988E-04   -1.4706    
   5  Prefactor     5.4994        17.037        .17119E-03   -1.5239    
   6  norm          43.014        43.367        .61085E-04   -1.4395    
   7  Prefactor     .10000E-03    2.2815        .10905E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .12683        43.392        .12814       -1.5637    
   9  Prefactor     .10000E-03    4.5754        .30568E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .43635        .48191E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    13.828        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    81.778        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    2.5486        .11634E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.8326        3.1221        .11509E-03   -1.5316    
  15  Prefactor     .10000E-03    6.8250        .19726E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.1807        19.691        .14007E-03   -1.5136    
  17  Prefactor     30.980        37.367        .35990E-03   -1.4594    
  18  Prefactor     5.1864        7.1541        .17648E-03   -1.5252    
  19  Prefactor     .10000E-03    3.5202        .13691E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    .60108        .56462E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2557        .19923        .20686E-03   -.84899    
  22  Prefactor     .72491        .18939        .26373E-03   -1.0256    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.11724e-09
Minuit parameter uncertainties:
  1  0.843924
  2  5.64301e-06
  3  0.680525
  4  14.9974
  5  17.0524
  6  43.3991
  7  1.6e-05
  8  4.69343
  9  6.12718e-05
  10  4.75106e-06
  11  8.5345e-05
  12  0.000532864
  13  1.22218e-05
  14  3.1222
  15  0.000323441
  16  19.7062
  17  37.3949
  18  7.15527
  19  1.67324e-05
  20  7.0139e-07
  21  0.199352
  22  0.189559
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.000e-04  4.751e-06  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:  7.249e-01  1.896e-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.256e+00  1.994e-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.52e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.90e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/104975/likelihoodResults_350784001_351043201_4FGL_J0915.9+2933_daily_bin430.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) = 5596.03421604
delta logL = -2.42205014729e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5596.03419189
delta logL = -6.98264557286e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7472       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2556       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72494       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=   5596.034     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      228 TOTAL
                     EDM=   .29E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .50840        .48197E-03** at limit **
   2  alpha         1.7026        2.9159        .17520       -.35754E-07
   3  Normalizat    1.2557        .18526        .20686E-03    .29348E-04
   4  Prefactor     .72492        .18542        .26373E-03    .25174E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.70256
  Normalizat = 1.25567
  Prefactor  = 0.72492
 **********
 **   18 **HESSE 
 **********

 FCN=   5596.034     FROM HESSE     STATUS=OK            25 CALLS      253 TOTAL
                     EDM=   .19E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .43696        .96394E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.7026        4.0333        .70081E-02   -.32465    
   3  Normalizat    1.2557        .18541        .41371E-04   -.84899    
   4  Prefactor     .72492        .18556        .10549E-04   -1.0256    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.94267e-12
Minuit parameter uncertainties:
  1  1.72526e-07
  2  83.8072
  3  0.185505
  4  0.18572
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/104975': 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) = 5596.03419166
delta logL = 1.58534021466e-07

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.000e-04  1.725e-07  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.703e+00  8.381e+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:  7.249e-01  1.857e-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.256e+00  1.855e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/104975/cmap_HighResolution_350784001_351043201_4FGL_J0915.9+2933_daily_bin430.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.90e-05', job_status='DONE', photon_flux_upper_limit='2.52e-08', time_completed='2021-08-31 05:48:36.904751', job_id='104975', GAL2='0.72', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1630414116.9', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='1.59e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='430' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:48:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 104975: <4FGL_J0915.9+2933_daily_bin430> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin430 138.986 29.553 350784001 351043201 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 :                                   606.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             315.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   773 sec.
    Turnaround time :                            775 sec.

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

