/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 31 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 = 7449
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0909.7-0230_daily_bin1550
RA = 137.446, Dec = -2.5143
tmin = 641088001, tmax = 641347201
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='38614', job_status='RUN', time_executed='2021-08-31 02:14:17.113342', time_epoch_executed='1630401257.11' WHERE source_name='4FGL J0909.7-0230' and cadence='daily' and bin_id='1550'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/38614

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/38614/ft1_4FGL_J0909.7-0230_daily_bin1550.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/38614/ft2_4FGL_J0909.7-0230_daily_bin1550.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/38614/ft1_4FGL_J0909.7-0230_daily_bin1550.fits outfile=/scratch/kocevski/38614/ft1_filteredMKT_4FGL_J0909.7-0230_daily_bin1550.fits ra=137.446 dec=-2.5143 rad=12.0 tmin=641088001.0 tmax=641347201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 10.56
user 2.79
sys 7.71

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/38614/ft2_4FGL_J0909.7-0230_daily_bin1550.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/38614/ft1_filteredMKT_4FGL_J0909.7-0230_daily_bin1550.fits evtable="EVENTS" outfile="/scratch/kocevski/38614/ft1_filtered_4FGL_J0909.7-0230_daily_bin1550.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 8.03
user 0.33
sys 7.66

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/38614/ft1_filtered_4FGL_J0909.7-0230_daily_bin1550.fits" evtable="EVENTS" scfile=/scratch/kocevski/38614/ft2_4FGL_J0909.7-0230_daily_bin1550.fits sctable="SC_DATA" outfile=/scratch/kocevski/38614/ltcube_641088001_641347201_4FGL_J0909.7-0230_daily_bin1550.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/38614/ft2_4FGL_J0909.7-0230_daily_bin1550.fits
.....................!
real 20.96
user 12.30
sys 8.56

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/38614/ft1_filtered_4FGL_J0909.7-0230_daily_bin1550.fits evtable="EVENTS" scfile=/scratch/kocevski/38614/ft2_4FGL_J0909.7-0230_daily_bin1550.fits sctable="SC_DATA" expcube=/scratch/kocevski/38614/ltcube_641088001_641347201_4FGL_J0909.7-0230_daily_bin1550.fits outfile=/scratch/kocevski/38614/expmap_641088001_641347201_4FGL_J0909.7-0230_daily_bin1550.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/38614/ltcube_641088001_641347201_4FGL_J0909.7-0230_daily_bin1550.fits
.....................!
real 201.90
user 186.32
sys 12.98

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/38614/ft1_filtered_4FGL_J0909.7-0230_daily_bin1550.fits scfile=/scratch/kocevski/38614/ft2_4FGL_J0909.7-0230_daily_bin1550.fits outfile=/scratch/kocevski/38614/cmap_641088001_641347201_4FGL_J0909.7-0230_daily_bin1550.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 9.00
user 0.40
sys 7.45

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/38614/ft1_filtered_4FGL_J0909.7-0230_daily_bin1550.fits scfile=/scratch/kocevski/38614/ft2_4FGL_J0909.7-0230_daily_bin1550.fits outfile=/scratch/kocevski/38614/cmap_HighResolution_641088001_641347201_4FGL_J0909.7-0230_daily_bin1550.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 7.81
user 0.39
sys 6.78

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/38614/ft1_filtered_4FGL_J0909.7-0230_daily_bin1550.fits evtable="EVENTS" scfile=/scratch/kocevski/38614/ft2_4FGL_J0909.7-0230_daily_bin1550.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/38614/Model_4FGL_J0909.7-0230_daily_bin1550.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/38614/ft1_filtered_4FGL_J0909.7-0230_daily_bin1550.fits.....................!
real 83.90
user 67.10
sys 10.66

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/38614/ft1_filtered_4FGL_J0909.7-0230_daily_bin1550.fits', '/scratch/kocevski/38614/ft2_4FGL_J0909.7-0230_daily_bin1550.fits', expMap='/scratch/kocevski/38614/expmap_641088001_641347201_4FGL_J0909.7-0230_daily_bin1550.fits', expCube='/scratch/kocevski/38614/ltcube_641088001_641347201_4FGL_J0909.7-0230_daily_bin1550.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/38614/Model_4FGL_J0909.7-0230_daily_bin1550.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/38614/ft1_filtered_4FGL_J0909.7-0230_daily_bin1550.fits
Spacecraft file(s): /scratch/kocevski/38614/ft2_4FGL_J0909.7-0230_daily_bin1550.fits
Exposure map: /scratch/kocevski/38614/expmap_641088001_641347201_4FGL_J0909.7-0230_daily_bin1550.fits
Exposure cube: /scratch/kocevski/38614/ltcube_641088001_641347201_4FGL_J0909.7-0230_daily_bin1550.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/38614/Model_4FGL_J0909.7-0230_daily_bin1550.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) = 6893.99240277

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13837       1.0000         .10000E-03   10000.    
     2 'norm      '    3.7728       1.0000         .10000E-03   10000.    
     3 'Prefactor '    45.980       1.0000         .10000E-03   10000.    
     4 'norm      '    2.1394       1.0000         .10000E-03   10000.    
     5 'norm      '    .92989       1.0000         .10000E-03   10000.    
     6 'Prefactor '    22.903       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.3836       1.0000         .10000E-03   10000.    
     9 'norm      '    13.847       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10254E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.0645       1.0000         .10000E-03   10000.    
    12 'Prefactor '    42.350       1.0000         .10000E-03   10000.    
    13 'Prefactor '    20.257       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.0393       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .89949E-01   1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.5828       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5040E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6893.985     FROM MIGRAD    STATUS=CONVERGED     41 CALLS     1733 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .14189        1.9734       -.69479E-05   -.11241E-03
   2  norm          3.7735        1.0227       -.22586E-06   -.37285E-04
   3  Prefactor     45.979        1.0194       -.68165E-07    .34732E-02
   4  norm          2.1396        1.0337        .10682E-06   -.12506E-03
   5  norm          .93062        2.1405       -.72016E-07   -.28241E-04
   6  Prefactor     22.901        1.0794       -.19631E-06    .47401E-02
   7  Prefactor     .10000E-03    1.6453       -.85985E-06** at limit **
   8  norm          2.3839        1.3991        .17173E-05    .23277E-02
   9  norm          13.850        1.0046       -.22094E-07    .10837E-02
  10  Prefactor     .10000E-03    5.9366       -.76726E-06** at limit **
  11  Prefactor     9.0646        1.1604        .51111E-06   -.50557E-03
  12  Prefactor     42.350        1.0168        .67241E-07   -.28519E-02
  13  Prefactor     20.260        1.2646        .40709E-06   -.79020E-02
  14  Prefactor     .10000E-03    10.876       -.55968E-06** at limit **
  15  norm          .10000E-03    2.3440       -.25747E-06** at limit **
  16  norm          2.0393        .77394        .30395E-06    .31008E-03
  17  Normalizat    .90067E-01    .20039        .93697E-05   -.17824E-04
  18  Prefactor     1.5827        .16815       -.16257E-05   -.53297E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.141887
  norm       = 3.77351
  Prefactor  = 45.9795
  norm       = 2.1396
  norm       = 0.930622
  Prefactor  = 22.9015
  Prefactor  = 0.0001
  norm       = 2.3839
  norm       = 13.8501
  Prefactor  = 0.0001
  Prefactor  = 9.06465
  Prefactor  = 42.3502
  Prefactor  = 20.2601
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.03931
  Normalizat = 0.0900666
  Prefactor  = 1.58265
 **********
 **   18 **HESSE 
 **********

 FCN=   6893.985     FROM HESSE     STATUS=NOT POSDEF   296 CALLS     2029 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .14189        1.8976        .35805E-01   -1.5633    
   2  norm          3.7735        8.1829        .51960E-02   -1.5319    
   3  Prefactor     45.979        51.023        .14782E-02   -1.4351    
   4  norm          2.1396        6.5852        .70450E-02   -1.5415    
   5  norm          .93062        2.4035        .41754E-01   -1.5515    
   6  Prefactor     22.901        15.499        .20924E-02   -1.4750    
   7  Prefactor     .10000E-03    1.4762        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.3839        3.6295        .66329E-02   -1.5399    
   9  norm          13.850        8.4990        .26909E-02   -1.4963    
  10  Prefactor     .10000E-03    5.3162        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.0646        7.6564        .33281E-02   -1.5106    
  12  Prefactor     42.350        75.804        .15400E-02   -1.4406    
  13  Prefactor     20.260        24.663        .22248E-02   -1.4807    
  14  Prefactor     .10000E-03    9.7656        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.1023        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.0393        1.1907        .72399E-02   -1.5422    
  17  Normalizat    .90067E-01    6.6182        .19688       -1.3915    
  18  Prefactor     1.5827        .91703        .28929E-01   -.75250    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.96184e-07
