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


Performing analysis on: 4FGL_J0909.1+0121_daily_bin524
RA = 137.297, Dec = 1.3557
tmin = 375148801, tmax = 375408001
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='26508', job_status='RUN', time_executed='2021-08-31 01:40:39.488083', time_epoch_executed='1630399239.49' WHERE source_name='4FGL J0909.1+0121' and cadence='daily' and bin_id='524'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/26508

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/26508/ft1_4FGL_J0909.1+0121_daily_bin524.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/26508/ft2_4FGL_J0909.1+0121_daily_bin524.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/26508/ft1_4FGL_J0909.1+0121_daily_bin524.fits outfile=/scratch/kocevski/26508/ft1_filteredMKT_4FGL_J0909.1+0121_daily_bin524.fits ra=137.297 dec=1.3557 rad=12.0 tmin=375148801.0 tmax=375408001.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 10.65
user 4.32
sys 5.83

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/26508/ft1_filtered_4FGL_J0909.1+0121_daily_bin524.fits" evtable="EVENTS" scfile=/scratch/kocevski/26508/ft2_4FGL_J0909.1+0121_daily_bin524.fits sctable="SC_DATA" outfile=/scratch/kocevski/26508/ltcube_375148801_375408001_4FGL_J0909.1+0121_daily_bin524.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/26508/ft2_4FGL_J0909.1+0121_daily_bin524.fits
.....................!
real 19.09
user 11.61
sys 6.61

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/26508/ft1_filtered_4FGL_J0909.1+0121_daily_bin524.fits evtable="EVENTS" scfile=/scratch/kocevski/26508/ft2_4FGL_J0909.1+0121_daily_bin524.fits sctable="SC_DATA" expcube=/scratch/kocevski/26508/ltcube_375148801_375408001_4FGL_J0909.1+0121_daily_bin524.fits outfile=/scratch/kocevski/26508/expmap_375148801_375408001_4FGL_J0909.1+0121_daily_bin524.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/26508/ltcube_375148801_375408001_4FGL_J0909.1+0121_daily_bin524.fits
.....................!
real 201.52
user 185.97
sys 12.51

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/26508/ft1_filtered_4FGL_J0909.1+0121_daily_bin524.fits scfile=/scratch/kocevski/26508/ft2_4FGL_J0909.1+0121_daily_bin524.fits outfile=/scratch/kocevski/26508/cmap_375148801_375408001_4FGL_J0909.1+0121_daily_bin524.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 6.18
user 0.38
sys 5.59

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/26508/ft1_filtered_4FGL_J0909.1+0121_daily_bin524.fits scfile=/scratch/kocevski/26508/ft2_4FGL_J0909.1+0121_daily_bin524.fits outfile=/scratch/kocevski/26508/cmap_HighResolution_375148801_375408001_4FGL_J0909.1+0121_daily_bin524.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 6.30
user 0.39
sys 5.60

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.4244       1.0000         .10000E-03   10000.    
     2 'norm      '    13.417       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.6466       1.0000         .10000E-03   10000.    
     4 'norm      '    1.6488       1.0000         .10000E-03   10000.    
     5 'norm      '    10.332       1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.2635       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10280E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.6710       1.0000         .10000E-03   10000.    
    10 'norm      '    4.6432       1.0000         .10000E-03   10000.    
    11 'Normalizat'    .71351       1.0000         .10000E-01   10.000    
    12 'Prefactor '    1.1069       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=   5761.621     FROM MIGRAD    STATUS=CONVERGED    205 CALLS      827 TOTAL
                     EDM=   .53E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4242        1.2796        .38838E-07   -.80186E-04
   2  norm          13.417        9.9003       -.11015E-05   -.47058E-04
   3  Prefactor     2.6447        7.2947       -.13936E-05   -.33039E-03
   4  norm          1.6483        3.6548       -.80960E-06   -.87277E-03
   5  norm          10.331        6.4567        .58255E-06   -.84880E-05
   6  Prefactor     3.2059        19.135       -.57437E-05   -.91408E-04
   7  Prefactor     .10000E-03    .91199       -.24472E-07** at limit **
   8  Prefactor     .10000E-03    12.652       -.68761E-07** at limit **
   9  Prefactor     3.6577        13.874        .12244E-04   -.94563E-04
  10  norm          4.6430        1.0098       -.13158E-06   -.32285E-03
  11  Normalizat    .71372        .19979       -.18753E-05    .18018E-04
  12  Prefactor     1.1068        .15674        .10338E-05   -.93932E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.42417
  norm       = 13.4168
  Prefactor  = 2.64469
  norm       = 1.64828
  norm       = 10.3314
  Prefactor  = 3.20593
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.65769
  norm       = 4.64299
  Normalizat = 0.713724
  Prefactor  = 1.10679
 **********
 **   18 **HESSE 
 **********

 FCN=   5761.621     FROM HESSE     STATUS=OK           133 CALLS      960 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4242        1.2791        .50269E-04   -1.5338    
   2  norm          13.417        9.9179        .10935E-03   -1.4975    
   3  Prefactor     2.6447        7.3850        .25060E-03   -1.5383    
   4  norm          1.6483        3.7325        .21047E-03   -1.5451    
   5  norm          10.331        6.4576        .12465E-03   -1.5065    
   6  Prefactor     3.2059        19.540        .22417E-03   -1.5350    
   7  Prefactor     .10000E-03    .91591        .70777E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    12.658        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.6577        13.311        .21081E-03   -1.5325    
  10  norm          4.6430        1.0107        .33651E-04   -1.5277    
  11  Normalizat    .71372        .22860        .30862E-03   -1.0335    
  12  Prefactor     1.1068        .18106        .20558E-03   -.89250    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07215e-09
