aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 15 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J0909.7-0230_daily_bin1751
RA = 137.446, Dec = -2.5143
tmin = 693187201, tmax = 693446401
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='73804', job_status='RUN', time_executed='2022-12-23 00:25:50.786071', time_epoch_executed='1671783950.79' WHERE source_name='4FGL J0909.7-0230' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/73804

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/73804/ft1_4FGL_J0909.7-0230_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/73804/ft2_4FGL_J0909.7-0230_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/73804/ft1_4FGL_J0909.7-0230_daily_bin1751.fits outfile=/scratch/kocevski/73804/ft1_filteredMKT_4FGL_J0909.7-0230_daily_bin1751.fits ra=137.446 dec=-2.5143 rad=12.0 tmin=693187201.0 tmax=693446401.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.67
user 3.43
sys 0.22

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

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

Number of photons that the gtmktime cut: 513

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/73804/ft1_filtered_4FGL_J0909.7-0230_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/73804/ft2_4FGL_J0909.7-0230_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/73804/ltcube_693187201_693446401_4FGL_J0909.7-0230_daily_bin1751.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/73804/ft2_4FGL_J0909.7-0230_daily_bin1751.fits
.....................!
real 12.65
user 12.25
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/73804/ft1_filtered_4FGL_J0909.7-0230_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/73804/ft2_4FGL_J0909.7-0230_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/73804/ltcube_693187201_693446401_4FGL_J0909.7-0230_daily_bin1751.fits outfile=/scratch/kocevski/73804/expmap_693187201_693446401_4FGL_J0909.7-0230_daily_bin1751.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/73804/ltcube_693187201_693446401_4FGL_J0909.7-0230_daily_bin1751.fits
.....................!
real 191.71
user 185.92
sys 5.23

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/73804/ft1_filtered_4FGL_J0909.7-0230_daily_bin1751.fits scfile=/scratch/kocevski/73804/ft2_4FGL_J0909.7-0230_daily_bin1751.fits outfile=/scratch/kocevski/73804/cmap_693187201_693446401_4FGL_J0909.7-0230_daily_bin1751.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/73804/ft1_filtered_4FGL_J0909.7-0230_daily_bin1751.fits scfile=/scratch/kocevski/73804/ft2_4FGL_J0909.7-0230_daily_bin1751.fits outfile=/scratch/kocevski/73804/cmap_HighResolution_693187201_693446401_4FGL_J0909.7-0230_daily_bin1751.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.52
user 0.37
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/73804/ft1_filtered_4FGL_J0909.7-0230_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/73804/ft2_4FGL_J0909.7-0230_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/73804/Model_4FGL_J0909.7-0230_daily_bin1751.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/73804/ft1_filtered_4FGL_J0909.7-0230_daily_bin1751.fits.....................!
real 63.52
user 62.05
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/73804/ft1_filtered_4FGL_J0909.7-0230_daily_bin1751.fits', '/scratch/kocevski/73804/ft2_4FGL_J0909.7-0230_daily_bin1751.fits', expMap='/scratch/kocevski/73804/expmap_693187201_693446401_4FGL_J0909.7-0230_daily_bin1751.fits', expCube='/scratch/kocevski/73804/ltcube_693187201_693446401_4FGL_J0909.7-0230_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/73804/Model_4FGL_J0909.7-0230_daily_bin1751.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  0.000e+00  1.000e+06 ( 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 -5.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/73804/ft1_filtered_4FGL_J0909.7-0230_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/73804/ft2_4FGL_J0909.7-0230_daily_bin1751.fits
Exposure map: /scratch/kocevski/73804/expmap_693187201_693446401_4FGL_J0909.7-0230_daily_bin1751.fits
Exposure cube: /scratch/kocevski/73804/ltcube_693187201_693446401_4FGL_J0909.7-0230_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/73804/Model_4FGL_J0909.7-0230_daily_bin1751.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) = 5849.23447865

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .95298       1.0000          .0000       .10000E+07
     2 'norm      '    4.1851       1.0000          .0000       .10000E+07
     3 'Prefactor '    .34829E-02   1.0000          .0000       .10000E+07
     4 'norm      '    9.7688       1.0000          .0000       .10000E+07
     5 'norm      '    .15932E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    .15165E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .26013E-06   1.0000          .0000       .10000E+07
     8 'norm      '    13.899       1.0000          .0000       .10000E+07
     9 'norm      '    5.1120       1.0000          .0000       .10000E+07
    10 'Prefactor '    .24546E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .50376       1.0000          .0000       .10000E+07
    12 'Prefactor '    14.904       1.0000          .0000       .10000E+07
    13 'Prefactor '    25.956       1.0000          .0000       .10000E+07
    14 'norm      '    .25996E-06   1.0000          .0000       .10000E+07
    15 'norm      '    .21515       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.0762       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .72653       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5849.226     FROM MIGRAD    STATUS=CONVERGED    113 CALLS     1196 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .95013        1.3002        .10041E-06   -.13382E-02
   2  norm          4.2248        1.4604        .26923E-08    .69544E-02
   3  Prefactor     .16653E-09    6.8961       -.22197E-06** at limit **
   4  norm          9.7380        7.3457       -.62982E-07   -.24035E-02
   5  norm           .0000        .74141        .31740E-07** at limit **
   6  Prefactor      .0000        11.095        .13800E-06** at limit **
   7  Prefactor      .0000        1.8590        .34010E-06** at limit **
   8  norm          13.902        5.3528       -.13933E-07    .57068E-02
   9  norm          5.1128        5.4851       -.94800E-07   -.38662E-02
  10  Prefactor     .55511E-10    7.7140        .91722E-07** at limit **
  11  Prefactor     .52150        6.3731        .32779E-07   -.21283E-02
  12  Prefactor     15.336        27.607       -.11025E-06    .60227E-01
  13  Prefactor     26.276        18.974       -.45553E-07   -.11519    
  14  norm           .0000        .97032       -.24216E-07** at limit **
  15  norm          .21547        .43242        .35810E-08** at limit **
  16  Normalizat    1.0752        .22401        .15055E-05   -.80553E-05
  17  Prefactor     .72682        .15677       -.74875E-06   -.53874E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.950129
  norm       = 4.22476
  Prefactor  = 1.66533e-10
  norm       = 9.73803
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 13.9017
  norm       = 5.11282
  Prefactor  = 5.55112e-11
  Prefactor  = 0.521498
  Prefactor  = 15.3365
  Prefactor  = 26.2756
  norm       = 0
  norm       = 0.215467
  Normalizat = 1.07521
  Prefactor  = 0.726817
 **********
 **   18 **HESSE 
 **********

 FCN=   5849.226     FROM HESSE     STATUS=OK           263 CALLS     1459 TOTAL
                     EDM=   .36E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .95013        1.3180        .42164E-03   -1.5688    
   2  norm          4.2248        8.6904        .49240E-03   -1.5667    
   3  Prefactor     .16653E-09    6.8953        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          9.7380        7.3941        .32037E-03   -1.5646    
   5  norm           .0000        .74080        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        5.2241        .63138E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        1.8579        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          13.902        5.3495        .26841E-03   -1.5633    
   9  norm          5.1128        5.5022        .44444E-03   -1.5663    
  10  Prefactor     .55511E-10    7.6917        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .52150        6.4009        .78332E-03   -1.5694    
  12  Prefactor     15.336        32.304        .25918E-03   -1.5630    
  13  Prefactor     26.276        35.588        .19632E-03   -1.5605    
  14  norm           .0000        .96848        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .21547        .45508        .11512E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.0752        .19457        .39066E-01   -.90552    
  17  Prefactor     .72682        .13420        .42753E-01   -1.0249    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.58944e-06
