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


Performing analysis on: 4FGL_J0909.1+0121_daily_bin197
RA = 137.297, Dec = 1.3557
tmin = 290390401, tmax = 290649601
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='24925', job_status='RUN', time_executed='2021-08-31 01:35:12.187423', time_epoch_executed='1630398912.19' WHERE source_name='4FGL J0909.1+0121' and cadence='daily' and bin_id='197'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/24925

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/24925/ft1_4FGL_J0909.1+0121_daily_bin197.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/24925/ft2_4FGL_J0909.1+0121_daily_bin197.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/24925/ft1_4FGL_J0909.1+0121_daily_bin197.fits outfile=/scratch/kocevski/24925/ft1_filteredMKT_4FGL_J0909.1+0121_daily_bin197.fits ra=137.297 dec=1.3557 rad=12.0 tmin=290390401.0 tmax=290649601.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 4.16
user 3.26
sys 0.38

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/24925/ft1_filtered_4FGL_J0909.1+0121_daily_bin197.fits" evtable="EVENTS" scfile=/scratch/kocevski/24925/ft2_4FGL_J0909.1+0121_daily_bin197.fits sctable="SC_DATA" outfile=/scratch/kocevski/24925/ltcube_290390401_290649601_4FGL_J0909.1+0121_daily_bin197.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/24925/ft2_4FGL_J0909.1+0121_daily_bin197.fits
.....................!
real 13.05
user 11.66
sys 0.54

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/24925/ft1_filtered_4FGL_J0909.1+0121_daily_bin197.fits evtable="EVENTS" scfile=/scratch/kocevski/24925/ft2_4FGL_J0909.1+0121_daily_bin197.fits sctable="SC_DATA" expcube=/scratch/kocevski/24925/ltcube_290390401_290649601_4FGL_J0909.1+0121_daily_bin197.fits outfile=/scratch/kocevski/24925/expmap_290390401_290649601_4FGL_J0909.1+0121_daily_bin197.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/24925/ltcube_290390401_290649601_4FGL_J0909.1+0121_daily_bin197.fits
.....................!
real 194.68
user 186.11
sys 5.10

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/24925/ft1_filtered_4FGL_J0909.1+0121_daily_bin197.fits scfile=/scratch/kocevski/24925/ft2_4FGL_J0909.1+0121_daily_bin197.fits outfile=/scratch/kocevski/24925/cmap_290390401_290649601_4FGL_J0909.1+0121_daily_bin197.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.99
user 0.40
sys 0.32

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/24925/ft1_filtered_4FGL_J0909.1+0121_daily_bin197.fits scfile=/scratch/kocevski/24925/ft2_4FGL_J0909.1+0121_daily_bin197.fits outfile=/scratch/kocevski/24925/cmap_HighResolution_290390401_290649601_4FGL_J0909.1+0121_daily_bin197.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.09
user 0.40
sys 0.33

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .27488E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .13051E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    6.4281       1.0000         .10000E-03   10000.    
     5 'norm      '    26.509       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10285E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .38061E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10594E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .48243       1.0000         .10000E-03   10000.    
    11 'Normalizat'    1.2930       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .87270       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=   6044.402     FROM MIGRAD    STATUS=CONVERGED    215 CALLS      878 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .49883        .36498E-01** at limit **
   2  norm          .10000E-03    2.1999        .90712E-02** at limit **
   3  Prefactor     .10000E-03    4.7010        .90712E-02** at limit **
   4  norm          6.4174        4.9198        .39576E-02    .15714E-02
   5  norm          26.488        9.1035        .19452E-02   -.19473E-02
   6  Prefactor     .10000E-03    7.9668        .90712E-02** at limit **
   7  Prefactor     .10000E-03    2.5956        .90712E-02** at limit **
   8  Prefactor     .10001E-03    19.548        .10643E-01** at limit **
   9  Prefactor     .10000E-03    28.829        .90712E-02** at limit **
  10  norm          .48251        .68292        .11199E-01    .15044E-02
  11  Normalizat    1.2928        .20080        .57313E-01    .10150E-04
  12  Prefactor     .87299        .15259        .44656E-01    .19333E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 6.41744
  norm       = 26.4877
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  norm       = 0.482509
  Normalizat = 1.29275
  Prefactor  = 0.872988
 **********
 **   18 **HESSE 
 **********

 FCN=   6044.402     FROM HESSE     STATUS=OK           125 CALLS     1003 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    8.0671        .10505E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.2026        .11261E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.7234        .16461E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.4174        4.9242        .14297E-03   -1.5201    
   5  norm          26.488        9.1056        .77807E-04   -1.4678    
   6  Prefactor     .10000E-03    7.9839        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.6936        .24443E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10001E-03    19.597        .21286E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    29.413        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .48251        .66571        .72190E-04   -1.5569    
  11  Normalizat    1.2928        .24034        .25345E-03   -.83783    
  12  Prefactor     .87299        .18308        .23325E-03   -.97091    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.31785e-09
