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


Performing analysis on: 4FGL_J0909.1+0121_daily_bin709
RA = 137.297, Dec = 1.3557
tmin = 423100801, tmax = 423360001
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='27901', job_status='RUN', time_executed='2021-08-31 01:41:41.960693', time_epoch_executed='1630399301.96' WHERE source_name='4FGL J0909.1+0121' and cadence='daily' and bin_id='709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/27901

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/27901/ft1_4FGL_J0909.1+0121_daily_bin709.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/27901/ft2_4FGL_J0909.1+0121_daily_bin709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/27901/ft1_4FGL_J0909.1+0121_daily_bin709.fits outfile=/scratch/kocevski/27901/ft1_filteredMKT_4FGL_J0909.1+0121_daily_bin709.fits ra=137.297 dec=1.3557 rad=12.0 tmin=423100801.0 tmax=423360001.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 5.13
user 4.76
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/27901/ft1_filtered_4FGL_J0909.1+0121_daily_bin709.fits evtable="EVENTS" scfile=/scratch/kocevski/27901/ft2_4FGL_J0909.1+0121_daily_bin709.fits sctable="SC_DATA" expcube=/scratch/kocevski/27901/ltcube_423100801_423360001_4FGL_J0909.1+0121_daily_bin709.fits outfile=/scratch/kocevski/27901/expmap_423100801_423360001_4FGL_J0909.1+0121_daily_bin709.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/27901/ltcube_423100801_423360001_4FGL_J0909.1+0121_daily_bin709.fits
.....................!
real 191.13
user 185.11
sys 4.16

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/27901/ft1_filtered_4FGL_J0909.1+0121_daily_bin709.fits scfile=/scratch/kocevski/27901/ft2_4FGL_J0909.1+0121_daily_bin709.fits outfile=/scratch/kocevski/27901/cmap_423100801_423360001_4FGL_J0909.1+0121_daily_bin709.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.61
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/27901/ft1_filtered_4FGL_J0909.1+0121_daily_bin709.fits scfile=/scratch/kocevski/27901/ft2_4FGL_J0909.1+0121_daily_bin709.fits outfile=/scratch/kocevski/27901/cmap_HighResolution_423100801_423360001_4FGL_J0909.1+0121_daily_bin709.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.63
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0452       1.0000         .10000E-03   10000.    
     2 'norm      '    11.592       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .14335E-02   1.0000         .10000E-03   10000.    
     4 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.4188       1.0000         .10000E-03   10000.    
     6 'Prefactor '    32.320       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.3548       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10163E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10337E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.6896       1.0000         .10000E-03   10000.    
    11 'Normalizat'    1.2590       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .66273       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=   5894.508     FROM MIGRAD    STATUS=CONVERGED    216 CALLS      874 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0447        1.2099        .72280E-02    .36766E-03
   2  norm          11.598        8.6327        .29415E-02    .13382E-03
   3  Prefactor     .10000E-03    5.6716        .58495E-01** at limit **
   4  norm          .10000E-03    2.3249        .90712E-02** at limit **
   5  norm          1.4148        5.0320        .90823E-02    .74803E-03
   6  Prefactor     32.325        20.302        .17621E-02    .22406E-02
   7  Prefactor     2.3543        3.4133        .66775E-02    .49243E-03
   8  Prefactor     .10000E-03    194.47        .90712E-02** at limit **
   9  Prefactor     .10000E-03    14.759        .90712E-02** at limit **
  10  norm          3.6893        .95268        .52565E-02    .57865E-03
  11  Normalizat    1.2591        .19703        .54598E-01    .37730E-03
  12  Prefactor     .66270        .14703        .41903E-01    .38336E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.04474
  norm       = 11.5979
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.41482
  Prefactor  = 32.3255
  Prefactor  = 2.35432
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 3.68929
  Normalizat = 1.2591
  Prefactor  = 0.662696
 **********
 **   18 **HESSE 
 **********

 FCN=   5894.508     FROM HESSE     STATUS=OK           129 CALLS     1003 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0447        1.2052        .62008E-04   -1.5422    
   2  norm          11.598        8.6254        .11766E-03   -1.5027    
   3  Prefactor     .10000E-03    22.482        .35181E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.3617        .11424E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.4148        4.9987        .30950E-03   -1.5470    
   6  Prefactor     32.325        20.318        .70483E-04   -1.4570    
   7  Prefactor     2.3543        3.3988        .16308E-03   -1.5401    
   8  Prefactor     .10000E-03    202.54        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    14.852        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.6893        .95313        .36151E-04   -1.5324    
  11  Normalizat    1.2591        .23464        .24142E-03   -.84796    
  12  Prefactor     .66270        .17444        .24598E-03   -1.0501    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.23475e-09
