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


Performing analysis on: 4FGL_J0909.7-0230_daily_bin1554
RA = 137.446, Dec = -2.5143
tmin = 642124801, tmax = 642384001
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='38620', job_status='RUN', time_executed='2021-08-31 02:11:47.523169', time_epoch_executed='1630401107.52' WHERE source_name='4FGL J0909.7-0230' and cadence='daily' and bin_id='1554'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/38620

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/38620/ft1_4FGL_J0909.7-0230_daily_bin1554.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/38620/ft2_4FGL_J0909.7-0230_daily_bin1554.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/38620/ft1_4FGL_J0909.7-0230_daily_bin1554.fits outfile=/scratch/kocevski/38620/ft1_filteredMKT_4FGL_J0909.7-0230_daily_bin1554.fits ra=137.446 dec=-2.5143 rad=12.0 tmin=642124801.0 tmax=642384001.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.16
user 4.07
sys 1.05

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/38620/ft2_4FGL_J0909.7-0230_daily_bin1554.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/38620/ft2_4FGL_J0909.7-0230_daily_bin1554.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/38620/ft1_filteredMKT_4FGL_J0909.7-0230_daily_bin1554.fits evtable="EVENTS" outfile="/scratch/kocevski/38620/ft1_filtered_4FGL_J0909.7-0230_daily_bin1554.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.39
user 0.33
sys 0.96

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/38620/ft1_filtered_4FGL_J0909.7-0230_daily_bin1554.fits" evtable="EVENTS" scfile=/scratch/kocevski/38620/ft2_4FGL_J0909.7-0230_daily_bin1554.fits sctable="SC_DATA" outfile=/scratch/kocevski/38620/ltcube_642124801_642384001_4FGL_J0909.7-0230_daily_bin1554.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/38620/ft2_4FGL_J0909.7-0230_daily_bin1554.fits
.....................!
real 13.21
user 11.50
sys 1.66

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/38620/ft1_filtered_4FGL_J0909.7-0230_daily_bin1554.fits evtable="EVENTS" scfile=/scratch/kocevski/38620/ft2_4FGL_J0909.7-0230_daily_bin1554.fits sctable="SC_DATA" expcube=/scratch/kocevski/38620/ltcube_642124801_642384001_4FGL_J0909.7-0230_daily_bin1554.fits outfile=/scratch/kocevski/38620/expmap_642124801_642384001_4FGL_J0909.7-0230_daily_bin1554.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/38620/ltcube_642124801_642384001_4FGL_J0909.7-0230_daily_bin1554.fits
.....................!
real 191.42
user 185.58
sys 5.36

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

Setting source of interest to:
4FGL J0909.7-0230 @ 137.446 -2.5143

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/38620/ft1_filtered_4FGL_J0909.7-0230_daily_bin1554.fits scfile=/scratch/kocevski/38620/ft2_4FGL_J0909.7-0230_daily_bin1554.fits outfile=/scratch/kocevski/38620/cmap_642124801_642384001_4FGL_J0909.7-0230_daily_bin1554.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=137.446 yref=-2.5143 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.29
user 0.39
sys 0.86

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/38620/ft1_filtered_4FGL_J0909.7-0230_daily_bin1554.fits scfile=/scratch/kocevski/38620/ft2_4FGL_J0909.7-0230_daily_bin1554.fits outfile=/scratch/kocevski/38620/cmap_HighResolution_642124801_642384001_4FGL_J0909.7-0230_daily_bin1554.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=137.446 yref=-2.5143 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.28
user 0.36
sys 0.88

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/38620/ft1_filtered_4FGL_J0909.7-0230_daily_bin1554.fits evtable="EVENTS" scfile=/scratch/kocevski/38620/ft2_4FGL_J0909.7-0230_daily_bin1554.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/38620/Model_4FGL_J0909.7-0230_daily_bin1554.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/38620/ft1_filtered_4FGL_J0909.7-0230_daily_bin1554.fits.....................!
real 74.19
user 71.63
sys 2.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/38620/ft1_filtered_4FGL_J0909.7-0230_daily_bin1554.fits', '/scratch/kocevski/38620/ft2_4FGL_J0909.7-0230_daily_bin1554.fits', expMap='/scratch/kocevski/38620/expmap_642124801_642384001_4FGL_J0909.7-0230_daily_bin1554.fits', expCube='/scratch/kocevski/38620/ltcube_642124801_642384001_4FGL_J0909.7-0230_daily_bin1554.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/38620/Model_4FGL_J0909.7-0230_daily_bin1554.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0909.7-0230'

4FGL J0909.7-0230
   Spectrum: LogParabola
