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/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 8 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 = 17388
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0909.1+0121_weekly_bin70
RA = 137.297, Dec = 1.3557
tmin = 281318401, tmax = 281923201
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='638265', job_status='RUN', time_executed='2021-07-15 02:16:29.098010', time_epoch_executed='1626340589.1' WHERE source_name='4FGL J0909.1+0121' and cadence='weekly' and bin_id='70'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/638265

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/638265/ft1_4FGL_J0909.1+0121_weekly_bin70.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/638265/ft2_4FGL_J0909.1+0121_weekly_bin70.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/638265/ft1_4FGL_J0909.1+0121_weekly_bin70.fits outfile=/scratch/kocevski/638265/ft1_filteredMKT_4FGL_J0909.1+0121_weekly_bin70.fits ra=137.297 dec=1.3557 rad=12.0 tmin=281318401.0 tmax=281923201.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 7.44
user 7.11
sys 0.28

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/638265/ft2_4FGL_J0909.1+0121_weekly_bin70.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/638265/ft1_filteredMKT_4FGL_J0909.1+0121_weekly_bin70.fits evtable="EVENTS" outfile="/scratch/kocevski/638265/ft1_filtered_4FGL_J0909.1+0121_weekly_bin70.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.56
user 0.40
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/638265/ft1_filtered_4FGL_J0909.1+0121_weekly_bin70.fits evtable="EVENTS" scfile=/scratch/kocevski/638265/ft2_4FGL_J0909.1+0121_weekly_bin70.fits sctable="SC_DATA" expcube=/scratch/kocevski/638265/ltcube_281318401_281923201_4FGL_J0909.1+0121_weekly_bin70.fits outfile=/scratch/kocevski/638265/expmap_281318401_281923201_4FGL_J0909.1+0121_weekly_bin70.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/638265/ltcube_281318401_281923201_4FGL_J0909.1+0121_weekly_bin70.fits
.....................!
real 192.46
user 186.81
sys 5.10

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/638265/ft1_filtered_4FGL_J0909.1+0121_weekly_bin70.fits scfile=/scratch/kocevski/638265/ft2_4FGL_J0909.1+0121_weekly_bin70.fits outfile=/scratch/kocevski/638265/cmap_281318401_281923201_4FGL_J0909.1+0121_weekly_bin70.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/638265/ft1_filtered_4FGL_J0909.1+0121_weekly_bin70.fits scfile=/scratch/kocevski/638265/ft2_4FGL_J0909.1+0121_weekly_bin70.fits outfile=/scratch/kocevski/638265/cmap_HighResolution_281318401_281923201_4FGL_J0909.1+0121_weekly_bin70.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.64
user 0.42
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/638265/ft1_filtered_4FGL_J0909.1+0121_weekly_bin70.fits', '/scratch/kocevski/638265/ft2_4FGL_J0909.1+0121_weekly_bin70.fits', expMap='/scratch/kocevski/638265/expmap_281318401_281923201_4FGL_J0909.1+0121_weekly_bin70.fits', expCube='/scratch/kocevski/638265/ltcube_281318401_281923201_4FGL_J0909.1+0121_weekly_bin70.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/638265/Model_4FGL_J0909.1+0121_weekly_bin70.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/638265/ft1_filtered_4FGL_J0909.1+0121_weekly_bin70.fits
Spacecraft file(s): /scratch/kocevski/638265/ft2_4FGL_J0909.1+0121_weekly_bin70.fits
Exposure map: /scratch/kocevski/638265/expmap_281318401_281923201_4FGL_J0909.1+0121_weekly_bin70.fits
Exposure cube: /scratch/kocevski/638265/ltcube_281318401_281923201_4FGL_J0909.1+0121_weekly_bin70.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/638265/Model_4FGL_J0909.1+0121_weekly_bin70.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) = 11886.8107889

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5593       1.0000         .10000E-03   10000.    
     2 'norm      '    .14313E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.9845       1.0000         .10000E-03   10000.    
     4 'norm      '    6.9988       1.0000         .10000E-03   10000.    
     5 'norm      '    9.1434       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .14271E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10846E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.428       1.0000         .10000E-03   10000.    
    10 'norm      '    1.6958       1.0000         .10000E-03   10000.    
    11 'Normalizat'    1.1045       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .95245       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=   11885.75     FROM MIGRAD    STATUS=CONVERGED    229 CALLS      868 TOTAL
                     EDM=   .38E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5593        .79713        .14820E-07   -.20263E-03
   2  norm          .10000E-03    3.1056        .17924E-07** at limit **
   3  Prefactor     3.9563        3.6711        .95313E-07    .21901E-03
   4  norm          6.9976        3.4536       -.22542E-06   -.45185E-03
   5  norm          9.1514        5.5420        .25748E-05   -.13714E-03
   6  Prefactor     .10000E-03    5.3789       -.54751E-06** at limit **
   7  Prefactor     .10000E-03    1.1311        .58942E-07** at limit **
   8  Prefactor     .10000E-03    6.0301        .22118E-06** at limit **
   9  Prefactor     11.411        11.027        .41202E-06   -.69065E-04
  10  norm          1.6959        .50464        .28074E-09   -.56549E-03
  11  Normalizat    1.1046        .13975       -.54525E-06    .33389E-04
  12  Prefactor     .95244        .10719       -.13972E-06   -.14005E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.55928
  norm       = 0.0001
  Prefactor  = 3.95631
  norm       = 6.99757
  norm       = 9.15138
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.4113
  norm       = 1.69591
  Normalizat = 1.10459
  Prefactor  = 0.952437
 **********
 **   18 **HESSE 
 **********

 FCN=   11885.75     FROM HESSE     STATUS=OK           143 CALLS     1011 TOTAL
                     EDM=   .80E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5593        .79662        .52356E-04   -1.5388    
   2  norm          .10000E-03    3.1559        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.9563        3.6804        .19602E-03   -1.5310    
   4  norm          6.9976        3.4723        .13534E-03   -1.5179    
   5  norm          9.1514        5.4846        .13254E-03   -1.5103    
   6  Prefactor     .10000E-03    5.9066        .83695E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.0986        .22292E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    6.0323        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     11.411        11.017        .11851E-03   -1.5032    
  10  norm          1.6959        .50114        .40546E-04   -1.5448    
  11  Normalizat    1.1046        .16513        .26675E-03   -.89604    
  12  Prefactor     .95244        .12716        .22478E-03   -.94332    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.00625e-11