Minuit parameter uncertainties:
  1  1.27911
  2  9.91911
  3  7.38755
  4  3.73302
  5  6.45807
  6  15.837
  7  2.17083e-06
  8  3.85156e-06
  9  13.322
  10  1.01067
  11  0.228906
  12  0.181156
Done.

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

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  1.648e+00  3.733e+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.107e+00  1.812e-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:  7.137e-01  2.289e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/26508/likelihoodResults_375148801_375408001_4FGL_J0909.1+0121_daily_bin524.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) = 5761.32512614
delta logL = 0.295525493651

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5761.29286058
delta logL = 0.327791052918

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14100       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.7193       1.0000          .0000       5.0000    
     3 'Normalizat'    .66064       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1372       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   5761.293     FROM MIGRAD    STATUS=FAILED       103 CALLS      324 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .13695        8.6035        .31803E-03    .54569E-03
   2  alpha         4.7363        4.2901        .58587E-01   -.67607E-04
   3  Normalizat    .66067        .15235        .31984E-03    .22962E-04
   4  Prefactor     1.1374        .12355        .20315E-03    .45028E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   5761.293     FROM SIMPLEX   STATUS=UNCHANGED    101 CALLS      425 TOTAL
                     EDM=   .91E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .13695        8.6035        .50088E-04    .54569E-03
   2  alpha         4.7363        4.2901        .47720E-02   -.67607E-04
   3  Normalizat    .66067        .15235        .18025E-03    .22962E-04
   4  Prefactor     1.1374        .12355        .34880E-04    .45028E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5761.293     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      459 TOTAL
                     EDM=   .33E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .13695        8.9034        .12721E-04    .13584E-03
   2  alpha         4.7363        4.4138        .11717E-01    .81791E-06
   3  Normalizat    .66067        .21832        .12794E-04    .23104E-04
   4  Prefactor     1.1374        .17633        .40630E-04    .44994E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.136946
  alpha      = 4.73629
  Normalizat = 0.660675
  Prefactor  = 1.13737
 **********
 **   18 **HESSE 
 **********

 FCN=   5761.293     FROM HESSE     STATUS=OK            23 CALLS      482 TOTAL
                     EDM=   .18E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .13695        3.1810        .50884E-06   -1.5634    
   2  alpha         4.7363        2.9290        .46870E-03    1.1073    
   3  Normalizat    .66067        .23041        .25587E-05   -1.0547    
   4  Prefactor     1.1374        .18461        .81259E-05   -.88281    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.78461e-12
Minuit parameter uncertainties:
  1  1.31963
  2  5.40124
  3  0.230752
  4  0.184717
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/26508': 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) = 5761.29285233
delta logL = 0.327799308085

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  1.369e-01  1.320e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  4.736e+00  5.401e+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:  1.137e+00  1.847e-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:  6.607e-01  2.308e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.23
Ra Dec: 137.297 1.356

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/26508/cmap_HighResolution_375148801_375408001_4FGL_J0909.1+0121_daily_bin524.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.03e-05', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2021-08-31 01:49:52.224053', job_id='26508', GAL2='1.14', fit_tolerance='1e-08', EG2='0.66', EG='0.71', time_epoch_completed='1630399792.22', return_code2='0', ts='0.23', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='3.28e-01', ts2='0.96', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='524' AND source_name='4FGL J0909.1+0121' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:49:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0302>
Subject: Job 26508: <4FGL_J0909.1+0121_daily_bin524> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0909.1+0121_daily_bin524 137.297 1.3557 375148801 375408001 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 :                                   625.27 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             220.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   827 sec.
    Turnaround time :                            828 sec.

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

