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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin733
RA = 138.986, Dec = 29.553
tmin = 429321601, tmax = 429580801
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='106839', job_status='RUN', time_executed='2021-08-31 05:44:51.040467', time_epoch_executed='1630413891.04' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='733'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/106839

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/106839/ft1_4FGL_J0915.9+2933_daily_bin733.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/106839/ft2_4FGL_J0915.9+2933_daily_bin733.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/106839/ft1_4FGL_J0915.9+2933_daily_bin733.fits outfile=/scratch/kocevski/106839/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin733.fits ra=138.986 dec=29.553 rad=12.0 tmin=429321601.0 tmax=429580801.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 6.91
user 6.17
sys 0.51

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/106839/ft1_filtered_4FGL_J0915.9+2933_daily_bin733.fits" evtable="EVENTS" scfile=/scratch/kocevski/106839/ft2_4FGL_J0915.9+2933_daily_bin733.fits sctable="SC_DATA" outfile=/scratch/kocevski/106839/ltcube_429321601_429580801_4FGL_J0915.9+2933_daily_bin733.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/106839/ft2_4FGL_J0915.9+2933_daily_bin733.fits
.....................!
real 12.74
user 11.97
sys 0.61

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/106839/ft1_filtered_4FGL_J0915.9+2933_daily_bin733.fits evtable="EVENTS" scfile=/scratch/kocevski/106839/ft2_4FGL_J0915.9+2933_daily_bin733.fits sctable="SC_DATA" expcube=/scratch/kocevski/106839/ltcube_429321601_429580801_4FGL_J0915.9+2933_daily_bin733.fits outfile=/scratch/kocevski/106839/expmap_429321601_429580801_4FGL_J0915.9+2933_daily_bin733.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/106839/ltcube_429321601_429580801_4FGL_J0915.9+2933_daily_bin733.fits
.....................!
real 195.51
user 185.38
sys 6.18

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/106839/ft1_filtered_4FGL_J0915.9+2933_daily_bin733.fits scfile=/scratch/kocevski/106839/ft2_4FGL_J0915.9+2933_daily_bin733.fits outfile=/scratch/kocevski/106839/cmap_429321601_429580801_4FGL_J0915.9+2933_daily_bin733.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 5.25
user 0.37
sys 0.38

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/106839/ft1_filtered_4FGL_J0915.9+2933_daily_bin733.fits scfile=/scratch/kocevski/106839/ft2_4FGL_J0915.9+2933_daily_bin733.fits outfile=/scratch/kocevski/106839/cmap_HighResolution_429321601_429580801_4FGL_J0915.9+2933_daily_bin733.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.13
user 0.37
sys 0.40

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.8456       1.0000         .10000E-03   10000.    
     4 'Prefactor '    36.261       1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.2902       1.0000         .10000E-03   10000.    
     6 'norm      '    92.030       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.3471       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.3187       1.0000         .10000E-03   10000.    
    10 'norm      '    2.3309       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    64.229       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10865E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.5939       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.9902       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .71446       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0944       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=   3976.511     FROM MIGRAD    STATUS=CONVERGED    464 CALLS     2323 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .57356       -.41305E-06** at limit **
   2  Prefactor     .10000E-03    8.1020       -.59783E-06** at limit **
   3  norm          2.8457        1.1844       -.48576E-07    .45527E-04
   4  Prefactor     36.263        22.255        .45570E-06    .11515E-04
   5  Prefactor     3.2914        13.855       -.90137E-06   -.97299E-04
   6  norm          92.028        59.896       -.20856E-05    .16455E-04
   7  Prefactor     7.3472        4.7425       -.20342E-06   -.12518E-03
   8  Prefactor     .10000E-03    30.144       -.15085E-04** at limit **
   9  Prefactor     2.3172        4.4422        .55920E-06   -.61214E-03
  10  norm          2.3311        2.1415       -.35845E-07   -.11198E-03
  11  Prefactor     .10000E-03    39.045        .55330E-04** at limit **
  12  Prefactor     .10000E-03    53.171       -.97353E-05** at limit **
  13  norm          64.213        17.142       -.95015E-06   -.10682E-02
  14  Prefactor     .10000E-03    2.9431       -.61933E-06** at limit **
  15  Prefactor     .10000E-03    1.3953       -.11864E-07** at limit **
  16  Prefactor     .10000E-03    55.322       -.32733E-04** at limit **
  17  Prefactor     .10000E-03    30.698       -.66827E-05** at limit **
  18  Prefactor     .10000E-03    8.7915        .95095E-06** at limit **
  19  Prefactor     5.5941        6.5406        .51373E-06    .69850E-03
  20  Prefactor     2.9899        3.4498       -.12096E-06   -.16083E-03
  21  Normalizat    .71439        .20224        .55139E-06   -.13103E-04
  22  Prefactor     1.0944        .19746        .52555E-06    .55917E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 2.84567
  Prefactor  = 36.263
  Prefactor  = 3.29139
  norm       = 92.0276
  Prefactor  = 7.34723
  Prefactor  = 0.0001
  Prefactor  = 2.31717
  norm       = 2.33105
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 64.213
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.59415
  Prefactor  = 2.9899
  Normalizat = 0.714392
  Prefactor  = 1.09444
 **********
 **   18 **HESSE 
 **********

 FCN=   3976.511     FROM HESSE     STATUS=OK           338 CALLS     2661 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .58806        .93211E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.1471        .17529E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.8457        1.1851        .40923E-04   -1.5371    
   4  Prefactor     36.263        22.288        .66553E-04   -1.4503    
   5  Prefactor     3.2914        13.858        .22322E-03   -1.5345    
   6  norm          92.028        59.897        .41890E-04   -1.3786    
   7  Prefactor     7.3472        4.7480        .10624E-03   -1.5166    
   8  Prefactor     .10000E-03    30.176        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.3172        4.4062        .17559E-03   -1.5404    
  10  norm          2.3311        2.1318        .85534E-04   -1.5403    
  11  Prefactor     .10000E-03    39.117        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    53.235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          64.213        17.202        .50073E-04   -1.4104    
  14  Prefactor     .10000E-03    2.9774        .10547E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.4006        .72717E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    55.881        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    30.715        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    8.9589        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.5941        6.5530        .84928E-03   -1.5235    
  20  Prefactor     2.9899        3.4514        .11942E-03   -1.5362    
  21  Normalizat    .71439        .23057        .26914E-03   -1.0333    
  22  Prefactor     1.0944        .22535        .22642E-03   -.89645    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17773e-09
