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


Performing analysis on: 4FGL_J0909.1+0121_daily_bin440
RA = 137.297, Dec = 1.3557
tmin = 353376001, tmax = 353635201
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='25271', job_status='RUN', time_executed='2021-08-31 01:33:26.351452', time_epoch_executed='1630398806.35' WHERE source_name='4FGL J0909.1+0121' and cadence='daily' and bin_id='440'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/25271

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/25271/ft1_4FGL_J0909.1+0121_daily_bin440.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/25271/ft2_4FGL_J0909.1+0121_daily_bin440.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/25271/ft1_4FGL_J0909.1+0121_daily_bin440.fits outfile=/scratch/kocevski/25271/ft1_filteredMKT_4FGL_J0909.1+0121_daily_bin440.fits ra=137.297 dec=1.3557 rad=12.0 tmin=353376001.0 tmax=353635201.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.67
user 3.22
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/25271/ft1_filtered_4FGL_J0909.1+0121_daily_bin440.fits" evtable="EVENTS" scfile=/scratch/kocevski/25271/ft2_4FGL_J0909.1+0121_daily_bin440.fits sctable="SC_DATA" outfile=/scratch/kocevski/25271/ltcube_353376001_353635201_4FGL_J0909.1+0121_daily_bin440.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/25271/ft2_4FGL_J0909.1+0121_daily_bin440.fits
.....................!
real 12.35
user 11.67
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/25271/ft1_filtered_4FGL_J0909.1+0121_daily_bin440.fits evtable="EVENTS" scfile=/scratch/kocevski/25271/ft2_4FGL_J0909.1+0121_daily_bin440.fits sctable="SC_DATA" expcube=/scratch/kocevski/25271/ltcube_353376001_353635201_4FGL_J0909.1+0121_daily_bin440.fits outfile=/scratch/kocevski/25271/expmap_353376001_353635201_4FGL_J0909.1+0121_daily_bin440.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/25271/ltcube_353376001_353635201_4FGL_J0909.1+0121_daily_bin440.fits
.....................!
real 191.22
user 184.95
sys 4.80

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/25271/ft1_filtered_4FGL_J0909.1+0121_daily_bin440.fits scfile=/scratch/kocevski/25271/ft2_4FGL_J0909.1+0121_daily_bin440.fits outfile=/scratch/kocevski/25271/cmap_353376001_353635201_4FGL_J0909.1+0121_daily_bin440.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/25271/ft1_filtered_4FGL_J0909.1+0121_daily_bin440.fits scfile=/scratch/kocevski/25271/ft2_4FGL_J0909.1+0121_daily_bin440.fits outfile=/scratch/kocevski/25271/cmap_HighResolution_353376001_353635201_4FGL_J0909.1+0121_daily_bin440.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=137.297 yref=1.3557 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .32257       1.0000         .10000E-03   10000.    
     2 'norm      '    24.567       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.3998       1.0000         .10000E-03   10000.    
     4 'norm      '    11.075       1.0000         .10000E-03   10000.    
     5 'norm      '    3.5361       1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.499       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11926E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Normalizat'    1.0615       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .83844       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=   6637.584     FROM MIGRAD    STATUS=CONVERGED    209 CALLS      869 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .32435        .79546       -.16635E-07   -.11094E-02
   2  norm          24.440        10.246        .18281E-06   -.29691E-04
   3  Prefactor     3.3905        5.2318        .87967E-06   -.39980E-03
   4  norm          11.070        4.5282       -.21484E-06   -.18004E-03
   5  norm          3.5375        4.3040       -.70557E-06   -.37443E-03
   6  Prefactor     14.540        14.995        .85314E-05   -.64358E-04
   7  Prefactor     .10000E-03    1.0863        .49056E-07** at limit **
   8  Prefactor     .10000E-03    33.978        .48338E-05** at limit **
   9  Prefactor     .10000E-03    5.7681       -.29325E-06** at limit **
  10  norm          .10000E-03    .21198        .49138E-07** at limit **
  11  Normalizat    1.0617        .17413       -.17542E-05   -.65799E-06
  12  Prefactor     .83857        .13440        .46320E-07   -.11807E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.324354
  norm       = 24.4399
  Prefactor  = 3.39051
  norm       = 11.0702
  norm       = 3.53745
  Prefactor  = 14.5396
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.0617
  Prefactor  = 0.838575
 **********
 **   18 **HESSE 
 **********

 FCN=   6637.584     FROM HESSE     STATUS=OK           133 CALLS     1002 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .32435        1.0302        .10671E-02   -1.5594    
   2  norm          24.440        10.223        .80819E-04   -1.4719    
   3  Prefactor     3.3905        5.1843        .21942E-03   -1.5340    
   4  norm          11.070        4.5411        .10547E-03   -1.5042    
   5  norm          3.5375        4.3149        .18065E-03   -1.5332    
   6  Prefactor     14.540        14.891        .10519E-03   -1.4945    
   7  Prefactor     .10000E-03    1.0950        .82891E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    33.792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.7992        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    .21229        .18142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.0617        .20089        .24602E-03   -.90991    
  12  Prefactor     .83857        .15615        .21746E-03   -.98322    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.66366e-10
