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


Performing analysis on: 4FGL_J0902.4+2051_daily_bin1110
RA = 135.617, Dec = 20.8503
tmin = 527040001, tmax = 527299201
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='943321', job_status='RUN', time_executed='2021-08-30 21:20:12.065038', time_epoch_executed='1630383612.07' WHERE source_name='4FGL J0902.4+2051' and cadence='daily' and bin_id='1110'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/943321

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/943321/ft1_4FGL_J0902.4+2051_daily_bin1110.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/943321/ft2_4FGL_J0902.4+2051_daily_bin1110.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/943321/ft1_4FGL_J0902.4+2051_daily_bin1110.fits outfile=/scratch/kocevski/943321/ft1_filteredMKT_4FGL_J0902.4+2051_daily_bin1110.fits ra=135.617 dec=20.8503 rad=12.0 tmin=527040001.0 tmax=527299201.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 6.09
user 5.81
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/943321/ft2_4FGL_J0902.4+2051_daily_bin1110.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/943321/ft2_4FGL_J0902.4+2051_daily_bin1110.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/943321/ft1_filteredMKT_4FGL_J0902.4+2051_daily_bin1110.fits evtable="EVENTS" outfile="/scratch/kocevski/943321/ft1_filtered_4FGL_J0902.4+2051_daily_bin1110.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.50
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/943321/ft1_filtered_4FGL_J0902.4+2051_daily_bin1110.fits" evtable="EVENTS" scfile=/scratch/kocevski/943321/ft2_4FGL_J0902.4+2051_daily_bin1110.fits sctable="SC_DATA" outfile=/scratch/kocevski/943321/ltcube_527040001_527299201_4FGL_J0902.4+2051_daily_bin1110.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/943321/ft2_4FGL_J0902.4+2051_daily_bin1110.fits
.....................!
real 12.56
user 12.19
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/943321/ft1_filtered_4FGL_J0902.4+2051_daily_bin1110.fits evtable="EVENTS" scfile=/scratch/kocevski/943321/ft2_4FGL_J0902.4+2051_daily_bin1110.fits sctable="SC_DATA" expcube=/scratch/kocevski/943321/ltcube_527040001_527299201_4FGL_J0902.4+2051_daily_bin1110.fits outfile=/scratch/kocevski/943321/expmap_527040001_527299201_4FGL_J0902.4+2051_daily_bin1110.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/943321/ltcube_527040001_527299201_4FGL_J0902.4+2051_daily_bin1110.fits
.....................!
real 190.86
user 185.56
sys 4.88

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 169 point sources and 0 extended sources

Setting source of interest to:
4FGL J0902.4+2051 @ 135.617 20.8503

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/943321/ft1_filtered_4FGL_J0902.4+2051_daily_bin1110.fits scfile=/scratch/kocevski/943321/ft2_4FGL_J0902.4+2051_daily_bin1110.fits outfile=/scratch/kocevski/943321/cmap_527040001_527299201_4FGL_J0902.4+2051_daily_bin1110.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=135.617 yref=20.8503 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.56
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/943321/ft1_filtered_4FGL_J0902.4+2051_daily_bin1110.fits scfile=/scratch/kocevski/943321/ft2_4FGL_J0902.4+2051_daily_bin1110.fits outfile=/scratch/kocevski/943321/cmap_HighResolution_527040001_527299201_4FGL_J0902.4+2051_daily_bin1110.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=135.617 yref=20.8503 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.55
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/943321/ft1_filtered_4FGL_J0902.4+2051_daily_bin1110.fits evtable="EVENTS" scfile=/scratch/kocevski/943321/ft2_4FGL_J0902.4+2051_daily_bin1110.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/943321/Model_4FGL_J0902.4+2051_daily_bin1110.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/943321/ft1_filtered_4FGL_J0902.4+2051_daily_bin1110.fits.....................!
real 61.17
user 59.81
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/943321/ft1_filtered_4FGL_J0902.4+2051_daily_bin1110.fits', '/scratch/kocevski/943321/ft2_4FGL_J0902.4+2051_daily_bin1110.fits', expMap='/scratch/kocevski/943321/expmap_527040001_527299201_4FGL_J0902.4+2051_daily_bin1110.fits', expCube='/scratch/kocevski/943321/ltcube_527040001_527299201_4FGL_J0902.4+2051_daily_bin1110.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/943321/Model_4FGL_J0902.4+2051_daily_bin1110.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0902.4+2051'

4FGL J0902.4+2051
   Spectrum: PowerLaw
