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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin850
RA = 138.986, Dec = 29.553
tmin = 459648001, tmax = 459907201
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='108304', job_status='RUN', time_executed='2021-08-31 05:48:33.155474', time_epoch_executed='1630414113.16' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='850'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/108304

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/108304/ft1_4FGL_J0915.9+2933_daily_bin850.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/108304/ft2_4FGL_J0915.9+2933_daily_bin850.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/108304/ft1_4FGL_J0915.9+2933_daily_bin850.fits outfile=/scratch/kocevski/108304/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin850.fits ra=138.986 dec=29.553 rad=12.0 tmin=459648001.0 tmax=459907201.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 12.40
user 3.19
sys 8.45

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/108304/ft2_4FGL_J0915.9+2933_daily_bin850.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/108304/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin850.fits evtable="EVENTS" outfile="/scratch/kocevski/108304/ft1_filtered_4FGL_J0915.9+2933_daily_bin850.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 10.33
user 0.33
sys 8.36

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/108304/ft1_filtered_4FGL_J0915.9+2933_daily_bin850.fits" evtable="EVENTS" scfile=/scratch/kocevski/108304/ft2_4FGL_J0915.9+2933_daily_bin850.fits sctable="SC_DATA" outfile=/scratch/kocevski/108304/ltcube_459648001_459907201_4FGL_J0915.9+2933_daily_bin850.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/108304/ft2_4FGL_J0915.9+2933_daily_bin850.fits
.....................!
real 24.68
user 12.71
sys 9.90

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/108304/ft1_filtered_4FGL_J0915.9+2933_daily_bin850.fits evtable="EVENTS" scfile=/scratch/kocevski/108304/ft2_4FGL_J0915.9+2933_daily_bin850.fits sctable="SC_DATA" expcube=/scratch/kocevski/108304/ltcube_459648001_459907201_4FGL_J0915.9+2933_daily_bin850.fits outfile=/scratch/kocevski/108304/expmap_459648001_459907201_4FGL_J0915.9+2933_daily_bin850.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/108304/ltcube_459648001_459907201_4FGL_J0915.9+2933_daily_bin850.fits
.....................!
real 204.93
user 185.25
sys 15.88

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/108304/ft1_filtered_4FGL_J0915.9+2933_daily_bin850.fits scfile=/scratch/kocevski/108304/ft2_4FGL_J0915.9+2933_daily_bin850.fits outfile=/scratch/kocevski/108304/cmap_459648001_459907201_4FGL_J0915.9+2933_daily_bin850.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 9.07
user 0.37
sys 8.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/108304/ft1_filtered_4FGL_J0915.9+2933_daily_bin850.fits scfile=/scratch/kocevski/108304/ft2_4FGL_J0915.9+2933_daily_bin850.fits outfile=/scratch/kocevski/108304/cmap_HighResolution_459648001_459907201_4FGL_J0915.9+2933_daily_bin850.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 8.90
user 0.41
sys 8.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .35586       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10828E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.6394       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.8367       1.0000         .10000E-03   10000.    
     5 'Prefactor '    36.704       1.0000         .10000E-03   10000.    
     6 'norm      '    .26523E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .33267       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.1328       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.515       1.0000         .10000E-03   10000.    
    10 'norm      '    .81635       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10779E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10288E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10127E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10112E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    3.4168       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.3137       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1040       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2146       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=   6592.645     FROM MIGRAD    STATUS=CONVERGED    509 CALLS     2468 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .35583        1.3986        .30233E-01    .12493E-02
   2  Prefactor     .10007E-03    25.068        .90712E-02** at limit **
   3  norm          2.6394        .99427        .62742E-02    .13994E-03
   4  Prefactor     7.8330        10.746        .35809E-02    .13207E-03
   5  Prefactor     36.705        22.266        .16538E-02    .40701E-03
   6  norm          .10001E-03    24.195        .13566    ** at limit **
   7  Prefactor     .33713        2.0997        .67369E-01    .51929E-03
   8  Prefactor     2.1372        360.12        .70574E-02   -.14215E-03
   9  Prefactor     10.518        7.2148        .30890E-02   -.31620E-02
  10  norm          .81549        1.6225        .27462E-01    .85330E-03
  11  Prefactor     .10000E-03    16.251        .90712E-02** at limit **
  12  Prefactor     .10000E-03    10.012        .90712E-02** at limit **
  13  norm          .10000E-03    5.7711        .90712E-02** at limit **
  14  Prefactor     .10000E-03    2.7061        .90712E-02** at limit **
  15  Prefactor     .10000E-03    2.0005        .90712E-02** at limit **
  16  Prefactor     .10001E-03    22.549        .90712E-02** at limit **
  17  Prefactor     .10003E-03    27.377        .90712E-02** at limit **
  18  Prefactor     3.4135        9.0908        .54711E-02    .42983E-03
  19  Prefactor     .10000E-03    13.583        .90712E-02** at limit **
  20  Prefactor     1.3137        2.0761        .96109E-02    .65361E-03
  21  Normalizat    1.1041        .18738        .60712E-01    .15583E-04
  22  Prefactor     1.2145        .17712        .57378E-01    .14138E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.355835
  Prefactor  = 0.000100071
  norm       = 2.63942
  Prefactor  = 7.83297
  Prefactor  = 36.7051
  norm       = 0.000100006
  Prefactor  = 0.337126
  Prefactor  = 2.13722
  Prefactor  = 10.5185
  norm       = 0.815485
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100009
  Prefactor  = 0.000100031
  Prefactor  = 3.41353
  Prefactor  = 0.0001
  Prefactor  = 1.31375
  Normalizat = 1.10409
  Prefactor  = 1.21453
 **********
 **   18 **HESSE 
 **********

 FCN=   6592.645     FROM HESSE     STATUS=OK           356 CALLS     2824 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .35583        2.5575        .17582E-02   -1.5589    
   2  Prefactor     .10007E-03    25.503        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.6394        .99345        .47263E-04   -1.5383    
   4  Prefactor     7.8330        10.739        .14324E-03   -1.5148    
   5  Prefactor     36.705        22.299        .66152E-04   -1.4496    
   6  norm          .10001E-03    27.008        .12470       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .33713        10.351        .22351E-02   -1.5592    
   8  Prefactor     2.1372        346.97        .28229E-03   -1.5416    
   9  Prefactor     10.518        7.0800        .12356E-03   -1.5059    
  10  norm          .81549        1.3235        .14007E-02   -1.5527    
  11  Prefactor     .10000E-03    16.285        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    10.012        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    5.8695        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.7421        .13005E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    2.0204        .11206E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10001E-03    22.625        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10003E-03    27.397        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.4135        9.0708        .21884E-03   -1.5338    
  19  Prefactor     .10000E-03    14.119        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.3137        2.0389        .14123E-03   -1.5479    
  21  Normalizat    1.1041        .22002        .26851E-03   -.89621    
  22  Prefactor     1.2145        .20917        .25372E-03   -.85885    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.48142e-08
