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


Performing analysis on: 4FGL_J0909.1+0121_daily_bin249
RA = 137.297, Dec = 1.3557
tmin = 303868801, tmax = 304128001
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='24999', job_status='RUN', time_executed='2021-08-31 01:37:05.530411', time_epoch_executed='1630399025.53' WHERE source_name='4FGL J0909.1+0121' and cadence='daily' and bin_id='249'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/24999

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/24999/ft1_4FGL_J0909.1+0121_daily_bin249.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/24999/ft2_4FGL_J0909.1+0121_daily_bin249.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/24999/ft1_4FGL_J0909.1+0121_daily_bin249.fits outfile=/scratch/kocevski/24999/ft1_filteredMKT_4FGL_J0909.1+0121_daily_bin249.fits ra=137.297 dec=1.3557 rad=12.0 tmin=303868801.0 tmax=304128001.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 12.68
user 3.13
sys 9.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/24999/ft2_4FGL_J0909.1+0121_daily_bin249.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/24999/ft1_filteredMKT_4FGL_J0909.1+0121_daily_bin249.fits evtable="EVENTS" outfile="/scratch/kocevski/24999/ft1_filtered_4FGL_J0909.1+0121_daily_bin249.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 9.83
user 0.33
sys 9.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/24999/ft1_filtered_4FGL_J0909.1+0121_daily_bin249.fits" evtable="EVENTS" scfile=/scratch/kocevski/24999/ft2_4FGL_J0909.1+0121_daily_bin249.fits sctable="SC_DATA" outfile=/scratch/kocevski/24999/ltcube_303868801_304128001_4FGL_J0909.1+0121_daily_bin249.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/24999/ft2_4FGL_J0909.1+0121_daily_bin249.fits
.....................!
real 25.09
user 14.50
sys 10.44

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/24999/ft1_filtered_4FGL_J0909.1+0121_daily_bin249.fits evtable="EVENTS" scfile=/scratch/kocevski/24999/ft2_4FGL_J0909.1+0121_daily_bin249.fits sctable="SC_DATA" expcube=/scratch/kocevski/24999/ltcube_303868801_304128001_4FGL_J0909.1+0121_daily_bin249.fits outfile=/scratch/kocevski/24999/expmap_303868801_304128001_4FGL_J0909.1+0121_daily_bin249.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/24999/ltcube_303868801_304128001_4FGL_J0909.1+0121_daily_bin249.fits
.....................!
real 205.28
user 185.87
sys 16.42

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/24999/ft1_filtered_4FGL_J0909.1+0121_daily_bin249.fits scfile=/scratch/kocevski/24999/ft2_4FGL_J0909.1+0121_daily_bin249.fits outfile=/scratch/kocevski/24999/cmap_303868801_304128001_4FGL_J0909.1+0121_daily_bin249.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 10.17
user 0.36
sys 8.74

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/24999/ft1_filtered_4FGL_J0909.1+0121_daily_bin249.fits scfile=/scratch/kocevski/24999/ft2_4FGL_J0909.1+0121_daily_bin249.fits outfile=/scratch/kocevski/24999/cmap_HighResolution_303868801_304128001_4FGL_J0909.1+0121_daily_bin249.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 13.50
user 0.36
sys 8.64

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6478       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.2837       1.0000         .10000E-03   10000.    
     4 'norm      '    17.877       1.0000         .10000E-03   10000.    
     5 'norm      '    15.374       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10189E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.9575       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    34.998       1.0000         .10000E-03   10000.    
    10 'norm      '    1.5263       1.0000         .10000E-03   10000.    
    11 'Normalizat'    1.4824       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .73562       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=   6630.102     FROM MIGRAD    STATUS=CONVERGED    209 CALLS      839 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6475        1.4605        .10821E-06   -.12208E-03
   2  norm          .10000E-03    3.0774        .86884E-08** at limit **
   3  Prefactor     4.2837        5.4122        .19845E-05    .20936E-03
   4  norm          17.877        6.2840       -.35581E-06   -.10230E-03
   5  norm          15.376        9.2897        .38593E-05    .56752E-03
   6  Prefactor     .10000E-03    39.742        .41888E-06** at limit **
   7  Prefactor     3.9560        2.5727        .74468E-06   -.36038E-02
   8  Prefactor     .10000E-03    115.27       -.12749E-05** at limit **
   9  Prefactor     34.998        19.832       -.61799E-07   -.14697E-04
  10  norm          1.5262        .80686        .47691E-07   -.17136E-03
  11  Normalizat    1.4825        .21534       -.12386E-05    .14213E-04
  12  Prefactor     .73554        .15616       -.50993E-06   -.53834E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.64755
  norm       = 0.0001
  Prefactor  = 4.28374
  norm       = 17.8769
  norm       = 15.376
  Prefactor  = 0.000100001
  Prefactor  = 3.95596
  Prefactor  = 0.0001
  Prefactor  = 34.998
  norm       = 1.52617
  Normalizat = 1.48254
  Prefactor  = 0.735541
 **********
 **   18 **HESSE 
 **********

 FCN=   6630.102     FROM HESSE     STATUS=OK           133 CALLS      972 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6475        1.4628        .69076E-04   -1.5383    
   2  norm          .10000E-03    3.0874        .13948E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.2837        5.4098        .19466E-03   -1.5294    
   4  norm          17.877        6.3002        .94725E-04   -1.4862    
   5  norm          15.376        9.3272        .10215E-03   -1.4924    
   6  Prefactor     .10000E-03    40.281        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.9560        5.1096        .97322E-03   -1.5310    
   8  Prefactor     .10000E-03    117.08        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     34.998        19.931        .67740E-04   -1.4524    
  10  norm          1.5262        .79810        .50569E-04   -1.5461    
  11  Normalizat    1.4825        .25568        .26439E-03   -.78270    
  12  Prefactor     .73554        .18328        .27036E-03   -1.0215    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.63173e-09
