/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 144 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 = 7373
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0909.1+0121_daily_bin555
RA = 137.297, Dec = 1.3557
tmin = 383184001, tmax = 383443201
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='26552', job_status='RUN', time_executed='2021-08-31 01:41:03.373065', time_epoch_executed='1630399263.37' WHERE source_name='4FGL J0909.1+0121' and cadence='daily' and bin_id='555'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/26552

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/26552/ft1_4FGL_J0909.1+0121_daily_bin555.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/26552/ft2_4FGL_J0909.1+0121_daily_bin555.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/26552/ft1_4FGL_J0909.1+0121_daily_bin555.fits outfile=/scratch/kocevski/26552/ft1_filteredMKT_4FGL_J0909.1+0121_daily_bin555.fits ra=137.297 dec=1.3557 rad=12.0 tmin=383184001.0 tmax=383443201.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 14.65
user 3.17
sys 9.43

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/26552/ft1_filtered_4FGL_J0909.1+0121_daily_bin555.fits" evtable="EVENTS" scfile=/scratch/kocevski/26552/ft2_4FGL_J0909.1+0121_daily_bin555.fits sctable="SC_DATA" outfile=/scratch/kocevski/26552/ltcube_383184001_383443201_4FGL_J0909.1+0121_daily_bin555.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/26552/ft2_4FGL_J0909.1+0121_daily_bin555.fits
.....................!
real 21.17
user 11.75
sys 9.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/26552/ft1_filtered_4FGL_J0909.1+0121_daily_bin555.fits evtable="EVENTS" scfile=/scratch/kocevski/26552/ft2_4FGL_J0909.1+0121_daily_bin555.fits sctable="SC_DATA" expcube=/scratch/kocevski/26552/ltcube_383184001_383443201_4FGL_J0909.1+0121_daily_bin555.fits outfile=/scratch/kocevski/26552/expmap_383184001_383443201_4FGL_J0909.1+0121_daily_bin555.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/26552/ltcube_383184001_383443201_4FGL_J0909.1+0121_daily_bin555.fits
.....................!
real 204.03
user 187.14
sys 15.27

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/26552/ft1_filtered_4FGL_J0909.1+0121_daily_bin555.fits scfile=/scratch/kocevski/26552/ft2_4FGL_J0909.1+0121_daily_bin555.fits outfile=/scratch/kocevski/26552/cmap_383184001_383443201_4FGL_J0909.1+0121_daily_bin555.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.33
user 0.37
sys 7.77

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/26552/ft1_filtered_4FGL_J0909.1+0121_daily_bin555.fits scfile=/scratch/kocevski/26552/ft2_4FGL_J0909.1+0121_daily_bin555.fits outfile=/scratch/kocevski/26552/cmap_HighResolution_383184001_383443201_4FGL_J0909.1+0121_daily_bin555.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 9.03
user 0.38
sys 8.02

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10278E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .42274       1.0000         .10000E-03   10000.    
     4 'norm      '    7.6800       1.0000         .10000E-03   10000.    
     5 'norm      '    5.7865       1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.598       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11647E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .17170E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .12224E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.7932       1.0000         .10000E-03   10000.    
    11 'Normalizat'    1.5879       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .81849       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5376.442     FROM MIGRAD    STATUS=FAILED       358 CALLS     1122 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .29771        .38856E-03** at limit **
   2  norm          .10000E-03    3.8844        .14091E-02** at limit **
   3  Prefactor     .42372        28.355        .37887E-02    .17083E-02
   4  norm          7.6856        4.8130        .12223E-03   -.19160E-04
   5  norm          5.7871        6.8027        .83482E-03   -.19161E-04
   6  Prefactor     11.550        17.436        .11763E-03    .18170E-04
   7  Prefactor     .10000E-03    5.2591        .32165E-03** at limit **
   8  Prefactor     .10000E-03    114.72        .58294E-02** at limit **
   9  Prefactor     .10000E-03    10.129        .18142E-02** at limit **
  10  norm          1.7932        .81658        .43095E-04    .49068E-04
  11  Normalizat    1.5879        .26684        .24800E-03    .11827E-04
  12  Prefactor     .81834        .20838        .25856E-03    .70526E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5376.442     FROM SIMPLEX   STATUS=UNCHANGED    653 CALLS     1775 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .29771        .82252E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    3.8844        .35519E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .42372        28.355        .55190E-06   -1.5578    
   4  norm          7.6856        4.8130        .54348E-06   -1.5153    
   5  norm          5.7871        6.8027        .55248E-06   -1.5227    
   6  Prefactor     11.550        17.436        .55982E-06   -1.5028    
   7  Prefactor     .10000E-03    5.2591        .19866E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    114.72        .10309E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    10.129        .31964E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.7932        .81658        .55258E-06   -1.5440    
  11  Normalizat    1.5879        .26684        .27090E-06   -.75337    
  12  Prefactor     .81834        .20838        .35453E-06   -.99056    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5376.442     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1897 TOTAL
                     EDM=   .61E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .29771        .77711E-04** at limit **
   2  norm          .10000E-03    3.8847        .28181E-03** at limit **
   3  Prefactor     .42382        28.556        .75775E-03    .72838E-04
   4  norm          7.6856        4.8127        .48892E-05   -.46505E-06
   5  norm          5.7871        6.8018        .33393E-04   -.68091E-06
   6  Prefactor     11.550        17.431        .47052E-05   -.48324E-06
   7  Prefactor     .10000E-03    5.2593        .64331E-04** at limit **
   8  Prefactor     .10000E-03    116.71        .11659E-02** at limit **
   9  Prefactor     .10000E-03    10.131        .36285E-03** at limit **
  10  norm          1.7932        .81655        .17238E-05    .26381E-06
  11  Normalizat    1.5879        .26705        .49600E-04   -.54093E-05
  12  Prefactor     .81834        .20833        .10342E-04   -.65953E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.423817
  norm       = 7.68561
  norm       = 5.78708
  Prefactor  = 11.55
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.79323
  Normalizat = 1.58793
  Prefactor  = 0.81834
 **********
 **   18 **HESSE 
 **********

 FCN=   5376.442     FROM HESSE     STATUS=OK           117 CALLS     2014 TOTAL
                     EDM=   .71E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .29771        .15542E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    3.8847        .56362E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .42382        28.541        .15155E-03   -1.5578    
   4  norm          7.6856        4.8129        .97784E-06   -1.5153    
   5  norm          5.7871        6.7988        .13357E-05   -1.5227    
   6  Prefactor     11.550        17.383        .94104E-06   -1.5028    
   7  Prefactor     .10000E-03    5.2593        .12866E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    116.79        .23318E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    10.131        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.7932        .81654        .17238E-05   -1.5440    
  11  Normalizat    1.5879        .26676        .99199E-05   -.75337    
  12  Prefactor     .81834        .20803        .20685E-05   -.99056    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.10753e-14