Minuit parameter uncertainties:
  1  1.03746
  2  8.18533
  3  51.0716
  4  6.58742
  5  2.40379
  6  15.5016
  7  1.67132e-06
  8  3.62988
  9  8.49976
  10  1.15286e-05
  11  7.65724
  12  75.9771
  13  24.6756
  14  7.20767e-05
  15  3.78506e-07
  16  1.19072
  17  1.25554
  18  0.926963
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 6893.98474918

Extracting fit parameters...

4FGL J0909.7-0230
   Spectrum: LogParabola
269         norm:  1.385e+01  8.500e+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.583e+00  9.270e-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:  9.007e-02  1.256e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.65
Ra Dec: 137.446 -2.514
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 6.68e-08 +/- 4.10e-08
Energy Flux (Fixed Index): 2.68e-05 +/- 1.64e-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) = 6893.79277178
delta logL = 0.191977397297

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6893.78184374
delta logL = 0.202905438729

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6893.782     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      259 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          14.612        7.0504        .52385E-03    .25660E-04
   2  alpha         1.8999        .45110        .12788E-01   -.17975E-05
   3  Normalizat    .10901        .21303        .74810E-02    .24395E-04
   4  Prefactor     1.5729        .17757        .17842E-03   -.55435E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 14.6118
  alpha      = 1.89985
  Normalizat = 0.109009
  Prefactor  = 1.57289
 **********
 **   18 **HESSE 
 **********

 FCN=   6893.782     FROM HESSE     STATUS=OK            29 CALLS      288 TOTAL
                     EDM=   .69E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          14.612        7.0602        .10477E-03   -1.4943    
   2  alpha         1.8999        .45114        .51154E-03   -.24243    
   3  Normalizat    .10901        .20235        .29924E-03   -1.3714    
   4  Prefactor     1.5729        .16862        .71368E-05   -.75518    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.89943e-13
