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


Performing analysis on: 4FGL_J0909.7-0230_daily_bin1250
RA = 137.446, Dec = -2.5143
tmin = 563328001, tmax = 563587201
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='36815', job_status='RUN', time_executed='2021-08-31 02:06:26.570722', time_epoch_executed='1630400786.57' WHERE source_name='4FGL J0909.7-0230' and cadence='daily' and bin_id='1250'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/36815

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/36815/ft1_4FGL_J0909.7-0230_daily_bin1250.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/36815/ft2_4FGL_J0909.7-0230_daily_bin1250.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/36815/ft1_4FGL_J0909.7-0230_daily_bin1250.fits outfile=/scratch/kocevski/36815/ft1_filteredMKT_4FGL_J0909.7-0230_daily_bin1250.fits ra=137.446 dec=-2.5143 rad=12.0 tmin=563328001.0 tmax=563587201.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.16
user 2.77
sys 0.36

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/36815/ft2_4FGL_J0909.7-0230_daily_bin1250.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/36815/ft2_4FGL_J0909.7-0230_daily_bin1250.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/36815/ft1_filteredMKT_4FGL_J0909.7-0230_daily_bin1250.fits evtable="EVENTS" outfile="/scratch/kocevski/36815/ft1_filtered_4FGL_J0909.7-0230_daily_bin1250.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.69
user 0.31
sys 0.34

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/36815/ft1_filtered_4FGL_J0909.7-0230_daily_bin1250.fits" evtable="EVENTS" scfile=/scratch/kocevski/36815/ft2_4FGL_J0909.7-0230_daily_bin1250.fits sctable="SC_DATA" outfile=/scratch/kocevski/36815/ltcube_563328001_563587201_4FGL_J0909.7-0230_daily_bin1250.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/36815/ft2_4FGL_J0909.7-0230_daily_bin1250.fits
.....................!
real 12.23
user 11.72
sys 0.48

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/36815/ft1_filtered_4FGL_J0909.7-0230_daily_bin1250.fits evtable="EVENTS" scfile=/scratch/kocevski/36815/ft2_4FGL_J0909.7-0230_daily_bin1250.fits sctable="SC_DATA" expcube=/scratch/kocevski/36815/ltcube_563328001_563587201_4FGL_J0909.7-0230_daily_bin1250.fits outfile=/scratch/kocevski/36815/expmap_563328001_563587201_4FGL_J0909.7-0230_daily_bin1250.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/36815/ltcube_563328001_563587201_4FGL_J0909.7-0230_daily_bin1250.fits
.....................!
real 190.80
user 185.68
sys 4.69

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

Setting source of interest to:
4FGL J0909.7-0230 @ 137.446 -2.5143

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/36815/ft1_filtered_4FGL_J0909.7-0230_daily_bin1250.fits scfile=/scratch/kocevski/36815/ft2_4FGL_J0909.7-0230_daily_bin1250.fits outfile=/scratch/kocevski/36815/cmap_563328001_563587201_4FGL_J0909.7-0230_daily_bin1250.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.446 yref=-2.5143 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.71
user 0.38
sys 0.32

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/36815/ft1_filtered_4FGL_J0909.7-0230_daily_bin1250.fits scfile=/scratch/kocevski/36815/ft2_4FGL_J0909.7-0230_daily_bin1250.fits outfile=/scratch/kocevski/36815/cmap_HighResolution_563328001_563587201_4FGL_J0909.7-0230_daily_bin1250.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.446 yref=-2.5143 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.71
user 0.37
sys 0.33

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/36815/ft1_filtered_4FGL_J0909.7-0230_daily_bin1250.fits evtable="EVENTS" scfile=/scratch/kocevski/36815/ft2_4FGL_J0909.7-0230_daily_bin1250.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/36815/Model_4FGL_J0909.7-0230_daily_bin1250.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/36815/ft1_filtered_4FGL_J0909.7-0230_daily_bin1250.fits.....................!
real 78.89
user 77.26
sys 1.41

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/36815/ft1_filtered_4FGL_J0909.7-0230_daily_bin1250.fits', '/scratch/kocevski/36815/ft2_4FGL_J0909.7-0230_daily_bin1250.fits', expMap='/scratch/kocevski/36815/expmap_563328001_563587201_4FGL_J0909.7-0230_daily_bin1250.fits', expCube='/scratch/kocevski/36815/ltcube_563328001_563587201_4FGL_J0909.7-0230_daily_bin1250.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/36815/Model_4FGL_J0909.7-0230_daily_bin1250.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0909.7-0230'

