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


Performing analysis on: 4FGL_J0909.1+0121_weekly_bin720
RA = 137.297, Dec = 1.3557
tmin = 674438401, tmax = 675043201
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='604848', job_status='RUN', time_executed='2022-05-24 01:28:15.540754', time_epoch_executed='1653380895.54' WHERE source_name='4FGL J0909.1+0121' and cadence='weekly' and bin_id='720'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/604848

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

Retrieving the FT1 file...

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

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

Retrieving 106 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/604848/ft1_4FGL_J0909.1+0121_weekly_bin720.fits


Retrieving the FT1 file...

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

Retrieving 106 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/604848/ft2_4FGL_J0909.1+0121_weekly_bin720.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/604848/ft1_4FGL_J0909.1+0121_weekly_bin720.fits outfile=/scratch/kocevski/604848/ft1_filteredMKT_4FGL_J0909.1+0121_weekly_bin720.fits ra=137.297 dec=1.3557 rad=12.0 tmin=674438401.0 tmax=675043201.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.57
user 7.24
sys 0.30

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/604848/ft2_4FGL_J0909.1+0121_weekly_bin720.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/604848/ft1_filteredMKT_4FGL_J0909.1+0121_weekly_bin720.fits evtable="EVENTS" outfile="/scratch/kocevski/604848/ft1_filtered_4FGL_J0909.1+0121_weekly_bin720.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.39
sys 0.16

Number of photons that the gtmktime cut: 1404

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/604848/ft1_filtered_4FGL_J0909.1+0121_weekly_bin720.fits" evtable="EVENTS" scfile=/scratch/kocevski/604848/ft2_4FGL_J0909.1+0121_weekly_bin720.fits sctable="SC_DATA" outfile=/scratch/kocevski/604848/ltcube_674438401_675043201_4FGL_J0909.1+0121_weekly_bin720.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/604848/ft2_4FGL_J0909.1+0121_weekly_bin720.fits
.....................!
real 31.28
user 30.89
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/604848/ft1_filtered_4FGL_J0909.1+0121_weekly_bin720.fits evtable="EVENTS" scfile=/scratch/kocevski/604848/ft2_4FGL_J0909.1+0121_weekly_bin720.fits sctable="SC_DATA" expcube=/scratch/kocevski/604848/ltcube_674438401_675043201_4FGL_J0909.1+0121_weekly_bin720.fits outfile=/scratch/kocevski/604848/expmap_674438401_675043201_4FGL_J0909.1+0121_weekly_bin720.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/604848/ltcube_674438401_675043201_4FGL_J0909.1+0121_weekly_bin720.fits
.....................!
real 191.63
user 186.51
sys 4.69

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/604848/ft1_filtered_4FGL_J0909.1+0121_weekly_bin720.fits scfile=/scratch/kocevski/604848/ft2_4FGL_J0909.1+0121_weekly_bin720.fits outfile=/scratch/kocevski/604848/cmap_674438401_675043201_4FGL_J0909.1+0121_weekly_bin720.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.58
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/604848/ft1_filtered_4FGL_J0909.1+0121_weekly_bin720.fits scfile=/scratch/kocevski/604848/ft2_4FGL_J0909.1+0121_weekly_bin720.fits outfile=/scratch/kocevski/604848/cmap_HighResolution_674438401_675043201_4FGL_J0909.1+0121_weekly_bin720.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.59
user 0.41
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1054       1.0000         .10000E-03   10000.    
     2 'norm      '    10.782       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.4339       1.0000         .10000E-03   10000.    
     4 'norm      '    8.8810       1.0000         .10000E-03   10000.    
     5 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .16666E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    19.992       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.371       1.0000         .10000E-03   10000.    
    10 'norm      '    .55114       1.0000         .10000E-03   10000.    
    11 'Normalizat'    1.3219       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .86883       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=   15606.03     FROM MIGRAD    STATUS=CONVERGED    220 CALLS      984 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1053        .60522       -.10954E-06   -.12933E-02
   2  norm          10.782        4.7175        .15604E-05   -.71213E-03
   3  Prefactor     5.4347        5.0491       -.28080E-05    .95661E-04
   4  norm          8.8827        3.1433       -.73874E-07   -.30672E-03
   5  norm          .10000E-03    2.7525        .63200E-08** at limit **
   6  Prefactor     .10000E-03    8.8665        .97200E-07** at limit **
   7  Prefactor     .10000E-03    .54060        .84897E-08** at limit **
   8  Prefactor     19.900        25.394       -.82695E-06    .30546E-04
   9  Prefactor     10.376        10.226       -.21603E-05    .11487E-03
  10  norm          .55155        .41603       -.61165E-07   -.28007E-02
  11  Normalizat    1.3213        .12880        .64140E-06   -.70953E-05
  12  Prefactor     .86926        .97575E-01    .95768E-07    .75902E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.10529
  norm       = 10.7819
  Prefactor  = 5.43469
  norm       = 8.88267
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.9005
  Prefactor  = 10.3763
  norm       = 0.551554
  Normalizat = 1.32135
  Prefactor  = 0.869265
 **********
 **   18 **HESSE 
 **********

 FCN=   15606.03     FROM HESSE     STATUS=OK           135 CALLS     1119 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1053        .59948        .69394E-04   -1.5498    
   2  norm          10.782        4.6609        .12202E-03   -1.5051    
   3  Prefactor     5.4347        5.1602        .17238E-03   -1.5242    
   4  norm          8.8827        3.1514        .12541E-03   -1.5112    
   5  norm          .10000E-03    2.8404        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    8.9353        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    .54499        .89665E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     19.900        25.459        .89577E-04   -1.4815    
   9  Prefactor     10.376        10.195        .12442E-03   -1.5064    
  10  norm          .55155        .40317        .66546E-03   -1.5559    
  11  Normalizat    1.3213        .15380        .25540E-03   -.82931    
  12  Prefactor     .86926        .11612        .23934E-03   -.97223    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.67295e-10