Minuit parameter uncertainties:
  1  7.004e-10
  2  4.57132e-08
  3  6.95849
  4  4.81316
  5  6.79968
  6  17.391
  7  2.6212e-08
  8  2.35924e-05
  9  2.61495e-08
  10  0.816547
  11  0.267002
  12  0.208228
Done.

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

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  7.686e+00  4.813e+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.183e-01  2.082e-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.588e+00  2.670e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.02
Ra Dec: 137.297 1.356
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 7.33e-08 +/- 4.59e-08
Energy Flux (Fixed Index): 2.21e-05 +/- 1.38e-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) = 5376.24109359
delta logL = 0.200693361709

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5376.2405123
delta logL = 0.201274645475

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.044       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1410       1.0000          .0000       5.0000    
     3 'Normalizat'    1.6053       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80758       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=   5376.241     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      260 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.054        179.33        .31609E-02    .90250E-04
   2  alpha         2.1421        3.0549        .31322        .25558E-04
   3  Normalizat    1.6046        .14863        .55854E-01   -.43991E-05
   4  Prefactor     .80794        .10731        .43816E-01    .10975E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.0543
  alpha      = 2.14206
  Normalizat = 1.60462
  Prefactor  = 0.807938
 **********
 **   18 **HESSE 
 **********

 FCN=   5376.241     FROM HESSE     STATUS=OK            31 CALLS      291 TOTAL
                     EDM=   .11E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.054        6.8502        .12644E-03   -1.5074    
   2  alpha         2.1421        .52684        .12281E-01   -.14367    
   3  Normalizat    1.6046        .26524        .24696E-03   -.74879    
   4  Prefactor     .80794        .20707        .25997E-03   -.99436    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07577e-12
Minuit parameter uncertainties:
  1  6.85072
  2  0.530906
  3  0.265476
  4  0.207274
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/26552': 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) = 5376.24050409
delta logL = 0.201282863401

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  1.005e+01  6.851e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  2.142e+00  5.309e-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:  8.079e-01  2.073e-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.605e+00  2.655e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.42
Ra Dec: 137.297 1.356
Photon Index (Free Index): 2.14 +/- 0.53
Photon Flux (Free Index): 6.20e-08 +/- 4.36e-08
Energy Flux (Free Index): 2.78e-05 +/- 2.07e-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/26552/cmap_HighResolution_383184001_383443201_4FGL_J0909.1+0121_daily_bin555.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.33e-08', energy_flux2='2.78e-05', photon_flux_error='4.59e-08', dlogl='2.01e-01', energy_flux='2.21e-05', photon_flux2='6.20e-08', job_status='DONE', time_completed='2021-08-31 01:51:05.393084', photon_index_error2='0.53', photon_index2='2.14', ts='5.02', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', energy_flux_error2='2.07e-05', EG='1.59', time_epoch_completed='1630399865.39', return_code='0', job_id='26552', GAL2='0.81', EG2='1.60', return_code2='0', energy_flux_error='1.38e-05', photon_flux_error2='4.36e-08', ts2='5.42', photon_index='2.49' WHERE bin_id='555' AND source_name='4FGL J0909.1+0121' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:51:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 26552: <4FGL_J0909.1+0121_daily_bin555> in cluster <slac> Done

Job <4FGL_J0909.1+0121_daily_bin555> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 31 01:36:08 2021
Job was executed on host(s) <bullet0270>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 01:36:09 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:36:09 2021
Terminated at Tue Aug 31 01:51:07 2021
Results reported at Tue Aug 31 01:51:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0909.1+0121_daily_bin555 137.297 1.3557 383184001 383443201 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 :                                   722.09 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             182.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   897 sec.
    Turnaround time :                            899 sec.

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

