/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 74 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 = 7392
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0930.9-1015_daily_bin1363
RA = 142.74, Dec = -10.2565
tmin = 592617601, tmax = 592876801
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='267029', job_status='RUN', time_executed='2021-08-31 13:38:01.195342', time_epoch_executed='1630442281.2' WHERE source_name='4FGL J0930.9-1015' and cadence='daily' and bin_id='1363'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/267029

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/267029/ft1_4FGL_J0930.9-1015_daily_bin1363.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/267029/ft2_4FGL_J0930.9-1015_daily_bin1363.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/267029/ft1_4FGL_J0930.9-1015_daily_bin1363.fits outfile=/scratch/kocevski/267029/ft1_filteredMKT_4FGL_J0930.9-1015_daily_bin1363.fits ra=142.74 dec=-10.2565 rad=12.0 tmin=592617601.0 tmax=592876801.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 3.59
user 3.27
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/267029/ft2_4FGL_J0930.9-1015_daily_bin1363.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/267029/ft2_4FGL_J0930.9-1015_daily_bin1363.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/267029/ft1_filteredMKT_4FGL_J0930.9-1015_daily_bin1363.fits evtable="EVENTS" outfile="/scratch/kocevski/267029/ft1_filtered_4FGL_J0930.9-1015_daily_bin1363.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.61
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/267029/ft1_filtered_4FGL_J0930.9-1015_daily_bin1363.fits" evtable="EVENTS" scfile=/scratch/kocevski/267029/ft2_4FGL_J0930.9-1015_daily_bin1363.fits sctable="SC_DATA" outfile=/scratch/kocevski/267029/ltcube_592617601_592876801_4FGL_J0930.9-1015_daily_bin1363.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/267029/ft2_4FGL_J0930.9-1015_daily_bin1363.fits
.....................!
real 11.82
user 11.38
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/267029/ft1_filtered_4FGL_J0930.9-1015_daily_bin1363.fits evtable="EVENTS" scfile=/scratch/kocevski/267029/ft2_4FGL_J0930.9-1015_daily_bin1363.fits sctable="SC_DATA" expcube=/scratch/kocevski/267029/ltcube_592617601_592876801_4FGL_J0930.9-1015_daily_bin1363.fits outfile=/scratch/kocevski/267029/expmap_592617601_592876801_4FGL_J0930.9-1015_daily_bin1363.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/267029/ltcube_592617601_592876801_4FGL_J0930.9-1015_daily_bin1363.fits
.....................!
real 191.49
user 185.33
sys 4.51

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 164 point sources and 0 extended sources

Setting source of interest to:
4FGL J0930.9-1015 @ 142.74 -10.2565

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/267029/ft1_filtered_4FGL_J0930.9-1015_daily_bin1363.fits scfile=/scratch/kocevski/267029/ft2_4FGL_J0930.9-1015_daily_bin1363.fits outfile=/scratch/kocevski/267029/cmap_592617601_592876801_4FGL_J0930.9-1015_daily_bin1363.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=142.74 yref=-10.2565 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 0.59
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/267029/ft1_filtered_4FGL_J0930.9-1015_daily_bin1363.fits scfile=/scratch/kocevski/267029/ft2_4FGL_J0930.9-1015_daily_bin1363.fits outfile=/scratch/kocevski/267029/cmap_HighResolution_592617601_592876801_4FGL_J0930.9-1015_daily_bin1363.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=142.74 yref=-10.2565 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 0.60
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/267029/ft1_filtered_4FGL_J0930.9-1015_daily_bin1363.fits evtable="EVENTS" scfile=/scratch/kocevski/267029/ft2_4FGL_J0930.9-1015_daily_bin1363.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/267029/Model_4FGL_J0930.9-1015_daily_bin1363.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/267029/ft1_filtered_4FGL_J0930.9-1015_daily_bin1363.fits.....................!
real 78.23
user 75.11
sys 1.39

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/267029/ft1_filtered_4FGL_J0930.9-1015_daily_bin1363.fits', '/scratch/kocevski/267029/ft2_4FGL_J0930.9-1015_daily_bin1363.fits', expMap='/scratch/kocevski/267029/expmap_592617601_592876801_4FGL_J0930.9-1015_daily_bin1363.fits', expCube='/scratch/kocevski/267029/ltcube_592617601_592876801_4FGL_J0930.9-1015_daily_bin1363.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/267029/Model_4FGL_J0930.9-1015_daily_bin1363.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0930.9-1015'

