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


Performing analysis on: 4FGL_J0902.4+2051_daily_bin439
RA = 135.617, Dec = 20.8503
tmin = 353116801, tmax = 353376001
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='939717', job_status='RUN', time_executed='2021-08-30 21:05:55.533444', time_epoch_executed='1630382755.53' WHERE source_name='4FGL J0902.4+2051' and cadence='daily' and bin_id='439'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/939717

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/939717/ft1_4FGL_J0902.4+2051_daily_bin439.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/939717/ft2_4FGL_J0902.4+2051_daily_bin439.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/939717/ft1_4FGL_J0902.4+2051_daily_bin439.fits outfile=/scratch/kocevski/939717/ft1_filteredMKT_4FGL_J0902.4+2051_daily_bin439.fits ra=135.617 dec=20.8503 rad=12.0 tmin=353116801.0 tmax=353376001.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 3.80
user 3.20
sys 0.54

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/939717/ft2_4FGL_J0902.4+2051_daily_bin439.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/939717/ft1_filteredMKT_4FGL_J0902.4+2051_daily_bin439.fits evtable="EVENTS" outfile="/scratch/kocevski/939717/ft1_filtered_4FGL_J0902.4+2051_daily_bin439.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.83
user 0.32
sys 0.50

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/939717/ft1_filtered_4FGL_J0902.4+2051_daily_bin439.fits" evtable="EVENTS" scfile=/scratch/kocevski/939717/ft2_4FGL_J0902.4+2051_daily_bin439.fits sctable="SC_DATA" outfile=/scratch/kocevski/939717/ltcube_353116801_353376001_4FGL_J0902.4+2051_daily_bin439.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/939717/ft2_4FGL_J0902.4+2051_daily_bin439.fits
.....................!
real 12.29
user 11.46
sys 0.67

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/939717/ft1_filtered_4FGL_J0902.4+2051_daily_bin439.fits evtable="EVENTS" scfile=/scratch/kocevski/939717/ft2_4FGL_J0902.4+2051_daily_bin439.fits sctable="SC_DATA" expcube=/scratch/kocevski/939717/ltcube_353116801_353376001_4FGL_J0902.4+2051_daily_bin439.fits outfile=/scratch/kocevski/939717/expmap_353116801_353376001_4FGL_J0902.4+2051_daily_bin439.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/939717/ltcube_353116801_353376001_4FGL_J0902.4+2051_daily_bin439.fits
.....................!
real 191.29
user 185.85
sys 4.77

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/939717/ft1_filtered_4FGL_J0902.4+2051_daily_bin439.fits scfile=/scratch/kocevski/939717/ft2_4FGL_J0902.4+2051_daily_bin439.fits outfile=/scratch/kocevski/939717/cmap_353116801_353376001_4FGL_J0902.4+2051_daily_bin439.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.87
user 0.37
sys 0.48

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/939717/ft1_filtered_4FGL_J0902.4+2051_daily_bin439.fits scfile=/scratch/kocevski/939717/ft2_4FGL_J0902.4+2051_daily_bin439.fits outfile=/scratch/kocevski/939717/cmap_HighResolution_353116801_353376001_4FGL_J0902.4+2051_daily_bin439.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.87
user 0.38
sys 0.48

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/939717/ft1_filtered_4FGL_J0902.4+2051_daily_bin439.fits', '/scratch/kocevski/939717/ft2_4FGL_J0902.4+2051_daily_bin439.fits', expMap='/scratch/kocevski/939717/expmap_353116801_353376001_4FGL_J0902.4+2051_daily_bin439.fits', expCube='/scratch/kocevski/939717/ltcube_353116801_353376001_4FGL_J0902.4+2051_daily_bin439.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/939717/Model_4FGL_J0902.4+2051_daily_bin439.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/939717/ft1_filtered_4FGL_J0902.4+2051_daily_bin439.fits
Spacecraft file(s): /scratch/kocevski/939717/ft2_4FGL_J0902.4+2051_daily_bin439.fits
Exposure map: /scratch/kocevski/939717/expmap_353116801_353376001_4FGL_J0902.4+2051_daily_bin439.fits
Exposure cube: /scratch/kocevski/939717/ltcube_353116801_353376001_4FGL_J0902.4+2051_daily_bin439.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/939717/Model_4FGL_J0902.4+2051_daily_bin439.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) = 5947.11314706

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.990       1.0000         .10000E-03   10000.    
     2 'norm      '    1.5974       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.4008       1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.114       1.0000         .10000E-03   10000.    
     6 'norm      '    .32318       1.0000         .10000E-03   10000.    
     7 'Prefactor '    24.039       1.0000         .10000E-03   10000.    
     8 'Prefactor '    21.446       1.0000         .10000E-03   10000.    
     9 'norm      '    .10133E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .44761       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    57.965       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .79439       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.1928       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.

 FCN=   5947.110     FROM MIGRAD    STATUS=CONVERGED    360 CALLS     1740 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.989        19.211       -.16414E-06   -.19259E-04
   2  norm          1.5978        1.3237        .13629E-07   -.16921E-03
   3  Prefactor     .10000E-03    4.2113       -.21563E-07** at limit **
   4  Prefactor     3.4010        4.2184        .13046E-05   -.96178E-03
   5  Prefactor     14.105        31.643       -.45246E-05   -.20378E-03
   6  norm          .32294        .56751        .71310E-07   -.17722E-03
   7  Prefactor     24.040        15.641       -.12672E-06   -.22125E-04
   8  Prefactor     21.442        17.997       -.45755E-06   -.83829E-04
   9  norm          .10000E-03    14.649        .45024E-07** at limit **
  10  norm          .10000E-03    18.800        .18453E-06** at limit **
  11  norm          .44750        1.6023        .55795E-06   -.42152E-03
  12  Prefactor     .10000E-03    36.427        .23713E-05** at limit **
  13  Prefactor     .10000E-03    2.2868       -.46724E-07** at limit **
  14  Prefactor     .10000E-03    31.497       -.14606E-05** at limit **
  15  Prefactor     .10000E-03    44.643       -.74888E-06** at limit **
  16  Prefactor     57.958        44.747       -.19908E-05   -.19443E-03
  17  Normalizat    .79447        .18777        .21632E-06   -.42011E-04
  18  Prefactor     1.1927        .16468        .65946E-08   -.26075E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.989
  norm       = 1.59781
  Prefactor  = 0.0001
  Prefactor  = 3.40102
  Prefactor  = 14.1049
  norm       = 0.322945
  Prefactor  = 24.0405
  Prefactor  = 21.4417
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.447505
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 57.958
  Normalizat = 0.794466
  Prefactor  = 1.19274
 **********
 **   18 **HESSE 
 **********

 FCN=   5947.110     FROM HESSE     STATUS=OK           244 CALLS     1984 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.989        19.188        .94430E-04   -1.4859    
   2  norm          1.5978        1.3083        .74635E-04   -1.5455    
   3  Prefactor     .10000E-03    4.2370        .15451E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.4010        4.6457        .94183E-03   -1.5339    
   5  Prefactor     14.105        33.345        .10661E-03   -1.4957    
   6  norm          .32294        .48142        .71900E-03   -1.5594    
   7  Prefactor     24.040        15.404        .81699E-04   -1.4727    
   8  Prefactor     21.442        18.097        .86491E-04   -1.4782    
   9  norm          .10000E-03    15.039        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    18.831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .44750        1.6272        .18086E-03   -1.5574    
  12  Prefactor     .10000E-03    36.979        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.3196        .11374E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    31.908        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    44.730        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     57.958        45.958        .52693E-04   -1.4184    
  17  Normalizat    .79447        .21931        .28326E-03   -1.0027    
  18  Prefactor     1.1927        .19297        .21104E-03   -.86555    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.13748e-09
