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


Performing analysis on: 4FGL_J0909.7-0230_daily_bin1588
RA = 137.446, Dec = -2.5143
tmin = 650937601, tmax = 651196801
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='38674', job_status='RUN', time_executed='2021-08-31 02:11:47.294065', time_epoch_executed='1630401107.29' WHERE source_name='4FGL J0909.7-0230' and cadence='daily' and bin_id='1588'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/38674

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/38674/ft1_4FGL_J0909.7-0230_daily_bin1588.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/38674/ft2_4FGL_J0909.7-0230_daily_bin1588.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/38674/ft1_4FGL_J0909.7-0230_daily_bin1588.fits outfile=/scratch/kocevski/38674/ft1_filteredMKT_4FGL_J0909.7-0230_daily_bin1588.fits ra=137.446 dec=-2.5143 rad=12.0 tmin=650937601.0 tmax=651196801.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.09
user 3.39
sys 0.68

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/38674/ft2_4FGL_J0909.7-0230_daily_bin1588.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/38674/ft1_filteredMKT_4FGL_J0909.7-0230_daily_bin1588.fits evtable="EVENTS" outfile="/scratch/kocevski/38674/ft1_filtered_4FGL_J0909.7-0230_daily_bin1588.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.99
user 0.34
sys 0.61

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/38674/ft1_filtered_4FGL_J0909.7-0230_daily_bin1588.fits" evtable="EVENTS" scfile=/scratch/kocevski/38674/ft2_4FGL_J0909.7-0230_daily_bin1588.fits sctable="SC_DATA" outfile=/scratch/kocevski/38674/ltcube_650937601_651196801_4FGL_J0909.7-0230_daily_bin1588.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/38674/ft2_4FGL_J0909.7-0230_daily_bin1588.fits
.....................!
real 14.31
user 13.27
sys 0.92

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/38674/ft1_filtered_4FGL_J0909.7-0230_daily_bin1588.fits evtable="EVENTS" scfile=/scratch/kocevski/38674/ft2_4FGL_J0909.7-0230_daily_bin1588.fits sctable="SC_DATA" expcube=/scratch/kocevski/38674/ltcube_650937601_651196801_4FGL_J0909.7-0230_daily_bin1588.fits outfile=/scratch/kocevski/38674/expmap_650937601_651196801_4FGL_J0909.7-0230_daily_bin1588.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/38674/ltcube_650937601_651196801_4FGL_J0909.7-0230_daily_bin1588.fits
.....................!
real 191.84
user 185.82
sys 5.59

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/38674/ft1_filtered_4FGL_J0909.7-0230_daily_bin1588.fits scfile=/scratch/kocevski/38674/ft2_4FGL_J0909.7-0230_daily_bin1588.fits outfile=/scratch/kocevski/38674/cmap_650937601_651196801_4FGL_J0909.7-0230_daily_bin1588.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.09
user 0.39
sys 0.67

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/38674/ft1_filtered_4FGL_J0909.7-0230_daily_bin1588.fits scfile=/scratch/kocevski/38674/ft2_4FGL_J0909.7-0230_daily_bin1588.fits outfile=/scratch/kocevski/38674/cmap_HighResolution_650937601_651196801_4FGL_J0909.7-0230_daily_bin1588.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.11
user 0.37
sys 0.69

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/38674/ft1_filtered_4FGL_J0909.7-0230_daily_bin1588.fits evtable="EVENTS" scfile=/scratch/kocevski/38674/ft2_4FGL_J0909.7-0230_daily_bin1588.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/38674/Model_4FGL_J0909.7-0230_daily_bin1588.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/38674/ft1_filtered_4FGL_J0909.7-0230_daily_bin1588.fits.....................!
real 75.78
user 73.41
sys 1.99

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/38674/ft1_filtered_4FGL_J0909.7-0230_daily_bin1588.fits', '/scratch/kocevski/38674/ft2_4FGL_J0909.7-0230_daily_bin1588.fits', expMap='/scratch/kocevski/38674/expmap_650937601_651196801_4FGL_J0909.7-0230_daily_bin1588.fits', expCube='/scratch/kocevski/38674/ltcube_650937601_651196801_4FGL_J0909.7-0230_daily_bin1588.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/38674/Model_4FGL_J0909.7-0230_daily_bin1588.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/38674/ft1_filtered_4FGL_J0909.7-0230_daily_bin1588.fits
Spacecraft file(s): /scratch/kocevski/38674/ft2_4FGL_J0909.7-0230_daily_bin1588.fits
Exposure map: /scratch/kocevski/38674/expmap_650937601_651196801_4FGL_J0909.7-0230_daily_bin1588.fits
Exposure cube: /scratch/kocevski/38674/ltcube_650937601_651196801_4FGL_J0909.7-0230_daily_bin1588.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/38674/Model_4FGL_J0909.7-0230_daily_bin1588.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) = 7338.61316108

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    13.914       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    11.258       1.0000         .10000E-03   10000.    
     5 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.8391       1.0000         .10000E-03   10000.    
     8 'norm      '    5.9115       1.0000         .10000E-03   10000.    
     9 'norm      '    10.044       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.5659       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.4382       1.0000         .10000E-03   10000.    
    12 'Prefactor '    22.653       1.0000         .10000E-03   10000.    
    13 'Prefactor '    31.198       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .62782       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .83317       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0931       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=   7338.593     FROM MIGRAD    STATUS=CONVERGED    347 CALLS     1736 TOTAL
                     EDM=   .13E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .69565       -.40716E-07** at limit **
   2  norm          13.915        8.8294        .14425E-06   -.73036E-05
   3  Prefactor     .10000E-03    6.3584       -.15766E-07** at limit **
   4  norm          11.258        6.8243        .34638E-07   -.30526E-04
   5  norm          .10000E-03    1.0367       -.28440E-07** at limit **
   6  Prefactor     .10000E-03    3.2536       -.29006E-08** at limit **
   7  Prefactor     3.8390        5.7924        .26021E-05   -.28756E-04
   8  norm          5.9120        4.2264        .93996E-07   -.42407E-04
   9  norm          10.045        6.0424       -.55752E-07   -.74382E-04
  10  Prefactor     3.5592        16.069        .24782E-05    .28329E-04
  11  Prefactor     4.4386        3.6282        .74527E-07    .97244E-05
  12  Prefactor     22.665        31.361       -.18445E-05    .24876E-04
  13  Prefactor     31.197        15.908        .14435E-06   -.50946E-04
  14  Prefactor     .10000E-03    18.862        .25984E-08** at limit **
  15  norm          .10000E-03    2.0621        .45429E-07** at limit **
  16  norm          .62816        .58168        .46778E-07   -.12292E-04
  17  Normalizat    .83300        .18809       -.82163E-06   -.66766E-04
  18  Prefactor     1.0932        .13724       -.67384E-07   -.52551E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 13.9148
  Prefactor  = 0.0001
  norm       = 11.2577
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.83902
  norm       = 5.91204
  norm       = 10.0448
  Prefactor  = 3.55918
  Prefactor  = 4.43864
  Prefactor  = 22.6647
  Prefactor  = 31.1973
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.628163
  Normalizat = 0.833003
  Prefactor  = 1.09324
 **********
 **   18 **HESSE 
 **********

 FCN=   7338.593     FROM HESSE     STATUS=OK           252 CALLS     1988 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.4206        .13802E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          13.915        8.8158        .10738E-03   -1.4962    
   3  Prefactor     .10000E-03    6.3645        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          11.258        6.8176        .11940E-03   -1.5037    
   5  norm          .10000E-03    1.0524        .85084E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.2647        .15089E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.8390        5.7971        .10299E-02   -1.5316    
   8  norm          5.9120        4.2297        .14067E-03   -1.5222    
   9  norm          10.045        6.0442        .12644E-03   -1.5074    
  10  Prefactor     3.5592        16.213        .21402E-03   -1.5331    
  11  Prefactor     4.4386        3.6239        .14003E-03   -1.5287    
  12  Prefactor     22.665        31.454        .84158E-04   -1.4755    
  13  Prefactor     31.197        15.889        .71735E-04   -1.4590    
  14  Prefactor     .10000E-03    18.928        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.1278        .24018E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .62816        .55661        .59042E-03   -1.5549    
  17  Normalizat    .83300        .22067        .29601E-03   -.98856    
  18  Prefactor     1.0932        .16179        .20367E-03   -.89683    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6517e-09