4FGL J0909.7-0230
   Spectrum: LogParabola
269         norm:  6.868e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  2.194e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
271         beta:  1.005e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  6.889e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/36815/ft1_filtered_4FGL_J0909.7-0230_daily_bin1250.fits
Spacecraft file(s): /scratch/kocevski/36815/ft2_4FGL_J0909.7-0230_daily_bin1250.fits
Exposure map: /scratch/kocevski/36815/expmap_563328001_563587201_4FGL_J0909.7-0230_daily_bin1250.fits
Exposure cube: /scratch/kocevski/36815/ltcube_563328001_563587201_4FGL_J0909.7-0230_daily_bin1250.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/36815/Model_4FGL_J0909.7-0230_daily_bin1250.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) = 8047.48688161

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.0121       1.0000         .10000E-03   10000.    
     2 'norm      '    29.593       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12092E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.4003       1.0000         .10000E-03   10000.    
     5 'norm      '    2.2570       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10288E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.6404       1.0000         .10000E-03   10000.    
     9 'norm      '    14.520       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .61537E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.2636       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10157E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11436E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    24.154       1.0000         .10000E-03   10000.    
    15 'norm      '    4.2377       1.0000         .10000E-03   10000.    
    16 'norm      '    1.2133       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .79469       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0336       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8047.486     FROM MIGRAD    STATUS=CONVERGED    368 CALLS     1722 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.0120        .79844        .13089E-01    .35366E-04
   2  norm          29.594        8.8923        .18412E-02    .12717E-02
   3  Prefactor     .10000E-03    9.5947        .90712E-02** at limit **
   4  norm          3.3930        6.1821        .54850E-02    .63177E-03
   5  norm          2.2586        2.0235        .68365E-02   -.21785E-04
   6  Prefactor     .10000E-03    5.0154        .90712E-02** at limit **
   7  Prefactor     .10000E-03    1.5925        .90712E-02** at limit **
   8  norm          1.6413        2.5532        .82478E-02    .79222E-03
   9  norm          14.534        5.9886        .26278E-02   -.57746E-03
  10  Prefactor     .10000E-03    18.474        .10525E-01** at limit **
  11  Prefactor     5.2687        3.5966        .43799E-02    .42840E-03
  12  Prefactor     .10000E-03    7.4345        .90712E-02** at limit **
  13  Prefactor     .10000E-03    4.4971        .90712E-02** at limit **
  14  Prefactor     23.990        29.220        .20376E-02    .14875E-03
  15  norm          4.2380        3.0695        .48935E-02    .10399E-03
  16  norm          1.2132        .55119        .95374E-02    .59652E-03
  17  Normalizat    .79474        .16297        .65086E-01    .26716E-04
  18  Prefactor     1.0336        .12296        .40986E-01    .32517E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.01205
  norm       = 29.5939
  Prefactor  = 0.0001
  norm       = 3.39303
  norm       = 2.25856
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.64127
  norm       = 14.5341
  Prefactor  = 0.0001
  Prefactor  = 5.26871
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.9904
  norm       = 4.23797
  norm       = 1.2132
  Normalizat = 0.794741
  Prefactor  = 1.03358
 **********
 **   18 **HESSE 
 **********

 FCN=   8047.486     FROM HESSE     STATUS=OK           250 CALLS     1972 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.0120        .82573        .68997E-03   -1.5507    
   2  norm          29.594        8.8901        .73649E-04   -1.4619    
   3  Prefactor     .10000E-03    9.6129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.3930        6.1513        .21940E-03   -1.5340    
   5  norm          2.2586        2.0235        .11531E-03   -1.5407    
   6  Prefactor     .10000E-03    5.0424        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.5969        .11055E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.6413        2.5262        .17154E-03   -1.5452    
   9  norm          14.534        5.9893        .10511E-03   -1.4945    
  10  Prefactor     .10000E-03    19.040        .42101E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.2687        3.6077        .13146E-03   -1.5249    
  12  Prefactor     .10000E-03    7.4388        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.5201        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     23.990        29.261        .40753E-03   -1.4728    
  15  norm          4.2380        3.0693        .12924E-03   -1.5296    
  16  norm          1.2132        .54254        .42836E-04   -1.5488    
  17  Normalizat    .79474        .19012        .28793E-03   -1.0026    
  18  Prefactor     1.0336        .14387        .20068E-03   -.91618    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.10218e-10
