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


Performing analysis on: 4FGL_J0909.1+0121_daily_bin374
RA = 137.297, Dec = 1.3557
tmin = 336268801, tmax = 336528001
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='25177', job_status='RUN', time_executed='2021-08-31 01:36:12.554703', time_epoch_executed='1630398972.55' WHERE source_name='4FGL J0909.1+0121' and cadence='daily' and bin_id='374'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/25177

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

Retrieving the FT1 file...

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

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

Retrieving 53 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/25177/ft1_4FGL_J0909.1+0121_daily_bin374.fits


Retrieving the FT1 file...

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

Retrieving 53 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/25177/ft2_4FGL_J0909.1+0121_daily_bin374.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/25177/ft1_4FGL_J0909.1+0121_daily_bin374.fits outfile=/scratch/kocevski/25177/ft1_filteredMKT_4FGL_J0909.1+0121_daily_bin374.fits ra=137.297 dec=1.3557 rad=12.0 tmin=336268801.0 tmax=336528001.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 15.20
user 6.71
sys 8.31

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/25177/ft1_filtered_4FGL_J0909.1+0121_daily_bin374.fits" evtable="EVENTS" scfile=/scratch/kocevski/25177/ft2_4FGL_J0909.1+0121_daily_bin374.fits sctable="SC_DATA" outfile=/scratch/kocevski/25177/ltcube_336268801_336528001_4FGL_J0909.1+0121_daily_bin374.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/25177/ft2_4FGL_J0909.1+0121_daily_bin374.fits
.....................!
real 21.38
user 11.84
sys 9.43

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/25177/ft1_filtered_4FGL_J0909.1+0121_daily_bin374.fits evtable="EVENTS" scfile=/scratch/kocevski/25177/ft2_4FGL_J0909.1+0121_daily_bin374.fits sctable="SC_DATA" expcube=/scratch/kocevski/25177/ltcube_336268801_336528001_4FGL_J0909.1+0121_daily_bin374.fits outfile=/scratch/kocevski/25177/expmap_336268801_336528001_4FGL_J0909.1+0121_daily_bin374.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/25177/ltcube_336268801_336528001_4FGL_J0909.1+0121_daily_bin374.fits
.....................!
real 202.61
user 184.72
sys 16.73

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/25177/ft1_filtered_4FGL_J0909.1+0121_daily_bin374.fits scfile=/scratch/kocevski/25177/ft2_4FGL_J0909.1+0121_daily_bin374.fits outfile=/scratch/kocevski/25177/cmap_336268801_336528001_4FGL_J0909.1+0121_daily_bin374.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 8.40
user 0.36
sys 7.93

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/25177/ft1_filtered_4FGL_J0909.1+0121_daily_bin374.fits scfile=/scratch/kocevski/25177/ft2_4FGL_J0909.1+0121_daily_bin374.fits outfile=/scratch/kocevski/25177/cmap_HighResolution_336268801_336528001_4FGL_J0909.1+0121_daily_bin374.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 8.54
user 0.37
sys 8.05

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5982       1.0000         .10000E-03   10000.    
     2 'norm      '    2.3755       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    9.2079       1.0000         .10000E-03   10000.    
     5 'norm      '    .10228E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .18284E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.031       1.0000         .10000E-03   10000.    
    10 'norm      '    4.4371       1.0000         .10000E-03   10000.    
    11 'Normalizat'    1.1912       1.0000         .10000E-01   10.000    
    12 'Prefactor '    1.0762       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=   6488.064     FROM MIGRAD    STATUS=CONVERGED    206 CALLS      827 TOTAL
                     EDM=   .35E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5988        1.0995       -.11018E-06   -.31788E-03
   2  norm          2.2765        8.4280        .11199E-04   -.63488E-04
   3  Prefactor     .10000E-03    2.8156       -.48372E-07** at limit **
   4  norm          9.2084        4.9081        .40249E-06   -.88375E-04
   5  norm          .10000E-03    5.5518       -.20346E-06** at limit **
   6  Prefactor     .10000E-03    5.9586        .93492E-06** at limit **
   7  Prefactor     .10000E-03    2.0715       -.27341E-06** at limit **
   8  Prefactor     .10000E-03    12.431       -.60931E-05** at limit **
   9  Prefactor     10.931        15.008       -.11887E-05   -.79427E-04
  10  norm          4.4372        1.0772        .46278E-07   -.15397E-03
  11  Normalizat    1.1915        .21059       -.10827E-05   -.64562E-04
  12  Prefactor     1.0763        .16294       -.46404E-06   -.95517E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.59881
  norm       = 2.27645
  Prefactor  = 0.0001
  norm       = 9.2084
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.9308
  norm       = 4.43724
  Normalizat = 1.19147
  Prefactor  = 1.07634
 **********
 **   18 **HESSE 
 **********

 FCN=   6488.064     FROM HESSE     STATUS=OK           129 CALLS      956 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5988        1.1003        .33543E-04   -1.5455    
   2  norm          2.2765        8.0563        .26581E-03   -1.5406    
   3  Prefactor     .10000E-03    2.8210        .13199E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          9.2084        4.9083        .12444E-03   -1.5101    
   5  norm          .10000E-03    5.7418        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.9689        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.0941        .11311E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    12.555        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.931        15.022        .12063E-03   -1.5047    
  10  norm          4.4372        1.0777        .39302E-04   -1.5287    
  11  Normalizat    1.1915        .24747        .28740E-03   -.86867    
  12  Prefactor     1.0763        .19138        .23521E-03   -.90226    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.99638e-11
