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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin161
RA = 138.986, Dec = 29.553
tmin = 281059201, tmax = 281318401
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='103367', job_status='RUN', time_executed='2021-08-31 05:34:58.455963', time_epoch_executed='1630413298.46' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='161'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/103367

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/103367/ft1_4FGL_J0915.9+2933_daily_bin161.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/103367/ft2_4FGL_J0915.9+2933_daily_bin161.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/103367/ft1_4FGL_J0915.9+2933_daily_bin161.fits outfile=/scratch/kocevski/103367/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin161.fits ra=138.986 dec=29.553 rad=12.0 tmin=281059201.0 tmax=281318401.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 5.35
user 4.25
sys 0.89

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/103367/ft1_filtered_4FGL_J0915.9+2933_daily_bin161.fits" evtable="EVENTS" scfile=/scratch/kocevski/103367/ft2_4FGL_J0915.9+2933_daily_bin161.fits sctable="SC_DATA" outfile=/scratch/kocevski/103367/ltcube_281059201_281318401_4FGL_J0915.9+2933_daily_bin161.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/103367/ft2_4FGL_J0915.9+2933_daily_bin161.fits
.....................!
real 12.99
user 11.78
sys 1.07

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/103367/ft1_filtered_4FGL_J0915.9+2933_daily_bin161.fits evtable="EVENTS" scfile=/scratch/kocevski/103367/ft2_4FGL_J0915.9+2933_daily_bin161.fits sctable="SC_DATA" expcube=/scratch/kocevski/103367/ltcube_281059201_281318401_4FGL_J0915.9+2933_daily_bin161.fits outfile=/scratch/kocevski/103367/expmap_281059201_281318401_4FGL_J0915.9+2933_daily_bin161.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/103367/ltcube_281059201_281318401_4FGL_J0915.9+2933_daily_bin161.fits
.....................!
real 191.51
user 184.39
sys 6.63

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/103367/ft1_filtered_4FGL_J0915.9+2933_daily_bin161.fits scfile=/scratch/kocevski/103367/ft2_4FGL_J0915.9+2933_daily_bin161.fits outfile=/scratch/kocevski/103367/cmap_281059201_281318401_4FGL_J0915.9+2933_daily_bin161.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.32
user 0.36
sys 0.80

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/103367/ft1_filtered_4FGL_J0915.9+2933_daily_bin161.fits scfile=/scratch/kocevski/103367/ft2_4FGL_J0915.9+2933_daily_bin161.fits outfile=/scratch/kocevski/103367/cmap_HighResolution_281059201_281318401_4FGL_J0915.9+2933_daily_bin161.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.39
user 0.38
sys 0.79

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2329       1.0000         .10000E-03   10000.    
     2 'Prefactor '    26.343       1.0000         .10000E-03   10000.    
     3 'norm      '    1.2835       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.9472       1.0000         .10000E-03   10000.    
     6 'norm      '    .11462E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .41129E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10778E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.1972       1.0000         .10000E-03   10000.    
    10 'norm      '    .60416       1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.520       1.0000         .10000E-03   10000.    
    12 'Prefactor '    77.272       1.0000         .10000E-03   10000.    
    13 'norm      '    .10269E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.2271       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.8560       1.0000         .10000E-03   10000.    
    16 'Prefactor '    16.577       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.5095       1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.368       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .78223E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0314       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .72659       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=   5193.529     FROM MIGRAD    STATUS=CONVERGED    475 CALLS     2084 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2329        1.1162       -.25800E-07   -.12535E-03
   2  Prefactor     26.344        13.868        .12757E-06   -.32125E-05
   3  norm          1.2834        .83014       -.58084E-08   -.37366E-03
   4  Prefactor     .10000E-03    5.0596       -.32485E-07** at limit **
   5  Prefactor     7.9508        14.470        .88443E-06   -.23456E-04
   6  norm          .10000E-03    25.265        .21337E-05** at limit **
   7  Prefactor     .10000E-03    2.1030        .94701E-07** at limit **
   8  Prefactor     .10000E-03    24.919       -.12471E-05** at limit **
   9  Prefactor     3.1974        4.9889       -.80265E-06   -.49032E-03
  10  norm          .60398        1.4328       -.45359E-06   -.14454E-02
  11  Prefactor     13.520        15.983        .82367E-06   -.18665E-05
  12  Prefactor     77.263        50.855       -.86418E-05   -.10526E-05
  13  norm          .10000E-03    3.4656       -.32339E-07** at limit **
  14  Prefactor     4.2281        3.0764        .37153E-07    .30463E-05
  15  Prefactor     2.8568        2.5486       -.19723E-06    .27216E-04
  16  Prefactor     16.591        25.410        .14327E-04    .17313E-04
  17  Prefactor     .10000E-03    39.287        .14527E-06** at limit **
  18  Prefactor     7.5151        7.1827       -.40633E-05   -.17151E-03
  19  Prefactor     10.372        8.6206        .40945E-06   -.53042E-04
  20  Prefactor     .10002E-03    1.0359       -.14197E-06** at limit **
  21  Normalizat    1.0310        .17436        .29249E-07    .57986E-04
  22  Prefactor     .72694        .16409        .12120E-06    .84164E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.23286
  Prefactor  = 26.3441
  norm       = 1.28341
  Prefactor  = 0.0001
  Prefactor  = 7.95077
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.1974
  norm       = 0.603982
  Prefactor  = 13.5203
  Prefactor  = 77.2626
  norm       = 0.0001
  Prefactor  = 4.22805
  Prefactor  = 2.85684
  Prefactor  = 16.5909
  Prefactor  = 0.0001
  Prefactor  = 7.51506
  Prefactor  = 10.3716
  Prefactor  = 0.000100017
  Normalizat = 1.03101
  Prefactor  = 0.726936
 **********
 **   18 **HESSE 
 **********

 FCN=   5193.529     FROM HESSE     STATUS=OK           356 CALLS     2440 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2329        1.1161        .40473E-04   -1.5486    
   2  Prefactor     26.344        13.861        .78051E-04   -1.4681    
   3  norm          1.2834        .81549        .50712E-04   -1.5481    
   4  Prefactor     .10000E-03    5.0686        .15828E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.9508        14.470        .14223E-03   -1.5144    
   6  norm          .10000E-03    25.340        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.4314        .20271E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    24.953        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.1974        4.9805        .18068E-03   -1.5350    
  10  norm          .60398        1.3248        .12872E-02   -1.5553    
  11  Prefactor     13.520        15.942        .10893E-03   -1.4972    
  12  Prefactor     77.263        50.740        .22841E-03   -1.3948    
  13  norm          .10000E-03    3.4839        .13083E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.2281        3.0662        .10057E-03   -1.5297    
  15  Prefactor     2.8568        2.5486        .10423E-03   -1.5370    
  16  Prefactor     16.591        25.214        .98370E-04   -1.4893    
  17  Prefactor     .10000E-03    39.313        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     7.5151        7.2289        .14635E-03   -1.5160    
  19  Prefactor     10.372        8.6294        .12444E-03   -1.5064    
  20  Prefactor     .10002E-03    19.281        .14029E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0310        .20148        .21567E-03   -.91999    
  22  Prefactor     .72694        .19003        .25131E-03   -1.0248    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58759e-09
