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


Performing analysis on: 4FGL_J0915.9+2933_daily_bin968
RA = 138.986, Dec = 29.553
tmin = 490233601, tmax = 490492801
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='108470', job_status='RUN', time_executed='2021-08-31 05:51:25.192457', time_epoch_executed='1630414285.19' WHERE source_name='4FGL J0915.9+2933' and cadence='daily' and bin_id='968'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/108470

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/108470/ft1_4FGL_J0915.9+2933_daily_bin968.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/108470/ft2_4FGL_J0915.9+2933_daily_bin968.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/108470/ft1_4FGL_J0915.9+2933_daily_bin968.fits outfile=/scratch/kocevski/108470/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin968.fits ra=138.986 dec=29.553 rad=12.0 tmin=490233601.0 tmax=490492801.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.27
user 3.44
sys 0.64

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/108470/ft2_4FGL_J0915.9+2933_daily_bin968.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/108470/ft1_filteredMKT_4FGL_J0915.9+2933_daily_bin968.fits evtable="EVENTS" outfile="/scratch/kocevski/108470/ft1_filtered_4FGL_J0915.9+2933_daily_bin968.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.19
user 0.32
sys 0.58

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/108470/ft1_filtered_4FGL_J0915.9+2933_daily_bin968.fits" evtable="EVENTS" scfile=/scratch/kocevski/108470/ft2_4FGL_J0915.9+2933_daily_bin968.fits sctable="SC_DATA" outfile=/scratch/kocevski/108470/ltcube_490233601_490492801_4FGL_J0915.9+2933_daily_bin968.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/108470/ft2_4FGL_J0915.9+2933_daily_bin968.fits
.....................!
real 12.54
user 11.27
sys 0.85

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/108470/ft1_filtered_4FGL_J0915.9+2933_daily_bin968.fits evtable="EVENTS" scfile=/scratch/kocevski/108470/ft2_4FGL_J0915.9+2933_daily_bin968.fits sctable="SC_DATA" expcube=/scratch/kocevski/108470/ltcube_490233601_490492801_4FGL_J0915.9+2933_daily_bin968.fits outfile=/scratch/kocevski/108470/expmap_490233601_490492801_4FGL_J0915.9+2933_daily_bin968.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/108470/ltcube_490233601_490492801_4FGL_J0915.9+2933_daily_bin968.fits
.....................!
real 192.73
user 185.08
sys 5.03

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/108470/ft1_filtered_4FGL_J0915.9+2933_daily_bin968.fits scfile=/scratch/kocevski/108470/ft2_4FGL_J0915.9+2933_daily_bin968.fits outfile=/scratch/kocevski/108470/cmap_490233601_490492801_4FGL_J0915.9+2933_daily_bin968.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 2.64
user 0.37
sys 0.55

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/108470/ft1_filtered_4FGL_J0915.9+2933_daily_bin968.fits scfile=/scratch/kocevski/108470/ft2_4FGL_J0915.9+2933_daily_bin968.fits outfile=/scratch/kocevski/108470/cmap_HighResolution_490233601_490492801_4FGL_J0915.9+2933_daily_bin968.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 3.69
user 0.36
sys 0.57

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10040E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.9253       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.841       1.0000         .10000E-03   10000.    
     6 'norm      '    12.885       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.2517       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.3799       1.0000         .10000E-03   10000.    
    10 'norm      '    3.2637       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.9142       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .15352E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.9515       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11275E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.7639       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .81940       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2912       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=   5859.197     FROM MIGRAD    STATUS=CONVERGED    482 CALLS     2362 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .55737        .29718E-06** at limit **
   2  Prefactor     .10000E-03    5.5011        .14636E-06** at limit **
   3  norm          1.9253        .95176        .47406E-08   -.29218E-03
   4  Prefactor     .10000E-03    6.4336       -.31967E-06** at limit **
   5  Prefactor     15.835        22.819        .64858E-07   -.23511E-04
   6  norm          12.879        38.533       -.17407E-06   -.40422E-04
   7  Prefactor     2.2514        2.8719        .32620E-06    .54499E-03
   8  Prefactor     .10000E-03    17.322        .88802E-06** at limit **
   9  Prefactor     4.3809        5.7314        .11061E-05    .12639E-02
  10  norm          3.2634        2.0287        .15918E-07    .34420E-03
  11  Prefactor     .10000E-03    9.0368        .68612E-06** at limit **
  12  Prefactor     .10000E-03    29.505        .10542E-05** at limit **
  13  norm          .10000E-03    3.7513        .39537E-06** at limit **
  14  Prefactor     4.9145        5.0424        .22523E-06    .99506E-03
  15  Prefactor     .10005E-03    3.1289       -.21669E-05** at limit **
  16  Prefactor     .10001E-03    34.842       -.18818E-05** at limit **
  17  Prefactor     9.9304        103.75       -.23959E-05   -.38484E-04
  18  Prefactor     .10000E-03    12.599       -.67869E-05** at limit **
  19  Prefactor     7.7609        11.363        .46972E-06    .13248E-03
  20  Prefactor     .10000E-03    .51033        .30256E-07** at limit **
  21  Normalizat    .81941        .18219       -.10040E-05    .18399E-03
  22  Prefactor     1.2912        .17561        .71296E-07    .97760E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.92535
  Prefactor  = 0.0001
  Prefactor  = 15.8355
  norm       = 12.879
  Prefactor  = 2.25142
  Prefactor  = 0.000100002
  Prefactor  = 4.38093
  norm       = 3.26337
  Prefactor  = 0.000100001
  Prefactor  = 0.000100003
  norm       = 0.0001
  Prefactor  = 4.9145
  Prefactor  = 0.000100054
  Prefactor  = 0.000100006
  Prefactor  = 9.93035
  Prefactor  = 0.000100001
  Prefactor  = 7.76085
  Prefactor  = 0.0001
  Normalizat = 0.819407
  Prefactor  = 1.29121
 **********
 **   18 **HESSE 
 **********

 FCN=   5859.197     FROM HESSE     STATUS=OK           346 CALLS     2708 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .79015        .11107E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.5153        .17537E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.9253        .94744        .50335E-04   -1.5430    
   4  Prefactor     .10000E-03    6.4564        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     15.835        22.824        .10063E-03   -1.4912    
   6  norm          12.879        38.630        .11159E-03   -1.4990    
   7  Prefactor     2.2514        2.8730        .14249E-03   -1.5408    
   8  Prefactor     .10000E-03    17.444        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.3809        5.8456        .18025E-03   -1.5289    
  10  norm          3.2634        2.0125        .82607E-04   -1.5347    
  11  Prefactor     .10000E-03    9.0820        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    29.871        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    3.7715        .14483E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.9145        5.0070        .14643E-03   -1.5265    
  15  Prefactor     .10005E-03    14.544        .20120E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10001E-03    35.654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     9.9304        103.93        .12702E-03   -1.5078    
  18  Prefactor     .10000E-03    14.202        .32663E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     7.7609        11.388        .14391E-03   -1.5151    
  20  Prefactor     .10000E-03    .51147        .53405E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .81941        .20749        .26975E-03   -.99353    
  22  Prefactor     1.2912        .20355        .22664E-03   -.83569    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.47014e-09
