/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 23 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 = 7416
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0909.1+0121_daily_bin229
RA = 137.297, Dec = 1.3557
tmin = 298684801, tmax = 298944001
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='24970', job_status='RUN', time_executed='2021-08-31 01:34:36.102633', time_epoch_executed='1630398876.1' WHERE source_name='4FGL J0909.1+0121' and cadence='daily' and bin_id='229'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/24970

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/24970/ft1_4FGL_J0909.1+0121_daily_bin229.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/24970/ft2_4FGL_J0909.1+0121_daily_bin229.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/24970/ft1_4FGL_J0909.1+0121_daily_bin229.fits outfile=/scratch/kocevski/24970/ft1_filteredMKT_4FGL_J0909.1+0121_daily_bin229.fits ra=137.297 dec=1.3557 rad=12.0 tmin=298684801.0 tmax=298944001.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 9.56
user 3.21
sys 6.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/24970/ft1_filtered_4FGL_J0909.1+0121_daily_bin229.fits" evtable="EVENTS" scfile=/scratch/kocevski/24970/ft2_4FGL_J0909.1+0121_daily_bin229.fits sctable="SC_DATA" outfile=/scratch/kocevski/24970/ltcube_298684801_298944001_4FGL_J0909.1+0121_daily_bin229.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/24970/ft2_4FGL_J0909.1+0121_daily_bin229.fits
.....................!
real 18.84
user 11.75
sys 7.02

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/24970/ft1_filtered_4FGL_J0909.1+0121_daily_bin229.fits evtable="EVENTS" scfile=/scratch/kocevski/24970/ft2_4FGL_J0909.1+0121_daily_bin229.fits sctable="SC_DATA" expcube=/scratch/kocevski/24970/ltcube_298684801_298944001_4FGL_J0909.1+0121_daily_bin229.fits outfile=/scratch/kocevski/24970/expmap_298684801_298944001_4FGL_J0909.1+0121_daily_bin229.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/24970/ltcube_298684801_298944001_4FGL_J0909.1+0121_daily_bin229.fits
.....................!
real 200.63
user 187.54
sys 12.49

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/24970/ft1_filtered_4FGL_J0909.1+0121_daily_bin229.fits scfile=/scratch/kocevski/24970/ft2_4FGL_J0909.1+0121_daily_bin229.fits outfile=/scratch/kocevski/24970/cmap_298684801_298944001_4FGL_J0909.1+0121_daily_bin229.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 6.46
user 0.37
sys 5.96

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/24970/ft1_filtered_4FGL_J0909.1+0121_daily_bin229.fits scfile=/scratch/kocevski/24970/ft2_4FGL_J0909.1+0121_daily_bin229.fits outfile=/scratch/kocevski/24970/cmap_HighResolution_298684801_298944001_4FGL_J0909.1+0121_daily_bin229.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 6.56
user 0.37
sys 6.00

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4385       1.0000         .10000E-03   10000.    
     2 'norm      '    1.0873       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .40932E-02   1.0000         .10000E-03   10000.    
     4 'norm      '    55.072       1.0000         .10000E-03   10000.    
     5 'norm      '    9.1997       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.6408       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.8211       1.0000         .10000E-03   10000.    
    10 'norm      '    1.4013       1.0000         .10000E-03   10000.    
    11 'Normalizat'    .92027       1.0000         .10000E-01   10.000    
    12 'Prefactor '    1.0856       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=   7812.368     FROM MIGRAD    STATUS=CONVERGED    219 CALLS      853 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4385        1.0111         .0000        .30095E-04
   2  norm          1.0869        4.7625         .0000        .14190E-02
   3  Prefactor     .10001E-03    5.0087         .0000    ** at limit **
   4  norm          55.071        7.9531         .0000        .36160E-03
   5  norm          9.1991        6.3426         .0000        .25041E-02
   6  Prefactor     .10000E-03    16.566         .0000    ** at limit **
   7  Prefactor     2.6407        2.6210         .0000        .33414E-02
   8  Prefactor     .10000E-03    20.159         .0000    ** at limit **
   9  Prefactor     5.8168        10.391         .0000        .23895E-02
  10  norm          1.4013        .66415         .0000        .98278E-03
  11  Normalizat    .92023        .19012         .0000        .54373E-04
  12  Prefactor     1.0857        .14827         .0000        .11111E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.43846
  norm       = 1.08693
  Prefactor  = 0.00010001
  norm       = 55.0715
  norm       = 9.19914
  Prefactor  = 0.000100002
  Prefactor  = 2.64073
  Prefactor  = 0.000100001
  Prefactor  = 5.81677
  norm       = 1.40134
  Normalizat = 0.920233
  Prefactor  = 1.08572
 **********
 **   18 **HESSE 
 **********

 FCN=   7812.368     FROM HESSE     STATUS=OK           133 CALLS      986 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4385        1.0109        .26201E-04   -1.5396    
   2  norm          1.0869        4.7310        .37230E-03   -1.5499    
   3  Prefactor     .10001E-03    38.797        .37992E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          55.071        7.9589        .54052E-04   -1.4222    
   5  norm          9.1991        6.3408        .66068E-03   -1.5101    
   6  Prefactor     .10000E-03    16.713        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.6407        2.6183        .68771E-03   -1.5383    
   8  Prefactor     .10000E-03    20.200        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.8168        10.385        .83230E-03   -1.5226    
  10  norm          1.4013        .65511        .47122E-04   -1.5471    
  11  Normalizat    .92023        .22305        .30699E-03   -.95753    
  12  Prefactor     1.0857        .17425        .22738E-03   -.89924    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.68682e-10
