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


Performing analysis on: 4FGL_J0909.1+0121_daily_bin699
RA = 137.297, Dec = 1.3557
tmin = 420508801, tmax = 420768001
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='26766', job_status='RUN', time_executed='2021-08-31 01:39:26.389661', time_epoch_executed='1630399166.39' WHERE source_name='4FGL J0909.1+0121' and cadence='daily' and bin_id='699'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/26766

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/26766/ft1_4FGL_J0909.1+0121_daily_bin699.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/26766/ft2_4FGL_J0909.1+0121_daily_bin699.fits


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

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

Done.
real 3.67
user 3.20
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/26766/ft2_4FGL_J0909.1+0121_daily_bin699.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/26766/ft1_filteredMKT_4FGL_J0909.1+0121_daily_bin699.fits evtable="EVENTS" outfile="/scratch/kocevski/26766/ft1_filtered_4FGL_J0909.1+0121_daily_bin699.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.74
user 0.32
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/26766/ft1_filtered_4FGL_J0909.1+0121_daily_bin699.fits" evtable="EVENTS" scfile=/scratch/kocevski/26766/ft2_4FGL_J0909.1+0121_daily_bin699.fits sctable="SC_DATA" outfile=/scratch/kocevski/26766/ltcube_420508801_420768001_4FGL_J0909.1+0121_daily_bin699.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/26766/ft2_4FGL_J0909.1+0121_daily_bin699.fits
.....................!
real 11.65
user 11.13
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/26766/ft1_filtered_4FGL_J0909.1+0121_daily_bin699.fits evtable="EVENTS" scfile=/scratch/kocevski/26766/ft2_4FGL_J0909.1+0121_daily_bin699.fits sctable="SC_DATA" expcube=/scratch/kocevski/26766/ltcube_420508801_420768001_4FGL_J0909.1+0121_daily_bin699.fits outfile=/scratch/kocevski/26766/expmap_420508801_420768001_4FGL_J0909.1+0121_daily_bin699.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/26766/ltcube_420508801_420768001_4FGL_J0909.1+0121_daily_bin699.fits
.....................!
real 194.58
user 186.08
sys 5.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/26766/ft1_filtered_4FGL_J0909.1+0121_daily_bin699.fits scfile=/scratch/kocevski/26766/ft2_4FGL_J0909.1+0121_daily_bin699.fits outfile=/scratch/kocevski/26766/cmap_420508801_420768001_4FGL_J0909.1+0121_daily_bin699.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 1.09
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/26766/ft1_filtered_4FGL_J0909.1+0121_daily_bin699.fits scfile=/scratch/kocevski/26766/ft2_4FGL_J0909.1+0121_daily_bin699.fits outfile=/scratch/kocevski/26766/cmap_HighResolution_420508801_420768001_4FGL_J0909.1+0121_daily_bin699.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.93
user 0.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9376       1.0000         .10000E-03   10000.    
     2 'norm      '    7.1826       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .20086       1.0000         .10000E-03   10000.    
     4 'norm      '    2.1265       1.0000         .10000E-03   10000.    
     5 'norm      '    3.9105       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.7567       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .94189       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.6799       1.0000         .10000E-03   10000.    
    11 'Normalizat'    .96820       1.0000         .10000E-01   10.000    
    12 'Prefactor '    1.1915       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=   5237.049     FROM MIGRAD    STATUS=CONVERGED    333 CALLS      995 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9376        1.0752        .29830E-04    .50689E-04
   2  norm          7.1826        6.9897        .14967E-03    .25879E-03
   3  Prefactor     .19305        113.13        .34682E-02    .42598E-04
   4  norm          2.1265        3.9540        .18749E-03    .10059E-03
   5  norm          3.9105        4.6017        .16370E-03   -.52085E-04
   6  Prefactor     7.7580        15.951        .14398E-03   -.18793E-03
   7  Prefactor     .94114        5.3665        .23956E-02   -.54669E-03
   8  Prefactor     .10000E-03    23.614        .18142E-02** at limit **
   9  Prefactor     .10000E-03    23.687        .18142E-02** at limit **
  10  norm          1.6799        .72228        .38996E-04    .13032E-03
  11  Normalizat    .96818        .26236        .28806E-03    .97404E-04
  12  Prefactor     1.1915        .20926        .21536E-03    .12667E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.93756
  norm       = 7.18259
  Prefactor  = 0.193054
  norm       = 2.1265
  norm       = 3.91048
  Prefactor  = 7.75798
  Prefactor  = 0.941137
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 1.67993
  Normalizat = 0.96818
  Prefactor  = 1.1915
 **********
 **   18 **HESSE 
 **********

 FCN=   5237.049     FROM HESSE     STATUS=OK           119 CALLS     1114 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9376        1.0750        .11932E-05   -1.5430    
   2  norm          7.1826        6.9887        .59868E-05   -1.5172    
   3  Prefactor     .19305        115.64        .13873E-03   -1.5620    
   4  norm          2.1265        3.9528        .74998E-05   -1.5416    
   5  norm          3.9105        4.6015        .65481E-05   -1.5312    
   6  Prefactor     7.7580        15.949        .57592E-05   -1.5151    
   7  Prefactor     .94114        5.3181        .95825E-04   -1.5514    
   8  Prefactor     .10000E-03    23.616        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    23.698        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.6799        .72216        .15598E-05   -1.5449    
  11  Normalizat    .96818        .26204        .11522E-04   -.94104    
  12  Prefactor     1.1915        .20934        .43073E-04   -.86593    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24517e-09