Minuit parameter uncertainties:
  1  1.11649e-05
  2  8.81659
  3  3.47992e-07
  4  6.81806
  5  1.37765e-06
  6  1.97704e-06
  7  5.79792
  8  4.22994
  9  6.0446
  10  15.1995
  11  3.62408
  12  31.4773
  13  15.8914
  14  1.02165e-05
  15  2.83304e-06
  16  0.556618
  17  0.220905
  18  0.161865
Done.

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

Extracting fit parameters...

4FGL J0909.7-0230
   Spectrum: LogParabola
269         norm:  1.004e+01  6.045e+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.093e+00  1.619e-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.330e-01  2.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.43
Ra Dec: 137.446 -2.514
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 4.85e-08 +/- 2.92e-08
Energy Flux (Fixed Index): 1.94e-05 +/- 1.17e-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) = 7338.4221259
delta logL = 0.170631550258

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7338.36410772
delta logL = 0.228649734538

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.8571       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5781       1.0000          .0000       5.0000    
     3 'Normalizat'    .86885       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0795       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=   7338.364     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      208 TOTAL
                     EDM=   .72E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.8571        5.2618        .38304E-02    .84547E-04
   2  alpha         1.5778        .45900        .43859       -.42341E-04
   3  Normalizat    .86882        .17508        .65688E-01    .22154E-04
   4  Prefactor     1.0796        .13605        .38421E-01    .43225E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.85714
  alpha      = 1.57784
  Normalizat = 0.868819
  Prefactor  = 1.07956
 **********
 **   18 **HESSE 
 **********

 FCN=   7338.364     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.8571        9.2479        .15322E-03   -1.5184    
   2  alpha         1.5778        .94275        .16166E-01   -.37779    
   3  Normalizat    .86882        .20671        .29058E-03   -.97565    
   4  Prefactor     1.0796        .15968        .20494E-03   -.90123    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.7102e-09
