aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


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


Performing analysis on: 4FGL_J0909.1+0121_weekly_bin473
RA = 137.297, Dec = 1.3557
tmin = 525052801, tmax = 525657601
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='641182', job_status='RUN', time_executed='2021-07-15 02:26:54.335696', time_epoch_executed='1626341214.34' WHERE source_name='4FGL J0909.1+0121' and cadence='weekly' and bin_id='473'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/641182

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/641182/ft1_4FGL_J0909.1+0121_weekly_bin473.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/641182/ft2_4FGL_J0909.1+0121_weekly_bin473.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/641182/ft1_4FGL_J0909.1+0121_weekly_bin473.fits outfile=/scratch/kocevski/641182/ft1_filteredMKT_4FGL_J0909.1+0121_weekly_bin473.fits ra=137.297 dec=1.3557 rad=12.0 tmin=525052801.0 tmax=525657601.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 8.06
user 7.74
sys 0.28

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/641182/ft2_4FGL_J0909.1+0121_weekly_bin473.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/641182/ft2_4FGL_J0909.1+0121_weekly_bin473.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/641182/ft1_filteredMKT_4FGL_J0909.1+0121_weekly_bin473.fits evtable="EVENTS" outfile="/scratch/kocevski/641182/ft1_filtered_4FGL_J0909.1+0121_weekly_bin473.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.55
user 0.38
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/641182/ft1_filtered_4FGL_J0909.1+0121_weekly_bin473.fits" evtable="EVENTS" scfile=/scratch/kocevski/641182/ft2_4FGL_J0909.1+0121_weekly_bin473.fits sctable="SC_DATA" outfile=/scratch/kocevski/641182/ltcube_525052801_525657601_4FGL_J0909.1+0121_weekly_bin473.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/641182/ft2_4FGL_J0909.1+0121_weekly_bin473.fits
.....................!
real 29.38
user 28.91
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/641182/ft1_filtered_4FGL_J0909.1+0121_weekly_bin473.fits evtable="EVENTS" scfile=/scratch/kocevski/641182/ft2_4FGL_J0909.1+0121_weekly_bin473.fits sctable="SC_DATA" expcube=/scratch/kocevski/641182/ltcube_525052801_525657601_4FGL_J0909.1+0121_weekly_bin473.fits outfile=/scratch/kocevski/641182/expmap_525052801_525657601_4FGL_J0909.1+0121_weekly_bin473.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/641182/ltcube_525052801_525657601_4FGL_J0909.1+0121_weekly_bin473.fits
.....................!
real 192.77
user 187.23
sys 5.09

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

