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


Performing analysis on: 4FGL_J0909.1+0121_daily_bin671
RA = 137.297, Dec = 1.3557
tmin = 413251201, tmax = 413510401
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='26725', job_status='RUN', time_executed='2021-08-31 01:39:10.015069', time_epoch_executed='1630399150.02' WHERE source_name='4FGL J0909.1+0121' and cadence='daily' and bin_id='671'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/26725

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/26725/ft1_4FGL_J0909.1+0121_daily_bin671.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/26725/ft2_4FGL_J0909.1+0121_daily_bin671.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/26725/ft1_4FGL_J0909.1+0121_daily_bin671.fits outfile=/scratch/kocevski/26725/ft1_filteredMKT_4FGL_J0909.1+0121_daily_bin671.fits ra=137.297 dec=1.3557 rad=12.0 tmin=413251201.0 tmax=413510401.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 5.73
user 5.47
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/26725/ft2_4FGL_J0909.1+0121_daily_bin671.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/26725/ft1_filteredMKT_4FGL_J0909.1+0121_daily_bin671.fits evtable="EVENTS" outfile="/scratch/kocevski/26725/ft1_filtered_4FGL_J0909.1+0121_daily_bin671.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.74
user 0.32
sys 0.19

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/26725/ft1_filtered_4FGL_J0909.1+0121_daily_bin671.fits" evtable="EVENTS" scfile=/scratch/kocevski/26725/ft2_4FGL_J0909.1+0121_daily_bin671.fits sctable="SC_DATA" outfile=/scratch/kocevski/26725/ltcube_413251201_413510401_4FGL_J0909.1+0121_daily_bin671.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/26725/ft2_4FGL_J0909.1+0121_daily_bin671.fits
.....................!
real 12.39
user 11.88
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/26725/ft1_filtered_4FGL_J0909.1+0121_daily_bin671.fits evtable="EVENTS" scfile=/scratch/kocevski/26725/ft2_4FGL_J0909.1+0121_daily_bin671.fits sctable="SC_DATA" expcube=/scratch/kocevski/26725/ltcube_413251201_413510401_4FGL_J0909.1+0121_daily_bin671.fits outfile=/scratch/kocevski/26725/expmap_413251201_413510401_4FGL_J0909.1+0121_daily_bin671.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/26725/ltcube_413251201_413510401_4FGL_J0909.1+0121_daily_bin671.fits
.....................!
real 193.10
user 186.11
sys 5.37

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/26725/ft1_filtered_4FGL_J0909.1+0121_daily_bin671.fits scfile=/scratch/kocevski/26725/ft2_4FGL_J0909.1+0121_daily_bin671.fits outfile=/scratch/kocevski/26725/cmap_413251201_413510401_4FGL_J0909.1+0121_daily_bin671.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.77
user 0.37
sys 0.16

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

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

This is gtbin version HEAD
real 0.63
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    4.0897       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    5.2678       1.0000         .10000E-03   10000.    
     5 'norm      '    .73700       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.6642       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .67341       1.0000         .10000E-03   10000.    
    11 'Normalizat'    1.1219       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .84765       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=   5908.020     FROM MIGRAD    STATUS=CONVERGED    206 CALLS      871 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .33484        .21483E-01** at limit **
   2  norm          4.0859        8.2048        .49839E-02    .23655E-03
   3  Prefactor     .10000E-03    4.7940        .90712E-02** at limit **
   4  norm          5.2674        4.2451        .43781E-02   -.56921E-03
   5  norm          .73531        4.6656        .12203E-01    .12672E-02
   6  Prefactor     .10000E-03    3.2070        .90712E-02** at limit **
   7  Prefactor     4.6638        4.3186        .46586E-02   -.69374E-03
   8  Prefactor     .10000E-03    14.385        .90712E-02** at limit **
   9  Prefactor     .10000E-03    9.8584        .90712E-02** at limit **
  10  norm          .67342        .53001        .10422E-01    .94577E-03
  11  Normalizat    1.1221        .17832        .54025E-01   -.92824E-05
  12  Prefactor     .84749        .13956        .44334E-01   -.16496E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 4.08589
  Prefactor  = 0.0001
  norm       = 5.26739
  norm       = 0.735314
  Prefactor  = 0.0001
  Prefactor  = 4.66379
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.673417
  Normalizat = 1.12205
  Prefactor  = 0.847489
 **********
 **   18 **HESSE 
 **********

 FCN=   5908.020     FROM HESSE     STATUS=OK           133 CALLS     1004 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .42430        .86364E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.0859        8.2000        .19936E-03   -1.5304    
   3  Prefactor     .10000E-03    4.9504        .32862E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.2674        4.2422        .13467E-03   -1.5249    
   5  norm          .73531        4.5754        .31928E-03   -1.5536    
   6  Prefactor     .10000E-03    3.2090        .13443E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.6638        4.3129        .14474E-03   -1.5276    
   8  Prefactor     .10000E-03    14.421        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    9.9952        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .67342        .51070        .47733E-03   -1.5544    
  11  Normalizat    1.1221        .21165        .23888E-03   -.89047    
  12  Prefactor     .84749        .16577        .21643E-03   -.98001    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.26014e-10