Minuit parameter uncertainties:
  1  0.599482
  2  4.66109
  3  5.16058
  4  3.15146
  5  6.90969e-07
  6  1.83323e-05
  7  3.97947e-07
  8  25.4731
  9  10.1971
  10  0.403173
  11  0.153853
  12  0.116157
Done.

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

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  8.883e+00  3.151e+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:  8.693e-01  1.162e-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.321e+00  1.539e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 16.14
Ra Dec: 137.297 1.356
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 8.47e-08 +/- 3.00e-08
Energy Flux (Fixed Index): 2.55e-05 +/- 9.05e-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) = 15605.3371337
delta logL = 0.68900992889

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15605.3360409
delta logL = 0.690102727067

Fit tolerance = 1e-08

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

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

 FCN=   15605.34     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      272 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.099        75.194        .30057E-02    .17832E-03
   2  alpha         1.9462        3.2404        .32140       -.20628E-05
   3  Normalizat    1.3600        .22631        .57071E-01    .30127E-04
   4  Prefactor     .84922        .12909        .44355E-01    .50326E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 11.099
  alpha      = 1.94623
  Normalizat = 1.35998
  Prefactor  = 0.849221
 **********
 **   18 **HESSE 
 **********

 FCN=   15605.34     FROM HESSE     STATUS=OK            33 CALLS      305 TOTAL
                     EDM=   .37E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.099        4.1293        .12023E-03   -1.5042    
   2  alpha         1.9462        .44422        .16533E-01   -.22336    
   3  Normalizat    1.3600        .15049        .25237E-03   -.81793    
   4  Prefactor     .84922        .11603        .24182E-03   -.97939    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.67304e-12
Minuit parameter uncertainties:
  1  4.12936
  2  0.446714
  3  0.150534
  4  0.116066
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/604848': 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) = 15605.3360392
delta logL = 0.690104467221

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  1.110e+01  4.129e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  1.946e+00  4.467e-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:  8.492e-01  1.161e-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.360e+00  1.505e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 17.47
Ra Dec: 137.297 1.356
Photon Index (Free Index): 1.95 +/- 0.45
Photon Flux (Free Index): 5.55e-08 +/- 3.16e-08
Energy Flux (Free Index): 3.38e-05 +/- 1.72e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/604848/cmap_HighResolution_674438401_675043201_4FGL_J0909.1+0121_weekly_bin720.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.47e-08', energy_flux2='3.38e-05', photon_flux_error='3.00e-08', dlogl='6.90e-01', energy_flux='2.55e-05', photon_flux2='5.55e-08', job_status='DONE', time_completed='2022-05-24 01:40:00.518545', photon_index_error2='0.45', photon_index2='1.95', ts='16.14', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='1.72e-05', EG='1.32', time_epoch_completed='1653381600.52', return_code='0', job_id='604848', GAL2='0.85', EG2='1.36', return_code2='0', energy_flux_error='9.05e-06', photon_flux_error2='3.16e-08', ts2='17.47', photon_index='2.49' WHERE bin_id='720' AND source_name='4FGL J0909.1+0121' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 24 01:40:00 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0272>
Subject: Job 604848: <4FGL_J0909.1+0121_weekly_bin720> in cluster <slac> Done

Job <4FGL_J0909.1+0121_weekly_bin720> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Tue May 24 01:25:32 2022
Job was executed on host(s) <bullet0272>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May 24 01:27:00 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May 24 01:27:00 2022
Terminated at Tue May 24 01:40:01 2022
Results reported at Tue May 24 01:40:01 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0909.1+0121_weekly_bin720 137.297 1.3557 674438401 675043201 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 :                                   704.14 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             330.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   780 sec.
    Turnaround time :                            869 sec.

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