Minuit parameter uncertainties:
  1  1.90778
  2  0.00269564
  3  0.993457
  4  10.7416
  5  22.3036
  6  0.000775709
  7  3.73621
  8  54.7877
  9  7.08051
  10  1.32358
  11  4.80702e-05
  12  5.03079e-05
  13  4.6179e-06
  14  1.48354e-06
  15  6.97258e-07
  16  0.000914708
  17  0.00185366
  18  9.07449
  19  7.09081e-05
  20  2.03897
  21  0.2202
  22  0.209312
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  8.155e-01  1.324e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.750e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
272         beta:  7.920e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  1.366e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.215e+00  2.093e-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.104e+00  2.202e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/108304/likelihoodResults_459648001_459907201_4FGL_J0915.9+2933_daily_bin850.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) = 6592.63838453
delta logL = 0.00703420113587

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6592.63833134
delta logL = 0.00708739106813

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .82261       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8712       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1030       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2147       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=   6592.638     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      220 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .82283        48.811        .27031E-01    .70401E-03
   2  alpha         1.8705        2.6095        .42931        .15697E-04
   3  Normalizat    1.1030        .42168E-01    .60737E-01   -.73131E-05
   4  Prefactor     1.2147        .41257E-01    .57374E-01   -.14076E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.822831
  alpha      = 1.87054
  Normalizat = 1.10298
  Prefactor  = 1.21469
 **********
 **   18 **HESSE 
 **********

 FCN=   6592.638     FROM HESSE     STATUS=OK            35 CALLS      255 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .82283        1.3241        .13636E-02   -1.5527    
   2  alpha         1.8705        .99584        .26537E-01   -.25452    
   3  Normalizat    1.1030        .20793        .26863E-03   -.89656    
   4  Prefactor     1.2147        .20588        .25370E-03   -.85880    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.29069e-09
Minuit parameter uncertainties:
  1  1.32412
  2  1.02634
  3  0.208088
  4  0.206019
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/108304': 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) = 6592.63833113
delta logL = 0.00708759497866

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  8.228e-01  1.324e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  1.871e+00  1.026e+00  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.215e+00  2.060e-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.103e+00  2.081e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.62
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/108304/cmap_HighResolution_459648001_459907201_4FGL_J0915.9+2933_daily_bin850.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.70e-05', job_status='DONE', photon_flux_upper_limit='4.96e-08', time_completed='2021-08-31 06:01:29.633395', job_id='108304', GAL2='1.21', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1630414889.63', return_code2='0', ts='0.62', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='7.09e-03', ts2='0.63', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='850' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:01:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 108304: <4FGL_J0915.9+2933_daily_bin850> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin850> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Aug 31 05:46:00 2021
Job was executed on host(s) <bullet0266>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:46:02 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:46:02 2021
Terminated at Tue Aug 31 06:01:32 2021
Results reported at Tue Aug 31 06:01:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin850 138.986 29.553 459648001 459907201 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 :                                   884.53 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             282.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   928 sec.
    Turnaround time :                            932 sec.

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

