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


Performing analysis on: 4FGL_J0906.3-0905_daily_bin1359
RA = 136.583, Dec = -9.0925
tmin = 591580801, tmax = 591840001
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='23203', job_status='RUN', time_executed='2021-08-31 01:26:59.030083', time_epoch_executed='1630398419.03' WHERE source_name='4FGL J0906.3-0905' and cadence='daily' and bin_id='1359'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/23203

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/23203/ft1_4FGL_J0906.3-0905_daily_bin1359.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/23203/ft2_4FGL_J0906.3-0905_daily_bin1359.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/23203/ft1_4FGL_J0906.3-0905_daily_bin1359.fits outfile=/scratch/kocevski/23203/ft1_filteredMKT_4FGL_J0906.3-0905_daily_bin1359.fits ra=136.583 dec=-9.0925 rad=12.0 tmin=591580801.0 tmax=591840001.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 8.20
user 3.56
sys 4.56

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/23203/ft2_4FGL_J0906.3-0905_daily_bin1359.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/23203/ft1_filteredMKT_4FGL_J0906.3-0905_daily_bin1359.fits evtable="EVENTS" outfile="/scratch/kocevski/23203/ft1_filtered_4FGL_J0906.3-0905_daily_bin1359.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 5.30
user 0.32
sys 4.50

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/23203/ft1_filtered_4FGL_J0906.3-0905_daily_bin1359.fits" evtable="EVENTS" scfile=/scratch/kocevski/23203/ft2_4FGL_J0906.3-0905_daily_bin1359.fits sctable="SC_DATA" outfile=/scratch/kocevski/23203/ltcube_591580801_591840001_4FGL_J0906.3-0905_daily_bin1359.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/23203/ft2_4FGL_J0906.3-0905_daily_bin1359.fits
.....................!
real 20.27
user 14.58
sys 5.22

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/23203/ft1_filtered_4FGL_J0906.3-0905_daily_bin1359.fits evtable="EVENTS" scfile=/scratch/kocevski/23203/ft2_4FGL_J0906.3-0905_daily_bin1359.fits sctable="SC_DATA" expcube=/scratch/kocevski/23203/ltcube_591580801_591840001_4FGL_J0906.3-0905_daily_bin1359.fits outfile=/scratch/kocevski/23203/expmap_591580801_591840001_4FGL_J0906.3-0905_daily_bin1359.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/23203/ltcube_591580801_591840001_4FGL_J0906.3-0905_daily_bin1359.fits
.....................!
real 196.83
user 185.73
sys 10.26

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/23203/ft1_filtered_4FGL_J0906.3-0905_daily_bin1359.fits scfile=/scratch/kocevski/23203/ft2_4FGL_J0906.3-0905_daily_bin1359.fits outfile=/scratch/kocevski/23203/cmap_591580801_591840001_4FGL_J0906.3-0905_daily_bin1359.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 7.83
user 0.37
sys 4.39

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/23203/ft1_filtered_4FGL_J0906.3-0905_daily_bin1359.fits scfile=/scratch/kocevski/23203/ft2_4FGL_J0906.3-0905_daily_bin1359.fits outfile=/scratch/kocevski/23203/cmap_HighResolution_591580801_591840001_4FGL_J0906.3-0905_daily_bin1359.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 5.75
user 0.37
sys 5.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/23203/ft1_filtered_4FGL_J0906.3-0905_daily_bin1359.fits evtable="EVENTS" scfile=/scratch/kocevski/23203/ft2_4FGL_J0906.3-0905_daily_bin1359.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/23203/Model_4FGL_J0906.3-0905_daily_bin1359.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/23203/ft1_filtered_4FGL_J0906.3-0905_daily_bin1359.fits.....................!
real 87.96
user 75.46
sys 6.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/23203/ft1_filtered_4FGL_J0906.3-0905_daily_bin1359.fits', '/scratch/kocevski/23203/ft2_4FGL_J0906.3-0905_daily_bin1359.fits', expMap='/scratch/kocevski/23203/expmap_591580801_591840001_4FGL_J0906.3-0905_daily_bin1359.fits', expCube='/scratch/kocevski/23203/ltcube_591580801_591840001_4FGL_J0906.3-0905_daily_bin1359.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/23203/Model_4FGL_J0906.3-0905_daily_bin1359.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/23203/ft1_filtered_4FGL_J0906.3-0905_daily_bin1359.fits
Spacecraft file(s): /scratch/kocevski/23203/ft2_4FGL_J0906.3-0905_daily_bin1359.fits
Exposure map: /scratch/kocevski/23203/expmap_591580801_591840001_4FGL_J0906.3-0905_daily_bin1359.fits
Exposure cube: /scratch/kocevski/23203/ltcube_591580801_591840001_4FGL_J0906.3-0905_daily_bin1359.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/23203/Model_4FGL_J0906.3-0905_daily_bin1359.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) = 7213.02109175

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .33101E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    7.9266       1.0000         .10000E-03   10000.    
     4 'norm      '    3.1192       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.1263       1.0000         .10000E-03   10000.    
     8 'norm      '    5.0883       1.0000         .10000E-03   10000.    
     9 'norm      '    5.8443       1.0000         .10000E-03   10000.    
    10 'Prefactor '    16.694       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.3772       1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.953       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.824       1.0000         .10000E-03   10000.    
    16 'norm      '    3.0684       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .59785       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1795       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7212.957     FROM MIGRAD    STATUS=CONVERGED    751 CALLS     2379 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    16.348        .10832    ** at limit **
   2  Prefactor     .10000E-03    20.707        .18142E-02** at limit **
   3  norm          7.9268        7.8957        .14242E-03   -.73680E-04
   4  norm          3.1192        2.4123        .11076E-03   -.94532E-04
   5  Prefactor     .10000E-03    3.5892        .15564E-02** at limit **
   6  Prefactor     .10000E-03    5.3575        .18142E-02** at limit **
   7  Prefactor     7.1288        5.2740        .15027E-03    .50009E-04
   8  norm          5.0883        4.2013        .15086E-03   -.10498E-03
   9  norm          5.8446        5.0751        .16612E-03    .11976E-04
  10  Prefactor     16.708        13.728        .98026E-04    .17130E-03
  11  Prefactor     2.4160        132.61        .26571E-03   -.18955E-04
  12  Prefactor     12.961        13.422        .11129E-03    .67418E-04
  13  Prefactor     .10000E-03    13.604        .18142E-02** at limit **
  14  Prefactor     .10000E-03    16.848        .18142E-02** at limit **
  15  Prefactor     14.818        14.718        .10403E-03    .57920E-05
  16  norm          3.0713        6.3045        .23157E-03   -.61515E-04
  17  norm          .10000E-03    1.0177        .83557E-03** at limit **
  18  norm          .10000E-03    .53665        .60675E-03** at limit **
  19  Normalizat    .59772        .20147        .34297E-03   -.78526E-04
  20  Prefactor     1.1796        .13605        .17489E-03   -.56552E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 7.92679
  norm       = 3.11921
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.12879
  norm       = 5.08831
  norm       = 5.84462
  Prefactor  = 16.7077
  Prefactor  = 2.41601
  Prefactor  = 12.9606
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.818
  norm       = 3.07132
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 0.597721
  Prefactor  = 1.17958
 **********
 **   18 **HESSE 
 **********

 FCN=   7212.957     FROM HESSE     STATUS=OK           281 CALLS     2660 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    15.539        .11347       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    20.713        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          7.9268        7.8952        .56966E-05   -1.5145    
   4  norm          3.1192        2.4122        .44305E-05   -1.5355    
   5  Prefactor     .10000E-03    3.5911        .31128E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.3585        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.1288        5.2740        .60106E-05   -1.5174    
   8  norm          5.0883        4.2012        .60344E-05   -1.5257    
   9  norm          5.8446        5.0750        .66449E-05   -1.5224    
  10  Prefactor     16.708        13.724        .39210E-05   -1.4890    
  11  Prefactor     2.4160        132.39        .10628E-04   -1.5397    
  12  Prefactor     12.961        13.422        .44518E-05   -1.4988    
  13  Prefactor     .10000E-03    13.605        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    16.848        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.818        14.718        .41612E-05   -1.4938    
  16  norm          3.0713        6.3040        .92628E-05   -1.5357    
  17  norm          .10000E-03    1.0177        .16711E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .53666        .12135E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .59772        .20155        .13719E-04   -1.0808    
  20  Prefactor     1.1796        .13611        .34977E-04   -.86962    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.77562e-10
