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


Performing analysis on: 4FGL_J0909.1+0121_daily_bin303
RA = 137.297, Dec = 1.3557
tmin = 317865601, tmax = 318124801
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='25077', job_status='RUN', time_executed='2021-08-31 01:35:42.674957', time_epoch_executed='1630398942.67' WHERE source_name='4FGL J0909.1+0121' and cadence='daily' and bin_id='303'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/25077

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/25077/ft1_4FGL_J0909.1+0121_daily_bin303.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/25077/ft2_4FGL_J0909.1+0121_daily_bin303.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/25077/ft1_4FGL_J0909.1+0121_daily_bin303.fits outfile=/scratch/kocevski/25077/ft1_filteredMKT_4FGL_J0909.1+0121_daily_bin303.fits ra=137.297 dec=1.3557 rad=12.0 tmin=317865601.0 tmax=318124801.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 3.59
user 3.11
sys 0.47

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/25077/ft2_4FGL_J0909.1+0121_daily_bin303.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/25077/ft1_filteredMKT_4FGL_J0909.1+0121_daily_bin303.fits evtable="EVENTS" outfile="/scratch/kocevski/25077/ft1_filtered_4FGL_J0909.1+0121_daily_bin303.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.89
user 0.33
sys 0.43

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/25077/ft1_filtered_4FGL_J0909.1+0121_daily_bin303.fits" evtable="EVENTS" scfile=/scratch/kocevski/25077/ft2_4FGL_J0909.1+0121_daily_bin303.fits sctable="SC_DATA" outfile=/scratch/kocevski/25077/ltcube_317865601_318124801_4FGL_J0909.1+0121_daily_bin303.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/25077/ft2_4FGL_J0909.1+0121_daily_bin303.fits
.....................!
real 12.18
user 11.49
sys 0.64

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/25077/ft1_filtered_4FGL_J0909.1+0121_daily_bin303.fits evtable="EVENTS" scfile=/scratch/kocevski/25077/ft2_4FGL_J0909.1+0121_daily_bin303.fits sctable="SC_DATA" expcube=/scratch/kocevski/25077/ltcube_317865601_318124801_4FGL_J0909.1+0121_daily_bin303.fits outfile=/scratch/kocevski/25077/expmap_317865601_318124801_4FGL_J0909.1+0121_daily_bin303.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/25077/ltcube_317865601_318124801_4FGL_J0909.1+0121_daily_bin303.fits
.....................!
real 190.58
user 185.49
sys 4.66

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/25077/ft1_filtered_4FGL_J0909.1+0121_daily_bin303.fits scfile=/scratch/kocevski/25077/ft2_4FGL_J0909.1+0121_daily_bin303.fits outfile=/scratch/kocevski/25077/cmap_317865601_318124801_4FGL_J0909.1+0121_daily_bin303.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.86
user 0.35
sys 0.44

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/25077/ft1_filtered_4FGL_J0909.1+0121_daily_bin303.fits scfile=/scratch/kocevski/25077/ft2_4FGL_J0909.1+0121_daily_bin303.fits outfile=/scratch/kocevski/25077/cmap_HighResolution_317865601_318124801_4FGL_J0909.1+0121_daily_bin303.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 1.02
user 0.38
sys 0.43

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .37131       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    22.897       1.0000         .10000E-03   10000.    
     5 'norm      '    .10391E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10211E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.0317       1.0000         .10000E-03   10000.    
    10 'norm      '    .61210       1.0000         .10000E-03   10000.    
    11 'Normalizat'    1.5082       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .85837       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=   6229.846     FROM MIGRAD    STATUS=CONVERGED    219 CALLS      875 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .37126        .70457        .18121E-01    .50950E-03
   2  norm          .10000E-03    2.5451        .90712E-02** at limit **
   3  Prefactor     .10000E-03    8.9969        .90712E-02** at limit **
   4  norm          22.898        7.2418        .20927E-02    .91364E-03
   5  norm          .10000E-03    4.8990        .61950E-01** at limit **
   6  Prefactor     .10000E-03    7.2996        .90712E-02** at limit **
   7  Prefactor     .10000E-03    2.4269        .90712E-02** at limit **
   8  Prefactor     .10000E-03    17.953        .90712E-02** at limit **
   9  Prefactor     4.9611        19.572        .44816E-02    .21222E-03
  10  norm          .61214        .72784        .11720E-01    .41028E-03
  11  Normalizat    1.5084        .21680        .59056E-01    .90132E-03
  12  Prefactor     .85829        .15871        .44472E-01    .77994E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.371265
  norm       = 0.000100001
  Prefactor  = 0.000100001
  norm       = 22.8982
  norm       = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100002
  Prefactor  = 4.96114
  norm       = 0.612143
  Normalizat = 1.50842
  Prefactor  = 0.858295
 **********
 **   18 **HESSE 
 **********

 FCN=   6229.846     FROM HESSE     STATUS=OK           127 CALLS     1002 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .37126        .58728        .88239E-03   -1.5586    
   2  norm          .10000E-03    2.5516        .12297E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.1391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          22.898        7.2505        .83709E-04   -1.4751    
   5  norm          .10000E-03    24.694        .33654E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.3080        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.4613        .11999E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    17.965        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.9611        19.600        .17926E-03   -1.5262    
  10  norm          .61214        .69940        .69163E-03   -1.5551    
  11  Normalizat    1.5084        .25703        .26116E-03   -.77542    
  12  Prefactor     .85829        .18782        .25312E-03   -.97614    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.68108e-09