Minuit parameter uncertainties:
  1  1.46282
  2  2.25608e-06
  3  5.41045
  4  6.30047
  5  9.32809
  6  0.000291998
  7  5.11019
  8  0.000326732
  9  19.935
  10  0.798101
  11  0.255902
  12  0.183427
Done.

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

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  1.788e+01  6.300e+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:  7.355e-01  1.834e-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.483e+00  2.559e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 18.01
Ra Dec: 137.297 1.356
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 1.70e-07 +/- 6.01e-08
Energy Flux (Fixed Index): 5.13e-05 +/- 1.81e-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) = 6629.9974609
delta logL = 0.104310656076

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6629.96897705
delta logL = 0.132794511122

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    19.536       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2979       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5102       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72256       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=   6629.969     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      268 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          19.536        7.4934        .90617E-04   -.72091E-03
   2  alpha         2.2980        .37694        .97273E-02   -.11529E-03
   3  Normalizat    1.5101        .24995        .26258E-03    .49617E-04
   4  Prefactor     .72261        .18391        .27283E-03    .70298E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 19.5363
  alpha      = 2.298
  Normalizat = 1.51015
  Prefactor  = 0.722614
 **********
 **   18 **HESSE 
 **********

 FCN=   6629.969     FROM HESSE     STATUS=OK            25 CALLS      293 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          19.536        7.4224        .18123E-04   -1.4824    
   2  alpha         2.2980        .37299        .38909E-03   -.80888E-01
   3  Normalizat    1.5101        .25003        .52516E-04   -.77494    
   4  Prefactor     .72261        .18400        .10913E-04   -1.0265    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.62593e-10
Minuit parameter uncertainties:
  1  7.42271
  2  0.374401
  3  0.250239
  4  0.184159
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/24999': 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) = 6629.96897698
delta logL = 0.132794577095

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  1.954e+01  7.423e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  2.298e+00  3.744e-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:  7.226e-01  1.842e-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.510e+00  2.502e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 18.26
Ra Dec: 137.297 1.356
Photon Index (Free Index): 2.30 +/- 0.37
Photon Flux (Free Index): 1.45e-07 +/- 7.27e-08
Energy Flux (Free Index): 5.33e-05 +/- 1.98e-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/24999/cmap_HighResolution_303868801_304128001_4FGL_J0909.1+0121_daily_bin249.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.70e-07', energy_flux2='5.33e-05', photon_flux_error='6.01e-08', dlogl='1.33e-01', energy_flux='5.13e-05', photon_flux2='1.45e-07', job_status='DONE', time_completed='2021-08-31 01:47:51.322944', photon_index_error2='0.37', photon_index2='2.30', ts='18.01', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', energy_flux_error2='1.98e-05', EG='1.48', time_epoch_completed='1630399671.32', return_code='0', job_id='24999', GAL2='0.72', EG2='1.51', return_code2='0', energy_flux_error='1.81e-05', photon_flux_error2='7.27e-08', ts2='18.26', photon_index='2.49' WHERE bin_id='249' AND source_name='4FGL J0909.1+0121' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:47:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 24999: <4FGL_J0909.1+0121_daily_bin249> in cluster <slac> Done

Job <4FGL_J0909.1+0121_daily_bin249> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Aug 31 01:31:28 2021
Job was executed on host(s) <bullet0237>, 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:47:53 2021
Results reported at Tue Aug 31 01:47:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0909.1+0121_daily_bin249 137.297 1.3557 303868801 304128001 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 :                                   720.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             204.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   983 sec.
    Turnaround time :                            985 sec.

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