Minuit parameter uncertainties:
  1  1.31804
  2  8.69039
  3  6.37801e-05
  4  7.39412
  5  6.6993e-08
  6  4.91258e-06
  7  5.25113e-06
  8  5.34951
  9  5.50224
  10  4.90431e-05
  11  3.65407
  12  32.3048
  13  35.5879
  14  1.2994e-06
  15  0.455076
  16  0.194704
  17  0.134255
Done.

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

Extracting fit parameters...

4FGL J0909.7-0230
   Spectrum: LogParabola
269         norm:  5.113e+00  5.502e+00  0.000e+00  1.000e+06 ( 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 -5.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:  7.268e-01  1.343e-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:  1.075e+00  1.947e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.70
Ra Dec: 137.446 -2.514
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 2.47e-08 +/- 2.65e-08
Energy Flux (Fixed Index): 9.88e-06 +/- 1.06e-05

TS (Fixed Index): 1.70
Ra Dec: 137.446 -2.514
Photon Flux Upper Limit: 9.13e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.66e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/73804/likelihoodResults_693187201_693446401_4FGL_J0909.7-0230_daily_bin1751.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) = 5849.13641502
delta logL = 0.0894317618049

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5849.13458977
delta logL = 0.0912570118899

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.0611       1.0000          .0000       .10000E+07
     2 'alpha     '    2.5616       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0611       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73255       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=   5849.135     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      226 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.0499        161.95        .44672E-03    .22499E-02
   2  alpha         2.5586        2.7893        .41167        .28631E-04
   3  Normalizat    1.0611        .76452E-01    .39867E-01    .64384E-05
   4  Prefactor     .73271        .51778E-01    .42833E-01    .13227E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.0499
  alpha      = 2.55863
  Normalizat = 1.06108
  Prefactor  = 0.73271
 **********
 **   18 **HESSE 
 **********

 FCN=   5849.135     FROM HESSE     STATUS=OK            33 CALLS      259 TOTAL
                     EDM=   .30E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.0499        5.2754        .15895E-04   -1.5663    
   2  alpha         2.5586        .82970        .18420E-01    .23453E-01
   3  Normalizat    1.0611        .21380        .24502E-03   -.91011    
   4  Prefactor     .73271        .15610        .21353E-03   -1.0226    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.95683e-12