Minuit parameter uncertainties:
  1  8.35187e-05
  2  0.000164181
  3  7.89623
  4  2.41228
  5  2.4104e-05
  6  2.63368e-05
  7  5.27434
  8  4.20143
  9  5.07538
  10  13.7263
  11  35.8518
  12  13.4246
  13  5.35584e-05
  14  7.94442e-05
  15  14.7212
  16  6.30535
  17  5.99675e-06
  18  1.88376e-06
  19  0.201794
  20  0.13615
Done.

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

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  7.129e+00  5.274e+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:  1.180e+00  1.362e-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:  5.977e-01  2.018e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 12.73
Ra Dec: 136.583 -9.092
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 2.89e-08 +/- 2.14e-08
Energy Flux (Fixed Index): 1.57e-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) = 7211.9393902
delta logL = 1.01784905483

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7211.88529239
delta logL = 1.07194686806

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.9443       1.0000         .10000E-03   10000.    
     2 'Index     '    1.0313       1.0000          .0000       10.000    
     3 'Normalizat'    .61287       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1807       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=   7211.885     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      216 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 20.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9412        8.9901       -.10487E-04   -.20678E-02
   2  Index         1.0303        1.0148       -.89334E-04    .24726E-03
   3  Normalizat    .61302        .17073        .81658E-06    .36557E-03
   4  Prefactor     1.1805        .11977        .22550E-06    .52407E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.94119
  Index      = 1.03028
  Normalizat = 0.613023
  Prefactor  = 1.18054
 **********
 **   18 **HESSE 
 **********

 FCN=   7211.885     FROM HESSE     STATUS=OK            31 CALLS      247 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9412        7.8753        .16109E-03   -1.5311    
   2  Index         1.0303        .89600        .11643E-01   -.91727    
   3  Normalizat    .61302        .19138        .33895E-03   -1.0743    
   4  Prefactor     1.1805        .13450        .17494E-03   -.86932    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87069e-09
