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


Performing analysis on: 4FGL_J0906.3-0905_daily_bin1147
RA = 136.583, Dec = -9.0925
tmin = 536630401, tmax = 536889601
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='21805', job_status='RUN', time_executed='2021-08-31 01:22:50.295010', time_epoch_executed='1630398170.3' WHERE source_name='4FGL J0906.3-0905' and cadence='daily' and bin_id='1147'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/21805

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/21805/ft1_4FGL_J0906.3-0905_daily_bin1147.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/21805/ft2_4FGL_J0906.3-0905_daily_bin1147.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/21805/ft1_4FGL_J0906.3-0905_daily_bin1147.fits outfile=/scratch/kocevski/21805/ft1_filteredMKT_4FGL_J0906.3-0905_daily_bin1147.fits ra=136.583 dec=-9.0925 rad=12.0 tmin=536630401.0 tmax=536889601.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 4.21
user 3.26
sys 0.82

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/21805/ft1_filtered_4FGL_J0906.3-0905_daily_bin1147.fits" evtable="EVENTS" scfile=/scratch/kocevski/21805/ft2_4FGL_J0906.3-0905_daily_bin1147.fits sctable="SC_DATA" outfile=/scratch/kocevski/21805/ltcube_536630401_536889601_4FGL_J0906.3-0905_daily_bin1147.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/21805/ft2_4FGL_J0906.3-0905_daily_bin1147.fits
.....................!
real 12.92
user 11.58
sys 1.02

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/21805/ft1_filtered_4FGL_J0906.3-0905_daily_bin1147.fits evtable="EVENTS" scfile=/scratch/kocevski/21805/ft2_4FGL_J0906.3-0905_daily_bin1147.fits sctable="SC_DATA" expcube=/scratch/kocevski/21805/ltcube_536630401_536889601_4FGL_J0906.3-0905_daily_bin1147.fits outfile=/scratch/kocevski/21805/expmap_536630401_536889601_4FGL_J0906.3-0905_daily_bin1147.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/21805/ltcube_536630401_536889601_4FGL_J0906.3-0905_daily_bin1147.fits
.....................!
real 192.59
user 185.18
sys 6.27

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/21805/ft1_filtered_4FGL_J0906.3-0905_daily_bin1147.fits scfile=/scratch/kocevski/21805/ft2_4FGL_J0906.3-0905_daily_bin1147.fits outfile=/scratch/kocevski/21805/cmap_536630401_536889601_4FGL_J0906.3-0905_daily_bin1147.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 1.23
user 0.38
sys 0.71

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/21805/ft1_filtered_4FGL_J0906.3-0905_daily_bin1147.fits scfile=/scratch/kocevski/21805/ft2_4FGL_J0906.3-0905_daily_bin1147.fits outfile=/scratch/kocevski/21805/cmap_HighResolution_536630401_536889601_4FGL_J0906.3-0905_daily_bin1147.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 1.30
user 0.38
sys 0.72

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/21805/ft1_filtered_4FGL_J0906.3-0905_daily_bin1147.fits evtable="EVENTS" scfile=/scratch/kocevski/21805/ft2_4FGL_J0906.3-0905_daily_bin1147.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/21805/Model_4FGL_J0906.3-0905_daily_bin1147.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/21805/ft1_filtered_4FGL_J0906.3-0905_daily_bin1147.fits.....................!
real 79.41
user 76.26
sys 2.05

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    10.359       1.0000         .10000E-03   10000.    
     4 'norm      '    4.4666       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10410E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.537       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .14299E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    7.1271       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.455       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    17.617       1.0000         .10000E-03   10000.    
    15 'Prefactor '    29.646       1.0000         .10000E-03   10000.    
    16 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.9247       1.0000         .10000E-03   10000.    
    18 'norm      '    2.2799       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .89119       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .98677       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=   7450.373     FROM MIGRAD    STATUS=CONVERGED    409 CALLS     2026 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    12.767       -.23074E-05** at limit **
   2  Prefactor     .10000E-03    6.4843        .38342E-06** at limit **
   3  norm          10.359        7.4958        .88550E-06   -.48408E-03
   4  norm          4.4665        2.7951       -.87794E-07    .15012E-03
   5  Prefactor     .10000E-03    6.0824       -.38630E-06** at limit **
   6  Prefactor     12.537        8.8409        .49901E-07   -.59181E-05
   7  Prefactor     .10004E-03    4.6046       -.10867E-05** at limit **
   8  norm          .10000E-03    2.4013       -.60969E-07** at limit **
   9  norm          7.1258        5.8247        .11364E-05   -.71499E-03
  10  Prefactor     10.454        13.735       -.31075E-06   -.32182E-04
  11  Prefactor     .10000E-03    8.0006        .26378E-06** at limit **
  12  Prefactor     .10000E-03    15.783        .22660E-05** at limit **
  13  Prefactor     .10000E-03    15.528        .18774E-05** at limit **
  14  Prefactor     17.610        27.544       -.30313E-05   -.27906E-03
  15  Prefactor     29.647        19.477        .32573E-06   -.40068E-05
  16  norm          .10000E-03    3.6598       -.68702E-07** at limit **
  17  norm          1.9248        2.9109        .24435E-06   -.16342E-03
  18  norm          2.2799        1.4758       -.24829E-08    .22857E-04
  19  Normalizat    .89123        .16804       -.24312E-06    .11324E-03
  20  Prefactor     .98672        .11347       -.37614E-07    .15734E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100002
  Prefactor  = 0.0001
  norm       = 10.3595
  norm       = 4.46646
  Prefactor  = 0.0001
  Prefactor  = 12.537
  Prefactor  = 0.000100036
  norm       = 0.0001
  norm       = 7.12576
  Prefactor  = 10.4539
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  Prefactor  = 17.6105
  Prefactor  = 29.6471
  norm       = 0.0001
  norm       = 1.92483
  norm       = 2.27989
  Normalizat = 0.891229
  Prefactor  = 0.986721
 **********
 **   18 **HESSE 
 **********

 FCN=   7450.373     FROM HESSE     STATUS=OK           293 CALLS     2319 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    13.296        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.5029        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          10.359        7.7871        .62245E-03   -1.5064    
   4  norm          4.4665        2.7914        .10773E-03   -1.5285    
   5  Prefactor     .10000E-03    6.3472        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.537        8.8359        .56566E-03   -1.5000    
   7  Prefactor     .10004E-03    20.295        .34148E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.4439        .13056E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.1258        6.2421        .75129E-03   -1.5174    
  10  Prefactor     10.454        13.776        .12392E-03   -1.5061    
  11  Prefactor     .10000E-03    8.0100        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    16.423        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    15.934        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     17.610        28.953        .95422E-04   -1.4868    
  15  Prefactor     29.647        19.477        .73584E-04   -1.4618    
  16  norm          .10000E-03    3.6953        .16109E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.9248        2.9047        .17535E-03   -1.5430    
  18  norm          2.2799        1.4766        .82068E-04   -1.5406    
  19  Normalizat    .89123        .19754        .28620E-03   -.96769    
  20  Prefactor     .98672        .13391        .18766E-03   -.93173    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.04505e-09