Minuit parameter uncertainties:
  1  1.1161
  2  13.8629
  3  0.815499
  4  2.34872e-06
  5  14.4763
  6  4.93715e-05
  7  6.42608e-05
  8  3.74033e-06
  9  4.98117
  10  1.32489
  11  15.9468
  12  50.7685
  13  3.19031e-06
  14  3.06628
  15  2.54872
  16  25.2303
  17  4.04474e-05
  18  7.22976
  19  8.6304
  20  0.00113403
  21  0.201627
  22  0.190202
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  6.040e-01  1.325e+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:  7.269e-01  1.902e-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.031e+00  2.016e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/103367/likelihoodResults_281059201_281318401_4FGL_J0915.9+2933_daily_bin161.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) = 5193.36511496
delta logL = 0.164159364621

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5193.35387909
delta logL = 0.175395238382

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .78643       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.2119       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0351       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72208       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5193.354     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      279 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .78639        1.2663        .11025E-02    .75944E-03
   2  alpha         1.2119        .74462        .20251E-01    .34614E-04
   3  Normalizat    1.0351        .18722        .21526E-03   -.85032E-04
   4  Prefactor     .72207        .18738        .25197E-03   -.17926E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.786386
  alpha      = 1.21189
  Normalizat = 1.03511
  Prefactor  = 0.722067
 **********
 **   18 **HESSE 
 **********

 FCN=   5193.354     FROM HESSE     STATUS=OK            27 CALLS      306 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .78639        1.2749        .44101E-04   -1.5531    
   2  alpha         1.2119        .74996        .81004E-03   -.54129    
   3  Normalizat    1.0351        .18738        .86102E-05   -.91863    
   4  Prefactor     .72207        .18756        .10079E-04   -1.0267    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.50825e-10
Minuit parameter uncertainties:
  1  1.27496
  2  0.76618
  3  0.187504
  4  0.187727
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/103367': 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) = 5193.35387909
delta logL = 0.175395243986

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  7.221e-01  1.877e-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.035e+00  1.875e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.27
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/103367/cmap_HighResolution_281059201_281318401_4FGL_J0915.9+2933_daily_bin161.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.16e-05', job_status='DONE', photon_flux_upper_limit='4.49e-08', time_completed='2021-08-31 05:44:44.005550', job_id='103367', GAL2='0.72', fit_tolerance='1e-08', EG2='1.04', EG='1.03', time_epoch_completed='1630413884.01', return_code2='0', ts='0.27', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='1.75e-01', ts2='0.62', photon_index_error='0.00', photon_index='1.75' WHERE bin_id='161' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:44:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 103367: <4FGL_J0915.9+2933_daily_bin161> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin161 138.986 29.553 281059201 281318401 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 :                                   582.05 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             235.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   825 sec.
    Turnaround time :                            828 sec.

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

