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


Performing analysis on: 4FGL_J0909.7-0230_daily_bin1351
RA = 137.446, Dec = -2.5143
tmin = 589507201, tmax = 589766401
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='37017', job_status='RUN', time_executed='2021-08-31 02:09:54.231845', time_epoch_executed='1630400994.23' WHERE source_name='4FGL J0909.7-0230' and cadence='daily' and bin_id='1351'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/37017

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/37017/ft1_4FGL_J0909.7-0230_daily_bin1351.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/37017/ft2_4FGL_J0909.7-0230_daily_bin1351.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/37017/ft1_4FGL_J0909.7-0230_daily_bin1351.fits outfile=/scratch/kocevski/37017/ft1_filteredMKT_4FGL_J0909.7-0230_daily_bin1351.fits ra=137.446 dec=-2.5143 rad=12.0 tmin=589507201.0 tmax=589766401.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.10
user 2.71
sys 0.38

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/37017/ft2_4FGL_J0909.7-0230_daily_bin1351.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/37017/ft1_filteredMKT_4FGL_J0909.7-0230_daily_bin1351.fits evtable="EVENTS" outfile="/scratch/kocevski/37017/ft1_filtered_4FGL_J0909.7-0230_daily_bin1351.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.33
sys 0.35

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/37017/ft1_filtered_4FGL_J0909.7-0230_daily_bin1351.fits" evtable="EVENTS" scfile=/scratch/kocevski/37017/ft2_4FGL_J0909.7-0230_daily_bin1351.fits sctable="SC_DATA" outfile=/scratch/kocevski/37017/ltcube_589507201_589766401_4FGL_J0909.7-0230_daily_bin1351.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/37017/ft2_4FGL_J0909.7-0230_daily_bin1351.fits
.....................!
real 14.57
user 13.98
sys 0.55

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/37017/ft1_filtered_4FGL_J0909.7-0230_daily_bin1351.fits evtable="EVENTS" scfile=/scratch/kocevski/37017/ft2_4FGL_J0909.7-0230_daily_bin1351.fits sctable="SC_DATA" expcube=/scratch/kocevski/37017/ltcube_589507201_589766401_4FGL_J0909.7-0230_daily_bin1351.fits outfile=/scratch/kocevski/37017/expmap_589507201_589766401_4FGL_J0909.7-0230_daily_bin1351.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/37017/ltcube_589507201_589766401_4FGL_J0909.7-0230_daily_bin1351.fits
.....................!
real 190.25
user 185.23
sys 4.67

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/37017/ft1_filtered_4FGL_J0909.7-0230_daily_bin1351.fits scfile=/scratch/kocevski/37017/ft2_4FGL_J0909.7-0230_daily_bin1351.fits outfile=/scratch/kocevski/37017/cmap_589507201_589766401_4FGL_J0909.7-0230_daily_bin1351.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.72
user 0.36
sys 0.35

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/37017/ft1_filtered_4FGL_J0909.7-0230_daily_bin1351.fits scfile=/scratch/kocevski/37017/ft2_4FGL_J0909.7-0230_daily_bin1351.fits outfile=/scratch/kocevski/37017/cmap_HighResolution_589507201_589766401_4FGL_J0909.7-0230_daily_bin1351.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.75
user 0.38
sys 0.35

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/37017/ft1_filtered_4FGL_J0909.7-0230_daily_bin1351.fits evtable="EVENTS" scfile=/scratch/kocevski/37017/ft2_4FGL_J0909.7-0230_daily_bin1351.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/37017/Model_4FGL_J0909.7-0230_daily_bin1351.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/37017/ft1_filtered_4FGL_J0909.7-0230_daily_bin1351.fits.....................!
real 43.27
user 41.54
sys 1.50

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10059E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.0710       1.0000         .10000E-03   10000.    
     4 'norm      '    21.479       1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    23.488       1.0000         .10000E-03   10000.    
     8 'norm      '    .10142E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    20.627       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.7374       1.0000         .10000E-03   10000.    
    12 'Prefactor '    30.226       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10368E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.6487       1.0000         .10000E-03   10000.    
    16 'norm      '    3.1969       1.0000         .10000E-03   10000.    
    17 'Normalizat'    .54184       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.3175       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.

 FCN=   3322.441     FROM MIGRAD    STATUS=CONVERGED    355 CALLS     1711 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.0320       -.18409E-06** at limit **
   2  norm          .10000E-03    4.0955       -.44679E-07** at limit **
   3  Prefactor     1.0336        27.516       -.25546E-05   -.33321E-04
   4  norm          21.476        12.709        .11084E-05    .49246E-04
   5  norm          .10000E-03    1.0478        .12668E-08** at limit **
   6  Prefactor     .10000E-03    7.5707        .23188E-07** at limit **
   7  Prefactor     23.485        13.458        .93275E-06    .21067E-04
   8  norm          .10000E-03    4.8941        .42852E-07** at limit **
   9  norm          20.626        12.000        .15639E-06    .99416E-05
  10  Prefactor     .10000E-03    23.901        .10860E-06** at limit **
  11  Prefactor     2.7336        9.1739       -.26535E-05   -.25499E-03
  12  Prefactor     30.208        67.614       -.27192E-04   -.35162E-06
  13  Prefactor     .10000E-03    12.098        .22303E-07** at limit **
  14  Prefactor     .10000E-03    94.280       -.83704E-06** at limit **
  15  norm          4.6471        7.0641        .65693E-06   -.19232E-03
  16  norm          3.1967        2.2012        .16779E-06   -.71978E-04
  17  Normalizat    .54207        .32331        .47729E-05    .62864E-04
  18  Prefactor     1.3174        .23126       -.66179E-06    .17545E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 1.0336
  norm       = 21.4764
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.4849
  norm       = 0.0001
  norm       = 20.6264
  Prefactor  = 0.000100001
  Prefactor  = 2.73356
  Prefactor  = 30.2084
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.64705
  norm       = 3.19672
  Normalizat = 0.542074
  Prefactor  = 1.31745
 **********
 **   18 **HESSE 
 **********

 FCN=   3322.441     FROM HESSE     STATUS=OK           248 CALLS     1959 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.7016        .11264E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    4.1003        .11391E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.0336        158.24        .56830E-02   -1.5505    
   4  norm          21.476        12.688        .86426E-04   -1.4781    
   5  norm          .10000E-03    1.0491        .57612E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.5958        .15488E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     23.485        13.428        .82651E-04   -1.4738    
   8  norm          .10000E-03    4.9403        .12445E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          20.626        11.988        .88190E-04   -1.4799    
  10  Prefactor     .10000E-03    23.992        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.7336        9.2744        .24609E-03   -1.5377    
  12  Prefactor     30.208        67.313        .72877E-04   -1.4608    
  13  Prefactor     .10000E-03    12.106        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    95.253        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.6471        7.0275        .17968E-03   -1.5277    
  16  norm          3.1967        2.1934        .67880E-04   -1.5350    
  17  Normalizat    .54207        .34855        .39330E-03   -1.1050    
  18  Prefactor     1.3174        .25466        .19704E-03   -.82790    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4455e-08
