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


Performing analysis on: 4FGL_J0909.1+0121_daily_bin444
RA = 137.297, Dec = 1.3557
tmin = 354412801, tmax = 354672001
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='25276', job_status='RUN', time_executed='2021-08-31 01:38:02.587861', time_epoch_executed='1630399082.59' WHERE source_name='4FGL J0909.1+0121' and cadence='daily' and bin_id='444'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/25276

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/25276/ft1_4FGL_J0909.1+0121_daily_bin444.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/25276/ft2_4FGL_J0909.1+0121_daily_bin444.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/25276/ft1_4FGL_J0909.1+0121_daily_bin444.fits outfile=/scratch/kocevski/25276/ft1_filteredMKT_4FGL_J0909.1+0121_daily_bin444.fits ra=137.297 dec=1.3557 rad=12.0 tmin=354412801.0 tmax=354672001.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 11.28
user 3.21
sys 7.92

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/25276/ft2_4FGL_J0909.1+0121_daily_bin444.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/25276/ft1_filteredMKT_4FGL_J0909.1+0121_daily_bin444.fits evtable="EVENTS" outfile="/scratch/kocevski/25276/ft1_filtered_4FGL_J0909.1+0121_daily_bin444.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 8.26
user 0.34
sys 7.86

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/25276/ft1_filtered_4FGL_J0909.1+0121_daily_bin444.fits" evtable="EVENTS" scfile=/scratch/kocevski/25276/ft2_4FGL_J0909.1+0121_daily_bin444.fits sctable="SC_DATA" outfile=/scratch/kocevski/25276/ltcube_354412801_354672001_4FGL_J0909.1+0121_daily_bin444.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/25276/ft2_4FGL_J0909.1+0121_daily_bin444.fits
.....................!
real 20.61
user 11.29
sys 8.98

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/25276/ft1_filtered_4FGL_J0909.1+0121_daily_bin444.fits evtable="EVENTS" scfile=/scratch/kocevski/25276/ft2_4FGL_J0909.1+0121_daily_bin444.fits sctable="SC_DATA" expcube=/scratch/kocevski/25276/ltcube_354412801_354672001_4FGL_J0909.1+0121_daily_bin444.fits outfile=/scratch/kocevski/25276/expmap_354412801_354672001_4FGL_J0909.1+0121_daily_bin444.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/25276/ltcube_354412801_354672001_4FGL_J0909.1+0121_daily_bin444.fits
.....................!
real 202.00
user 185.06
sys 14.56

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/25276/ft1_filtered_4FGL_J0909.1+0121_daily_bin444.fits scfile=/scratch/kocevski/25276/ft2_4FGL_J0909.1+0121_daily_bin444.fits outfile=/scratch/kocevski/25276/cmap_354412801_354672001_4FGL_J0909.1+0121_daily_bin444.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 8.92
user 0.38
sys 7.80

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/25276/ft1_filtered_4FGL_J0909.1+0121_daily_bin444.fits scfile=/scratch/kocevski/25276/ft2_4FGL_J0909.1+0121_daily_bin444.fits outfile=/scratch/kocevski/25276/cmap_HighResolution_354412801_354672001_4FGL_J0909.1+0121_daily_bin444.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 9.95
user 0.37
sys 7.80

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.2071       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .19910E-02   1.0000         .10000E-03   10000.    
     4 'norm      '    25.959       1.0000         .10000E-03   10000.    
     5 'norm      '    1.9301       1.0000         .10000E-03   10000.    
     6 'Prefactor '    46.325       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .44624E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.8882       1.0000         .10000E-03   10000.    
    10 'norm      '    .52410       1.0000         .10000E-03   10000.    
    11 'Normalizat'    .67711       1.0000         .10000E-01   10.000    
    12 'Prefactor '    1.3153       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=   6402.500     FROM MIGRAD    STATUS=CONVERGED    218 CALLS     1121 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .27222        .70127E-08** at limit **
   2  norm          3.2077        6.6862       -.47320E-05   -.32814E-03
   3  Prefactor     .10006E-03    6.8176       -.66269E-06** at limit **
   4  norm          25.959        6.5081       -.94736E-06   -.34125E-03
   5  norm          1.9298        3.6643       -.36492E-06   -.57475E-03
   6  Prefactor     46.325        21.310        .17623E-06    .25222E-04
   7  Prefactor     .10078E-03    1.9033        .14710E-05** at limit **
   8  Prefactor     .10000E-03    15.886       -.23433E-05** at limit **
   9  Prefactor     3.8888        11.753       -.30604E-05   -.19889E-03
  10  norm          .52437        .48791       -.45239E-07   -.89208E-03
  11  Normalizat    .67714        .20608        .13538E-05   -.17267E-03
  12  Prefactor     1.3152        .16373        .31541E-06   -.20999E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 3.20769
  Prefactor  = 0.000100065
  norm       = 25.959
  norm       = 1.92977
  Prefactor  = 46.3251
  Prefactor  = 0.000100779
  Prefactor  = 0.0001
  Prefactor  = 3.88883
  norm       = 0.524374
  Normalizat = 0.677135
  Prefactor  = 1.31522
 **********
 **   18 **HESSE 
 **********

 FCN=   6402.500     FROM HESSE     STATUS=OK           143 CALLS     1264 TOTAL
                     EDM=   .34E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .27721        .40744E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.2077        6.9047        .22624E-03   -1.5350    
   3  Prefactor     .10006E-03    8.8590        .60976E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          25.959        6.4437        .78626E-04   -1.4689    
   5  norm          1.9298        3.6785        .20715E-03   -1.5430    
   6  Prefactor     46.325        21.310        .58910E-04   -1.4346    
   7  Prefactor     .10078E-03    22.292        .19984E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    15.870        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.8888        11.845        .20462E-03   -1.5314    
  10  norm          .52437        .46211        .52094E-03   -1.5563    
  11  Normalizat    .67714        .23193        .33918E-03   -1.0480    
  12  Prefactor     1.3152        .18649        .20418E-03   -.82856    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.39706e-08
