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


Performing analysis on: 4FGL_J0909.1+0121_daily_bin497
RA = 137.297, Dec = 1.3557
tmin = 368150401, tmax = 368409601
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='26470', job_status='RUN', time_executed='2021-08-31 01:42:22.967207', time_epoch_executed='1630399342.97' WHERE source_name='4FGL J0909.1+0121' and cadence='daily' and bin_id='497'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/26470

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/26470/ft1_4FGL_J0909.1+0121_daily_bin497.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/26470/ft2_4FGL_J0909.1+0121_daily_bin497.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/26470/ft1_4FGL_J0909.1+0121_daily_bin497.fits outfile=/scratch/kocevski/26470/ft1_filteredMKT_4FGL_J0909.1+0121_daily_bin497.fits ra=137.297 dec=1.3557 rad=12.0 tmin=368150401.0 tmax=368409601.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.35
user 3.10
sys 5.42

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/26470/ft1_filtered_4FGL_J0909.1+0121_daily_bin497.fits" evtable="EVENTS" scfile=/scratch/kocevski/26470/ft2_4FGL_J0909.1+0121_daily_bin497.fits sctable="SC_DATA" outfile=/scratch/kocevski/26470/ltcube_368150401_368409601_4FGL_J0909.1+0121_daily_bin497.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/26470/ft2_4FGL_J0909.1+0121_daily_bin497.fits
.....................!
real 21.32
user 11.80
sys 6.16

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/26470/ft1_filtered_4FGL_J0909.1+0121_daily_bin497.fits evtable="EVENTS" scfile=/scratch/kocevski/26470/ft2_4FGL_J0909.1+0121_daily_bin497.fits sctable="SC_DATA" expcube=/scratch/kocevski/26470/ltcube_368150401_368409601_4FGL_J0909.1+0121_daily_bin497.fits outfile=/scratch/kocevski/26470/expmap_368150401_368409601_4FGL_J0909.1+0121_daily_bin497.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/26470/ltcube_368150401_368409601_4FGL_J0909.1+0121_daily_bin497.fits
.....................!
real 217.18
user 191.74
sys 10.60

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/26470/ft1_filtered_4FGL_J0909.1+0121_daily_bin497.fits scfile=/scratch/kocevski/26470/ft2_4FGL_J0909.1+0121_daily_bin497.fits outfile=/scratch/kocevski/26470/cmap_368150401_368409601_4FGL_J0909.1+0121_daily_bin497.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 5.98
user 0.39
sys 5.25

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/26470/ft1_filtered_4FGL_J0909.1+0121_daily_bin497.fits scfile=/scratch/kocevski/26470/ft2_4FGL_J0909.1+0121_daily_bin497.fits outfile=/scratch/kocevski/26470/cmap_HighResolution_368150401_368409601_4FGL_J0909.1+0121_daily_bin497.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 5.88
user 0.39
sys 5.26

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .35982       1.0000         .10000E-03   10000.    
     2 'norm      '    5.3383       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    7.7682       1.0000         .10000E-03   10000.    
     5 'norm      '    .12226E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.958       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .83774       1.0000         .10000E-03   10000.    
     8 'Prefactor '    50.192       1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.9406       1.0000         .10000E-03   10000.    
    10 'norm      '    2.5223       1.0000         .10000E-03   10000.    
    11 'Normalizat'    .85830       1.0000         .10000E-01   10.000    
    12 'Prefactor '    1.2064       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=   6874.814     FROM MIGRAD    STATUS=CONVERGED    227 CALLS      999 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .36015        .69458        .19708E-01    .18047E-02
   2  norm          5.3320        6.1014        .43486E-02    .21775E-03
   3  Prefactor     .10000E-03    1.7280        .90712E-02** at limit **
   4  norm          7.7800        4.7520        .35968E-02    .26517E-03
   5  norm          .10000E-03    2.6618        .90712E-02** at limit **
   6  Prefactor     17.014        16.929        .24315E-02    .35095E-03
   7  Prefactor     .84356        2.5887        .12580E-01    .12551E-02
   8  Prefactor     50.341        43.835        .14151E-02    .43284E-04
   9  Prefactor     10.043        12.674        .31773E-02    .41427E-04
  10  norm          2.5212        .84890        .64306E-02    .20666E-03
  11  Normalizat    .85799        .19754        .69836E-01    .21643E-04
  12  Prefactor     1.2064        .15581        .34480E-01   -.46258E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.360152
  norm       = 5.33202
  Prefactor  = 0.0001
  norm       = 7.78
  norm       = 0.0001
  Prefactor  = 17.0138
  Prefactor  = 0.843564
  Prefactor  = 50.3412
  Prefactor  = 10.0433
  norm       = 2.52117
  Normalizat = 0.857995
  Prefactor  = 1.2064
 **********
 **   18 **HESSE 
 **********

 FCN=   6874.814     FROM HESSE     STATUS=OK           137 CALLS     1136 TOTAL
                     EDM=   .93E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .36015        .61390        .92013E-03   -1.5588    
   2  norm          5.3320        6.0923        .17394E-03   -1.5246    
   3  Prefactor     .10000E-03    1.7297        .10644E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.7800        4.7491        .13411E-03   -1.5150    
   5  norm          .10000E-03    2.6762        .13208E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     17.014        16.921        .48629E-03   -1.4883    
   7  Prefactor     .84356        2.5214        .22355E-03   -1.5524    
   8  Prefactor     50.341        43.816        .28303E-03   -1.4288    
   9  Prefactor     10.043        12.660        .12709E-03   -1.5074    
  10  norm          2.5212        .84759        .42264E-04   -1.5390    
  11  Normalizat    .85799        .22801        .30900E-03   -.97952    
  12  Prefactor     1.2064        .18105        .21333E-03   -.86135    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.27138e-12