Minuit parameter uncertainties:
  1  0.796623
  2  2.61561e-06
  3  3.68065
  4  3.47237
  5  5.48488
  6  5.76204e-05
  7  8.38332e-06
  8  1.92775e-06
  9  11.0192
  10  0.501144
  11  0.165208
  12  0.127199
Done.

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

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  6.998e+00  3.472e+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:  9.524e-01  1.272e-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.105e+00  1.652e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.26
Ra Dec: 137.297 1.356
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 6.67e-08 +/- 3.31e-08
Energy Flux (Fixed Index): 2.01e-05 +/- 9.97e-06

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) = 11885.2334599
delta logL = 0.519357893234

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11885.2202602
delta logL = 0.532557578441

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.7373       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.0288       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0644       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97334       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=   11885.22     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      279 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.7375        3.9159        .96316E-04   -.18437E-03
   2  alpha         3.0287        .61448        .11510E-01    .42507E-03
   3  Normalizat    1.0644        .16806        .27093E-03    .31673E-03
   4  Prefactor     .97334        .12973        .22259E-03    .47659E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.73748
  alpha      = 3.02874
  Normalizat = 1.06443
  Prefactor  = 0.97334
 **********
 **   18 **HESSE 
 **********

 FCN=   11885.22     FROM HESSE     STATUS=OK            25 CALLS      304 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.7375        3.5015        .38526E-05   -1.5273    
   2  alpha         3.0287        .54995        .23020E-02    .21310    
   3  Normalizat    1.0644        .16762        .10837E-04   -.90902    
   4  Prefactor     .97334        .12947        .44518E-04   -.93624    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29577e-10
Minuit parameter uncertainties:
  1  3.50169
  2  0.554706
  3  0.1677
  4  0.129515
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/638265': 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) = 11885.2202602
delta logL = 0.532557588136

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  4.737e+00  3.502e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  3.029e+00  5.547e-01  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:  9.733e-01  1.295e-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.064e+00  1.677e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.44
Ra Dec: 137.297 1.356
Photon Index (Free Index): 3.03 +/- 0.55
Photon Flux (Free Index): 9.85e-08 +/- 4.93e-08
Energy Flux (Free Index): 2.07e-05 +/- 8.98e-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/638265/cmap_HighResolution_281318401_281923201_4FGL_J0909.1+0121_weekly_bin70.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.67e-08', energy_flux2='2.07e-05', photon_flux_error='3.31e-08', dlogl='5.33e-01', energy_flux='2.01e-05', photon_flux2='9.85e-08', job_status='DONE', time_completed='2021-07-15 02:26:48.605422', photon_index_error2='0.55', photon_index2='3.03', ts='7.26', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='8.98e-06', EG='1.10', time_epoch_completed='1626341208.61', return_code='0', job_id='638265', GAL2='0.97', EG2='1.06', return_code2='0', energy_flux_error='9.97e-06', photon_flux_error2='4.93e-08', ts2='8.44', photon_index='2.49' WHERE bin_id='70' AND source_name='4FGL J0909.1+0121' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Thu Jul 15 02:26:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0288>
Subject: Job 638265: <4FGL_J0909.1+0121_weekly_bin70> in cluster <slac> Done

Job <4FGL_J0909.1+0121_weekly_bin70> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Jul 15 02:15:25 2021
Job was executed on host(s) <bullet0288>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jul 15 02:16:10 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:16:10 2021
Terminated at Thu Jul 15 02:26:49 2021
Results reported at Thu Jul 15 02:26:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0909.1+0121_weekly_bin70 137.297 1.3557 281318401 281923201 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 :                                   608.00 sec.
    Max Memory :                                 620 MB
    Average Memory :                             311.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   638 sec.
    Turnaround time :                            684 sec.

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

