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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin478
RA = 138.986, Dec = 29.553
tmin = 363225601, tmax = 363484801
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='106434', job_status='RUN', time_executed='2021-08-31 05:43:10.182086', time_epoch_executed='1630413790.18' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='478'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/106434

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/106434/ft1_4FGL_J0915.9+2933_daily_bin478.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/106434/ft2_4FGL_J0915.9+2933_daily_bin478.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/106434/ft1_4FGL_J0915.9+2933_daily_bin478.fits outfile=/scratch/kocevski/106434/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin478.fits ra=138.986 dec=29.553 rad=12.0 tmin=363225601.0 tmax=363484801.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 8.83
user 6.86
sys 0.61

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

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

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/106434/ft1_filtered_4FGL_J0915.9+2933_daily_bin478.fits evtable="EVENTS" scfile=/scratch/kocevski/106434/ft2_4FGL_J0915.9+2933_daily_bin478.fits sctable="SC_DATA" expcube=/scratch/kocevski/106434/ltcube_363225601_363484801_4FGL_J0915.9+2933_daily_bin478.fits outfile=/scratch/kocevski/106434/expmap_363225601_363484801_4FGL_J0915.9+2933_daily_bin478.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/106434/ltcube_363225601_363484801_4FGL_J0915.9+2933_daily_bin478.fits
.....................!
real 194.07
user 187.42
sys 4.48

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/106434/ft1_filtered_4FGL_J0915.9+2933_daily_bin478.fits scfile=/scratch/kocevski/106434/ft2_4FGL_J0915.9+2933_daily_bin478.fits outfile=/scratch/kocevski/106434/cmap_363225601_363484801_4FGL_J0915.9+2933_daily_bin478.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.87
user 0.37
sys 0.45

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/106434/ft1_filtered_4FGL_J0915.9+2933_daily_bin478.fits scfile=/scratch/kocevski/106434/ft2_4FGL_J0915.9+2933_daily_bin478.fits outfile=/scratch/kocevski/106434/cmap_HighResolution_363225601_363484801_4FGL_J0915.9+2933_daily_bin478.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.37
sys 0.45

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8268       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .60507E-01   1.0000         .10000E-03   10000.    
     3 'norm      '    .96765       1.0000         .10000E-03   10000.    
     4 'Prefactor '    15.685       1.0000         .10000E-03   10000.    
     5 'Prefactor '    20.511       1.0000         .10000E-03   10000.    
     6 'norm      '    33.291       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.4288       1.0000         .10000E-03   10000.    
     8 'Prefactor '    16.945       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.4168       1.0000         .10000E-03   10000.    
    10 'norm      '    .83624       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10394E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.4126       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10210E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    12.466       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.5285       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0836       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1258       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=   10903.25     FROM MIGRAD    STATUS=CONVERGED    488 CALLS     2058 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8270        .94016       -.75196E-07   -.13067E-03
   2  Prefactor     .10000E-03    5.9687       -.38820E-06** at limit **
   3  norm          .96780        .55286       -.29587E-07   -.59722E-03
   4  Prefactor     15.684        9.2989       -.45895E-06    .99009E-05
   5  Prefactor     20.507        13.370        .11820E-05    .14695E-04
   6  norm          33.285        27.411       -.38572E-05    .11196E-04
   7  Prefactor     1.4284        1.9490       -.32348E-06   -.70595E-03
   8  Prefactor     16.945        18.435       -.92028E-06    .92110E-05
   9  Prefactor     2.4150        2.9129       -.46095E-06   -.94876E-03
  10  norm          .83619        .70016       -.19241E-07    .30306E-03
  11  Prefactor     .10000E-03    8.3092       -.35424E-07** at limit **
  12  Prefactor     .10000E-03    12.823       -.73353E-07** at limit **
  13  norm          .10000E-03    1.5929       -.76761E-08** at limit **
  14  Prefactor     .10000E-03    1.1457        .14374E-07** at limit **
  15  Prefactor     1.4125        1.6905       -.13258E-06   -.29421E-03
  16  Prefactor     .10000E-03    28.492        .15765E-06** at limit **
  17  Prefactor     12.442        55.104       -.53005E-04    .32453E-05
  18  Prefactor     4.5292        6.6371       -.14173E-05   -.25835E-03
  19  Prefactor     .10000E-03    3.0500       -.13646E-07** at limit **
  20  Prefactor     .10000E-03    1.0194        .26077E-07** at limit **
  21  Normalizat    1.0839        .13719        .64756E-06    .15775E-03
  22  Prefactor     1.1256        .13161        .13330E-05    .47520E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.82698
  Prefactor  = 0.000100004
  norm       = 0.967798
  Prefactor  = 15.6844
  Prefactor  = 20.5066
  norm       = 33.2847
  Prefactor  = 1.4284
  Prefactor  = 16.9445
  Prefactor  = 2.41497
  norm       = 0.836189
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.41253
  Prefactor  = 0.0001
  Prefactor  = 12.4421
  Prefactor  = 4.52922
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.08389
  Prefactor  = 1.12559
 **********
 **   18 **HESSE 
 **********

 FCN=   10903.25     FROM HESSE     STATUS=OK           360 CALLS     2418 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8270        .93737        .68190E-04   -1.5438    
   2  Prefactor     .10000E-03    9.2217        .70065E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .96780        .53359        .55345E-03   -1.5511    
   4  Prefactor     15.684        9.2752        .10113E-03   -1.4916    
   5  Prefactor     20.507        13.427        .88439E-04   -1.4802    
   6  norm          33.285        27.427        .69449E-04   -1.4553    
   7  Prefactor     1.4284        1.9288        .16490E-03   -1.5469    
   8  Prefactor     16.945        18.421        .97295E-04   -1.4884    
   9  Prefactor     2.4150        2.9150        .18804E-03   -1.5397    
  10  norm          .83619        .77225        .77734E-03   -1.5525    
  11  Prefactor     .10000E-03    8.3811        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    12.831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.5973        .12868E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.1709        .10899E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.4125        1.6766        .14358E-03   -1.5470    
  16  Prefactor     .10000E-03    28.852        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     12.442        54.527        .11345E-03   -1.5002    
  18  Prefactor     4.5292        6.6611        .18918E-03   -1.5282    
  19  Prefactor     .10000E-03    3.0578        .17808E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    1.0338        .10287E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0839        .16432        .25310E-03   -.90271    
  22  Prefactor     1.1256        .15724        .24643E-03   -.88653    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.89743e-10