Minuit parameter uncertainties:
  1  1.47754e-05
  2  2.82868e-05
  3  0.947446
  4  6.40158e-05
  5  22.8364
  6  38.7049
  7  2.87317
  8  0.000326057
  9  5.8464
  10  2.01255
  11  0.000153622
  12  0.000615584
  13  4.5909e-05
  14  5.00746
  15  0.00177523
  16  0.000925859
  17  64.3962
  18  0.000265712
  19  11.3913
  20  1.96822e-06
  21  0.207688
  22  0.203678
Done.

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

Extracting fit parameters...

4FGL J0915.9+2933
   Spectrum: LogParabola
270         norm:  3.263e+00  2.013e+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.291e+00  2.037e-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:  8.194e-01  2.077e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.14
Ra Dec: 138.986 29.553
Photon Index (Fixed Index): 1.75 +/- 0.00
Photon Flux (Fixed Index): 3.30e-08 +/- 2.04e-08
Energy Flux (Fixed Index): 3.80e-05 +/- 2.34e-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) = 5859.13528203
delta logL = 0.061320180359

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5859.13272184
delta logL = 0.0638803704314

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.1456       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9212       1.0000          .0000       5.0000    
     3 'Normalizat'    .81341       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2930       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=   5859.133     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      205 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.1453        45.768        .57138E-02    .11040E-03
   2  alpha         1.9216        3.1941        .31511        .25045E-04
   3  Normalizat    .81304        .12048        .43785E-01    .18490E-04
   4  Prefactor     1.2934        .82049E-01    .51220E-01    .17512E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.14527
  alpha      = 1.9216
  Normalizat = 0.813041
  Prefactor  = 1.29343
 **********
 **   18 **HESSE 
 **********

 FCN=   5859.133     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .64E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.1453        1.9961        .78548E-04   -1.5353    
   2  alpha         1.9216        .48687        .11530E-01   -.23347    
   3  Normalizat    .81304        .19409        .27068E-03   -.99587    
   4  Prefactor     1.2934        .19985        .22644E-03   -.83503    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.38933e-13
Minuit parameter uncertainties:
  1  1.99617
  2  0.490181
  3  0.194253
  4  0.199966
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/108470': 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) = 5859.13271948
delta logL = 0.0638827266021

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.293e+00  2.000e-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:  8.130e-01  1.943e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.26
Ra Dec: 138.986 29.553
Photon Index (Free Index): 1.92 +/- 0.49
Photon Flux (Free Index): 4.00e-08 +/- 3.07e-08
Energy Flux (Free Index): 3.12e-05 +/- 2.52e-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/108470/cmap_HighResolution_490233601_490492801_4FGL_J0915.9+2933_daily_bin968.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.30e-08', energy_flux2='3.12e-05', photon_flux_error='2.04e-08', dlogl='6.39e-02', energy_flux='3.80e-05', photon_flux2='4.00e-08', job_status='DONE', time_completed='2021-08-31 06:01:10.949409', photon_index_error2='0.49', photon_index2='1.92', ts='6.14', fit_tolerance='1e-08', GAL='1.29', photon_index_error='0.00', energy_flux_error2='2.52e-05', EG='0.82', time_epoch_completed='1630414870.95', return_code='0', job_id='108470', GAL2='1.29', EG2='0.81', return_code2='0', energy_flux_error='2.34e-05', photon_flux_error2='3.07e-08', ts2='6.26', photon_index='1.75' WHERE bin_id='968' AND source_name='4FGL J0915.9+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 06:01:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 108470: <4FGL_J0915.9+2933_daily_bin968> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0915.9+2933_daily_bin968 138.986 29.553 490233601 490492801 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 :                                   557.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             237.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   899 sec.
    Turnaround time :                            900 sec.

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

