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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin636
RA = 138.986, Dec = 29.553
tmin = 404179201, tmax = 404438401
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='106687', job_status='RUN', time_executed='2021-08-31 05:43:46.385928', time_epoch_executed='1630413826.39' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='636'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/106687

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/106687/ft1_4FGL_J0915.9+2933_daily_bin636.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/106687/ft2_4FGL_J0915.9+2933_daily_bin636.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/106687/ft1_4FGL_J0915.9+2933_daily_bin636.fits outfile=/scratch/kocevski/106687/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin636.fits ra=138.986 dec=29.553 rad=12.0 tmin=404179201.0 tmax=404438401.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 4.80
user 3.41
sys 1.33

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/106687/ft1_filtered_4FGL_J0915.9+2933_daily_bin636.fits" evtable="EVENTS" scfile=/scratch/kocevski/106687/ft2_4FGL_J0915.9+2933_daily_bin636.fits sctable="SC_DATA" outfile=/scratch/kocevski/106687/ltcube_404179201_404438401_4FGL_J0915.9+2933_daily_bin636.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/106687/ft2_4FGL_J0915.9+2933_daily_bin636.fits
.....................!
real 13.52
user 11.86
sys 1.59

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/106687/ft1_filtered_4FGL_J0915.9+2933_daily_bin636.fits evtable="EVENTS" scfile=/scratch/kocevski/106687/ft2_4FGL_J0915.9+2933_daily_bin636.fits sctable="SC_DATA" expcube=/scratch/kocevski/106687/ltcube_404179201_404438401_4FGL_J0915.9+2933_daily_bin636.fits outfile=/scratch/kocevski/106687/expmap_404179201_404438401_4FGL_J0915.9+2933_daily_bin636.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/106687/ltcube_404179201_404438401_4FGL_J0915.9+2933_daily_bin636.fits
.....................!
real 191.80
user 185.57
sys 5.41

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

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

This is gtbin version HEAD
real 1.75
user 0.36
sys 1.26

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/106687/ft1_filtered_4FGL_J0915.9+2933_daily_bin636.fits scfile=/scratch/kocevski/106687/ft2_4FGL_J0915.9+2933_daily_bin636.fits outfile=/scratch/kocevski/106687/cmap_HighResolution_404179201_404438401_4FGL_J0915.9+2933_daily_bin636.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 1.60
user 0.38
sys 1.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    22.428       1.0000         .10000E-03   10000.    
     3 'norm      '    .84178       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.0206       1.0000         .10000E-03   10000.    
     5 'Prefactor '    44.679       1.0000         .10000E-03   10000.    
     6 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .13666E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    88.562       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    4.4095       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.617       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10085E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10237E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.1127       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    83.558       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .25163       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .77071       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .45908E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1916       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .84934       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=   6757.436     FROM MIGRAD    STATUS=CONVERGED    500 CALLS     2471 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .61341        .25084E-01** at limit **
   2  Prefactor     22.426        15.037        .21144E-02   -.71105E-03
   3  norm          .84179        .61612        .11519E-01    .28412E-03
   4  Prefactor     3.0224        11.902        .58376E-02    .31135E-03
   5  Prefactor     44.677        19.631        .14995E-02   -.12146E-04
   6  norm          .10000E-03    20.842        .90712E-02** at limit **
   7  Prefactor     .10000E-03    2.5017        .43048E-01** at limit **
   8  Prefactor     88.560        56.474        .10674E-02    .14668E-02
   9  Prefactor     .10000E-03    2.9058        .90712E-02** at limit **
  10  norm          4.4097        2.0206        .47946E-02    .33628E-05
  11  Prefactor     14.614        20.523        .26191E-02   -.11559E-03
  12  Prefactor     .10000E-03    87.994        .90712E-02** at limit **
  13  norm          .10000E-03    6.6586        .90712E-02** at limit **
  14  Prefactor     .10000E-03    3.7946        .90712E-02** at limit **
  15  Prefactor     4.1125        3.7509        .49695E-02    .35302E-03
  16  Prefactor     .10000E-03    14.291        .90712E-02** at limit **
  17  Prefactor     83.557        65.188        .10986E-02    .63820E-03
  18  Prefactor     .25023        2.9542        .76172E-01    .50642E-03
  19  Prefactor     .76474        7.1034        .71280E-01   -.30729E-03
  20  Prefactor     .10000E-03    .96007        .44066E-01** at limit **
  21  Normalizat    1.1918        .17616        .53586E-01    .27523E-05
  22  Prefactor     .84913        .16389        .44356E-01    .13926E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 22.4255
  norm       = 0.84179
  Prefactor  = 3.02243
  Prefactor  = 44.677
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 88.5598
  Prefactor  = 0.0001
  norm       = 4.40968
  Prefactor  = 14.6139
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.11246
  Prefactor  = 0.0001
  Prefactor  = 83.5573
  Prefactor  = 0.25023
  Prefactor  = 0.764738
  Prefactor  = 0.000100002
  Normalizat = 1.1918
  Prefactor  = 0.849129
 **********
 **   18 **HESSE 
 **********

 FCN=   6757.436     FROM HESSE     STATUS=OK           350 CALLS     2821 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.0062        .12344E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     22.426        14.835        .84578E-04   -1.4760    
   3  norm          .84179        .60295        .51638E-04   -1.5524    
   4  Prefactor     3.0224        11.831        .23351E-03   -1.5360    
   5  Prefactor     44.677        19.681        .59980E-04   -1.4370    
   6  norm          .10000E-03    20.877        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.1936        .25053E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     88.560        56.386        .42695E-04   -1.3823    
   9  Prefactor     .10000E-03    2.9418        .13662E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.4097        2.0188        .76134E-04   -1.5288    
  11  Prefactor     14.614        20.476        .10476E-03   -1.4943    
  12  Prefactor     .10000E-03    88.378        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    6.7820        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.9122        .31200E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.1125        3.7466        .14385E-03   -1.5302    
  16  Prefactor     .10000E-03    14.338        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     83.557        65.152        .43944E-04   -1.3877    
  18  Prefactor     .25023        23.412        .26972E-02   -1.5608    
  19  Prefactor     .76474        20.199        .41534E-02   -1.5533    
  20  Prefactor     .10000E-03    8.9942        .15529E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1918        .20573        .23693E-03   -.86856    
  22  Prefactor     .84913        .19231        .26689E-03   -.97942    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6309e-08