Minuit parameter uncertainties:
  1  7.06062
  2  0.453783
  3  0.203783
  4  0.168678
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/38614': 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) = 6893.78184364
delta logL = 0.202905541119

Extracting fit parameters...

4FGL J0909.7-0230
   Spectrum: LogParabola
269         norm:  1.461e+01  7.061e+00  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  1.900e+00  4.538e-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.573e+00  1.687e-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:  1.090e-01  2.038e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.00
Ra Dec: 137.446 -2.514
Photon Index (Free Index): 1.90 +/- 0.45
Photon Flux (Free Index): 5.35e-08 +/- 3.38e-08
Energy Flux (Free Index): 3.34e-05 +/- 2.07e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/38614/cmap_HighResolution_641088001_641347201_4FGL_J0909.7-0230_daily_bin1550.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.68e-08', energy_flux2='3.34e-05', photon_flux_error='4.10e-08', dlogl='2.03e-01', energy_flux='2.68e-05', photon_flux2='5.35e-08', job_status='DONE', time_completed='2021-08-31 02:24:55.777565', photon_index_error2='0.45', photon_index2='1.90', ts='9.65', fit_tolerance='1e-08', GAL='1.58', photon_index_error='0.00', energy_flux_error2='2.07e-05', EG='0.09', time_epoch_completed='1630401895.78', return_code='102', job_id='38614', GAL2='1.57', EG2='0.11', return_code2='0', energy_flux_error='1.64e-05', photon_flux_error2='3.38e-08', ts2='10.00', photon_index='2.19' WHERE bin_id='1550' AND source_name='4FGL J0909.7-0230' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:24:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0006>
Subject: Job 38614: <4FGL_J0909.7-0230_daily_bin1550> in cluster <slac> Done

Job <4FGL_J0909.7-0230_daily_bin1550> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 02:11:17 2021
Job was executed on host(s) <bullet0006>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 02:11:18 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:11:18 2021
Terminated at Tue Aug 31 02:24:58 2021
Results reported at Tue Aug 31 02:24:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0909.7-0230_daily_bin1550 137.446 -2.5143 641088001 641347201 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 :                                   741.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             233.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   819 sec.
    Turnaround time :                            821 sec.

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