Minuit parameter uncertainties:
  1  1.63982e-05
  2  4.91874e-06
  3  25.6462
  4  12.6893
  5  2.85193e-06
  6  1.83296e-05
  7  13.4299
  8  1.66827e-06
  9  11.9897
  10  0.000279396
  11  9.27925
  12  67.4825
  13  2.74973e-05
  14  2.92479e-05
  15  7.02871
  16  2.19348
  17  0.349968
  18  0.2549
Done.

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

Extracting fit parameters...

4FGL J0909.7-0230
   Spectrum: LogParabola
269         norm:  2.063e+01  1.199e+01  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.317e+00  2.549e-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:  5.421e-01  3.500e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.51
Ra Dec: 137.446 -2.514
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 9.95e-08 +/- 5.78e-08
Energy Flux (Fixed Index): 3.99e-05 +/- 2.32e-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) = 3322.37383144
delta logL = 0.0667963841574

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3322.37071383
delta logL = 0.0699139921167

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    19.213       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4029       1.0000          .0000       5.0000    
     3 'Normalizat'    .52238       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3270       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=   3322.371     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      288 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          19.209        12.230        .91375E-04   -.22644E-04
   2  alpha         2.4026        .56937        .10499E-01    .60902E-04
   3  Normalizat    .52287        .33976        .40001E-03   -.40827E-04
   4  Prefactor     1.3266        .25485        .19643E-03   -.16784E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 19.2087
  alpha      = 2.40262
  Normalizat = 0.522872
  Prefactor  = 1.32662
 **********
 **   18 **HESSE 
 **********

 FCN=   3322.371     FROM HESSE     STATUS=OK            25 CALLS      313 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          19.209        12.098        .36550E-05   -1.4831    
   2  alpha         2.4026        .56309        .20998E-02   -.38961E-01
   3  Normalizat    .52287        .33990        .16000E-04   -1.1137    
   4  Prefactor     1.3266        .25496        .78573E-05   -.82519    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.71253e-11
Minuit parameter uncertainties:
  1  12.0999
  2  0.567971
  3  0.341258
  4  0.255205
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/37017': 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) = 3322.37071259
delta logL = 0.0699152353836

Extracting fit parameters...

4FGL J0909.7-0230
   Spectrum: LogParabola
269         norm:  1.921e+01  1.210e+01  1.000e-04  1.000e+04 ( 1.000e-12)
270        alpha:  2.403e+00  5.680e-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.327e+00  2.552e-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:  5.229e-01  3.413e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.64
Ra Dec: 137.446 -2.514
Photon Index (Free Index): 2.40 +/- 0.57
Photon Flux (Free Index): 1.17e-07 +/- 7.98e-08
Energy Flux (Free Index): 3.71e-05 +/- 2.19e-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/37017/cmap_HighResolution_589507201_589766401_4FGL_J0909.7-0230_daily_bin1351.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.95e-08', energy_flux2='3.71e-05', photon_flux_error='5.78e-08', dlogl='6.99e-02', energy_flux='3.99e-05', photon_flux2='1.17e-07', job_status='DONE', time_completed='2021-08-31 02:16:47.344060', photon_index_error2='0.57', photon_index2='2.40', ts='7.51', fit_tolerance='1e-08', GAL='1.32', photon_index_error='0.00', energy_flux_error2='2.19e-05', EG='0.54', time_epoch_completed='1630401407.34', return_code='0', job_id='37017', GAL2='1.33', EG2='0.52', return_code2='0', energy_flux_error='2.32e-05', photon_flux_error2='7.98e-08', ts2='7.64', photon_index='2.19' WHERE bin_id='1351' AND source_name='4FGL J0909.7-0230' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 02:16:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 37017: <4FGL_J0909.7-0230_daily_bin1351> in cluster <slac> Done

Job <4FGL_J0909.7-0230_daily_bin1351> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Aug 31 02:06:14 2021
Job was executed on host(s) <bullet0203>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 02:06:15 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:15 2021
Terminated at Tue Aug 31 02:16:48 2021
Results reported at Tue Aug 31 02:16:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0909.7-0230_daily_bin1351 137.446 -2.5143 589507201 589766401 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 :                                   413.03 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             213.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   632 sec.
    Turnaround time :                            634 sec.

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