Minuit parameter uncertainties:
  1  0.613915
  2  6.09301
  3  1.45948e-07
  4  4.74933
  5  9.40273e-08
  6  16.9258
  7  2.52171
  8  43.8441
  9  12.6636
  10  0.847589
  11  0.228265
  12  0.181143
Done.

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

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  7.780e+00  4.749e+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.206e+00  1.811e-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:  8.580e-01  2.283e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.95
Ra Dec: 137.297 1.356
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 7.42e-08 +/- 4.53e-08
Energy Flux (Fixed Index): 2.23e-05 +/- 1.36e-05

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

Saving results to:
/scratch/kocevski/26470/likelihoodResults_368150401_368409601_4FGL_J0909.1+0121_daily_bin497.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6874.79763392
delta logL = 0.0166061877444

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6874.78745071
delta logL = 0.0267894049539

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.6238       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3598       1.0000          .0000       5.0000    
     3 'Normalizat'    .86616       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2011       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=   6874.787     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      209 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.6274        115.13        .34125E-02    .32088E-03
   2  alpha         2.3595        3.5870        .33605        .57400E-04
   3  Normalizat    .86616        .91924E-01    .69541E-01    .32795E-04
   4  Prefactor     1.2012        .66951E-01    .34604E-01   -.23122E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.62735
  alpha      = 2.35946
  Normalizat = 0.866163
  Prefactor  = 1.20117
 **********
 **   18 **HESSE 
 **********

 FCN=   6874.787     FROM HESSE     STATUS=OK            33 CALLS      242 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.6274        6.3423        .13650E-03   -1.5120    
   2  alpha         2.3595        .56486        .12471E-01   -.56245E-01
   3  Normalizat    .86616        .22639        .30768E-03   -.97660    
   4  Prefactor     1.2012        .18153        .21370E-03   -.86295    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.39562e-11
Minuit parameter uncertainties:
  1  6.34279
  2  0.569797
  3  0.226636
  4  0.181629
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/26470': 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) = 6874.7874504
delta logL = 0.026789713128

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  8.627e+00  6.343e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  2.359e+00  5.698e-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.201e+00  1.816e-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:  8.662e-01  2.266e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.98
Ra Dec: 137.297 1.356
Photon Index (Free Index): 2.36 +/- 0.57
Photon Flux (Free Index): 6.93e-08 +/- 4.75e-08
Energy Flux (Free Index): 2.37e-05 +/- 1.61e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/26470/cmap_HighResolution_368150401_368409601_4FGL_J0909.1+0121_daily_bin497.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.93e-05', comment='SUCCESS', photon_flux='7.42e-08', energy_flux2='2.37e-05', photon_flux_error='4.53e-08', dlogl='2.68e-02', energy_flux='2.23e-05', photon_flux2='6.93e-08', job_status='DONE', time_completed='2021-08-31 01:52:35.136087', photon_index_error2='0.57', photon_index2='2.36', ts='3.95', fit_tolerance='1e-08', GAL='1.21', photon_index_error='0.00', photon_flux_upper_limit='1.64e-07', energy_flux_error2='1.61e-05', EG='0.86', time_epoch_completed='1630399955.14', return_code='0', job_id='26470', GAL2='1.20', EG2='0.87', return_code2='0', energy_flux_error='1.36e-05', photon_flux_error2='4.75e-08', ts2='3.98', photon_index='2.49' WHERE bin_id='497' AND source_name='4FGL J0909.1+0121' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:52:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 26470: <4FGL_J0909.1+0121_daily_bin497> in cluster <slac> Done

Job <4FGL_J0909.1+0121_daily_bin497> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 31 01:36:02 2021
Job was executed on host(s) <bullet0111>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 01:36:04 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 01:36:04 2021
Terminated at Tue Aug 31 01:52:36 2021
Results reported at Tue Aug 31 01:52:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0909.1+0121_daily_bin497 137.297 1.3557 368150401 368409601 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 :                                   645.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             249.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   992 sec.
    Turnaround time :                            994 sec.

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

