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


Performing analysis on: 4FGL_J0909.7-0230_daily_bin1033
RA = 137.446, Dec = -2.5143
tmin = 507081601, tmax = 507340801
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='36515', job_status='RUN', time_executed='2021-08-31 02:10:33.270404', time_epoch_executed='1630401033.27' WHERE source_name='4FGL J0909.7-0230' and cadence='daily' and bin_id='1033'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/36515

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/36515/ft1_4FGL_J0909.7-0230_daily_bin1033.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/36515/ft2_4FGL_J0909.7-0230_daily_bin1033.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/36515/ft1_4FGL_J0909.7-0230_daily_bin1033.fits outfile=/scratch/kocevski/36515/ft1_filteredMKT_4FGL_J0909.7-0230_daily_bin1033.fits ra=137.446 dec=-2.5143 rad=12.0 tmin=507081601.0 tmax=507340801.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.72
user 4.31
sys 0.37

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/36515/ft1_filtered_4FGL_J0909.7-0230_daily_bin1033.fits" evtable="EVENTS" scfile=/scratch/kocevski/36515/ft2_4FGL_J0909.7-0230_daily_bin1033.fits sctable="SC_DATA" outfile=/scratch/kocevski/36515/ltcube_507081601_507340801_4FGL_J0909.7-0230_daily_bin1033.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/36515/ft2_4FGL_J0909.7-0230_daily_bin1033.fits
.....................!
real 16.28
user 15.56
sys 0.50

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/36515/ft1_filtered_4FGL_J0909.7-0230_daily_bin1033.fits evtable="EVENTS" scfile=/scratch/kocevski/36515/ft2_4FGL_J0909.7-0230_daily_bin1033.fits sctable="SC_DATA" expcube=/scratch/kocevski/36515/ltcube_507081601_507340801_4FGL_J0909.7-0230_daily_bin1033.fits outfile=/scratch/kocevski/36515/expmap_507081601_507340801_4FGL_J0909.7-0230_daily_bin1033.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/36515/ltcube_507081601_507340801_4FGL_J0909.7-0230_daily_bin1033.fits
.....................!
real 190.86
user 185.28
sys 4.55

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/36515/ft1_filtered_4FGL_J0909.7-0230_daily_bin1033.fits scfile=/scratch/kocevski/36515/ft2_4FGL_J0909.7-0230_daily_bin1033.fits outfile=/scratch/kocevski/36515/cmap_507081601_507340801_4FGL_J0909.7-0230_daily_bin1033.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 0.78
user 0.36
sys 0.32

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/36515/ft1_filtered_4FGL_J0909.7-0230_daily_bin1033.fits scfile=/scratch/kocevski/36515/ft2_4FGL_J0909.7-0230_daily_bin1033.fits outfile=/scratch/kocevski/36515/cmap_HighResolution_507081601_507340801_4FGL_J0909.7-0230_daily_bin1033.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 0.73
user 0.37
sys 0.33

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/36515/ft1_filtered_4FGL_J0909.7-0230_daily_bin1033.fits evtable="EVENTS" scfile=/scratch/kocevski/36515/ft2_4FGL_J0909.7-0230_daily_bin1033.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/36515/Model_4FGL_J0909.7-0230_daily_bin1033.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/36515/ft1_filtered_4FGL_J0909.7-0230_daily_bin1033.fits.....................!
real 51.92
user 49.54
sys 1.33

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.2178       1.0000         .10000E-03   10000.    
     2 'norm      '    13.380       1.0000         .10000E-03   10000.    
     3 'Prefactor '    41.487       1.0000         .10000E-03   10000.    
     4 'norm      '    4.1167       1.0000         .10000E-03   10000.    
     5 'norm      '    4.0965       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10085E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.5131       1.0000         .10000E-03   10000.    
     8 'norm      '    10.518       1.0000         .10000E-03   10000.    
     9 'norm      '    46.062       1.0000         .10000E-03   10000.    
    10 'Prefactor '    20.391       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .48477E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .14596E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    96.777       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.7150       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .61823       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0880       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=   4573.738     FROM MIGRAD    STATUS=CONVERGED    359 CALLS     1750 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.2175        1.6063       -.23626E-07   -.18308E-03
   2  norm          13.378        11.606       -.26928E-06   -.41178E-04
   3  Prefactor     41.472        34.927       -.11891E-04   -.45402E-05
   4  norm          4.1197        10.548        .21574E-05   -.10885E-03
   5  norm          4.0967        3.1568        .14212E-06    .63776E-04
   6  Prefactor     .10000E-03    13.406       -.54169E-06** at limit **
   7  Prefactor     6.5132        6.2379       -.37122E-06    .39296E-04
   8  norm          10.517        5.0999        .39283E-05    .10145E-03
   9  norm          46.063        13.204        .10579E-05    .19816E-04
  10  Prefactor     20.329        23.340       -.20093E-05   -.94127E-05
  11  Prefactor     .10001E-03    2.3293       -.58168E-06** at limit **
  12  Prefactor     .10000E-03    25.783        .84133E-06** at limit **
  13  Prefactor     .10000E-03    5.5377       -.12832E-06** at limit **
  14  Prefactor     96.773        53.275       -.31425E-05    .25830E-05
  15  norm          .10000E-03    1.5752       -.49428E-07** at limit **
  16  norm          2.7148        .91764       -.52150E-08    .36733E-04
  17  Normalizat    .61863        .24329       -.93141E-06    .73700E-04
  18  Prefactor     1.0877        .17645        .69814E-06    .66812E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.21752
  norm       = 13.3782
  Prefactor  = 41.4723
  norm       = 4.11967
  norm       = 4.09671
  Prefactor  = 0.0001
  Prefactor  = 6.51317
  norm       = 10.5175
  norm       = 46.0634
  Prefactor  = 20.3287
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 96.7726
  norm       = 0.0001
  norm       = 2.71477
  Normalizat = 0.618626
  Prefactor  = 1.08773
 **********
 **   18 **HESSE 
 **********

 FCN=   4573.738     FROM HESSE     STATUS=OK           250 CALLS     2000 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.2175        1.5998        .69677E-04   -1.5410    
   2  norm          13.378        11.584        .10950E-03   -1.4976    
   3  Prefactor     41.472        34.930        .62235E-04   -1.4419    
   4  norm          4.1197        10.499        .19868E-03   -1.5302    
   5  norm          4.0967        3.1556        .10176E-03   -1.5303    
   6  Prefactor     .10000E-03    13.572        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.5132        6.2377        .15725E-03   -1.5197    
   8  norm          10.517        5.1021        .10143E-03   -1.5059    
   9  norm          46.063        13.191        .59077E-04   -1.4350    
  10  Prefactor     20.329        23.348        .88697E-04   -1.4806    
  11  Prefactor     .10001E-03    13.086        .19451E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    25.819        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.5448        .15542E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     96.773        53.243        .40859E-04   -1.3737    
  15  norm          .10000E-03    1.5788        .82886E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.7148        .91695        .35962E-04   -1.5378    
  17  Normalizat    .61863        .26651        .34622E-03   -1.0720    
  18  Prefactor     1.0877        .19824        .20713E-03   -.89860    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.21436e-10