Minuit parameter uncertainties:
  1  0.587293
  2  0.000119121
  3  0.000154642
  4  7.25077
  5  0.000468933
  6  0.000101343
  7  0.000121967
  8  0.000411702
  9  19.6249
  10  0.699406
  11  0.257248
  12  0.187959
Done.

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

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  2.290e+01  7.251e+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:  8.583e-01  1.880e-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.508e+00  2.572e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 20.53
Ra Dec: 137.297 1.356
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 2.18e-07 +/- 6.91e-08
Energy Flux (Fixed Index): 6.57e-05 +/- 2.08e-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) = 6229.34863541
delta logL = 0.497194994738

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6229.34838119
delta logL = 0.49744921308

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.635       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9952       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4194       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90830       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=   6229.348     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      268 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.637        53.781        .26175E-02    .14275E-03
   2  alpha         2.9952        3.7533        .15398        .80812E-04
   3  Normalizat    1.4197        .15248        .60442E-01    .16866E-04
   4  Prefactor     .90807        .90580E-01    .45111E-01    .15921E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 14.6374
  alpha      = 2.99522
  Normalizat = 1.41969
  Prefactor  = 0.908072
 **********
 **   18 **HESSE 
 **********

 FCN=   6229.348     FROM HESSE     STATUS=OK            33 CALLS      301 TOTAL
                     EDM=   .96E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.637        10.355        .82697E-04   -1.4943    
   2  alpha         2.9952        .56157        .65799E-02    .19941    
   3  Normalizat    1.4197        .26704        .26731E-03   -.80061    
   4  Prefactor     .90807        .19567        .24696E-03   -.95860    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.63125e-12
Minuit parameter uncertainties:
  1  10.3564
  2  0.566606
  3  0.267306
  4  0.195821
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/25077': 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) = 6229.34838008
delta logL = 0.497450325958

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  1.464e+01  1.036e+01  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  2.995e+00  5.666e-01  0.000e+00  5.000e+00 ( 1.000e+00)
271         beta:  9.911e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  8.036e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  9.081e-01  1.958e-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.420e+00  2.673e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 21.86
Ra Dec: 137.297 1.356
Photon Index (Free Index): 3.00 +/- 0.57
Photon Flux (Free Index): 2.89e-07 +/- 1.07e-07
Energy Flux (Free Index): 6.18e-05 +/- 1.86e-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/25077/cmap_HighResolution_317865601_318124801_4FGL_J0909.1+0121_daily_bin303.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.18e-07', energy_flux2='6.18e-05', photon_flux_error='6.91e-08', dlogl='4.97e-01', energy_flux='6.57e-05', photon_flux2='2.89e-07', job_status='DONE', time_completed='2021-08-31 01:43:30.169586', photon_index_error2='0.57', photon_index2='3.00', ts='20.53', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='1.86e-05', EG='1.51', time_epoch_completed='1630399410.17', return_code='0', job_id='25077', GAL2='0.91', EG2='1.42', return_code2='0', energy_flux_error='2.08e-05', photon_flux_error2='1.07e-07', ts2='21.86', photon_index='2.49' WHERE bin_id='303' AND source_name='4FGL J0909.1+0121' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:43:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 25077: <4FGL_J0909.1+0121_daily_bin303> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0909.1+0121_daily_bin303 137.297 1.3557 317865601 318124801 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 :                                   445.22 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             263.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   715 sec.
    Turnaround time :                            718 sec.

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