Minuit parameter uncertainties:
  1  5.2754
  2  0.845745
  3  0.213974
  4  0.156197
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/73804': 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) = 5849.13457587
delta logL = 0.0912709097847

Extracting fit parameters...

4FGL J0909.7-0230
   Spectrum: LogParabola
269         norm:  5.050e+00  5.275e+00  0.000e+00  1.000e+06 ( 1.000e-12)
270        alpha:  2.559e+00  8.457e-01  0.000e+00  5.000e+00 ( 1.000e+00)
271         beta:  1.005e-01  0.000e+00 -5.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:  7.327e-01  1.562e-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:  1.061e+00  2.140e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.89
Ra Dec: 137.446 -2.514
Photon Index (Free Index): 2.56 +/- 0.85
Photon Flux (Free Index): 3.70e-08 +/- 4.30e-08
Energy Flux (Free Index): 1.02e-05 +/- 9.91e-06

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/73804/cmap_HighResolution_693187201_693446401_4FGL_J0909.7-0230_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.66e-05', comment='SUCCESS', photon_flux='2.47e-08', energy_flux2='1.02e-05', photon_flux_error='2.65e-08', dlogl='9.13e-02', energy_flux='9.88e-06', photon_flux2='3.70e-08', job_status='DONE', time_completed='2022-12-23 00:33:51.841591', photon_index_error2='0.85', photon_index2='2.56', ts='1.70', fit_tolerance='1e-08', GAL='0.73', photon_index_error='0.00', photon_flux_upper_limit='9.13e-08', energy_flux_error2='9.91e-06', EG='1.08', time_epoch_completed='1671784431.84', return_code='0', job_id='73804', GAL2='0.73', EG2='1.06', return_code2='0', energy_flux_error='1.06e-05', photon_flux_error2='4.30e-08', ts2='1.89', photon_index='2.19' WHERE bin_id='1751' AND source_name='4FGL J0909.7-0230' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 00:33:51 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 73804: <4FGL_J0909.7-0230_daily_bin1751> in cluster <slac> Done

Job <4FGL_J0909.7-0230_daily_bin1751> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Dec 23 00:25:25 2022
Job was executed on host(s) <bullet0094>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:25:26 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:25:26 2022
Terminated at Fri Dec 23 00:33:52 2022
Results reported at Fri Dec 23 00:33:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0909.7-0230_daily_bin1751 137.446 -2.5143 693187201 693446401 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 :                                   483.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             365.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   506 sec.
    Turnaround time :                            507 sec.

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

