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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin101
RA = 138.986, Dec = 29.553
tmin = 265507201, tmax = 265766401
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='103296', job_status='RUN', time_executed='2021-08-31 05:33:42.032984', time_epoch_executed='1630413222.03' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='101'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/103296

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/103296/ft1_4FGL_J0915.9+2933_daily_bin101.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/103296/ft2_4FGL_J0915.9+2933_daily_bin101.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/103296/ft1_4FGL_J0915.9+2933_daily_bin101.fits outfile=/scratch/kocevski/103296/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin101.fits ra=138.986 dec=29.553 rad=12.0 tmin=265507201.0 tmax=265766401.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.65
user 1.36
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/103296/ft2_4FGL_J0915.9+2933_daily_bin101.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/103296/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin101.fits evtable="EVENTS" outfile="/scratch/kocevski/103296/ft1_filtered_4FGL_J0915.9+2933_daily_bin101.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.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/103296/ft1_filtered_4FGL_J0915.9+2933_daily_bin101.fits" evtable="EVENTS" scfile=/scratch/kocevski/103296/ft2_4FGL_J0915.9+2933_daily_bin101.fits sctable="SC_DATA" outfile=/scratch/kocevski/103296/ltcube_265507201_265766401_4FGL_J0915.9+2933_daily_bin101.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/103296/ft2_4FGL_J0915.9+2933_daily_bin101.fits
.....................!
real 13.24
user 12.78
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/103296/ft1_filtered_4FGL_J0915.9+2933_daily_bin101.fits evtable="EVENTS" scfile=/scratch/kocevski/103296/ft2_4FGL_J0915.9+2933_daily_bin101.fits sctable="SC_DATA" expcube=/scratch/kocevski/103296/ltcube_265507201_265766401_4FGL_J0915.9+2933_daily_bin101.fits outfile=/scratch/kocevski/103296/expmap_265507201_265766401_4FGL_J0915.9+2933_daily_bin101.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/103296/ltcube_265507201_265766401_4FGL_J0915.9+2933_daily_bin101.fits
.....................!
real 191.51
user 185.44
sys 4.96

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/103296/ft1_filtered_4FGL_J0915.9+2933_daily_bin101.fits scfile=/scratch/kocevski/103296/ft2_4FGL_J0915.9+2933_daily_bin101.fits outfile=/scratch/kocevski/103296/cmap_265507201_265766401_4FGL_J0915.9+2933_daily_bin101.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.57
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/103296/ft1_filtered_4FGL_J0915.9+2933_daily_bin101.fits scfile=/scratch/kocevski/103296/ft2_4FGL_J0915.9+2933_daily_bin101.fits outfile=/scratch/kocevski/103296/cmap_HighResolution_265507201_265766401_4FGL_J0915.9+2933_daily_bin101.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.57
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .26944       1.0000         .10000E-03   10000.    
     2 'Prefactor '    17.881       1.0000         .10000E-03   10000.    
     3 'norm      '    .28389       1.0000         .10000E-03   10000.    
     4 'Prefactor '    20.303       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10291E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    42.013       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .43986       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .18941E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.7575       1.0000         .10000E-03   10000.    
    10 'norm      '    1.7704       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.1402       1.0000         .10000E-03   10000.    
    12 'Prefactor '    45.755       1.0000         .10000E-03   10000.    
    13 'norm      '    .98319       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.6058       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.5341       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.2964       1.0000         .10000E-03   10000.    
    17 'Prefactor '    59.152       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.3858       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10154E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.9560       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1277       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .84769       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=   8646.041     FROM MIGRAD    STATUS=CONVERGED    477 CALLS     2413 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .26953        .86232        .22614E-06    .36726E-04
   2  Prefactor     17.880        10.266        .14355E-07    .94595E-05
   3  norm          .28522        .50746       -.12596E-08   -.18810E-03
   4  Prefactor     20.297        12.927        .24787E-06    .32163E-04
   5  Prefactor     .10000E-03    5.0000       -.10399E-06** at limit **
   6  norm          42.028        31.375       -.19024E-05   -.32215E-04
   7  Prefactor     .44038        2.2196        .70285E-06    .10758E-04
   8  Prefactor     .10000E-03    36.902        .24665E-07** at limit **
   9  Prefactor     3.7585        4.4939        .18719E-05    .13485E-04
  10  norm          1.7705        1.1621       -.14372E-07   -.46160E-04
  11  Prefactor     1.1484        104.30       -.19867E-05   -.46218E-04
  12  Prefactor     45.723        40.526        .44217E-05    .54081E-04
  13  norm          1.0227        6.3681        .13847E-05   -.50828E-03
  14  Prefactor     2.6025        3.0317       -.36220E-06   -.19654E-03
  15  Prefactor     2.5344        3.0888        .23643E-06    .53365E-05
  16  Prefactor     9.2961        17.185        .17293E-06   -.19573E-05
  17  Prefactor     59.179        45.564       -.31893E-05   -.44356E-04
  18  Prefactor     6.3866        5.1062        .72190E-07   -.21653E-05
  19  Prefactor     .10000E-03    3.0058        .46248E-07** at limit **
  20  Prefactor     4.9571        2.2874        .42887E-07   -.24127E-05
  21  Normalizat    1.1276        .14994       -.44103E-06   -.10545E-03
  22  Prefactor     .84766        .14358       -.52734E-07   -.79465E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.269534
  Prefactor  = 17.8795
  norm       = 0.28522
  Prefactor  = 20.297
  Prefactor  = 0.0001
  norm       = 42.0282
  Prefactor  = 0.440379
  Prefactor  = 0.0001
  Prefactor  = 3.75845
  norm       = 1.7705
  Prefactor  = 1.14836
  Prefactor  = 45.7232
  norm       = 1.02272
  Prefactor  = 2.60248
  Prefactor  = 2.53441
  Prefactor  = 9.29615
  Prefactor  = 59.1788
  Prefactor  = 6.38658
  Prefactor  = 0.0001
  Prefactor  = 4.95712
  Normalizat = 1.1276
  Prefactor  = 0.847657
 **********
 **   18 **HESSE 
 **********

 FCN=   8646.041     FROM HESSE     STATUS=OK           364 CALLS     2777 TOTAL
                     EDM=   .43E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .26953        .85515        .14410E-03   -1.5604    
   2  Prefactor     17.880        10.141        .94716E-04   -1.4862    
   3  norm          .28522        .45624        .79888E-03   -1.5601    
   4  Prefactor     20.297        12.580        .88891E-04   -1.4807    
   5  Prefactor     .10000E-03    5.0336        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          42.028        31.396        .61846E-04   -1.4410    
   7  Prefactor     .44038        2.1885        .26690E-03   -1.5575    
   8  Prefactor     .10000E-03    36.950        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.7585        4.5439        .96544E-03   -1.5320    
  10  norm          1.7705        1.1622        .78252E-04   -1.5442    
  11  Prefactor     1.1484        123.07        .43548E-02   -1.5494    
  12  Prefactor     45.723        40.558        .59274E-04   -1.4355    
  13  norm          1.0227        21.374        .32200E-02   -1.5506    
  14  Prefactor     2.6025        2.9890        .15642E-03   -1.5385    
  15  Prefactor     2.5344        3.0698        .16862E-03   -1.5390    
  16  Prefactor     9.2961        17.176        .13144E-03   -1.5098    
  17  Prefactor     59.179        45.582        .26083E-03   -1.4168    
  18  Prefactor     6.3866        5.1051        .15883E-03   -1.5202    
  19  Prefactor     .10000E-03    9.3542        .31332E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.9571        2.2874        .91310E-04   -1.5263    
  21  Normalizat    1.1276        .16931        .23233E-03   -.88870    
  22  Prefactor     .84766        .16301        .26033E-03   -.97995    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.33014e-08
