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


Performing analysis on: 4FGL_J0906.3-0905_daily_bin1033
RA = 136.583, Dec = -9.0925
tmin = 507081601, tmax = 507340801
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='21577', job_status='RUN', time_executed='2021-08-31 01:25:02.728024', time_epoch_executed='1630398302.73' WHERE source_name='4FGL J0906.3-0905' and cadence='daily' and bin_id='1033'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/21577

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/21577/ft1_4FGL_J0906.3-0905_daily_bin1033.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/21577/ft2_4FGL_J0906.3-0905_daily_bin1033.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/21577/ft1_4FGL_J0906.3-0905_daily_bin1033.fits outfile=/scratch/kocevski/21577/ft1_filteredMKT_4FGL_J0906.3-0905_daily_bin1033.fits ra=136.583 dec=-9.0925 rad=12.0 tmin=507081601.0 tmax=507340801.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 12.62
user 4.30
sys 7.92

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/21577/ft2_4FGL_J0906.3-0905_daily_bin1033.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/21577/ft2_4FGL_J0906.3-0905_daily_bin1033.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/21577/ft1_filteredMKT_4FGL_J0906.3-0905_daily_bin1033.fits evtable="EVENTS" outfile="/scratch/kocevski/21577/ft1_filtered_4FGL_J0906.3-0905_daily_bin1033.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.74
user 0.34
sys 7.92

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/21577/ft1_filtered_4FGL_J0906.3-0905_daily_bin1033.fits" evtable="EVENTS" scfile=/scratch/kocevski/21577/ft2_4FGL_J0906.3-0905_daily_bin1033.fits sctable="SC_DATA" outfile=/scratch/kocevski/21577/ltcube_507081601_507340801_4FGL_J0906.3-0905_daily_bin1033.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/21577/ft2_4FGL_J0906.3-0905_daily_bin1033.fits
.....................!
real 23.44
user 11.76
sys 9.03

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/21577/ft1_filtered_4FGL_J0906.3-0905_daily_bin1033.fits evtable="EVENTS" scfile=/scratch/kocevski/21577/ft2_4FGL_J0906.3-0905_daily_bin1033.fits sctable="SC_DATA" expcube=/scratch/kocevski/21577/ltcube_507081601_507340801_4FGL_J0906.3-0905_daily_bin1033.fits outfile=/scratch/kocevski/21577/expmap_507081601_507340801_4FGL_J0906.3-0905_daily_bin1033.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/21577/ltcube_507081601_507340801_4FGL_J0906.3-0905_daily_bin1033.fits
.....................!
real 206.90
user 186.29
sys 15.38

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