Minuit parameter uncertainties:
  1  4.51841e-07
  2  8.20221
  3  1.3331e-05
  4  4.2424
  5  3.66861
  6  5.44212e-06
  7  4.3132
  8  2.5034e-05
  9  2.7294e-05
  10  0.510708
  11  0.211806
  12  0.165867
Done.

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

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  5.267e+00  4.242e+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.475e-01  1.659e-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.122e+00  2.118e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.83
Ra Dec: 137.297 1.356
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 5.02e-08 +/- 4.04e-08
Energy Flux (Fixed Index): 1.51e-05 +/- 1.22e-05

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

Saving results to:
/scratch/kocevski/26725/likelihoodResults_413251201_413510401_4FGL_J0909.1+0121_daily_bin671.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) = 5907.99321635
delta logL = 0.0264831978147

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5907.9905214
delta logL = 0.0291781472124

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.5234       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2882       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1337       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84232       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.

 FCN=   5907.991     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      238 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.5237        4.7077        .14680E-03   -.13961E-02
   2  alpha         2.2893        .84189        .17331E-01   -.11529E-03
   3  Normalizat    1.1337        .21248        .23785E-03    .17407E-03
   4  Prefactor     .84233        .16649        .21705E-03    .24320E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.52373
  alpha      = 2.28925
  Normalizat = 1.13371
  Prefactor  = 0.842326
 **********
 **   18 **HESSE 
 **********

 FCN=   5907.991     FROM HESSE     STATUS=OK            23 CALLS      261 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.5237        4.6939        .58719E-05   -1.5238    
   2  alpha         2.2893        .83804        .69323E-03   -.84399E-01
   3  Normalizat    1.1337        .21251        .47570E-04   -.88677    
   4  Prefactor     .84233        .16655        .43409E-04   -.98186    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.54788e-09
Minuit parameter uncertainties:
  1  4.69419
  2  0.854707
  3  0.212673
  4  0.166646
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/26725': 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) = 5907.99052037
delta logL = 0.0291791735408

Extracting fit parameters...

4FGL J0909.1+0121
   Spectrum: LogParabola
269         norm:  5.524e+00  4.694e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  2.289e+00  8.547e-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.423e-01  1.666e-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.134e+00  2.127e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.89
Ra Dec: 137.297 1.356
Photon Index (Free Index): 2.29 +/- 0.85
Photon Flux (Free Index): 4.06e-08 +/- 5.43e-08
Energy Flux (Free Index): 1.51e-05 +/- 1.28e-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/26725/cmap_HighResolution_413251201_413510401_4FGL_J0909.1+0121_daily_bin671.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.11e-05', comment='SUCCESS', photon_flux='5.02e-08', energy_flux2='1.51e-05', photon_flux_error='4.04e-08', dlogl='2.92e-02', energy_flux='1.51e-05', photon_flux2='4.06e-08', job_status='DONE', time_completed='2021-08-31 01:46:57.658929', photon_index_error2='0.85', photon_index2='2.29', ts='2.83', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='1.36e-07', energy_flux_error2='1.28e-05', EG='1.12', time_epoch_completed='1630399617.66', return_code='0', job_id='26725', GAL2='0.84', EG2='1.13', return_code2='0', energy_flux_error='1.22e-05', photon_flux_error2='5.43e-08', ts2='2.89', photon_index='2.49' WHERE bin_id='671' AND source_name='4FGL J0909.1+0121' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:46:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 26725: <4FGL_J0909.1+0121_daily_bin671> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0909.1+0121_daily_bin671 137.297 1.3557 413251201 413510401 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 :                                   461.34 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             262.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   636 sec.
    Turnaround time :                            639 sec.

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