4FGL J0930.9-1015
   Spectrum: PowerLaw
258    Prefactor:  5.847e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
259        Index:  2.457e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
260        Scale:  8.329e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/267029/ft1_filtered_4FGL_J0930.9-1015_daily_bin1363.fits
Spacecraft file(s): /scratch/kocevski/267029/ft2_4FGL_J0930.9-1015_daily_bin1363.fits
Exposure map: /scratch/kocevski/267029/expmap_592617601_592876801_4FGL_J0930.9-1015_daily_bin1363.fits
Exposure cube: /scratch/kocevski/267029/ltcube_592617601_592876801_4FGL_J0930.9-1015_daily_bin1363.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/267029/Model_4FGL_J0930.9-1015_daily_bin1363.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) = 7411.790727

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6984       1.0000         .10000E-03   10000.    
     2 'norm      '    8.2546       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.9726       1.0000         .10000E-03   10000.    
     6 'norm      '    8.6777       1.0000         .10000E-03   10000.    
     7 'Prefactor '    26.887       1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.343       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.3834       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .70740       1.0000         .10000E-03   10000.    
    14 'norm      '    .36748       1.0000         .10000E-03   10000.    
    15 'norm      '    2.0994       1.0000         .10000E-03   10000.    
    16 'norm      '    1.1755       1.0000         .10000E-03   10000.    
    17 'norm      '    .45649       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0593       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .92216       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7411.783     FROM MIGRAD    STATUS=CONVERGED    440 CALLS     2202 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6904        65.500       -.47414E-05   -.78177E-04
   2  norm          8.2550        6.2169        .26313E-07   -.30541E-04
   3  norm          .10000E-03    .51446       -.37187E-07** at limit **
   4  Prefactor     .10000E-03    5.3462        .38396E-07** at limit **
   5  Prefactor     7.9727        7.6237        .12704E-06   -.26109E-04
   6  norm          8.6778        6.9227        .90688E-07   -.28995E-04
   7  Prefactor     26.885        18.425       -.10075E-06   -.53338E-04
   8  Prefactor     12.345        30.863        .77807E-06    .25779E-04
   9  Prefactor     .10000E-03    21.952       -.46266E-06** at limit **
  10  Prefactor     7.3820        14.125        .52553E-07   -.27518E-04
  11  Prefactor     .10000E-03    30.441        .31213E-05** at limit **
  12  Prefactor     .10000E-03    32.707       -.34376E-05** at limit **
  13  Prefactor     .70852        13.249        .36903E-05   -.17803E-03
  14  norm          .37232        3.4255        .50873E-06   -.36785E-03
  15  norm          2.0994        2.6912        .14454E-06   -.12795E-03
  16  norm          1.1756        .74236        .30811E-07   -.91102E-04
  17  norm          .45670        1.1606        .33622E-06   -.31310E-03
  18  norm          .10000E-03    3.3663        .19432E-07** at limit **
  19  Prefactor     .10000E-03    9.1282       -.11137E-06** at limit **
  20  Normalizat    1.0594        .18366       -.16199E-06   -.13067E-03
  21  Prefactor     .92204        .11834       -.32072E-06   -.11006E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.69038
  norm       = 8.25496
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.97271
  norm       = 8.67784
  Prefactor  = 26.885
  Prefactor  = 12.3446
  Prefactor  = 0.0001
  Prefactor  = 7.38204
  Prefactor  = 0.000100002
  Prefactor  = 0.000100003
  Prefactor  = 0.708517
  norm       = 0.372319
  norm       = 2.09935
  norm       = 1.17559
  norm       = 0.456705
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.05935
  Prefactor  = 0.92204
 **********
 **   18 **HESSE 
 **********

 FCN=   7411.783     FROM HESSE     STATUS=OK           325 CALLS     2527 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6904        72.728        .32283E-03   -1.5448    
   2  norm          8.2550        6.2139        .13954E-03   -1.5133    
   3  norm          .10000E-03    .51492        .60294E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.3706        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.9727        7.6296        .14200E-03   -1.5143    
   6  norm          8.6778        6.9263        .13607E-03   -1.5119    
   7  Prefactor     26.885        18.541        .77260E-04   -1.4670    
   8  Prefactor     12.345        30.900        .11402E-03   -1.5005    
   9  Prefactor     .10000E-03    22.029        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.3820        14.155        .14760E-03   -1.5165    
  11  Prefactor     .10000E-03    31.932        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    34.346        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .70852        15.413        .48361E-03   -1.5540    
  14  norm          .37232        23.275        .29535E-02   -1.5586    
  15  norm          2.0994        2.6731        .15473E-03   -1.5418    
  16  norm          1.1756        .72735        .56164E-04   -1.5491    
  17  norm          .45670        1.1941        .14357E-03   -1.5573    
  18  norm          .10000E-03    3.3760        .15425E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    9.1329        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0594        .22023        .27619E-03   -.91068    
  21  Prefactor     .92204        .14180        .19811E-03   -.95375    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40042e-09