Minuit parameter uncertainties:
  1  1.5998
  2  11.586
  3  34.9472
  4  10.5038
  5  3.15572
  6  1.38517e-05
  7  6.23837
  8  5.10229
  9  13.1915
  10  23.3588
  11  0.000609201
  12  2.96922e-05
  13  9.26852e-06
  14  53.2696
  15  2.02294e-06
  16  0.916951
  17  0.267063
  18  0.198377
Done.

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

Extracting fit parameters...

4FGL J0909.7-0230
   Spectrum: LogParabola
269         norm:  4.606e+01  1.319e+01  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.088e+00  1.984e-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:  6.186e-01  2.671e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 33.39
Ra Dec: 137.446 -2.514
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 2.22e-07 +/- 6.36e-08
Energy Flux (Fixed Index): 8.90e-05 +/- 2.55e-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) = 4573.69059996
delta logL = 0.0476501913035

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4573.66860569
delta logL = 0.0696444608375

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    43.538       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3113       1.0000          .0000       5.0000    
     3 'Normalizat'    .59784       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0992       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4573.669     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      241 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          43.531        14.644        .60758E-04    .18390E-03
   2  alpha         2.3117        .32311        .66397E-02    .31688E-04
   3  Normalizat    .59782        .26032        .35161E-03    .19225E-03
   4  Prefactor     1.0991        .19976        .20620E-03    .38830E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 43.531
  alpha      = 2.31166
  Normalizat = 0.597818
  Prefactor  = 1.09911
 **********
 **   18 **HESSE 
 **********

 FCN=   4573.669     FROM HESSE     STATUS=OK            25 CALLS      266 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          43.531        14.463        .12152E-04   -1.4387    
   2  alpha         2.3117        .31897        .26559E-03   -.75406E-01
   3  Normalizat    .59782        .26036        .14064E-04   -1.0808    
   4  Prefactor     1.0991        .19981        .41241E-04   -.89495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49524e-10
Minuit parameter uncertainties:
  1  14.4642
  2  0.319844
  3  0.260896
  4  0.199941
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/36515': 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) = 4573.66860468
delta logL = 0.0696454650169

Extracting fit parameters...

4FGL J0909.7-0230
   Spectrum: LogParabola
269         norm:  4.353e+01  1.446e+01  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  2.312e+00  3.198e-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.099e+00  1.999e-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:  5.978e-01  2.609e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 33.39
Ra Dec: 137.446 -2.514
Photon Index (Free Index): 2.31 +/- 0.32
Photon Flux (Free Index): 2.38e-07 +/- 7.92e-08
Energy Flux (Free Index): 8.32e-05 +/- 2.73e-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/36515/cmap_HighResolution_507081601_507340801_4FGL_J0909.7-0230_daily_bin1033.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.22e-07', energy_flux2='8.32e-05', photon_flux_error='6.36e-08', dlogl='6.96e-02', energy_flux='8.90e-05', photon_flux2='2.38e-07', job_status='DONE', time_completed='2021-08-31 02:18:27.730806', photon_index_error2='0.32', photon_index2='2.31', ts='33.39', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', energy_flux_error2='2.73e-05', EG='0.62', time_epoch_completed='1630401507.73', return_code='0', job_id='36515', GAL2='1.10', EG2='0.60', return_code2='0', energy_flux_error='2.55e-05', photon_flux_error2='7.92e-08', ts2='33.39', photon_index='2.19' WHERE bin_id='1033' AND source_name='4FGL J0909.7-0230' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:18:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 36515: <4FGL_J0909.7-0230_daily_bin1033> in cluster <slac> Done

Job <4FGL_J0909.7-0230_daily_bin1033> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Aug 31 02:05:35 2021
Job was executed on host(s) <bullet0041>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 02:05:36 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:05:36 2021
Terminated at Tue Aug 31 02:18:28 2021
Results reported at Tue Aug 31 02:18:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0909.7-0230_daily_bin1033 137.446 -2.5143 507081601 507340801 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 :                                   462.53 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             224.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   772 sec.
    Turnaround time :                            773 sec.

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