Setting source of interest to:
4FGL J0909.1+0121 @ 137.297 1.3557

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/641182/ft1_filtered_4FGL_J0909.1+0121_weekly_bin473.fits scfile=/scratch/kocevski/641182/ft2_4FGL_J0909.1+0121_weekly_bin473.fits outfile=/scratch/kocevski/641182/cmap_525052801_525657601_4FGL_J0909.1+0121_weekly_bin473.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.297 yref=1.3557 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.59
user 0.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/641182/ft1_filtered_4FGL_J0909.1+0121_weekly_bin473.fits scfile=/scratch/kocevski/641182/ft2_4FGL_J0909.1+0121_weekly_bin473.fits outfile=/scratch/kocevski/641182/cmap_HighResolution_525052801_525657601_4FGL_J0909.1+0121_weekly_bin473.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.297 yref=1.3557 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.65
user 0.41
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/641182/ft1_filtered_4FGL_J0909.1+0121_weekly_bin473.fits evtable="EVENTS" scfile=/scratch/kocevski/641182/ft2_4FGL_J0909.1+0121_weekly_bin473.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/641182/Model_4FGL_J0909.1+0121_weekly_bin473.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/641182/ft1_filtered_4FGL_J0909.1+0121_weekly_bin473.fits.....................!
real 121.87
user 120.37
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/641182/ft1_filtered_4FGL_J0909.1+0121_weekly_bin473.fits', '/scratch/kocevski/641182/ft2_4FGL_J0909.1+0121_weekly_bin473.fits', expMap='/scratch/kocevski/641182/expmap_525052801_525657601_4FGL_J0909.1+0121_weekly_bin473.fits', expCube='/scratch/kocevski/641182/ltcube_525052801_525657601_4FGL_J0909.1+0121_weekly_bin473.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/641182/Model_4FGL_J0909.1+0121_weekly_bin473.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0909.1+0121'

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  5.916e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  2.491e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
271         beta:  9.911e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  8.036e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/641182/ft1_filtered_4FGL_J0909.1+0121_weekly_bin473.fits
Spacecraft file(s): /scratch/kocevski/641182/ft2_4FGL_J0909.1+0121_weekly_bin473.fits
Exposure map: /scratch/kocevski/641182/expmap_525052801_525657601_4FGL_J0909.1+0121_weekly_bin473.fits
Exposure cube: /scratch/kocevski/641182/ltcube_525052801_525657601_4FGL_J0909.1+0121_weekly_bin473.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/641182/Model_4FGL_J0909.1+0121_weekly_bin473.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) = 11945.3016521

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .31206       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .57802E-01   1.0000         .10000E-03   10000.    
     5 'norm      '    1.5098       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.4361       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.4611       1.0000         .10000E-03   10000.    
    10 'norm      '    4.1258       1.0000         .10000E-03   10000.    
    11 'Normalizat'    1.2003       1.0000         .10000E-01   10.000    
    12 'Prefactor '    1.0742       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11944.61     FROM MIGRAD    STATUS=CONVERGED    218 CALLS      882 TOTAL
                     EDM=   .87E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .31205        .48238        .77614E-07   -.17242E-02
   2  norm          .10000E-03    1.3183        .60842E-07** at limit **
   3  Prefactor     .10000E-03    5.1571        .66649E-06** at limit **
   4  norm          .75264E-01    1.1172        .43960E-07    .63405E-04
   5  norm          1.5090        3.3754       -.14999E-05   -.28183E-03
   6  Prefactor     .10000E-03    5.5438       -.22793E-06** at limit **
   7  Prefactor     4.4358        2.9827       -.87347E-06   -.20374E-03
   8  Prefactor     .10000E-03    8.7338       -.42675E-08** at limit **
   9  Prefactor     4.4532        7.1971        .92951E-06   -.46322E-03
  10  norm          4.1261        .70558       -.23077E-07    .38001E-04
  11  Normalizat    1.2001        .14893        .36259E-06    .22668E-05
  12  Prefactor     1.0743        .11680        .15730E-06    .32418E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.312048
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0752636
  norm       = 1.50903
  Prefactor  = 0.0001
  Prefactor  = 4.4358
  Prefactor  = 0.0001
  Prefactor  = 4.45316
  norm       = 4.12607
  Normalizat = 1.20007
  Prefactor  = 1.07431
 **********
 **   18 **HESSE 
 **********

 FCN=   11944.61     FROM HESSE     STATUS=OK           133 CALLS     1015 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .31205        .59002        .20956E-03   -1.5596    
   2  norm          .10000E-03    1.3210        .12253E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.2490        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .75264E-01    22.075        .21932E-02   -1.5653    
   5  norm          1.5090        3.4763        .29996E-03   -1.5462    
   6  Prefactor     .10000E-03    5.5587        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.4358        2.9908        .14704E-03   -1.5287    
   8  Prefactor     .10000E-03    8.7421        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.4532        9.8380        .95322E-03   -1.5286    
  10  norm          4.1261        .70611        .36311E-04   -1.5302    
  11  Normalizat    1.2001        .17658        .27503E-03   -.86601    
  12  Prefactor     1.0743        .13757        .23085E-03   -.90292    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06554e-09