Minuit parameter uncertainties:
  1  0.825743
  2  8.8905
  3  2.23477e-06
  4  6.1524
  5  2.02356
  6  7.84817e-07
  7  6.9519e-08
  8  2.52633
  9  5.98956
  10  5.14635e-05
  11  3.60782
  12  1.49575e-05
  13  5.49385e-08
  14  29.2786
  15  3.06945
  16  0.542539
  17  0.190282
  18  0.143919
Done.

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

Extracting fit parameters...

4FGL J0909.7-0230
   Spectrum: LogParabola
269         norm:  1.453e+01  5.990e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  2.194e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
271         beta:  1.005e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  6.889e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  1.034e+00  1.439e-01  0.000e+00  1.000e+01 ( 1.000e+00)
502        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
503        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
500   Normalization:  7.947e-01  1.903e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.55
Ra Dec: 137.446 -2.514
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 7.01e-08 +/- 2.89e-08
Energy Flux (Fixed Index): 2.81e-05 +/- 1.16e-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) = 8047.47556523
delta logL = 0.010689218685

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8047.47383687
delta logL = 0.012417576897

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    14.878       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1382       1.0000          .0000       5.0000    
     3 'Normalizat'    .79763       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0321       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5040E+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=   8047.474     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      253 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.877        6.4905        .10384E-03    .13138E-05
   2  alpha         2.1383        .35464        .10958E-01    .11253E-03
   3  Normalizat    .79776        .18261        .28744E-03   -.57350E-05
   4  Prefactor     1.0320        .14353        .20081E-03    .20438E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 14.8766
  alpha      = 2.13832
  Normalizat = 0.797759
  Prefactor  = 1.03202
 **********
 **   18 **HESSE 
 **********

 FCN=   8047.474     FROM HESSE     STATUS=OK            25 CALLS      278 TOTAL
                     EDM=   .17E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.877        6.4452        .41535E-05   -1.4936    
   2  alpha         2.1383        .35212        .21915E-02   -.14518    
   3  Normalizat    .79776        .18276        .11498E-04   -1.0015    
   4  Prefactor     1.0320        .14364        .80325E-05   -.91670    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.726e-12
Minuit parameter uncertainties:
  1  6.44553
  2  0.353325
  3  0.182896
  4  0.143697
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/36815': 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) = 8047.47383658
delta logL = 0.0124178670712

Extracting fit parameters...

4FGL J0909.7-0230
   Spectrum: LogParabola
269         norm:  1.488e+01  6.446e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  2.138e+00  3.533e-01  0.000e+00  5.000e+00 ( 1.000e+00)
271         beta:  1.005e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
272           Eb:  6.889e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
501    Prefactor:  1.032e+00  1.437e-01  0.000e+00  1.000e+01 ( 1.000e+00)
502        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
503        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
500   Normalization:  7.978e-01  1.829e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.52
Ra Dec: 137.446 -2.514
Photon Index (Free Index): 2.14 +/- 0.35
Photon Flux (Free Index): 6.78e-08 +/- 3.18e-08
Energy Flux (Free Index): 2.92e-05 +/- 1.41e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/36815/cmap_HighResolution_563328001_563587201_4FGL_J0909.7-0230_daily_bin1250.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.01e-08', energy_flux2='2.92e-05', photon_flux_error='2.89e-08', dlogl='1.24e-02', energy_flux='2.81e-05', photon_flux2='6.78e-08', job_status='DONE', time_completed='2021-08-31 02:15:38.504395', photon_index_error2='0.35', photon_index2='2.14', ts='11.55', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='1.41e-05', EG='0.79', time_epoch_completed='1630401338.5', return_code='0', job_id='36815', GAL2='1.03', EG2='0.80', return_code2='0', energy_flux_error='1.16e-05', photon_flux_error2='3.18e-08', ts2='11.52', photon_index='2.19' WHERE bin_id='1250' AND source_name='4FGL J0909.7-0230' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:15:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 36815: <4FGL_J0909.7-0230_daily_bin1250> in cluster <slac> Done

Job <4FGL_J0909.7-0230_daily_bin1250> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Aug 31 02:05:58 2021
Job was executed on host(s) <bullet0234>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 02:06:00 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 02:06:00 2021
Terminated at Tue Aug 31 02:15:39 2021
Results reported at Tue Aug 31 02:15:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0909.7-0230_daily_bin1250 137.446 -2.5143 563328001 563587201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0909.7-0230 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   552.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             315.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   578 sec.
    Turnaround time :                            581 sec.

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