Minuit parameter uncertainties:
  1  1.01094
  2  4.5357
  3  0.00123012
  4  7.95906
  5  6.34131
  6  0.000374784
  7  2.61845
  8  0.000290967
  9  10.3882
  10  0.655114
  11  0.223277
  12  0.17434
Done.

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

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  5.507e+01  7.959e+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.086e+00  1.743e-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.202e-01  2.233e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 127.97
Ra Dec: 137.297 1.356
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 5.25e-07 +/- 7.59e-08
Energy Flux (Fixed Index): 1.58e-04 +/- 2.28e-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) = 7811.97183099
delta logL = 0.39607026522

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7811.9357939
delta logL = 0.43210735941

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    62.586       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3370       1.0000          .0000       5.0000    
     3 'Normalizat'    .96715       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0569       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=   7811.936     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      219 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 37.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          62.588        11.626        .22880E-05   -.43245E-02
   2  alpha         2.3370        .15607       -.91301E-05   -.11354E-02
   3  Normalizat    .96709        .18938        .12263E-05    .47370E-04
   4  Prefactor     1.0570        .14856       -.88726E-06    .16384E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 62.5881
  alpha      = 2.33701
  Normalizat = 0.967091
  Prefactor  = 1.05698
 **********
 **   18 **HESSE 
 **********

 FCN=   7811.936     FROM HESSE     STATUS=OK            27 CALLS      246 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          62.588        11.837        .50722E-04   -1.4124    
   2  alpha         2.3370        .16202        .40482E-03   -.65243E-01
   3  Normalizat    .96709        .22449        .30072E-03   -.94141    
   4  Prefactor     1.0570        .17596        .22999E-03   -.90854    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.55575e-09
Minuit parameter uncertainties:
  1  11.8375
  2  0.162139
  3  0.22471
  4  0.176059
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/24970': 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) = 7811.93579382
delta logL = 0.43210743311

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  6.259e+01  1.184e+01  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  2.337e+00  1.621e-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.057e+00  1.761e-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.671e-01  2.247e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 128.25
Ra Dec: 137.297 1.356
Photon Index (Free Index): 2.34 +/- 0.16
Photon Flux (Free Index): 4.88e-07 +/- 8.21e-08
Energy Flux (Free Index): 1.72e-04 +/- 2.97e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/24970/cmap_HighResolution_298684801_298944001_4FGL_J0909.1+0121_daily_bin229.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.25e-07', energy_flux2='1.72e-04', photon_flux_error='7.59e-08', dlogl='4.32e-01', energy_flux='1.58e-04', photon_flux2='4.88e-07', job_status='DONE', time_completed='2021-08-31 01:44:08.228439', photon_index_error2='0.16', photon_index2='2.34', ts='127.97', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', energy_flux_error2='2.97e-05', EG='0.92', time_epoch_completed='1630399448.23', return_code='0', job_id='24970', GAL2='1.06', EG2='0.97', return_code2='0', energy_flux_error='2.28e-05', photon_flux_error2='8.21e-08', ts2='128.25', photon_index='2.49' WHERE bin_id='229' AND source_name='4FGL J0909.1+0121' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:44:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0005>
Subject: Job 24970: <4FGL_J0909.1+0121_daily_bin229> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0909.1+0121_daily_bin229 137.297 1.3557 298684801 298944001 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 :                                   651.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             240.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   761 sec.
    Turnaround time :                            763 sec.

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