Minuit parameter uncertainties:
  1  7.87739
  2  0.909507
  3  0.19159
  4  0.134541
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/23203': 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) = 7211.88529069
delta logL = 1.07194857002

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  3.941e+00  7.877e+00  1.000e-04  1.000e+04 ( 1.000e-13)
289        Index:  1.030e+00  9.095e-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:  1.181e+00  1.345e-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.130e-01  1.916e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 14.86
Ra Dec: 136.583 -9.092
Photon Index (Free Index): 1.03 +/- 0.91
Photon Flux (Free Index): 4.87e-09 +/- 8.12e-09
Energy Flux (Free Index): 6.54e-05 +/- 9.02e-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/23203/cmap_HighResolution_591580801_591840001_4FGL_J0906.3-0905_daily_bin1359.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.89e-08', energy_flux2='6.54e-05', photon_flux_error='2.14e-08', dlogl='1.07e+00', energy_flux='1.57e-05', photon_flux2='4.87e-09', job_status='DONE', time_completed='2021-08-31 01:38:44.522212', photon_index_error2='0.91', photon_index2='1.03', ts='12.73', fit_tolerance='1e-08', GAL='1.18', photon_index_error='0.00', energy_flux_error2='9.02e-05', EG='0.60', time_epoch_completed='1630399124.52', return_code='0', job_id='23203', GAL2='1.18', EG2='0.61', return_code2='0', energy_flux_error='1.16e-05', photon_flux_error2='8.12e-09', ts2='14.86', photon_index='2.11' WHERE bin_id='1359' AND source_name='4FGL J0906.3-0905' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:38:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0205>
Subject: Job 23203: <4FGL_J0906.3-0905_daily_bin1359> in cluster <slac> Done

Job <4FGL_J0906.3-0905_daily_bin1359> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 31 01:25:35 2021
Job was executed on host(s) <bullet0205>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 01:25:36 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:25:36 2021
Terminated at Tue Aug 31 01:38:45 2021
Results reported at Tue Aug 31 01:38:45 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0906.3-0905_daily_bin1359 136.583 -9.0925 591580801 591840001 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 :                                   734.05 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             323.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   789 sec.
    Turnaround time :                            790 sec.

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