Minuit parameter uncertainties:
  1  1.20521
  2  8.62635
  3  5.51962e-06
  4  9.70976e-06
  5  5.00013
  6  20.3219
  7  3.39907
  8  0.000691316
  9  6.08787e-05
  10  0.953136
  11  0.23484
  12  0.17458
Done.

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

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  1.000e-04  9.710e-06  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:  6.627e-01  1.746e-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.259e+00  2.348e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 137.297 1.356
Photon Flux Upper Limit: 7.56e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.28e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/27901/likelihoodResults_423100801_423360001_4FGL_J0909.1+0121_daily_bin709.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): 102
logL (Free Index) = 5894.51002368
delta logL = -0.00201481100248

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5894.50800902
delta logL = -1.48491380969e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4803       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2592       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66264       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=   5894.508     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      236 TOTAL
                     EDM=   .53E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    88.576        .11472E-01** at limit **
   2  alpha         2.2486        3.8336        .16461       -.18509E-07
   3  Normalizat    1.2591        .29941E-01    .24142E-03    .66022E-04
   4  Prefactor     .66270        .22959E-01    .24598E-03    .74967E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.2486
  Normalizat = 1.2591
  Prefactor  = 0.662695
 **********
 **   18 **HESSE 
 **********

 FCN=   5894.508     FROM HESSE     STATUS=OK            23 CALLS      259 TOTAL
                     EDM=   .79E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.4879        .11691E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2486        2.8901        .65845E-02   -.10073    
   3  Normalizat    1.2591        .22688        .96567E-05   -.84796    
   4  Prefactor     .66270        .17401        .98390E-05   -1.0501    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.8678e-12
Minuit parameter uncertainties:
  1  2.17043e-07
  2  171.131
  3  0.227057
  4  0.174157
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/27901': 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) = 5894.50800783
delta logL = 1.0343555914e-06

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  1.000e-04  2.170e-07  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  2.249e+00  1.711e+02  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:  6.627e-01  1.742e-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.259e+00  2.271e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 137.297 1.356

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/27901/cmap_HighResolution_423100801_423360001_4FGL_J0909.1+0121_daily_bin709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.28e-05', job_status='DONE', photon_flux_upper_limit='7.56e-08', time_completed='2021-08-31 01:49:33.254523', job_id='27901', GAL2='0.66', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1630399773.25', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='1.03e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='709' AND source_name='4FGL J0909.1+0121' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:49:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 27901: <4FGL_J0909.1+0121_daily_bin709> in cluster <slac> Done

Job <4FGL_J0909.1+0121_daily_bin709> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Tue Aug 31 01:40:34 2021
Job was executed on host(s) <bullet0232>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 01:40:36 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:40:36 2021
Terminated at Tue Aug 31 01:49:34 2021
Results reported at Tue Aug 31 01:49:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0909.1+0121_daily_bin709 137.297 1.3557 423100801 423360001 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 :                                   457.04 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             303.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   537 sec.
    Turnaround time :                            540 sec.

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