Minuit parameter uncertainties:
  1  8.64953e-05
  2  6.35124e-07
  3  5.44136e-06
  4  4.92447
  5  9.10604
  6  1.12276e-06
  7  4.4525e-07
  8  0.000693873
  9  8.22546e-05
  10  0.665723
  11  0.240549
  12  0.183209
Done.

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

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  6.417e+00  4.924e+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.730e-01  1.832e-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.293e+00  2.405e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.64
Ra Dec: 137.297 1.356
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 6.12e-08 +/- 4.69e-08
Energy Flux (Fixed Index): 1.84e-05 +/- 1.41e-05

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

Saving results to:
/scratch/kocevski/24925/likelihoodResults_290390401_290649601_4FGL_J0909.1+0121_daily_bin197.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6043.68508449
delta logL = 0.716838974532

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6043.66679004
delta logL = 0.735133423243

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.6996       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.4864       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2201       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91287       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=   6043.667     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      243 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.6977        27.310        .61984E-02    .43174E-03
   2  alpha         3.4868        4.1809        .27211        .61851E-04
   3  Normalizat    1.2202        .73296E-01    .58655E-01    .72682E-05
   4  Prefactor     .91281        .54353E-01    .45169E-01    .22454E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.69765
  alpha      = 3.48679
  Normalizat = 1.2202
  Prefactor  = 0.912814
 **********
 **   18 **HESSE 
 **********

 FCN=   6043.667     FROM HESSE     STATUS=OK            33 CALLS      276 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.6977        5.0640        .70316E-04   -1.5379    
   2  alpha         3.4868        1.1731        .11135E-01    .40576    
   3  Normalizat    1.2202        .24773        .25940E-03   -.85981    
   4  Prefactor     .91281        .18809        .11430E-02   -.95695    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.97236e-11
Minuit parameter uncertainties:
  1  5.06483
  2  1.23125
  3  0.247967
  4  0.188221
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/24925': 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) = 6043.66678983
delta logL = 0.735133634084

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  2.698e+00  5.065e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  3.487e+00  1.231e+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:  9.128e-01  1.882e-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.220e+00  2.480e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.26
Ra Dec: 137.297 1.356
Photon Index (Free Index): 3.49 +/- 1.23
Photon Flux (Free Index): 1.16e-07 +/- 7.39e-08
Energy Flux (Free Index): 2.06e-05 +/- 1.24e-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/24925/cmap_HighResolution_290390401_290649601_4FGL_J0909.1+0121_daily_bin197.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.77e-05', comment='SUCCESS', photon_flux='6.12e-08', energy_flux2='2.06e-05', photon_flux_error='4.69e-08', dlogl='7.35e-01', energy_flux='1.84e-05', photon_flux2='1.16e-07', job_status='DONE', time_completed='2021-08-31 01:43:02.388131', photon_index_error2='1.23', photon_index2='3.49', ts='2.64', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='1.58e-07', energy_flux_error2='1.24e-05', EG='1.29', time_epoch_completed='1630399382.39', return_code='0', job_id='24925', GAL2='0.91', EG2='1.22', return_code2='0', energy_flux_error='1.41e-05', photon_flux_error2='7.39e-08', ts2='4.26', photon_index='2.49' WHERE bin_id='197' AND source_name='4FGL J0909.1+0121' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:43:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 24925: <4FGL_J0909.1+0121_daily_bin197> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0909.1+0121_daily_bin197 137.297 1.3557 290390401 290649601 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 :                                   456.69 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             293.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   697 sec.
    Turnaround time :                            700 sec.

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