Minuit parameter uncertainties:
  1  4.79187e-07
  2  6.90639
  3  0.00151615
  4  6.44383
  5  3.67892
  6  21.3135
  7  0.00833494
  8  2.98306e-06
  9  11.8521
  10  0.462116
  11  0.232264
  12  0.18658
Done.

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

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  2.596e+01  6.444e+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.315e+00  1.866e-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:  6.771e-01  2.323e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 41.52
Ra Dec: 137.297 1.356
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 2.48e-07 +/- 6.14e-08
Energy Flux (Fixed Index): 7.45e-05 +/- 1.85e-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) = 6402.42447522
delta logL = 0.0758611417295

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6402.36821288
delta logL = 0.132123484856

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    28.572       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3548       1.0000          .0000       5.0000    
     3 'Normalizat'    .69890       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3036       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=   6402.368     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      269 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          28.572        8.6583        .74951E-04   -.20961E-02
   2  alpha         2.3548        .26423        .63832E-02   -.36125E-03
   3  Normalizat    .69891        .23221        .33441E-03   -.51709E-04
   4  Prefactor     1.3036        .18665        .20498E-03   -.46700E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 28.5725
  alpha      = 2.35477
  Normalizat = 0.698906
  Prefactor  = 1.30356
 **********
 **   18 **HESSE 
 **********

 FCN=   6402.368     FROM HESSE     STATUS=OK            23 CALLS      292 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          28.572        8.5436        .14990E-04   -1.4638    
   2  alpha         2.3548        .26060        .25533E-03   -.58126E-01
   3  Normalizat    .69891        .23230        .13376E-04   -1.0394    
   4  Prefactor     1.3036        .18674        .40995E-04   -.83201    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16499e-09
Minuit parameter uncertainties:
  1  8.54396
  2  0.261075
  3  0.232625
  4  0.186839
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/25276': 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) = 6402.36821288
delta logL = 0.132123490544

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  2.857e+01  8.544e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  2.355e+00  2.611e-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.304e+00  1.868e-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:  6.989e-01  2.326e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 41.67
Ra Dec: 137.297 1.356
Photon Index (Free Index): 2.35 +/- 0.26
Photon Flux (Free Index): 2.28e-07 +/- 6.92e-08
Energy Flux (Free Index): 7.85e-05 +/- 2.16e-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/25276/cmap_HighResolution_354412801_354672001_4FGL_J0909.1+0121_daily_bin444.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.48e-07', energy_flux2='7.85e-05', photon_flux_error='6.14e-08', dlogl='1.32e-01', energy_flux='7.45e-05', photon_flux2='2.28e-07', job_status='DONE', time_completed='2021-08-31 01:48:11.185967', photon_index_error2='0.26', photon_index2='2.35', ts='41.52', fit_tolerance='1e-08', GAL='1.32', photon_index_error='0.00', energy_flux_error2='2.16e-05', EG='0.68', time_epoch_completed='1630399691.19', return_code='0', job_id='25276', GAL2='1.30', EG2='0.70', return_code2='0', energy_flux_error='1.85e-05', photon_flux_error2='6.92e-08', ts2='41.67', photon_index='2.49' WHERE bin_id='444' AND source_name='4FGL J0909.1+0121' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:48:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0186>
Subject: Job 25276: <4FGL_J0909.1+0121_daily_bin444> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0909.1+0121_daily_bin444 137.297 1.3557 354412801 354672001 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 :                                   691.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             190.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   984 sec.
    Turnaround time :                            987 sec.

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