Minuit parameter uncertainties:
  1  1.03024
  2  10.2233
  3  5.18503
  4  4.54123
  5  4.31531
  6  14.8952
  7  2.97073e-06
  8  0.000474208
  9  1.17909e-06
  10  1.20859e-07
  11  0.201033
  12  0.156231
Done.

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

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  1.107e+01  4.541e+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.386e-01  1.562e-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.062e+00  2.010e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.35
Ra Dec: 137.297 1.356
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 1.06e-07 +/- 4.33e-08
Energy Flux (Fixed Index): 3.18e-05 +/- 1.30e-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) = 6636.99431185
delta logL = 0.590146526421

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6636.98243485
delta logL = 0.602023524419

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.0375       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.4050       1.0000          .0000       5.0000    
     3 'Normalizat'    .98640       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88562       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=   6636.982     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      237 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.0375        20.948        .50170E-02    .18377E-02
   2  alpha         3.4050        3.9302        .18838        .80959E-04
   3  Normalizat    .98640        .81515E-01    .45996E-01   -.19812E-03
   4  Prefactor     .88562        .58831E-01    .44821E-01   -.27095E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.03753
  alpha      = 3.40498
  Normalizat = 0.986399
  Prefactor  = 0.885617
 **********
 **   18 **HESSE 
 **********

 FCN=   6636.982     FROM HESSE     STATUS=OK            31 CALLS      268 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.0375        9.2887        .58273E-04   -1.5306    
   2  alpha         3.4050        1.4545        .80396E-02    .37040    
   3  Normalizat    .98640        .21771        .25387E-03   -.93487    
   4  Prefactor     .88562        .16855        .21240E-03   -.96645    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.50055e-09
Minuit parameter uncertainties:
  1  9.29205
  2  1.57076
  3  0.217906
  4  0.168654
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/25271': 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) = 6636.98243485
delta logL = 0.602023526123

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  4.038e+00  9.292e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  3.405e+00  1.571e+00  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:  8.856e-01  1.687e-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.864e-01  2.179e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.90
Ra Dec: 137.297 1.356
Photon Index (Free Index): 3.40 +/- 1.57
Photon Flux (Free Index): 1.52e-07 +/- 7.19e-08
Energy Flux (Free Index): 2.76e-05 +/- 1.22e-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/25271/cmap_HighResolution_353376001_353635201_4FGL_J0909.1+0121_daily_bin440.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.06e-07', energy_flux2='2.76e-05', photon_flux_error='4.33e-08', dlogl='6.02e-01', energy_flux='3.18e-05', photon_flux2='1.52e-07', job_status='DONE', time_completed='2021-08-31 01:40:58.397660', photon_index_error2='1.57', photon_index2='3.40', ts='10.35', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='1.22e-05', EG='1.06', time_epoch_completed='1630399258.4', return_code='0', job_id='25271', GAL2='0.89', EG2='0.99', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='7.19e-08', ts2='11.90', photon_index='2.49' WHERE bin_id='440' AND source_name='4FGL J0909.1+0121' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:40:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0048>
Subject: Job 25271: <4FGL_J0909.1+0121_daily_bin440> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0909.1+0121_daily_bin440 137.297 1.3557 353376001 353635201 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 :                                   443.34 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             323.37 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   551 sec.
    Turnaround time :                            553 sec.

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