Minuit parameter uncertainties:
  1  0.590036
  2  5.20425e-07
  3  4.40278e-06
  4  2.57721
  5  3.47677
  6  2.02183e-07
  7  2.99092
  8  1.01506e-06
  9  9.84155
  10  0.706113
  11  0.176672
  12  0.137612
Done.

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

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  7.526e-02  2.577e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  2.491e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
271         beta:  9.911e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  8.036e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  1.074e+00  1.376e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  1.200e+00  1.767e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 137.297 1.356
Photon Flux Upper Limit: 6.35e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.91e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/641182/likelihoodResults_525052801_525657601_4FGL_J0909.1+0121_weekly_bin473.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) = 11943.5909741
delta logL = 1.01979258539

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11943.5906444
delta logL = 1.02012228944

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10481       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1177       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1158       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+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=   11943.59     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      298 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10480        .92445E-01    .26209E-03    .23922E-01
   2  alpha         5.0000        .81737        .50000    ** at limit **
   3  Normalizat    1.1177        .18191        .28350E-03    .66569E-05
   4  Prefactor     1.1158        .14130        .22702E-03   -.27542E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.104804
  alpha      = 5
  Normalizat = 1.1177
  Prefactor  = 1.1158
 **********
 **   18 **HESSE 
 **********

 FCN=   11943.59     FROM HESSE     STATUS=OK            31 CALLS      329 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10480        .89868E-01    .52418E-04   -1.5643    
   2  alpha         5.0000        .77638        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1177        .18236        .11340E-04   -.89186    
   4  Prefactor     1.1158        .14154        .90810E-05   -.88963    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57134e-11
Minuit parameter uncertainties:
  1  0.0898685
  2  5.73147e-06
  3  0.182467
  4  0.141592
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/641182': 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) = 11943.5906442
delta logL = 1.02012243777

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  1.048e-01  8.987e-02  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  5.000e+00  5.731e-06  0.000e+00  5.000e+00 ( 1.000e+00)
271         beta:  9.911e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  8.036e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  1.116e+00  1.416e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  1.118e+00  1.825e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.23
Ra Dec: 137.297 1.356
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 6.31e-08 +/- 5.38e-08
Energy Flux (Free Index): 8.61e-06 +/- 7.36e-06

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/641182/cmap_HighResolution_525052801_525657601_4FGL_J0909.1+0121_weekly_bin473.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.91e-05', comment='SUCCESS', energy_flux2='8.61e-06', dlogl='1.02e+00', photon_flux2='6.31e-08', job_status='DONE', time_completed='2021-07-15 02:38:33.393945', photon_index_error2='0.00', photon_index2='5.00', ts='0.00', fit_tolerance='1e-08', GAL='1.07', photon_index_error='0.00', photon_flux_upper_limit='6.35e-08', energy_flux_error2='7.36e-06', EG='1.20', time_epoch_completed='1626341913.39', return_code='0', job_id='641182', GAL2='1.12', EG2='1.12', return_code2='0', photon_flux_error2='5.38e-08', ts2='2.23', photon_index='2.49' WHERE bin_id='473' AND source_name='4FGL J0909.1+0121' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Thu Jul 15 02:38:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0137>
Subject: Job 641182: <4FGL_J0909.1+0121_weekly_bin473> in cluster <slac> Done

Job <4FGL_J0909.1+0121_weekly_bin473> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Jul 15 02:25:48 2021
Job was executed on host(s) <bullet0137>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jul 15 02:26:07 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jul 15 02:26:07 2021
Terminated at Thu Jul 15 02:38:34 2021
Results reported at Thu Jul 15 02:38:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0909.1+0121_weekly_bin473 137.297 1.3557 525052801 525657601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0909.1+0121 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   664.12 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             324.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   746 sec.
    Turnaround time :                            766 sec.

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