298    Prefactor:  7.653e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
299        Index:  2.145e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
300        Scale:  1.387e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/943321/ft1_filtered_4FGL_J0902.4+2051_daily_bin1110.fits
Spacecraft file(s): /scratch/kocevski/943321/ft2_4FGL_J0902.4+2051_daily_bin1110.fits
Exposure map: /scratch/kocevski/943321/expmap_527040001_527299201_4FGL_J0902.4+2051_daily_bin1110.fits
Exposure cube: /scratch/kocevski/943321/ltcube_527040001_527299201_4FGL_J0902.4+2051_daily_bin1110.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/943321/Model_4FGL_J0902.4+2051_daily_bin1110.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) = 6687.53789955

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    44.716       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .55170E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.429       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11975       1.0000         .10000E-03   10000.    
     6 'norm      '    .69971       1.0000         .10000E-03   10000.    
     7 'Prefactor '    27.983       1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.031       1.0000         .10000E-03   10000.    
     9 'norm      '    9.1088       1.0000         .10000E-03   10000.    
    10 'norm      '    21.609       1.0000         .10000E-03   10000.    
    11 'norm      '    3.3717       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .14236E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .86001       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .65713E-02   1.0000         .10000E-03   10000.    
    15 'Prefactor '    79.782       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0324       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.3690       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6687.362     FROM MIGRAD    STATUS=CONVERGED    137 CALLS     1094 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     45.022        27.463        .12070E-05   -.40120E-05
   2  norm          .10000E-03    .43103        .10284E-05** at limit **
   3  Prefactor     .10000E-03    22.033        .62382E-05** at limit **
   4  Prefactor     16.463        10.013        .81171E-06   -.68900E-05
   5  Prefactor     .10000E-03    129.85        .48688E-05** at limit **
   6  norm          .69877        .61504       -.69380E-07    .42201E-04
   7  Prefactor     28.235        15.591        .12620E-05   -.16706E-04
   8  Prefactor     11.237        18.388        .14632E-07    .20800E-04
   9  norm          9.0990        7.7550        .24310E-06   -.37414E-05
  10  norm          20.146        33.022        .64255E-06   -.30276E-05
  11  norm          3.3710        2.0660       -.13366E-05    .23091E-03
  12  Prefactor     .10000E-03    16.791       -.36584E-05** at limit **
  13  Prefactor     .85816        3.5008        .14016E-05   -.72015E-05
  14  Prefactor     .10000E-03    23.379       -.71610E-05** at limit **
  15  Prefactor     81.044        67.331       -.39714E-06    .61146E-05
  16  Prefactor     .10000E-03    11.223       -.68677E-06** at limit **
  17  Normalizat    1.0310        .24823       -.73325E-05    .56510E-04
  18  Prefactor     1.3698        .21417        .27692E-05    .46254E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 45.022
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.4628
  Prefactor  = 0.0001
  norm       = 0.698774
  Prefactor  = 28.2355
  Prefactor  = 11.2369
  norm       = 9.09901
  norm       = 20.1458
  norm       = 3.37099
  Prefactor  = 0.0001
  Prefactor  = 0.858161
  Prefactor  = 0.0001
  Prefactor  = 81.0436
  Prefactor  = 0.0001
  Normalizat = 1.03104
  Prefactor  = 1.36979
 **********
 **   18 **HESSE 
 **********

 FCN=   6687.362     FROM HESSE     STATUS=OK           288 CALLS     1382 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     45.022        27.514        .14989E-02   -1.4365    
   2  norm          .10000E-03    .42728        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    21.075        .10554E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     16.463        10.013        .24703E-02   -1.4896    
   5  Prefactor     .10000E-03    126.96        .96050E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .69877        .59038        .12061E-01   -1.5541    
   7  Prefactor     28.235        15.621        .18934E-02   -1.4645    
   8  Prefactor     11.237        18.341        .30156E-02   -1.5037    
   9  norm          9.0990        7.7535        .33199E-02   -1.5105    
  10  norm          20.146        33.009        .21541E-02   -1.4810    
  11  norm          3.3710        2.0731        .55093E-02   -1.5341    
  12  Prefactor     .10000E-03    16.805        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .85816        3.5354        .12662E-01   -1.5523    
  14  Prefactor     .10000E-03    23.285        .94001E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     81.044        67.296        .11241E-02   -1.3905    
  16  Prefactor     .10000E-03    11.227        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.0310        .20734        .68290E-01   -.91998    
  18  Prefactor     1.3698        .17821        .53967E-01   -.81255    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.97409e-09