Minuit parameter uncertainties:
  1  22.2038
  2  6.21438
  3  5.33158e-07
  4  5.0034e-06
  5  7.63057
  6  6.92693
  7  18.545
  8  30.9398
  9  6.55223e-05
  10  14.1611
  11  0.000532424
  12  0.000668815
  13  6.61067
  14  5.8891
  15  2.67326
  16  0.727354
  17  1.19418
  18  9.91277e-09
  19  1.16553e-05
  20  0.220425
  21  0.14186
Done.

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

Extracting fit parameters...

4FGL J0930.9-1015
   Spectrum: PowerLaw
258    Prefactor:  1.000e-04  5.324e-04  1.000e-04  1.000e+04 ( 1.000e-13)
259        Index:  2.457e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
260        Scale:  8.329e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  9.220e-01  1.419e-01  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  1.059e+00  2.204e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 142.740 -10.257
Photon Flux Upper Limit: 6.14e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.76e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/267029/likelihoodResults_592617601_592876801_4FGL_J0930.9-1015_daily_bin1363.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): 102
logL (Free Index) = 7411.78340958
delta logL = -0.000149180104927

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7411.78326199
delta logL = -1.59332739713e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8791       1.0000          .0000       10.000    
     3 'Normalizat'    1.0593       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92204       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5380E+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=   7411.783     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      295 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12695E-03    .49560        .10276    ** at limit **
   2  Index         2.5550        8.2925        .50000        .15478E-04
   3  Normalizat    1.0593        .93466E-03    .27619E-03   -.44657E-03
   4  Prefactor     .92204        .63373E-03    .19811E-03   -.18792E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000126949
  Index      = 2.55495
  Normalizat = 1.05935
  Prefactor  = 0.922042
 **********
 **   18 **HESSE 
 **********

 FCN=   7411.783     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      326 TOTAL
                     EDM=   .25E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12695E-03    109.22        .56872E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5550        5.7954        .50000       -.51095    
   3  Normalizat    1.0593        .89835E-02    .55237E-04   -.91068    
   4  Prefactor     .92204        .60911E-02    .39623E-04   -.95375    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.47086e-07
Minuit parameter uncertainties:
  1  0.108705
  2  412.92
  3  0.00898356
  4  0.00609112
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/267029': 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): 102
logL (Free Index) = 7411.78326112
delta logL = -7.20863681636e-07

Extracting fit parameters...

4FGL J0930.9-1015
   Spectrum: PowerLaw
258    Prefactor:  1.269e-04  1.087e-01  1.000e-04  1.000e+04 ( 1.000e-13)
259        Index:  2.555e+00  4.129e+02  0.000e+00  1.000e+01 (-1.000e+00)
260        Scale:  8.329e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
535    Prefactor:  9.220e-01  6.091e-03  0.000e+00  1.000e+01 ( 1.000e+00)
536        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
537        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
534   Normalization:  1.059e+00  8.984e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 142.740 -10.257

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/267029/cmap_HighResolution_592617601_592876801_4FGL_J0930.9-1015_daily_bin1363.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.76e-03', job_status='DONE', photon_flux_upper_limit='6.14e-08', time_completed='2021-08-31 13:49:45.395891', job_id='267029', GAL2='0.92', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1630442985.4', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='-7.21e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.46' WHERE bin_id='1363' AND source_name='4FGL J0930.9-1015' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 13:49:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 267029: <4FGL_J0930.9-1015_daily_bin1363> in cluster <slac> Done

Job <4FGL_J0930.9-1015_daily_bin1363> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Tue Aug 31 13:36:25 2021
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 13:36:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 13:36:26 2021
Terminated at Tue Aug 31 13:49:46 2021
Results reported at Tue Aug 31 13:49:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0930.9-1015_daily_bin1363 142.74 -10.2565 592617601 592876801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0930.9-1015 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   653.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             300.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   799 sec.
    Turnaround time :                            801 sec.

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