269         norm:  6.868e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  2.194e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
271         beta:  1.005e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  6.889e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/38620/ft1_filtered_4FGL_J0909.7-0230_daily_bin1554.fits
Spacecraft file(s): /scratch/kocevski/38620/ft2_4FGL_J0909.7-0230_daily_bin1554.fits
Exposure map: /scratch/kocevski/38620/expmap_642124801_642384001_4FGL_J0909.7-0230_daily_bin1554.fits
Exposure cube: /scratch/kocevski/38620/ltcube_642124801_642384001_4FGL_J0909.7-0230_daily_bin1554.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/38620/Model_4FGL_J0909.7-0230_daily_bin1554.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) = 6958.289428

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .70026E-01   1.0000         .10000E-03   10000.    
     2 'norm      '    6.2913       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    7.6415       1.0000         .10000E-03   10000.    
     5 'norm      '    1.0238       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.1054       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.6101       1.0000         .10000E-03   10000.    
     8 'norm      '    3.9839       1.0000         .10000E-03   10000.    
     9 'norm      '    8.5452       1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.302       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .15074E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.763       1.0000         .10000E-03   10000.    
    13 'Prefactor '    22.733       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .36892       1.0000         .10000E-03   10000.    
    16 'norm      '    .55942       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .83133       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0177       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6958.273     FROM MIGRAD    STATUS=CONVERGED    355 CALLS     1773 TOTAL
                     EDM=   .52E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .71475E-01    .58867        .11749E-06   -.37344E-03
   2  norm          6.2914        6.9056        .53446E-06   -.23481E-04
   3  Prefactor     .10000E-03    4.5807       -.49964E-07** at limit **
   4  norm          7.6418        6.0663       -.44662E-07   -.33049E-04
   5  norm          1.0227        1.9283        .23370E-06    .34154E-03
   6  Prefactor     3.1054        5.4127        .12891E-05   -.18426E-04
   7  Prefactor     3.6103        3.9369        .85566E-08   -.18610E-04
   8  norm          3.9850        3.5344        .11735E-06   -.39395E-04
   9  norm          8.5471        6.8830        .81218E-07   -.13926E-04
  10  Prefactor     11.308        14.900       -.10581E-05   -.19617E-04
  11  Prefactor     .10000E-03    2.3135        .26716E-06** at limit **
  12  Prefactor     17.735        33.640        .50195E-05   -.95399E-05
  13  Prefactor     22.739        15.434       -.56774E-06   -.33565E-04
  14  Prefactor     .10000E-03    9.3058       -.70472E-07** at limit **
  15  norm          .37164        1.8531        .11473E-06   -.13431E-03
  16  norm          .55993        .62020        .39994E-07   -.33597E-04
  17  Normalizat    .83106        .17813       -.21752E-06   -.79428E-04
  18  Prefactor     1.0180        .13068       -.27904E-06   -.79048E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0714745
  norm       = 6.29144
  Prefactor  = 0.0001
  norm       = 7.64184
  norm       = 1.02273
  Prefactor  = 3.10539
  Prefactor  = 3.61026
  norm       = 3.98495
  norm       = 8.54707
  Prefactor  = 11.3076
  Prefactor  = 0.0001
  Prefactor  = 17.7345
  Prefactor  = 22.7386
  Prefactor  = 0.0001
  norm       = 0.371637
  norm       = 0.559926
  Normalizat = 0.831062
  Prefactor  = 1.01796
 **********
 **   18 **HESSE 
 **********

 FCN=   6958.273     FROM HESSE     STATUS=OK           262 CALLS     2035 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .71475E-01    3.7568        .12140E-02   -1.5655    
   2  norm          6.2914        6.9007        .80017E-03   -1.5206    
   3  Prefactor     .10000E-03    4.5850        .17436E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.6418        6.0208        .14507E-03   -1.5155    
   5  norm          1.0227        1.6192        .15200E-02   -1.5506    
   6  Prefactor     3.1054        5.3924        .11506E-02   -1.5356    
   7  Prefactor     3.6103        3.9309        .16745E-03   -1.5328    
   8  norm          3.9850        3.5253        .14049E-03   -1.5309    
   9  norm          8.5471        6.8808        .13713E-03   -1.5123    
  10  Prefactor     11.308        14.875        .11917E-03   -1.5035    
  11  Prefactor     .10000E-03    5.0484        .24195E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     17.735        33.533        .95031E-04   -1.4865    
  13  Prefactor     22.739        15.387        .84009E-04   -1.4754    
  14  Prefactor     .10000E-03    9.3302        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .37164        6.7621        .21559E-02   -1.5586    
  16  norm          .55993        .60103        .64212E-04   -1.5558    
  17  Normalizat    .83106        .20442        .27641E-03   -.98927    
  18  Prefactor     1.0180        .15169        .19738E-03   -.92133    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.82694e-08