Minuit parameter uncertainties:
  1  19.1941
  2  1.30827
  3  3.48782e-06
  4  4.64616
  5  33.3889
  6  0.481423
  7  15.4065
  8  18.1019
  9  1.27973e-05
  10  2.38079e-05
  11  1.62739
  12  0.000505103
  13  4.93049e-06
  14  0.000313666
  15  0.000179385
  16  45.9866
  17  0.219557
  18  0.193081
Done.

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

Extracting fit parameters...

4FGL J0902.4+2051
   Spectrum: PowerLaw
298    Prefactor:  2.404e+01  1.541e+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.193e+00  1.931e-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:  7.945e-01  2.196e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.60
Ra Dec: 135.617 20.850
Photon Index (Fixed Index): 2.15 +/- 0.00
Photon Flux (Fixed Index): 5.92e-08 +/- 3.79e-08
Energy Flux (Fixed Index): 2.96e-05 +/- 1.89e-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) = 5946.23487892
delta logL = 0.87560667358

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5946.20365861
delta logL = 0.90682698709

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.524       1.0000         .10000E-03   10000.    
     2 'Index     '    1.4714       1.0000          .0000       10.000    
     3 'Normalizat'    .81910       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1913       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.

 FCN=   5946.204     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      215 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 19.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.510        25.775       -.17940E-04    .36481E-03
   2  Index         1.4712        .63143       -.76470E-04   -.46525E-05
   3  Normalizat    .81913        .18146        .23596E-05    .12466E-02
   4  Prefactor     1.1913        .16436        .22445E-05    .14049E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.5098
  Index      = 1.47121
  Normalizat = 0.819129
  Prefactor  = 1.19125
 **********
 **   18 **HESSE 
 **********

 FCN=   5946.204     FROM HESSE     STATUS=OK            27 CALLS      242 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.510        24.535        .86335E-04   -1.4780    
   2  Index         1.4712        .60104        .76949E-02   -.78349    
   3  Normalizat    .81913        .21251        .27945E-03   -.99363    
   4  Prefactor     1.1913        .19232        .21135E-03   -.86601    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.23127e-09
