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


Performing analysis on: 4FGL_J0906.3-0905_daily_bin1151
RA = 136.583, Dec = -9.0925
tmin = 537667201, tmax = 537926401
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='21811', job_status='RUN', time_executed='2021-08-31 01:23:10.499592', time_epoch_executed='1630398190.5' WHERE source_name='4FGL J0906.3-0905' and cadence='daily' and bin_id='1151'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/21811

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/21811/ft1_4FGL_J0906.3-0905_daily_bin1151.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/21811/ft2_4FGL_J0906.3-0905_daily_bin1151.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/21811/ft1_4FGL_J0906.3-0905_daily_bin1151.fits outfile=/scratch/kocevski/21811/ft1_filteredMKT_4FGL_J0906.3-0905_daily_bin1151.fits ra=136.583 dec=-9.0925 rad=12.0 tmin=537667201.0 tmax=537926401.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 5.02
user 4.70
sys 0.27

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/21811/ft2_4FGL_J0906.3-0905_daily_bin1151.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/21811/ft1_filteredMKT_4FGL_J0906.3-0905_daily_bin1151.fits evtable="EVENTS" outfile="/scratch/kocevski/21811/ft1_filtered_4FGL_J0906.3-0905_daily_bin1151.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.51
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/21811/ft1_filtered_4FGL_J0906.3-0905_daily_bin1151.fits" evtable="EVENTS" scfile=/scratch/kocevski/21811/ft2_4FGL_J0906.3-0905_daily_bin1151.fits sctable="SC_DATA" outfile=/scratch/kocevski/21811/ltcube_537667201_537926401_4FGL_J0906.3-0905_daily_bin1151.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/21811/ft2_4FGL_J0906.3-0905_daily_bin1151.fits
.....................!
real 11.84
user 11.44
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/21811/ft1_filtered_4FGL_J0906.3-0905_daily_bin1151.fits evtable="EVENTS" scfile=/scratch/kocevski/21811/ft2_4FGL_J0906.3-0905_daily_bin1151.fits sctable="SC_DATA" expcube=/scratch/kocevski/21811/ltcube_537667201_537926401_4FGL_J0906.3-0905_daily_bin1151.fits outfile=/scratch/kocevski/21811/expmap_537667201_537926401_4FGL_J0906.3-0905_daily_bin1151.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/21811/ltcube_537667201_537926401_4FGL_J0906.3-0905_daily_bin1151.fits
.....................!
real 193.74
user 187.68
sys 5.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/21811/ft1_filtered_4FGL_J0906.3-0905_daily_bin1151.fits scfile=/scratch/kocevski/21811/ft2_4FGL_J0906.3-0905_daily_bin1151.fits outfile=/scratch/kocevski/21811/cmap_537667201_537926401_4FGL_J0906.3-0905_daily_bin1151.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 0.58
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/21811/ft1_filtered_4FGL_J0906.3-0905_daily_bin1151.fits scfile=/scratch/kocevski/21811/ft2_4FGL_J0906.3-0905_daily_bin1151.fits outfile=/scratch/kocevski/21811/cmap_HighResolution_537667201_537926401_4FGL_J0906.3-0905_daily_bin1151.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 0.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/21811/ft1_filtered_4FGL_J0906.3-0905_daily_bin1151.fits evtable="EVENTS" scfile=/scratch/kocevski/21811/ft2_4FGL_J0906.3-0905_daily_bin1151.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/21811/Model_4FGL_J0906.3-0905_daily_bin1151.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/21811/ft1_filtered_4FGL_J0906.3-0905_daily_bin1151.fits.....................!
real 76.41
user 74.81
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    12.418       1.0000         .10000E-03   10000.    
     4 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.4095       1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.564       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    6.8138       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.7734       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.572       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10570E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .48198       1.0000         .10000E-03   10000.    
    15 'Prefactor '    17.847       1.0000         .10000E-03   10000.    
    16 'norm      '    .48714       1.0000         .10000E-03   10000.    
    17 'norm      '    1.2925       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .77500       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .99560       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=   7173.845     FROM MIGRAD    STATUS=CONVERGED    434 CALLS     1799 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.9309        .35607E-06** at limit **
   2  Prefactor     .10000E-03    6.4478       -.90089E-07** at limit **
   3  norm          12.425        9.1630       -.30383E-05   -.76995E-04
   4  norm          .10000E-03    1.9449        .66979E-07** at limit **
   5  Prefactor     5.4089        4.8774        .16665E-05   -.39387E-03
   6  Prefactor     12.543        11.328       -.73422E-06   -.31129E-04
   7  Prefactor     .10000E-03    3.1031       -.10035E-06** at limit **
   8  norm          .10000E-03    2.3795        .11004E-06** at limit **
   9  norm          6.8131        5.2976       -.14640E-06   -.10959E-03
  10  Prefactor     6.7693        9.6901        .15892E-05   -.65380E-05
  11  Prefactor     .10000E-03    17.957       -.80406E-07** at limit **
  12  Prefactor     11.583        15.743       -.25203E-04   -.17950E-04
  13  Prefactor     .10000E-03    27.255       -.25569E-05** at limit **
  14  Prefactor     .10539        14.296       -.15521E-05    .53060E-04
  15  Prefactor     17.856        13.054       -.23659E-05    .26475E-04
  16  norm          .51848        3.1256        .68460E-06   -.10127E-02
  17  norm          1.2919        2.0357       -.30181E-06   -.58738E-03
  18  norm          .10000E-03    .81346       -.54195E-07** at limit **
  19  Normalizat    .77492        .17076        .53563E-05   -.12657E-03
  20  Prefactor     .99573        .11265       -.86729E-06    .37429E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 12.4249
  norm       = 0.0001
  Prefactor  = 5.40887
  Prefactor  = 12.5434
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.81308
  Prefactor  = 6.76931
  Prefactor  = 0.0001
  Prefactor  = 11.5834
  Prefactor  = 0.0001
  Prefactor  = 0.105391
  Prefactor  = 17.8564
  norm       = 0.518477
  norm       = 1.29193
  norm       = 0.0001
  Normalizat = 0.77492
  Prefactor  = 0.995729
 **********
 **   18 **HESSE 
 **********

 FCN=   7173.845     FROM HESSE     STATUS=OK           303 CALLS     2102 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.9334        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.4533        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          12.425        9.1564        .11367E-03   -1.5003    
   4  norm          .10000E-03    2.0197        .23006E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.4089        4.8880        .16793E-03   -1.5243    
   6  Prefactor     12.543        11.312        .11301E-03   -1.4999    
   7  Prefactor     .10000E-03    3.1349        .14568E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.4208        .12754E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          6.8131        5.2969        .15371E-03   -1.5186    
  10  Prefactor     6.7693        9.6883        .15417E-03   -1.5188    
  11  Prefactor     .10000E-03    18.008        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.583        15.774        .11777E-03   -1.5027    
  13  Prefactor     .10000E-03    27.499        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10539        24.416        .10579       -1.5643    
  15  Prefactor     17.856        13.031        .94807E-04   -1.4863    
  16  norm          .51848        12.048        .27018E-02   -1.5564    
  17  norm          1.2919        1.9985        .14748E-03   -1.5481    
  18  norm          .10000E-03    .83138        .74577E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .77492        .20161        .29588E-03   -1.0101    
  20  Prefactor     .99573        .13503        .17716E-03   -.92872    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.2179e-09
