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


Performing analysis on: 4FGL_J0909.1+0121_daily_bin166
RA = 137.297, Dec = 1.3557
tmin = 282355201, tmax = 282614401
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='24880', job_status='RUN', time_executed='2021-08-31 01:36:22.022113', time_epoch_executed='1630398982.02' WHERE source_name='4FGL J0909.1+0121' and cadence='daily' and bin_id='166'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/24880

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/24880/ft1_4FGL_J0909.1+0121_daily_bin166.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/24880/ft2_4FGL_J0909.1+0121_daily_bin166.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/24880/ft1_4FGL_J0909.1+0121_daily_bin166.fits outfile=/scratch/kocevski/24880/ft1_filteredMKT_4FGL_J0909.1+0121_daily_bin166.fits ra=137.297 dec=1.3557 rad=12.0 tmin=282355201.0 tmax=282614401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.59
user 3.45
sys 1.02

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/24880/ft2_4FGL_J0909.1+0121_daily_bin166.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/24880/ft1_filteredMKT_4FGL_J0909.1+0121_daily_bin166.fits evtable="EVENTS" outfile="/scratch/kocevski/24880/ft1_filtered_4FGL_J0909.1+0121_daily_bin166.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 1.34
user 0.31
sys 0.98

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/24880/ft1_filtered_4FGL_J0909.1+0121_daily_bin166.fits" evtable="EVENTS" scfile=/scratch/kocevski/24880/ft2_4FGL_J0909.1+0121_daily_bin166.fits sctable="SC_DATA" outfile=/scratch/kocevski/24880/ltcube_282355201_282614401_4FGL_J0909.1+0121_daily_bin166.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/24880/ft2_4FGL_J0909.1+0121_daily_bin166.fits
.....................!
real 12.55
user 11.27
sys 1.23

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/24880/ft1_filtered_4FGL_J0909.1+0121_daily_bin166.fits evtable="EVENTS" scfile=/scratch/kocevski/24880/ft2_4FGL_J0909.1+0121_daily_bin166.fits sctable="SC_DATA" expcube=/scratch/kocevski/24880/ltcube_282355201_282614401_4FGL_J0909.1+0121_daily_bin166.fits outfile=/scratch/kocevski/24880/expmap_282355201_282614401_4FGL_J0909.1+0121_daily_bin166.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/24880/ltcube_282355201_282614401_4FGL_J0909.1+0121_daily_bin166.fits
.....................!
real 192.42
user 185.79
sys 5.58

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/24880/ft1_filtered_4FGL_J0909.1+0121_daily_bin166.fits scfile=/scratch/kocevski/24880/ft2_4FGL_J0909.1+0121_daily_bin166.fits outfile=/scratch/kocevski/24880/cmap_282355201_282614401_4FGL_J0909.1+0121_daily_bin166.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 2.41
user 0.36
sys 0.95

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/24880/ft1_filtered_4FGL_J0909.1+0121_daily_bin166.fits scfile=/scratch/kocevski/24880/ft2_4FGL_J0909.1+0121_daily_bin166.fits outfile=/scratch/kocevski/24880/cmap_HighResolution_282355201_282614401_4FGL_J0909.1+0121_daily_bin166.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 1.88
user 0.38
sys 0.94

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3050       1.0000         .10000E-03   10000.    
     2 'norm      '    2.5180       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.5138       1.0000         .10000E-03   10000.    
     4 'norm      '    12.197       1.0000         .10000E-03   10000.    
     5 'norm      '    .39315E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    22.494       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10668E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10281E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .24670       1.0000         .10000E-03   10000.    
    11 'Normalizat'    .96678       1.0000         .10000E-01   10.000    
    12 'Prefactor '    1.1484       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=   5140.765     FROM MIGRAD    STATUS=CONVERGED    206 CALLS      976 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3050        1.3775       -.11654E-06   -.21933E-03
   2  norm          2.5169        9.2165       -.17764E-05   -.28147E-03
   3  Prefactor     7.5140        8.5696        .88936E-07   -.29828E-04
   4  norm          12.198        4.7946        .10624E-06    .18605E-06
   5  norm          .10001E-03    5.5977        .62183E-06** at limit **
   6  Prefactor     22.485        23.396       -.12654E-04   -.31444E-04
   7  Prefactor     .10000E-03    2.4248       -.24587E-06** at limit **
   8  Prefactor     .10000E-03    16.964        .51321E-06** at limit **
   9  Prefactor     .10000E-03    3.0230        .72404E-07** at limit **
  10  norm          .24661        .55806       -.33547E-06   -.20152E-02
  11  Normalizat    .96662        .22664        .28940E-05   -.16050E-04
  12  Prefactor     1.1486        .18087        .93342E-07    .93022E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.30503
  norm       = 2.51693
  Prefactor  = 7.51405
  norm       = 12.1977
  norm       = 0.000100006
  Prefactor  = 22.4853
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.246608
  Normalizat = 0.966623
  Prefactor  = 1.14857
 **********
 **   18 **HESSE 
 **********

 FCN=   5140.765     FROM HESSE     STATUS=OK           133 CALLS     1109 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3050        1.3707        .61756E-04   -1.5404    
   2  norm          2.5169        9.2740        .25746E-03   -1.5391    
   3  Prefactor     7.5140        8.5643        .14631E-03   -1.5160    
   4  norm          12.198        4.7917        .94946E-04   -1.5009    
   5  norm          .10001E-03    16.456        .32730E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     22.485        23.226        .84455E-04   -1.4759    
   7  Prefactor     .10000E-03    5.1431        .21545E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    16.990        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.0247        .12175E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .24661        .55468        .77486E-04   -1.5609    
  11  Normalizat    .96662        .26039        .28375E-03   -.94157    
  12  Prefactor     1.1486        .21019        .21457E-03   -.87929    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32528e-09
