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


Performing analysis on: 4FGL_J0909.1+0121_daily_bin129
RA = 137.297, Dec = 1.3557
tmin = 272764801, tmax = 273024001
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='24827', job_status='RUN', time_executed='2021-08-31 01:35:30.177091', time_epoch_executed='1630398930.18' WHERE source_name='4FGL J0909.1+0121' and cadence='daily' and bin_id='129'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/24827

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/24827/ft1_4FGL_J0909.1+0121_daily_bin129.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/24827/ft2_4FGL_J0909.1+0121_daily_bin129.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/24827/ft1_4FGL_J0909.1+0121_daily_bin129.fits outfile=/scratch/kocevski/24827/ft1_filteredMKT_4FGL_J0909.1+0121_daily_bin129.fits ra=137.297 dec=1.3557 rad=12.0 tmin=272764801.0 tmax=273024001.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 2.11
user 1.55
sys 0.53

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/24827/ft2_4FGL_J0909.1+0121_daily_bin129.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/24827/ft1_filteredMKT_4FGL_J0909.1+0121_daily_bin129.fits evtable="EVENTS" outfile="/scratch/kocevski/24827/ft1_filtered_4FGL_J0909.1+0121_daily_bin129.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.87
user 0.33
sys 0.50

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/24827/ft1_filtered_4FGL_J0909.1+0121_daily_bin129.fits" evtable="EVENTS" scfile=/scratch/kocevski/24827/ft2_4FGL_J0909.1+0121_daily_bin129.fits sctable="SC_DATA" outfile=/scratch/kocevski/24827/ltcube_272764801_273024001_4FGL_J0909.1+0121_daily_bin129.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/24827/ft2_4FGL_J0909.1+0121_daily_bin129.fits
.....................!
real 12.70
user 11.93
sys 0.71

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/24827/ft1_filtered_4FGL_J0909.1+0121_daily_bin129.fits evtable="EVENTS" scfile=/scratch/kocevski/24827/ft2_4FGL_J0909.1+0121_daily_bin129.fits sctable="SC_DATA" expcube=/scratch/kocevski/24827/ltcube_272764801_273024001_4FGL_J0909.1+0121_daily_bin129.fits outfile=/scratch/kocevski/24827/expmap_272764801_273024001_4FGL_J0909.1+0121_daily_bin129.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/24827/ltcube_272764801_273024001_4FGL_J0909.1+0121_daily_bin129.fits
.....................!
real 193.38
user 188.10
sys 4.89

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/24827/ft1_filtered_4FGL_J0909.1+0121_daily_bin129.fits scfile=/scratch/kocevski/24827/ft2_4FGL_J0909.1+0121_daily_bin129.fits outfile=/scratch/kocevski/24827/cmap_272764801_273024001_4FGL_J0909.1+0121_daily_bin129.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.89
user 0.37
sys 0.48

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/24827/ft1_filtered_4FGL_J0909.1+0121_daily_bin129.fits scfile=/scratch/kocevski/24827/ft2_4FGL_J0909.1+0121_daily_bin129.fits outfile=/scratch/kocevski/24827/cmap_HighResolution_272764801_273024001_4FGL_J0909.1+0121_daily_bin129.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.90
user 0.38
sys 0.49

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5856       1.0000         .10000E-03   10000.    
     2 'norm      '    4.0309       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    12.683       1.0000         .10000E-03   10000.    
     5 'norm      '    8.0407       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10197E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .16277E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.5564       1.0000         .10000E-03   10000.    
    10 'norm      '    .74141       1.0000         .10000E-03   10000.    
    11 'Normalizat'    1.1681       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .94865       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=   5662.021     FROM MIGRAD    STATUS=CONVERGED    201 CALLS      824 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5853        1.0971       -.73036E-07    .12657E-04
   2  norm          4.0345        8.6676       -.25420E-05   -.12605E-03
   3  Prefactor     .10000E-03    4.1314       -.13004E-06** at limit **
   4  norm          12.683        5.5478       -.17486E-07    .11427E-03
   5  norm          8.0299        7.0313       -.55973E-05    .66777E-03
   6  Prefactor     .10000E-03    5.2294        .61949E-07** at limit **
   7  Prefactor     .10000E-03    1.9255        .29742E-06** at limit **
   8  Prefactor     .10000E-03    12.422        .96310E-06** at limit **
   9  Prefactor     1.5164        36.265       -.10312E-04   -.10694E-03
  10  norm          .73960        .74482       -.73252E-07   -.58531E-03
  11  Normalizat    1.1684        .20429        .34290E-05   -.42410E-05
  12  Prefactor     .94844        .15768        .25239E-06    .19514E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.58535
  norm       = 4.03452
  Prefactor  = 0.0001
  norm       = 12.683
  norm       = 8.02995
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.51639
  norm       = 0.739601
  Normalizat = 1.16841
  Prefactor  = 0.948437
 **********
 **   18 **HESSE 
 **********

 FCN=   5662.021     FROM HESSE     STATUS=OK           129 CALLS      953 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5853        1.0975        .33713E-04   -1.5456    
   2  norm          4.0345        8.7320        .20085E-03   -1.5306    
   3  Prefactor     .10000E-03    4.1673        .14936E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          12.683        5.5559        .11127E-03   -1.4996    
   5  norm          8.0299        6.9521        .14140E-03   -1.5141    
   6  Prefactor     .10000E-03    5.2354        .16806E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.9564        .10188E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    12.433        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.5164        37.896        .34123E-03   -1.5462    
  10  norm          .73960        .71999        .60781E-04   -1.5536    
  11  Normalizat    1.1684        .24242        .25948E-03   -.87585    
  12  Prefactor     .94844        .18793        .22643E-03   -.94469    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.32296e-10