Minuit parameter uncertainties:
  1  0.000343914
  2  3.9135e-05
  3  7.78783
  4  2.79145
  5  3.91264e-05
  6  8.8368
  7  0.00171651
  8  5.89718e-06
  9  6.24269
  10  13.7801
  11  3.04694e-05
  12  0.00033892
  13  0.000307118
  14  28.9756
  15  19.4809
  16  2.46664e-05
  17  2.90494
  18  1.47664
  19  0.197702
  20  0.133959
Done.

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

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  1.000e-04  1.717e-03  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.867e-01  1.340e-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:  8.912e-01  1.977e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 136.583 -9.092
Photon Flux Upper Limit: 6.31e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.78e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/21805/likelihoodResults_536630401_536889601_4FGL_J0906.3-0905_daily_bin1147.txt

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): 102
logL (Free Index) = 7450.37298422
delta logL = -0.000232056642744

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7450.37275293
delta logL = -7.6310516306e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22917E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2307       1.0000          .0000       10.000    
     3 'Normalizat'    .89158       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98650       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.

 FCN=   7450.356     FROM MIGRAD    STATUS=CONVERGED    115 CALLS      298 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .37068        12.046        .32096E-01    .14916E-02
   2  Index         2.8311        1.8584        .24611        .40714E-04
   3  Normalizat    .88419        .12962E-01    .64935E-01    .13700E-03
   4  Prefactor     .98818        .89477E-02    .46098E-01   -.99177E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.370679
  Index      = 2.83114
  Normalizat = 0.88419
  Prefactor  = 0.988183
 **********
 **   18 **HESSE 
 **********

 FCN=   7450.356     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      333 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .37068        532.97        .19588E-02   -1.5586    
   2  Index         2.8311        6.6153        .11996E-01   -.44867    
   3  Normalizat    .88419        .15734        .28723E-03   -.97018    
   4  Prefactor     .98818        .10586        .18753E-03   -.93124    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.15852e-08
Minuit parameter uncertainties:
  1  28.3639
  2  25.3212
  3  0.157422
  4  0.105881
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/21805': 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): 102
logL (Free Index) = 7450.3560196
delta logL = 0.0167325613174

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  3.707e-01  2.836e+01  1.000e-04  1.000e+04 ( 1.000e-13)
289        Index:  2.831e+00  2.532e+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.882e-01  1.059e-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:  8.842e-01  1.574e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 136.583 -9.092

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/21805/cmap_HighResolution_536630401_536889601_4FGL_J0906.3-0905_daily_bin1147.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.78e-03', job_status='DONE', photon_flux_upper_limit='6.31e-08', time_completed='2021-08-31 01:33:54.568291', job_id='21805', GAL2='0.99', fit_tolerance='1e-08', EG2='0.88', EG='0.89', time_epoch_completed='1630398834.57', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='1.67e-02', ts2='0.03', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1147' AND source_name='4FGL J0906.3-0905' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:33:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 21805: <4FGL_J0906.3-0905_daily_bin1147> in cluster <slac> Done

Job <4FGL_J0906.3-0905_daily_bin1147> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 01:21:12 2021
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 01:21:14 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:21:14 2021
Terminated at Tue Aug 31 01:33:55 2021
Results reported at Tue Aug 31 01:33:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0906.3-0905_daily_bin1147 136.583 -9.0925 536630401 536889601 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 :                                   660.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             318.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   761 sec.
    Turnaround time :                            763 sec.

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