Setting source of interest to:
4FGL J0906.3-0905 @ 136.583 -9.0925

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/21577/ft1_filtered_4FGL_J0906.3-0905_daily_bin1033.fits scfile=/scratch/kocevski/21577/ft2_4FGL_J0906.3-0905_daily_bin1033.fits outfile=/scratch/kocevski/21577/cmap_507081601_507340801_4FGL_J0906.3-0905_daily_bin1033.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=136.583 yref=-9.0925 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 8.86
user 0.36
sys 7.74

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/21577/ft1_filtered_4FGL_J0906.3-0905_daily_bin1033.fits scfile=/scratch/kocevski/21577/ft2_4FGL_J0906.3-0905_daily_bin1033.fits outfile=/scratch/kocevski/21577/cmap_HighResolution_507081601_507340801_4FGL_J0906.3-0905_daily_bin1033.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=136.583 yref=-9.0925 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 8.28
user 0.38
sys 7.67

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/21577/ft1_filtered_4FGL_J0906.3-0905_daily_bin1033.fits evtable="EVENTS" scfile=/scratch/kocevski/21577/ft2_4FGL_J0906.3-0905_daily_bin1033.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/21577/Model_4FGL_J0906.3-0905_daily_bin1033.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/21577/ft1_filtered_4FGL_J0906.3-0905_daily_bin1033.fits.....................!
real 73.33
user 50.19
sys 10.36

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/21577/ft1_filtered_4FGL_J0906.3-0905_daily_bin1033.fits', '/scratch/kocevski/21577/ft2_4FGL_J0906.3-0905_daily_bin1033.fits', expMap='/scratch/kocevski/21577/expmap_507081601_507340801_4FGL_J0906.3-0905_daily_bin1033.fits', expCube='/scratch/kocevski/21577/ltcube_507081601_507340801_4FGL_J0906.3-0905_daily_bin1033.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/21577/Model_4FGL_J0906.3-0905_daily_bin1033.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0906.3-0905'

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  1.519e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
289        Index:  2.105e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
290        Scale:  1.818e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/21577/ft1_filtered_4FGL_J0906.3-0905_daily_bin1033.fits
Spacecraft file(s): /scratch/kocevski/21577/ft2_4FGL_J0906.3-0905_daily_bin1033.fits
Exposure map: /scratch/kocevski/21577/expmap_507081601_507340801_4FGL_J0906.3-0905_daily_bin1033.fits
Exposure cube: /scratch/kocevski/21577/ltcube_507081601_507340801_4FGL_J0906.3-0905_daily_bin1033.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/21577/Model_4FGL_J0906.3-0905_daily_bin1033.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) = 4346.17944877

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    48.599       1.0000         .10000E-03   10000.    
     3 'norm      '    8.6771       1.0000         .10000E-03   10000.    
     4 'norm      '    4.3153       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.9395       1.0000         .10000E-03   10000.    
     8 'norm      '    11.674       1.0000         .10000E-03   10000.    
     9 'norm      '    48.069       1.0000         .10000E-03   10000.    
    10 'Prefactor '    24.493       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10357E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    95.599       1.0000         .10000E-03   10000.    
    14 'Prefactor '    24.022       1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.192       1.0000         .10000E-03   10000.    
    16 'norm      '    13.706       1.0000         .10000E-03   10000.    
    17 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .19473E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .62458       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .97547       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4346.160     FROM MIGRAD    STATUS=CONVERGED    404 CALLS     2039 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    19.742       -.12474E-04** at limit **
   2  Prefactor     48.603        37.269        .42278E-05    .89688E-06
   3  norm          8.6754        11.913       -.19274E-05   -.13338E-03
   4  norm          4.3151        3.2736       -.19270E-06   -.15038E-03
   5  Prefactor     .10000E-03    3.8750       -.88053E-07** at limit **
   6  Prefactor     .10000E-03    21.893        .13196E-04** at limit **
   7  Prefactor     6.9395        6.4731       -.31993E-06    .33186E-05
   8  norm          11.675        5.4869        .72911E-06   -.52321E-05
   9  norm          48.070        13.463       -.29514E-06    .14734E-04
  10  Prefactor     24.491        24.019       -.31383E-05   -.47747E-05
  11  Prefactor     .10000E-03    31.273        .13762E-05** at limit **
  12  Prefactor     .10000E-03    7.5528       -.28774E-06** at limit **
  13  Prefactor     95.608        52.632        .75640E-05    .35848E-04
  14  Prefactor     23.969        47.962       -.90131E-04    .31538E-04
  15  Prefactor     13.169        26.273       -.29821E-04    .35046E-04
  16  norm          13.711        10.953        .11962E-04    .63298E-04
  17  norm          .10000E-03    1.8112       -.54361E-07** at limit **
  18  norm          .10000E-03    2.1394       -.57017E-06** at limit **
  19  Normalizat    .62413        .24464       -.61513E-06    .13221E-03
  20  Prefactor     .97584        .15231        .44765E-05   -.18990E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 48.6032
  norm       = 8.67543
  norm       = 4.31514
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 6.93953
  norm       = 11.6752
  norm       = 48.0703
  Prefactor  = 24.4905
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 95.6078
  Prefactor  = 23.969
  Prefactor  = 13.1694
  norm       = 13.7105
  norm       = 0.0001
  norm       = 0.000100004
  Normalizat = 0.62413
  Prefactor  = 0.975843
 **********
 **   18 **HESSE 
 **********

 FCN=   4346.160     FROM HESSE     STATUS=OK           295 CALLS     2334 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    19.758        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     48.603        37.304        .57521E-04   -1.4313    
   3  norm          8.6754        11.893        .13608E-03   -1.5119    
   4  norm          4.3151        3.2719        .99928E-04   -1.5292    
   5  Prefactor     .10000E-03    3.8957        .12671E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    22.403        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.9395        6.4729        .15229E-03   -1.5181    
   8  norm          11.675        5.4904        .10157E-03   -1.5024    
   9  norm          48.070        13.469        .57836E-04   -1.4320    
  10  Prefactor     24.491        24.074        .80940E-04   -1.4718    
  11  Prefactor     .10000E-03    31.327        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.5642        .17695E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     95.608        52.688        .41108E-04   -1.3749    
  14  Prefactor     23.969        47.962        .81728E-04   -1.4728    
  15  Prefactor     13.169        26.254        .11028E-03   -1.4982    
  16  norm          13.711        10.951        .10819E-03   -1.4967    
  17  norm          .10000E-03    1.8166        .86613E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    9.5293        .18550E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .62413        .27706        .35238E-03   -1.0697    
  20  Prefactor     .97584        .17361        .18955E-03   -.93539    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10556e-09