Minuit parameter uncertainties:
  1  4.01652e-06
  2  2.09857e-06
  3  9.1574
  4  1.9246e-05
  5  4.88835
  6  11.3141
  7  7.22526e-06
  8  1.8474e-05
  9  5.29723
  10  9.69058
  11  6.78011e-05
  12  15.78
  13  0.000101822
  14  3.20807
  15  13.0327
  16  4.99938
  17  1.99856
  18  2.52325e-06
  19  0.201805
  20  0.135081
Done.

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

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  1.000e-04  7.225e-06  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.957e-01  1.351e-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:  7.749e-01  2.018e-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: 4.67e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.53e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/21811/likelihoodResults_537667201_537926401_4FGL_J0906.3-0905_daily_bin1151.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) = 7173.8463558
delta logL = -0.00151994386306

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7173.84483585
delta logL = 1.02909325506e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1010       1.0000          .0000       10.000    
     3 'Normalizat'    .77492       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99572       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=   7173.845     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      206 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.8342        .90712E-02** at limit **
   2  Index         2.0968        8.2429        .50000        .10669E-04
   3  Normalizat    .77492        .32644E-02    .66874E-01   -.93555E-05
   4  Prefactor     .99573        .22032E-02    .46214E-01   -.40675E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.09685
  Normalizat = 0.774924
  Prefactor  = 0.995726
 **********
 **   18 **HESSE 
 **********

 FCN=   7173.845     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      237 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    28.706        .14581E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0968        5.2244        .50000       -.61950    
   3  Normalizat    .77492        .12941E-01    .29587E-03   -1.0101    
   4  Prefactor     .99573        .87464E-02    .17716E-03   -.92872    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.63452e-07
Minuit parameter uncertainties:
  1  5.33104e-06
  2  153.936
  3  0.0129413
  4  0.00874643
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/21811': 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) = 7173.84483584
delta logL = 2.32284946833e-08

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  1.000e-04  5.331e-06  1.000e-04  1.000e+04 ( 1.000e-13)
289        Index:  2.097e+00  1.539e+02  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.957e-01  8.746e-03  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:  7.749e-01  1.294e-02  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/21811/cmap_HighResolution_537667201_537926401_4FGL_J0906.3-0905_daily_bin1151.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.53e-03', job_status='DONE', photon_flux_upper_limit='4.67e-08', time_completed='2021-08-31 01:34:02.356940', job_id='21811', GAL2='1.00', fit_tolerance='1e-08', EG2='0.77', EG='0.77', time_epoch_completed='1630398842.36', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='2.32e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1151' AND source_name='4FGL J0906.3-0905' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:34:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 21811: <4FGL_J0906.3-0905_daily_bin1151> in cluster <slac> Done

Job <4FGL_J0906.3-0905_daily_bin1151> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 01:21:13 2021
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 01:21:15 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 01:21:15 2021
Terminated at Tue Aug 31 01:34:03 2021
Results reported at Tue Aug 31 01:34:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0906.3-0905_daily_bin1151 136.583 -9.0925 537667201 537926401 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 :                                   616.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             350.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   768 sec.
    Turnaround time :                            770 sec.

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