Minuit parameter uncertainties:
  1  0.855191
  2  10.1416
  3  0.456244
  4  12.5821
  5  2.75647e-06
  6  31.4083
  7  1.9633
  8  6.46551e-05
  9  4.54428
  10  1.16221
  11  23.8255
  12  40.5827
  13  9.35425
  14  2.98912
  15  3.07001
  16  17.1853
  17  45.6091
  18  5.10545
  19  2.879e-06
  20  2.28746
  21  0.169396
  22  0.163101
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.771e+00  1.162e+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:  8.477e-01  1.631e-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.128e+00  1.694e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.74
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 1.79e-08 +/- 1.18e-08
Energy Flux (Fixed Index): 2.06e-05 +/- 1.35e-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) = 8645.74803421
delta logL = 0.292801133677

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8645.73343205
delta logL = 0.3074032851

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5911       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3572       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1336       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84620       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=   8645.733     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      199 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5910        1.2381        .84095E-02    .10831E-02
   2  alpha         1.3571        .43147        .40610       -.35417E-04
   3  Normalizat    1.1336        .14257        .36773E-01    .30192E-03
   4  Prefactor     .84622        .14116        .44316E-01   -.24470E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.59096
  alpha      = 1.35714
  Normalizat = 1.13356
  Prefactor  = 0.846222
 **********
 **   18 **HESSE 
 **********

 FCN=   8645.733     FROM HESSE     STATUS=OK            31 CALLS      230 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5910        1.2419        .79153E-04   -1.5456    
   2  alpha         1.3571        .49111        .15720E-01   -.47478    
   3  Normalizat    1.1336        .16148        .23182E-03   -.88681    
   4  Prefactor     .84622        .16005        .26058E-03   -.98046    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19016e-10
Minuit parameter uncertainties:
  1  1.24192
  2  0.495197
  3  0.16155
  4  0.160137
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/103296': 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) = 8645.73343203
delta logL = 0.307403305951

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  1.591e+00  1.242e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.357e+00  4.952e-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:  8.462e-01  1.601e-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.134e+00  1.615e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.35
Ra Dec: 138.986 29.553
Photon Index (Free Index): 1.36 +/- 0.50
Photon Flux (Free Index): 1.13e-08 +/- 1.05e-08
Energy Flux (Free Index): 3.68e-05 +/- 3.77e-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/103296/cmap_HighResolution_265507201_265766401_4FGL_J0915.9+2933_daily_bin101.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.79e-08', energy_flux2='3.68e-05', photon_flux_error='1.18e-08', dlogl='3.07e-01', energy_flux='2.06e-05', photon_flux2='1.13e-08', job_status='DONE', time_completed='2021-08-31 05:44:36.531661', photon_index_error2='0.50', photon_index2='1.36', ts='9.74', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', energy_flux_error2='3.77e-05', EG='1.13', time_epoch_completed='1630413876.53', return_code='0', job_id='103296', GAL2='0.85', EG2='1.13', return_code2='0', energy_flux_error='1.35e-05', photon_flux_error2='1.05e-08', ts2='10.35', photon_index='1.75' WHERE bin_id='101' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:44:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0119>
Subject: Job 103296: <4FGL_J0915.9+2933_daily_bin101> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin101 138.986 29.553 265507201 265766401 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 :                                   648.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             332.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   824 sec.
    Turnaround time :                            827 sec.

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