Minuit parameter uncertainties:
  1  7.35508e-08
  2  2.10252e-06
  3  1.18509
  4  22.2931
  5  13.5126
  6  59.9368
  7  4.74829
  8  2.80145e-05
  9  4.40684
  10  2.13182
  11  7.68977e-05
  12  1.90195e-05
  13  17.2038
  14  2.41584e-06
  15  4.58919e-07
  16  0.000325833
  17  1.449e-06
  18  5.13353e-06
  19  6.55383
  20  3.45159
  21  0.230886
  22  0.225543
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  2.331e+00  2.132e+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.094e+00  2.255e-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:  7.144e-01  2.309e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.18
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 2.36e-08 +/- 2.16e-08
Energy Flux (Fixed Index): 2.71e-05 +/- 2.48e-05

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

Saving results to:
/scratch/kocevski/106839/likelihoodResults_429321601_429580801_4FGL_J0915.9+2933_daily_bin733.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) = 3974.83908241
delta logL = 1.67192803048

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3974.82181206
delta logL = 1.68919838412

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .73877       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.1317       1.0000          .0000       5.0000    
     3 'Normalizat'    .63596       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1364       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=   3974.822     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      244 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .73870        7.6949        .66902E-02    .28362E-03
   2  alpha         3.1317        3.9130        .17194        .51597E-04
   3  Normalizat    .63594        .77599E-01    .64075E-01    .17242E-04
   4  Prefactor     1.1365        .72782E-01    .36342E-01    .91325E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.738704
  alpha      = 3.13172
  Normalizat = 0.635938
  Prefactor  = 1.13646
 **********
 **   18 **HESSE 
 **********

 FCN=   3974.822     FROM HESSE     STATUS=OK            33 CALLS      277 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .73870        1.4544        .29914E-04   -1.5536    
   2  alpha         3.1317        1.0365        .71330E-02    .25546    
   3  Normalizat    .63594        .22585        .28350E-03   -1.0648    
   4  Prefactor     1.1365        .22698        .22233E-03   -.88310    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.3209e-09
Minuit parameter uncertainties:
  1  1.45446
  2  1.07119
  3  0.226181
  4  0.227172
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/106839': 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) = 3974.82181204
delta logL = 1.68919840276

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  7.387e-01  1.454e+00  1.000e-04  1.000e+04 ( 1.000e-12)
271        alpha:  3.132e+00  1.071e+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.136e+00  2.272e-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:  6.359e-01  2.262e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.65
Ra Dec: 138.986 29.553
Photon Index (Free Index): 3.13 +/- 1.07
Photon Flux (Free Index): 8.60e-08 +/- 5.77e-08
Energy Flux (Free Index): 1.77e-05 +/- 1.05e-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/106839/cmap_HighResolution_429321601_429580801_4FGL_J0915.9+2933_daily_bin733.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.01e-05', comment='SUCCESS', photon_flux='2.36e-08', energy_flux2='1.77e-05', photon_flux_error='2.16e-08', dlogl='1.69e+00', energy_flux='2.71e-05', photon_flux2='8.60e-08', job_status='DONE', time_completed='2021-08-31 05:54:01.154841', photon_index_error2='1.07', photon_index2='3.13', ts='2.18', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='7.84e-08', energy_flux_error2='1.05e-05', EG='0.71', time_epoch_completed='1630414441.15', return_code='0', job_id='106839', GAL2='1.14', EG2='0.64', return_code2='0', energy_flux_error='2.48e-05', photon_flux_error2='5.77e-08', ts2='5.65', photon_index='1.75' WHERE bin_id='733' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 05:54:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 106839: <4FGL_J0915.9+2933_daily_bin733> in cluster <slac> Done

Job <4FGL_J0915.9+2933_daily_bin733> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 05:41:12 2021
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 05:41:14 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:14 2021
Terminated at Tue Aug 31 05:54:02 2021
Results reported at Tue Aug 31 05:54:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin733 138.986 29.553 429321601 429580801 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 :                                   535.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             277.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   768 sec.
    Turnaround time :                            770 sec.

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