Minuit parameter uncertainties:
  1  1.09747
  2  8.73476
  3  6.31153e-06
  4  5.55614
  5  6.95283
  6  5.39307e-06
  7  7.75503e-06
  8  2.41199e-05
  9  15.1714
  10  0.719994
  11  0.242656
  12  0.188056
Done.

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

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  1.268e+01  5.556e+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.484e-01  1.881e-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.168e+00  2.427e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.82
Ra Dec: 137.297 1.356
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 1.21e-07 +/- 5.30e-08
Energy Flux (Fixed Index): 3.64e-05 +/- 1.60e-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) = 5661.83477422
delta logL = 0.186520112199

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5661.82468717
delta logL = 0.196607167707

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.077       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7686       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1423       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96268       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=   5661.825     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      263 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.082        71.994        .31557E-02    .12404E-03
   2  alpha         2.7690        3.8629        .19768        .54623E-04
   3  Normalizat    1.1423        .12132        .59216E-01    .10400E-04
   4  Prefactor     .96256        .83457E-01    .45799E-01    .93972E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 10.0815
  alpha      = 2.76895
  Normalizat = 1.1423
  Prefactor  = 0.962561
 **********
 **   18 **HESSE 
 **********

 FCN=   5661.825     FROM HESSE     STATUS=OK            33 CALLS      296 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.082        6.5702        .94616E-04   -1.5073    
   2  alpha         2.7690        .47863        .82596E-02    .10779    
   3  Normalizat    1.1423        .24134        .26188E-03   -.88405    
   4  Prefactor     .96256        .18963        .22492E-03   -.93988    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.82017e-09
Minuit parameter uncertainties:
  1  6.57071
  2  0.481639
  3  0.241576
  4  0.189763
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/24827': 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) = 5661.82468443
delta logL = 0.196609908854

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  1.008e+01  6.571e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  2.769e+00  4.816e-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.626e-01  1.898e-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.142e+00  2.416e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.25
Ra Dec: 137.297 1.356
Photon Index (Free Index): 2.77 +/- 0.48
Photon Flux (Free Index): 1.42e-07 +/- 6.59e-08
Energy Flux (Free Index): 3.45e-05 +/- 1.49e-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/24827/cmap_HighResolution_272764801_273024001_4FGL_J0909.1+0121_daily_bin129.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.21e-07', energy_flux2='3.45e-05', photon_flux_error='5.30e-08', dlogl='1.97e-01', energy_flux='3.64e-05', photon_flux2='1.42e-07', job_status='DONE', time_completed='2021-08-31 01:42:51.809179', photon_index_error2='0.48', photon_index2='2.77', ts='9.82', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='1.49e-05', EG='1.17', time_epoch_completed='1630399371.81', return_code='0', job_id='24827', GAL2='0.96', EG2='1.14', return_code2='0', energy_flux_error='1.60e-05', photon_flux_error2='6.59e-08', ts2='10.25', photon_index='2.49' WHERE bin_id='129' AND source_name='4FGL J0909.1+0121' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:42:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 24827: <4FGL_J0909.1+0121_daily_bin129> in cluster <slac> Done

Job <4FGL_J0909.1+0121_daily_bin129> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Aug 31 01:31:16 2021
Job was executed on host(s) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 01:31:18 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:18 2021
Terminated at Tue Aug 31 01:42:52 2021
Results reported at Tue Aug 31 01:42:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0909.1+0121_daily_bin129 137.297 1.3557 272764801 273024001 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 :                                   431.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             263.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   694 sec.
    Turnaround time :                            696 sec.

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