Minuit parameter uncertainties:
  1  1.3707
  2  9.27929
  3  8.5657
  4  4.79182
  5  0.000650238
  6  23.2348
  7  6.29771e-05
  8  0.00011258
  9  2.19252e-06
  10  0.554691
  11  0.260728
  12  0.210347
Done.

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

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  1.220e+01  4.792e+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.149e+00  2.103e-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:  9.666e-01  2.607e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 22.67
Ra Dec: 137.297 1.356
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 1.16e-07 +/- 4.57e-08
Energy Flux (Fixed Index): 3.50e-05 +/- 1.38e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5138.67331296
delta logL = 2.09213186336

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5138.30029909
delta logL = 2.46514573443

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.996       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7053       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0258       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1140       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=   5138.300     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      213 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.998        7.5746        .23604E-02   -.17677E-03
   2  alpha         1.7054        .32437        .21299       -.20871E-04
   3  Normalizat    1.0258        .21505        .62531E-01   -.40042E-03
   4  Prefactor     1.1142        .17572        .37078E-01   -.56946E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 17.9976
  alpha      = 1.70536
  Normalizat = 1.02581
  Prefactor  = 1.11416
 **********
 **   18 **HESSE 
 **********

 FCN=   5138.300     FROM HESSE     STATUS=OK            29 CALLS      242 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.998        7.1784        .94414E-04   -1.4859    
   2  alpha         1.7054        .32007        .90329E-02   -.32347    
   3  Normalizat    1.0258        .25490        .27656E-03   -.92171    
   4  Prefactor     1.1142        .20868        .21729E-03   -.89015    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.19045e-10
Minuit parameter uncertainties:
  1  7.17874
  2  0.321055
  3  0.255203
  4  0.208832
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/24880': 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) = 5138.30029693
delta logL = 2.46514790127

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  1.800e+01  7.179e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  1.705e+00  3.211e-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:  1.114e+00  2.088e-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.026e+00  2.552e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 27.66
Ra Dec: 137.297 1.356
Photon Index (Free Index): 1.71 +/- 0.32
Photon Flux (Free Index): 7.30e-08 +/- 3.46e-08
Energy Flux (Free Index): 7.13e-05 +/- 4.24e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/24880/cmap_HighResolution_282355201_282614401_4FGL_J0909.1+0121_daily_bin166.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.16e-07', energy_flux2='7.13e-05', photon_flux_error='4.57e-08', dlogl='2.47e+00', energy_flux='3.50e-05', photon_flux2='7.30e-08', job_status='DONE', time_completed='2021-08-31 01:44:06.095479', photon_index_error2='0.32', photon_index2='1.71', ts='22.67', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', energy_flux_error2='4.24e-05', EG='0.97', time_epoch_completed='1630399446.1', return_code='0', job_id='24880', GAL2='1.11', EG2='1.03', return_code2='0', energy_flux_error='1.38e-05', photon_flux_error2='3.46e-08', ts2='27.66', photon_index='2.49' WHERE bin_id='166' AND source_name='4FGL J0909.1+0121' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:44:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 24880: <4FGL_J0909.1+0121_daily_bin166> in cluster <slac> Done

Job <4FGL_J0909.1+0121_daily_bin166> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Aug 31 01:31:19 2021
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 01:31:21 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 01:31:21 2021
Terminated at Tue Aug 31 01:44:06 2021
Results reported at Tue Aug 31 01:44:06 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0909.1+0121_daily_bin166 137.297 1.3557 282355201 282614401 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 :                                   442.55 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             257.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   765 sec.
    Turnaround time :                            767 sec.

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

