/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


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


Performing analysis on: 4FGL_J0906.3-0905_daily_bin790
RA = 136.583, Dec = -9.0925
tmin = 444096001, tmax = 444355201
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='19874', job_status='RUN', time_executed='2021-08-31 01:19:55.164161', time_epoch_executed='1630397995.16' WHERE source_name='4FGL J0906.3-0905' and cadence='daily' and bin_id='790'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/19874

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/19874/ft1_4FGL_J0906.3-0905_daily_bin790.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/19874/ft2_4FGL_J0906.3-0905_daily_bin790.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/19874/ft1_4FGL_J0906.3-0905_daily_bin790.fits outfile=/scratch/kocevski/19874/ft1_filteredMKT_4FGL_J0906.3-0905_daily_bin790.fits ra=136.583 dec=-9.0925 rad=12.0 tmin=444096001.0 tmax=444355201.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.06
user 3.52
sys 8.32

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/19874/ft1_filtered_4FGL_J0906.3-0905_daily_bin790.fits" evtable="EVENTS" scfile=/scratch/kocevski/19874/ft2_4FGL_J0906.3-0905_daily_bin790.fits sctable="SC_DATA" outfile=/scratch/kocevski/19874/ltcube_444096001_444355201_4FGL_J0906.3-0905_daily_bin790.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/19874/ft2_4FGL_J0906.3-0905_daily_bin790.fits
.....................!
real 21.77
user 12.07
sys 9.42

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/19874/ft1_filtered_4FGL_J0906.3-0905_daily_bin790.fits evtable="EVENTS" scfile=/scratch/kocevski/19874/ft2_4FGL_J0906.3-0905_daily_bin790.fits sctable="SC_DATA" expcube=/scratch/kocevski/19874/ltcube_444096001_444355201_4FGL_J0906.3-0905_daily_bin790.fits outfile=/scratch/kocevski/19874/expmap_444096001_444355201_4FGL_J0906.3-0905_daily_bin790.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/19874/ltcube_444096001_444355201_4FGL_J0906.3-0905_daily_bin790.fits
.....................!
real 202.22
user 186.84
sys 14.32

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/19874/ft1_filtered_4FGL_J0906.3-0905_daily_bin790.fits scfile=/scratch/kocevski/19874/ft2_4FGL_J0906.3-0905_daily_bin790.fits outfile=/scratch/kocevski/19874/cmap_444096001_444355201_4FGL_J0906.3-0905_daily_bin790.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.59
user 0.39
sys 8.07

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/19874/ft1_filtered_4FGL_J0906.3-0905_daily_bin790.fits scfile=/scratch/kocevski/19874/ft2_4FGL_J0906.3-0905_daily_bin790.fits outfile=/scratch/kocevski/19874/cmap_HighResolution_444096001_444355201_4FGL_J0906.3-0905_daily_bin790.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.59
user 0.37
sys 8.08

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/19874/ft1_filtered_4FGL_J0906.3-0905_daily_bin790.fits evtable="EVENTS" scfile=/scratch/kocevski/19874/ft2_4FGL_J0906.3-0905_daily_bin790.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/19874/Model_4FGL_J0906.3-0905_daily_bin790.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/19874/ft1_filtered_4FGL_J0906.3-0905_daily_bin790.fits.....................!
real 72.29
user 60.15
sys 11.85

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .39000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .11229E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.8355       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.4893       1.0000         .10000E-03   10000.    
     6 'Prefactor '    55.366       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.6989       1.0000         .10000E-03   10000.    
     8 'norm      '    .20520E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.7329       1.0000         .10000E-03   10000.    
    10 'Prefactor '    22.731       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .55189E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .25751       1.0000         .10000E-03   10000.    
    13 'Prefactor '    58.283       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.5877       1.0000         .10000E-03   10000.    
    18 'norm      '    .77948       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .45458       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.3479       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=   5606.881     FROM MIGRAD    STATUS=CONVERGED    440 CALLS     2076 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    10.036       -.50146E-06** at limit **
   2  Prefactor     .10000E-03    53.815       -.19072E-04** at limit **
   3  norm          .10000E-03    15.166        .50238E-06** at limit **
   4  norm          2.8312        3.6402       -.46221E-06   -.37417E-04
   5  Prefactor     2.4829        4.2912        .19757E-05   -.21306E-02
   6  Prefactor     55.350        22.738        .31204E-05    .29908E-03
   7  Prefactor     7.6975        8.0615       -.14499E-06    .13838E-04
   8  norm          .10000E-03    3.0353        .15184E-06** at limit **
   9  norm          1.7348        3.6539       -.26836E-07   -.12373E-03
  10  Prefactor     22.724        24.500        .70366E-05    .15067E-03
  11  Prefactor     .10000E-03    63.010        .17423E-04** at limit **
  12  Prefactor     .18964        16.042       -.12713E-05    .15023E-03
  13  Prefactor     58.294        51.117        .17914E-05    .21876E-04
  14  Prefactor     .10000E-03    9.0699        .27097E-06** at limit **
  15  Prefactor     .10000E-03    5.2970        .38984E-07** at limit **
  16  norm          .10000E-03    3.7467        .26893E-06** at limit **
  17  norm          2.5880        4.9676        .89118E-06   -.70953E-04
  18  norm          .77986        2.2199        .17724E-06   -.25126E-03
  19  Normalizat    .45459        .24540       -.62248E-05    .25215E-04
  20  Prefactor     1.3478        .15972        .35376E-06    .96695E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.0001
  norm       = 2.83118
  Prefactor  = 2.48288
  Prefactor  = 55.3502
  Prefactor  = 7.69748
  norm       = 0.0001
  norm       = 1.73478
  Prefactor  = 22.7241
  Prefactor  = 0.000100001
  Prefactor  = 0.189642
  Prefactor  = 58.2939
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.58802
  norm       = 0.779859
  Normalizat = 0.454585
  Prefactor  = 1.34779
 **********
 **   18 **HESSE 
 **********

 FCN=   5606.881     FROM HESSE     STATUS=OK           303 CALLS     2379 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    10.037        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    54.147        .21275E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    15.410        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.8312        3.6225        .15209E-03   -1.5371    
   5  Prefactor     2.4829        8.5888        .12954E-02   -1.5393    
   6  Prefactor     55.350        22.817        .53909E-04   -1.4219    
   7  Prefactor     7.6975        8.0551        .14452E-03   -1.5153    
   8  norm          .10000E-03    5.9917        .25048E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.7348        3.6108        .20131E-03   -1.5445    
  10  Prefactor     22.724        24.363        .84014E-04   -1.4754    
  11  Prefactor     .10000E-03    62.810        .21108E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .18964        19.023        .89748E-01   -1.5621    
  13  Prefactor     58.294        50.896        .52550E-04   -1.4179    
  14  Prefactor     .10000E-03    9.0716        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    5.2992        .16832E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    3.7720        .14153E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.5880        4.9301        .21799E-03   -1.5386    
  18  norm          .77986        2.1795        .18119E-03   -1.5531    
  19  Normalizat    .45459        .25194        .42881E-03   -1.1457    
  20  Prefactor     1.3478        .17157        .18039E-03   -.81897    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.44822e-08