Minuit parameter uncertainties:
  1  27.5218
  2  1.26018e-06
  3  6.75932e-05
  4  10.0135
  5  0.000170703
  6  0.590382
  7  15.6231
  8  18.3499
  9  7.75432
  10  33.0393
  11  2.0731
  12  3.59916e-05
  13  3.48379
  14  7.77656e-05
  15  67.3597
  16  7.48373e-06
  17  0.207503
  18  0.178286
Done.

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

Extracting fit parameters...

4FGL J0902.4+2051
   Spectrum: PowerLaw
298    Prefactor:  2.824e+01  1.562e+01  1.000e-04  1.000e+04 ( 1.000e-13)
299        Index:  2.145e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
300        Scale:  1.387e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.370e+00  1.783e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.031e+00  2.075e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.17
Ra Dec: 135.617 20.850
Photon Index (Fixed Index): 2.15 +/- 0.00
Photon Flux (Fixed Index): 6.95e-08 +/- 3.84e-08
Energy Flux (Fixed Index): 3.47e-05 +/- 1.92e-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) = 6687.24928566
delta logL = 0.112913222936

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6687.2373524
delta logL = 0.124846487142

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.564       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9146       1.0000          .0000       10.000    
     3 'Normalizat'    1.0494       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3624       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+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=   6687.237     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      248 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.565        17.945        .72473E-04   -.40268E-03
   2  Index         1.9146        .46320        .77181E-02   -.15257E-03
   3  Normalizat    1.0494        .23862        .29987E-03    .10229E-03
   4  Prefactor     1.3624        .21234        .23923E-03    .12364E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.5645
  Index      = 1.91455
  Normalizat = 1.0494
  Prefactor  = 1.36242
 **********
 **   18 **HESSE 
 **********

 FCN=   6687.237     FROM HESSE     STATUS=OK            23 CALLS      271 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.565        17.906        .14495E-04   -1.4602    
   2  Index         1.9146        .46184        .30872E-03   -.66504    
   3  Normalizat    1.0494        .23873        .11995E-04   -.91393    
   4  Prefactor     1.3624        .21251        .47846E-04   -.81469    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.54212e-10
Minuit parameter uncertainties:
  1  17.9087
  2  0.462907
  3  0.238973
  4  0.212645
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/943321': 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) = 6687.2373524
delta logL = 0.124846490257

Extracting fit parameters...

4FGL J0902.4+2051
   Spectrum: PowerLaw
298    Prefactor:  3.056e+01  1.791e+01  1.000e-04  1.000e+04 ( 1.000e-13)
299        Index:  1.915e+00  4.629e-01  0.000e+00  1.000e+01 (-1.000e+00)
300        Scale:  1.387e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.362e+00  2.126e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  1.049e+00  2.390e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.42
Ra Dec: 135.617 20.850
Photon Index (Free Index): 1.91 +/- 0.46
Photon Flux (Free Index): 5.13e-08 +/- 4.64e-08
Energy Flux (Free Index): 4.42e-05 +/- 3.59e-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/943321/cmap_HighResolution_527040001_527299201_4FGL_J0902.4+2051_daily_bin1110.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.95e-08', energy_flux2='4.42e-05', photon_flux_error='3.84e-08', dlogl='1.25e-01', energy_flux='3.47e-05', photon_flux2='5.13e-08', job_status='DONE', time_completed='2021-08-30 21:28:34.434993', photon_index_error2='0.46', photon_index2='1.91', ts='14.17', fit_tolerance='1e-08', GAL='1.37', photon_index_error='0.00', energy_flux_error2='3.59e-05', EG='1.03', time_epoch_completed='1630384114.44', return_code='0', job_id='943321', GAL2='1.36', EG2='1.05', return_code2='0', energy_flux_error='1.92e-05', photon_flux_error2='4.64e-08', ts2='14.42', photon_index='2.15' WHERE bin_id='1110' AND source_name='4FGL J0902.4+2051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 21:28:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0246>
Subject: Job 943321: <4FGL_J0902.4+2051_daily_bin1110> in cluster <slac> Done

Job <4FGL_J0902.4+2051_daily_bin1110> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Mon Aug 30 21:16:02 2021
Job was executed on host(s) <bullet0246>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 21:16:04 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug 30 21:16:04 2021
Terminated at Mon Aug 30 21:28:35 2021
Results reported at Mon Aug 30 21:28:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0902.4+2051_daily_bin1110 135.617 20.8503 527040001 527299201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0902.4+2051 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   499.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             259.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   750 sec.
    Turnaround time :                            753 sec.

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