Minuit parameter uncertainties:
  1  1.03571
  2  6.90157
  3  2.5906e-07
  4  6.02125
  5  1.61928
  6  5.39322
  7  3.93114
  8  3.5255
  9  6.88147
  10  14.88
  11  1.65984e-05
  12  33.5691
  13  15.39
  14  2.22977e-06
  15  3.17052
  16  0.601037
  17  0.204608
  18  0.151752
Done.

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

Extracting fit parameters...

4FGL J0909.7-0230
   Spectrum: LogParabola
269         norm:  8.547e+00  6.881e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  2.194e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
271         beta:  1.005e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  6.889e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  1.018e+00  1.518e-01  0.000e+00  1.000e+01 ( 1.000e+00)
502        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
503        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
500   Normalization:  8.311e-01  2.046e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.23
Ra Dec: 137.446 -2.514
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 4.12e-08 +/- 3.32e-08
Energy Flux (Fixed Index): 1.65e-05 +/- 1.33e-05

TS (Fixed Index): 2.23
Ra Dec: 137.446 -2.514
Photon Flux Upper Limit: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.37e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/38620/likelihoodResults_642124801_642384001_4FGL_J0909.7-0230_daily_bin1554.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) = 6956.47793488
delta logL = 1.79497935109

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6956.46824837
delta logL = 1.80466586719

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6956.468     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      248 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6736        28.663        .52671E-02    .63516E-03
   2  alpha         3.5904        4.1939        .26014        .80975E-04
   3  Normalizat    .72759        .67517E-01    .66309E-01    .33773E-04
   4  Prefactor     1.0712        .51118E-01    .38802E-01   -.29476E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.67356
  alpha      = 3.59039
  Normalizat = 0.727586
  Prefactor  = 1.07118
 **********
 **   18 **HESSE 
 **********

 FCN=   6956.468     FROM HESSE     STATUS=OK            31 CALLS      279 TOTAL
                     EDM=   .57E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6736        7.1107        .73277E-04   -1.5325    
   2  alpha         3.5904        1.2492        .11035E-01    .45132    
   3  Normalizat    .72759        .20241        .29338E-03   -1.0281    
   4  Prefactor     1.0712        .15546        .19285E-03   -.90393    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.70382e-11
Minuit parameter uncertainties:
  1  7.11234
  2  1.32433
  3  0.202622
  4  0.15553
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/38620': 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) = 6956.46824824
delta logL = 1.80466599826

Extracting fit parameters...

4FGL J0909.7-0230
   Spectrum: LogParabola
269         norm:  3.674e+00  7.112e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  3.590e+00  1.324e+00  0.000e+00  5.000e+00 ( 1.000e+00)
271         beta:  1.005e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  6.889e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  1.071e+00  1.555e-01  0.000e+00  1.000e+01 ( 1.000e+00)
502        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
503        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
500   Normalization:  7.276e-01  2.026e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.24
Ra Dec: 137.446 -2.514
Photon Index (Free Index): 3.59 +/- 1.32
Photon Flux (Free Index): 1.13e-07 +/- 5.79e-08
Energy Flux (Free Index): 1.93e-05 +/- 1.05e-05

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/38620/cmap_HighResolution_642124801_642384001_4FGL_J0909.7-0230_daily_bin1554.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.37e-05', comment='SUCCESS', photon_flux='4.12e-08', energy_flux2='1.93e-05', photon_flux_error='3.32e-08', dlogl='1.80e+00', energy_flux='1.65e-05', photon_flux2='1.13e-07', job_status='DONE', time_completed='2021-08-31 02:21:48.141814', photon_index_error2='1.32', photon_index2='3.59', ts='2.23', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.09e-07', energy_flux_error2='1.05e-05', EG='0.83', time_epoch_completed='1630401708.14', return_code='0', job_id='38620', GAL2='1.07', EG2='0.73', return_code2='0', energy_flux_error='1.33e-05', photon_flux_error2='5.79e-08', ts2='6.24', photon_index='2.19' WHERE bin_id='1554' AND source_name='4FGL J0909.7-0230' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:21:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 38620: <4FGL_J0909.7-0230_daily_bin1554> in cluster <slac> Done

Job <4FGL_J0909.7-0230_daily_bin1554> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 02:11:17 2021
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 02:11:18 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 02:11:18 2021
Terminated at Tue Aug 31 02:21:48 2021
Results reported at Tue Aug 31 02:21:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0909.7-0230_daily_bin1554 137.446 -2.5143 642124801 642384001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0909.7-0230 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   597.45 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             325.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   630 sec.
    Turnaround time :                            631 sec.

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