Minuit parameter uncertainties:
  1  9.24978
  2  0.970738
  3  0.206899
  4  0.15975
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/38674': 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) = 7338.36410755
delta logL = 0.228649904515

Extracting fit parameters...

4FGL J0909.7-0230
   Spectrum: LogParabola
269         norm:  6.857e+00  9.250e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  1.578e+00  9.707e-01  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.080e+00  1.598e-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.688e-01  2.069e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.85
Ra Dec: 137.446 -2.514
Photon Index (Free Index): 1.58 +/- 0.97
Photon Flux (Free Index): 2.03e-08 +/- 3.53e-08
Energy Flux (Free Index): 2.45e-05 +/- 2.49e-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/38674/cmap_HighResolution_650937601_651196801_4FGL_J0909.7-0230_daily_bin1588.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.85e-08', energy_flux2='2.45e-05', photon_flux_error='2.92e-08', dlogl='2.29e-01', energy_flux='1.94e-05', photon_flux2='2.03e-08', job_status='DONE', time_completed='2021-08-31 02:21:06.670852', photon_index_error2='0.97', photon_index2='1.58', ts='11.43', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', energy_flux_error2='2.49e-05', EG='0.83', time_epoch_completed='1630401666.67', return_code='0', job_id='38674', GAL2='1.08', EG2='0.87', return_code2='0', energy_flux_error='1.17e-05', photon_flux_error2='3.53e-08', ts2='11.85', photon_index='2.19' WHERE bin_id='1588' AND source_name='4FGL J0909.7-0230' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:21:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 38674: <4FGL_J0909.7-0230_daily_bin1588> in cluster <slac> Done

Job <4FGL_J0909.7-0230_daily_bin1588> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 02:11:22 2021
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 02:11:23 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:23 2021
Terminated at Tue Aug 31 02:21:07 2021
Results reported at Tue Aug 31 02:21:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0909.7-0230_daily_bin1588 137.446 -2.5143 650937601 651196801 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 :                                   549.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             343.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   584 sec.
    Turnaround time :                            585 sec.

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