Minuit parameter uncertainties:
  1  1.10028
  2  8.06012
  3  1.49105e-06
  4  4.90853
  5  6.13106e-06
  6  2.09722e-05
  7  2.59555e-06
  8  0.000145618
  9  15.0273
  10  1.07774
  11  0.247712
  12  0.1915
Done.

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

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  9.208e+00  4.909e+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.076e+00  1.915e-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.191e+00  2.477e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.10
Ra Dec: 137.297 1.356
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 8.78e-08 +/- 4.68e-08
Energy Flux (Fixed Index): 2.64e-05 +/- 1.41e-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) = 6488.06012743
delta logL = 0.00364616040679

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6488.05720071
delta logL = 0.00657287347894

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.7515       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5586       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1867       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0787       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=   6488.057     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      204 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.7490        90.503        .33874E-02    .25448E-03
   2  alpha         2.5583        3.7367        .30371        .58605E-04
   3  Normalizat    1.1865        .11577        .65084E-01    .17439E-04
   4  Prefactor     1.0791        .70828E-01    .38459E-01   -.28886E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.74899
  alpha      = 2.55826
  Normalizat = 1.18645
  Prefactor  = 1.07915
 **********
 **   18 **HESSE 
 **********

 FCN=   6488.057     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.7490        6.5469        .12050E-03   -1.5116    
   2  alpha         2.5583        .62007        .11660E-01    .23305E-01
   3  Normalizat    1.1865        .24870        .28791E-03   -.87022    
   4  Prefactor     1.0791        .19286        .23495E-03   -.90136    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49539e-11
Minuit parameter uncertainties:
  1  6.54739
  2  0.626609
  3  0.248949
  4  0.192988
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/25177': 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) = 6488.0571958
delta logL = 0.00657778827099

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  8.749e+00  6.547e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  2.558e+00  6.266e-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.079e+00  1.930e-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.186e+00  2.489e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.09
Ra Dec: 137.297 1.356
Photon Index (Free Index): 2.56 +/- 0.63
Photon Flux (Free Index): 9.15e-08 +/- 5.71e-08
Energy Flux (Free Index): 2.60e-05 +/- 1.46e-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/25177/cmap_HighResolution_336268801_336528001_4FGL_J0909.1+0121_daily_bin374.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.78e-08', energy_flux2='2.60e-05', photon_flux_error='4.68e-08', dlogl='6.58e-03', energy_flux='2.64e-05', photon_flux2='9.15e-08', job_status='DONE', time_completed='2021-08-31 01:46:37.264995', photon_index_error2='0.63', photon_index2='2.56', ts='6.10', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='1.46e-05', EG='1.19', time_epoch_completed='1630399597.27', return_code='0', job_id='25177', GAL2='1.08', EG2='1.19', return_code2='0', energy_flux_error='1.41e-05', photon_flux_error2='5.71e-08', ts2='6.09', photon_index='2.49' WHERE bin_id='374' AND source_name='4FGL J0909.1+0121' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:46:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 25177: <4FGL_J0909.1+0121_daily_bin374> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0909.1+0121_daily_bin374 137.297 1.3557 336268801 336528001 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 :                                   711.00 sec.
    Max Memory :                                 1129 MB
    Average Memory :                             205.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   896 sec.
    Turnaround time :                            899 sec.

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