Minuit parameter uncertainties:
  1  8.58726e-06
  2  0.000678843
  3  7.5608e-07
  4  3.6228
  5  8.59309
  6  22.8207
  7  8.05619
  8  9.98238e-05
  9  3.61123
  10  24.3737
  11  0.000519884
  12  3.79894
  13  50.9336
  14  8.0375e-06
  15  3.37479e-06
  16  6.51641e-06
  17  4.93091
  18  2.17967
  19  0.252572
  20  0.171638
Done.

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

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  7.697e+00  8.056e+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.348e+00  1.716e-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:  4.546e-01  2.526e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.09
Ra Dec: 136.583 -9.092
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 3.12e-08 +/- 3.27e-08
Energy Flux (Fixed Index): 1.69e-05 +/- 1.77e-05

TS (Fixed Index): 2.09
Ra Dec: 136.583 -9.092
Photon Flux Upper Limit: 1.18e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.90e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/19874/likelihoodResults_444096001_444355201_4FGL_J0906.3-0905_daily_bin790.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): 0
logL (Free Index) = 5606.88047165
delta logL = 0.000101146270936

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5606.88043379
delta logL = 0.000139001564094

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.7717       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0923       1.0000          .0000       10.000    
     3 'Normalizat'    .45510       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3477       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=   5606.880     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      263 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.7743        9.5795        .14384E-03   -.85664E-03
   2  Index         2.0927        .77639        .74077E-02   -.23125E-03
   3  Normalizat    .45505        .23627        .42861E-03    .50415E-03
   4  Prefactor     1.3476        .16442        .18040E-03    .14031E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.77426
  Index      = 2.09269
  Normalizat = 0.455054
  Prefactor  = 1.34764
 **********
 **   18 **HESSE 
 **********

 FCN=   5606.880     FROM HESSE     STATUS=OK            23 CALLS      286 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.7743        9.3072        .28768E-04   -1.5150    
   2  Index         2.0927        .75402        .29631E-03   -.62052    
   3  Normalizat    .45505        .23612        .17144E-04   -1.1455    
   4  Prefactor     1.3476        .16440        .36080E-04   -.81901    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.20596e-09
Minuit parameter uncertainties:
  1  9.30898
  2  0.75841
  3  0.236643
  4  0.164467
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/19874': 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) = 5606.88043291
delta logL = 0.000139880216011

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  7.774e+00  9.309e+00  1.000e-04  1.000e+04 ( 1.000e-13)
289        Index:  2.093e+00  7.584e-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.348e+00  1.645e-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:  4.551e-01  2.366e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.09
Ra Dec: 136.583 -9.092
Photon Index (Free Index): 2.09 +/- 0.76
Photon Flux (Free Index): 3.08e-08 +/- 4.29e-08
Energy Flux (Free Index): 1.71e-05 +/- 2.18e-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/19874/cmap_HighResolution_444096001_444355201_4FGL_J0906.3-0905_daily_bin790.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.90e-03', comment='SUCCESS', photon_flux='3.12e-08', energy_flux2='1.71e-05', photon_flux_error='3.27e-08', dlogl='1.40e-04', energy_flux='1.69e-05', photon_flux2='3.08e-08', job_status='DONE', time_completed='2021-08-31 01:31:14.716506', photon_index_error2='0.76', photon_index2='2.09', ts='2.09', fit_tolerance='1e-08', GAL='1.35', photon_index_error='0.00', photon_flux_upper_limit='1.18e-07', energy_flux_error2='2.18e-05', EG='0.45', time_epoch_completed='1630398674.72', return_code='0', job_id='19874', GAL2='1.35', EG2='0.46', return_code2='0', energy_flux_error='1.77e-05', photon_flux_error2='4.29e-08', ts2='2.09', photon_index='2.11' WHERE bin_id='790' AND source_name='4FGL J0906.3-0905' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:31:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0143>
Subject: Job 19874: <4FGL_J0906.3-0905_daily_bin790> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0906.3-0905_daily_bin790 136.583 -9.0925 444096001 444355201 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 :                                   802.51 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             264.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   936 sec.
    Turnaround time :                            938 sec.

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