Minuit parameter uncertainties:
  1  2.91282e-05
  2  37.3219
  3  11.8962
  4  3.272
  5  1.64641e-05
  6  0.000256786
  7  6.47352
  8  5.49067
  9  13.4699
  10  24.0839
  11  8.13622e-07
  12  1.29947e-05
  13  52.7139
  14  48.0396
  15  26.2775
  16  10.9524
  17  9.27915e-06
  18  0.000375597
  19  0.277681
  20  0.173709
Done.

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

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  6.940e+00  6.474e+00  1.000e-04  1.000e+04 ( 1.000e-13)
289        Index:  2.105e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
290        Scale:  1.818e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  9.758e-01  1.737e-01  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
543   Normalization:  6.241e-01  2.777e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.30
Ra Dec: 136.583 -9.092
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 2.82e-08 +/- 2.63e-08
Energy Flux (Fixed Index): 1.53e-05 +/- 1.42e-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) = 4345.96672594
delta logL = 0.193502495424

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4345.96653599
delta logL = 0.193692439381

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.5217       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7074       1.0000          .0000       10.000    
     3 'Normalizat'    .63289       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97290       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5470E+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=   4345.967     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      310 TOTAL
                     EDM=   .33E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.5350        9.2999        .64936E-03    .28362E-05
   2  Index         1.7085        .60423        .80381E-02    .10501E-04
   3  Normalizat    .63290        .25566        .35007E-03    .71771E-05
   4  Prefactor     .97284        .17059        .18981E-03   -.59894E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.53502
  Index      = 1.7085
  Normalizat = 0.632903
  Prefactor  = 0.972835
 **********
 **   18 **HESSE 
 **********

 FCN=   4345.967     FROM HESSE     STATUS=OK            25 CALLS      335 TOTAL
                     EDM=   .19E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.5350        9.2302        .25974E-04   -1.5090    
   2  Index         1.7085        .59979        .32153E-03   -.71856    
   3  Normalizat    .63290        .25582        .14003E-04   -1.0660    
   4  Prefactor     .97284        .17071        .75925E-05   -.93641    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.88157e-12
Minuit parameter uncertainties:
  1  9.23157
  2  0.602361
  3  0.256298
  4  0.170807
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/21577': 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) = 4345.96653233
delta logL = 0.193696099872

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  9.535e+00  9.232e+00  1.000e-04  1.000e+04 ( 1.000e-13)
289        Index:  1.709e+00  6.024e-01  0.000e+00  1.000e+01 (-1.000e+00)
290        Scale:  1.818e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  9.728e-01  1.708e-01  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
543   Normalization:  6.329e-01  2.563e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.69
Ra Dec: 136.583 -9.092
Photon Index (Free Index): 1.71 +/- 0.60
Photon Flux (Free Index): 1.90e-08 +/- 2.26e-08
Energy Flux (Free Index): 3.01e-05 +/- 4.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/21577/cmap_HighResolution_507081601_507340801_4FGL_J0906.3-0905_daily_bin1033.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.82e-08', energy_flux2='3.01e-05', photon_flux_error='2.63e-08', dlogl='1.94e-01', energy_flux='1.53e-05', photon_flux2='1.90e-08', job_status='DONE', time_completed='2021-08-31 01:37:15.783388', photon_index_error2='0.60', photon_index2='1.71', ts='4.30', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='4.59e-05', EG='0.62', time_epoch_completed='1630399035.78', return_code='0', job_id='21577', GAL2='0.97', EG2='0.63', return_code2='0', energy_flux_error='1.42e-05', photon_flux_error2='2.26e-08', ts2='4.69', photon_index='2.11' WHERE bin_id='1033' AND source_name='4FGL J0906.3-0905' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:37:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0186>
Subject: Job 21577: <4FGL_J0906.3-0905_daily_bin1033> in cluster <slac> Done

Job <4FGL_J0906.3-0905_daily_bin1033> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 01:20:52 2021
Job was executed on host(s) <bullet0186>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 01:20:53 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 01:20:53 2021
Terminated at Tue Aug 31 01:37:17 2021
Results reported at Tue Aug 31 01:37:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0906.3-0905_daily_bin1033 136.583 -9.0925 507081601 507340801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0906.3-0905 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   712.00 sec.
    Max Memory :                                 1252 MB
    Average Memory :                             195.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   983 sec.
    Turnaround time :                            985 sec.

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