Minuit parameter uncertainties:
  1  1.65641e-08
  2  14.8378
  3  0.602957
  4  11.84
  5  19.6835
  6  9.84715e-05
  7  3.07841e-06
  8  56.42
  9  4.69032e-07
  10  2.01887
  11  20.486
  12  0.00028246
  13  2.68864e-05
  14  3.72414e-07
  15  3.74677
  16  0.000102437
  17  65.2077
  18  4.8418
  19  7.86298
  20  0.000263344
  21  0.205867
  22  0.192463
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  4.410e+00  2.019e+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.491e-01  1.925e-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.192e+00  2.059e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 18.27
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 4.46e-08 +/- 2.04e-08
Energy Flux (Fixed Index): 5.13e-05 +/- 2.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) = 6757.43560075
delta logL = 0.000142841920024

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6757.43559892
delta logL = 0.000144674293551

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.4097       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7442       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1921       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84905       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=   6757.436     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      193 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.4133        8.9812        .47945E-02    .17642E-04
   2  alpha         1.7441        1.3271        .26196        .20353E-04
   3  Normalizat    1.1920        .17967        .53582E-01    .55587E-05
   4  Prefactor     .84905        .16802        .44352E-01    .16317E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.41331
  alpha      = 1.74411
  Normalizat = 1.19204
  Prefactor  = 0.849048
 **********
 **   18 **HESSE 
 **********

 FCN=   6757.436     FROM HESSE     STATUS=OK            33 CALLS      226 TOTAL
                     EDM=   .53E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.4133        2.0213        .76245E-04   -1.5288    
   2  alpha         1.7441        .34830        .10444E-01   -.30716    
   3  Normalizat    1.1920        .19506        .23692E-03   -.86849    
   4  Prefactor     .84905        .18953        .26691E-03   -.97945    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.25556e-13
Minuit parameter uncertainties:
  1  2.02128
  2  0.349555
  3  0.195184
  4  0.189681
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/106687': 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) = 6757.43559733
delta logL = 0.00014625825861

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  4.413e+00  2.021e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.744e+00  3.496e-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.490e-01  1.897e-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.192e+00  1.952e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 18.27
Ra Dec: 138.986 29.553
Photon Index (Free Index): 1.74 +/- 0.35
Photon Flux (Free Index): 4.43e-08 +/- 2.59e-08
Energy Flux (Free Index): 5.17e-05 +/- 3.42e-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/106687/cmap_HighResolution_404179201_404438401_4FGL_J0915.9+2933_daily_bin636.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.46e-08', energy_flux2='5.17e-05', photon_flux_error='2.04e-08', dlogl='1.46e-04', energy_flux='5.13e-05', photon_flux2='4.43e-08', job_status='DONE', time_completed='2021-08-31 05:53:43.702571', photon_index_error2='0.35', photon_index2='1.74', ts='18.27', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', energy_flux_error2='3.42e-05', EG='1.19', time_epoch_completed='1630414423.7', return_code='0', job_id='106687', GAL2='0.85', EG2='1.19', return_code2='0', energy_flux_error='2.35e-05', photon_flux_error2='2.59e-08', ts2='18.27', photon_index='1.75' WHERE bin_id='636' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:53:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0293>
Subject: Job 106687: <4FGL_J0915.9+2933_daily_bin636> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin636> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 05:40:58 2021
Job was executed on host(s) <bullet0293>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:41:00 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:41:00 2021
Terminated at Tue Aug 31 05:53:44 2021
Results reported at Tue Aug 31 05:53:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin636 138.986 29.553 404179201 404438401 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 :                                   609.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             296.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   764 sec.
    Turnaround time :                            766 sec.

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