Minuit parameter uncertainties:
  1  0.937381
  2  0.000393685
  3  0.533591
  4  9.27608
  5  13.4291
  6  27.4369
  7  1.92891
  8  18.4267
  9  2.91518
  10  0.772258
  11  2.00913e-06
  12  8.36519e-06
  13  1.06497e-06
  14  2.61792e-08
  15  1.67669
  16  7.06544e-05
  17  52.1733
  18  6.66217
  19  3.86209e-06
  20  1.21898e-06
  21  0.164394
  22  0.157309
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  8.362e-01  7.723e-01  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.126e+00  1.573e-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.084e+00  1.644e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.20
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 8.46e-09 +/- 7.82e-09
Energy Flux (Fixed Index): 9.73e-06 +/- 8.98e-06

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) = 10903.1960748
delta logL = 0.0550751722185

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10903.1862196
delta logL = 0.0649303403898

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .71486       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.4332       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0865       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1254       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=   10903.19     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      214 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .71383        .97618        .17478E-01   -.22438E-03
   2  alpha         1.4330        .89497        .47326       -.62742E-04
   3  Normalizat    1.0863        .13153        .57183E-01    .83214E-04
   4  Prefactor     1.1255        .13038        .55737E-01   -.24304E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.71383
  alpha      = 1.43298
  Normalizat = 1.08629
  Prefactor  = 1.12549
 **********
 **   18 **HESSE 
 **********

 FCN=   10903.19     FROM HESSE     STATUS=OK            33 CALLS      247 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .71383        .81569        .75324E-03   -1.5539    
   2  alpha         1.4330        .82865        .26429E-01   -.44096    
   3  Normalizat    1.0863        .15605        .25287E-03   -.90193    
   4  Prefactor     1.1255        .15517        .24645E-03   -.88656    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.95584e-10
Minuit parameter uncertainties:
  1  0.815701
  2  0.848427
  3  0.156119
  4  0.155237
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/106434': 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) = 10903.186218
delta logL = 0.064931960078

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  7.138e-01  8.157e-01  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.433e+00  8.484e-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.125e+00  1.552e-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.086e+00  1.561e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.33
Ra Dec: 138.986 29.553
Photon Index (Free Index): 1.43 +/- 0.85
Photon Flux (Free Index): 5.31e-09 +/- 8.15e-09
Energy Flux (Free Index): 1.40e-05 +/- 2.09e-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/106434/cmap_HighResolution_363225601_363484801_4FGL_J0915.9+2933_daily_bin478.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.46e-09', energy_flux2='1.40e-05', photon_flux_error='7.82e-09', dlogl='6.49e-02', energy_flux='9.73e-06', photon_flux2='5.31e-09', job_status='DONE', time_completed='2021-08-31 05:55:32.080491', photon_index_error2='0.85', photon_index2='1.43', ts='7.20', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', energy_flux_error2='2.09e-05', EG='1.08', time_epoch_completed='1630414532.08', return_code='0', job_id='106434', GAL2='1.13', EG2='1.09', return_code2='0', energy_flux_error='8.98e-06', photon_flux_error2='8.15e-09', ts2='7.33', photon_index='1.75' WHERE bin_id='478' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:55:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 106434: <4FGL_J0915.9+2933_daily_bin478> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin478> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 05:40:38 2021
Job was executed on host(s) <bullet0075>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:40:39 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:40:39 2021
Terminated at Tue Aug 31 05:55:32 2021
Results reported at Tue Aug 31 05:55:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin478 138.986 29.553 363225601 363484801 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 :                                   735.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             300.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   893 sec.
    Turnaround time :                            894 sec.

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