Minuit parameter uncertainties:
  1  1.07499
  2  6.98954
  3  9.46571
  4  3.95329
  5  4.60189
  6  15.958
  7  4.47479
  8  0.000275434
  9  0.000108286
  10  0.722165
  11  0.262385
  12  0.20949
Done.

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

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  2.126e+00  3.953e+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.192e+00  2.095e-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.682e-01  2.624e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.38
Ra Dec: 137.297 1.356
Photon Flux Upper Limit: 1.13e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.41e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/26766/likelihoodResults_420508801_420768001_4FGL_J0909.1+0121_daily_bin699.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) = 5236.69760122
delta logL = 0.351714253873

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5236.68437383
delta logL = 0.364941648849

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .76147       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.8697       1.0000          .0000       5.0000    
     3 'Normalizat'    .90710       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2241       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=   5236.684     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      283 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .76168        37.767        .62366E-04    .31144E-02
   2  alpha         3.8695        2.7655        .18098E-01    .10436E-03
   3  Normalizat    .90712        .25572        .29669E-03    .26593E-03
   4  Prefactor     1.2240        .20857        .21285E-03    .38190E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.761684
  alpha      = 3.86948
  Normalizat = 0.90712
  Prefactor  = 1.22404
 **********
 **   18 **HESSE 
 **********

 FCN=   5236.684     FROM HESSE     STATUS=OK            25 CALLS      308 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .76168        2.3920        .24946E-05   -1.5533    
   2  alpha         3.8695        1.6459        .72393E-03    .57972    
   3  Normalizat    .90712        .26593        .11868E-04   -.96210    
   4  Prefactor     1.2240        .21357        .42569E-04   -.85595    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.3362e-10
Minuit parameter uncertainties:
  1  2.39234
  2  1.89458
  3  0.266313
  4  0.213726
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/26766': 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) = 5236.68437382
delta logL = 0.364941662468

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  7.617e-01  2.392e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  3.869e+00  1.895e+00  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.224e+00  2.137e-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.071e-01  2.663e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.20
Ra Dec: 137.297 1.356
Photon Index (Free Index): 3.87 +/- 1.89
Photon Flux (Free Index): 6.23e-08 +/- 6.68e-08
Energy Flux (Free Index): 1.00e-05 +/- 1.05e-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/26766/cmap_HighResolution_420508801_420768001_4FGL_J0909.1+0121_daily_bin699.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.41e-05', comment='SUCCESS', energy_flux2='1.00e-05', dlogl='3.65e-01', photon_flux2='6.23e-08', job_status='DONE', time_completed='2021-08-31 01:47:05.206486', photon_index_error2='1.89', photon_index2='3.87', ts='0.38', fit_tolerance='1e-08', GAL='1.19', photon_index_error='0.00', photon_flux_upper_limit='1.13e-07', energy_flux_error2='1.05e-05', EG='0.97', time_epoch_completed='1630399625.21', return_code='0', job_id='26766', GAL2='1.22', EG2='0.91', return_code2='0', photon_flux_error2='6.68e-08', ts2='1.20', photon_index='2.49' WHERE bin_id='699' AND source_name='4FGL J0909.1+0121' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:47:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 26766: <4FGL_J0909.1+0121_daily_bin699> in cluster <slac> Done

Job <4FGL_J0909.1+0121_daily_bin699> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 31 01:36:22 2021
Job was executed on host(s) <bullet0049>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 01:36:23 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:36:23 2021
Terminated at Tue Aug 31 01:47:05 2021
Results reported at Tue Aug 31 01:47:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0909.1+0121_daily_bin699 137.297 1.3557 420508801 420768001 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 :                                   438.32 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             278.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   642 sec.
    Turnaround time :                            643 sec.

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