Minuit parameter uncertainties:
  1  24.5467
  2  0.603965
  3  0.212729
  4  0.192435
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/939717': 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) = 5946.20365842
delta logL = 0.906827172694

Extracting fit parameters...

4FGL J0902.4+2051
   Spectrum: PowerLaw
298    Prefactor:  2.151e+01  2.455e+01  1.000e-04  1.000e+04 ( 1.000e-13)
299        Index:  1.471e+00  6.040e-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.191e+00  1.924e-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:  8.191e-01  2.127e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.41
Ra Dec: 135.617 20.850
Photon Index (Free Index): 1.47 +/- 0.60
Photon Flux (Free Index): 2.10e-08 +/- 3.21e-08
Energy Flux (Free Index): 7.32e-05 +/- 7.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/939717/cmap_HighResolution_353116801_353376001_4FGL_J0902.4+2051_daily_bin439.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.92e-08', energy_flux2='7.32e-05', photon_flux_error='3.79e-08', dlogl='9.07e-01', energy_flux='2.96e-05', photon_flux2='2.10e-08', job_status='DONE', time_completed='2021-08-30 21:14:21.834200', photon_index_error2='0.60', photon_index2='1.47', ts='4.60', fit_tolerance='1e-08', GAL='1.19', photon_index_error='0.00', energy_flux_error2='7.59e-05', EG='0.79', time_epoch_completed='1630383261.83', return_code='0', job_id='939717', GAL2='1.19', EG2='0.82', return_code2='0', energy_flux_error='1.89e-05', photon_flux_error2='3.21e-08', ts2='6.41', photon_index='2.15' WHERE bin_id='439' AND source_name='4FGL J0902.4+2051' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 21:14:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 939717: <4FGL_J0902.4+2051_daily_bin439> in cluster <slac> Done

Job <4FGL_J0902.4+2051_daily_bin439> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Aug 30 21:05:34 2021
Job was executed on host(s) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 21:05:35 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:05:35 2021
Terminated at Mon Aug 30 21:14:25 2021
Results reported at Mon Aug 30 21:14:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0902.4+2051_daily_bin439 135.617 20.8503 353116801 353376001 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 :                                   506.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             351.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   527 sec.
    Turnaround time :                            531 sec.

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

