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


Performing analysis on: 4FGL_J0906.3-0905_daily_bin939
RA = 136.583, Dec = -9.0925
tmin = 482716801, tmax = 482976001
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='20091', job_status='RUN', time_executed='2021-08-31 01:19:08.876459', time_epoch_executed='1630397948.88' WHERE source_name='4FGL J0906.3-0905' and cadence='daily' and bin_id='939'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/20091

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/20091/ft1_4FGL_J0906.3-0905_daily_bin939.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/20091/ft2_4FGL_J0906.3-0905_daily_bin939.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/20091/ft1_4FGL_J0906.3-0905_daily_bin939.fits outfile=/scratch/kocevski/20091/ft1_filteredMKT_4FGL_J0906.3-0905_daily_bin939.fits ra=136.583 dec=-9.0925 rad=12.0 tmin=482716801.0 tmax=482976001.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 7.57
user 3.39
sys 3.91

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/20091/ft1_filtered_4FGL_J0906.3-0905_daily_bin939.fits" evtable="EVENTS" scfile=/scratch/kocevski/20091/ft2_4FGL_J0906.3-0905_daily_bin939.fits sctable="SC_DATA" outfile=/scratch/kocevski/20091/ltcube_482716801_482976001_4FGL_J0906.3-0905_daily_bin939.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/20091/ft2_4FGL_J0906.3-0905_daily_bin939.fits
.....................!
real 16.48
user 11.81
sys 4.54

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/20091/ft1_filtered_4FGL_J0906.3-0905_daily_bin939.fits evtable="EVENTS" scfile=/scratch/kocevski/20091/ft2_4FGL_J0906.3-0905_daily_bin939.fits sctable="SC_DATA" expcube=/scratch/kocevski/20091/ltcube_482716801_482976001_4FGL_J0906.3-0905_daily_bin939.fits outfile=/scratch/kocevski/20091/expmap_482716801_482976001_4FGL_J0906.3-0905_daily_bin939.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/20091/ltcube_482716801_482976001_4FGL_J0906.3-0905_daily_bin939.fits
.....................!
real 195.89
user 185.10
sys 9.83

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/20091/ft1_filtered_4FGL_J0906.3-0905_daily_bin939.fits scfile=/scratch/kocevski/20091/ft2_4FGL_J0906.3-0905_daily_bin939.fits outfile=/scratch/kocevski/20091/cmap_482716801_482976001_4FGL_J0906.3-0905_daily_bin939.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 4.17
user 0.38
sys 3.74

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/20091/ft1_filtered_4FGL_J0906.3-0905_daily_bin939.fits scfile=/scratch/kocevski/20091/ft2_4FGL_J0906.3-0905_daily_bin939.fits outfile=/scratch/kocevski/20091/cmap_HighResolution_482716801_482976001_4FGL_J0906.3-0905_daily_bin939.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 4.21
user 0.39
sys 3.78

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/20091/ft1_filtered_4FGL_J0906.3-0905_daily_bin939.fits evtable="EVENTS" scfile=/scratch/kocevski/20091/ft2_4FGL_J0906.3-0905_daily_bin939.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/20091/Model_4FGL_J0906.3-0905_daily_bin939.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/20091/ft1_filtered_4FGL_J0906.3-0905_daily_bin939.fits.....................!
real 80.16
user 73.60
sys 5.99

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.279       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.9711       1.0000         .10000E-03   10000.    
     3 'norm      '    3.7103       1.0000         .10000E-03   10000.    
     4 'norm      '    3.9923       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10124E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13239E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10696E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .19943E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    7.1567       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.9599       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .12370E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .42527E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11302E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .32898E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11118E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    7.6705       1.0000         .10000E-03   10000.    
    17 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0476       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .94071       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=   7026.146     FROM MIGRAD    STATUS=CONVERGED    431 CALLS     2076 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.277        17.807        .12247E-06    .27360E-05
   2  Prefactor     2.9768        20.430       -.23286E-06   -.32231E-05
   3  norm          3.7131        4.5266        .18671E-05   -.33274E-03
   4  norm          3.9929        2.7840       -.18984E-06   -.83025E-05
   5  Prefactor     .10000E-03    1.9512       -.83236E-07** at limit **
   6  Prefactor     .10000E-03    9.8637       -.80471E-07** at limit **
   7  Prefactor     .10001E-03    6.0843       -.36370E-05** at limit **
   8  norm          .10000E-03    1.6680        .19436E-06** at limit **
   9  norm          7.1625        6.8463        .80283E-06   -.63190E-04
  10  Prefactor     9.9892        17.422       -.18535E-05   -.38276E-04
  11  Prefactor     .10000E-03    14.432        .50842E-06** at limit **
  12  Prefactor     .10000E-03    27.239        .61828E-06** at limit **
  13  Prefactor     .10000E-03    38.853        .11462E-06** at limit **
  14  Prefactor     .10000E-03    41.309       -.14566E-04** at limit **
  15  Prefactor     .10000E-03    15.057        .82914E-05** at limit **
  16  norm          7.6764        6.8582        .10412E-06    .24747E-03
  17  norm          .10000E-03    1.3523       -.16916E-08** at limit **
  18  norm          .10000E-03    .58511        .24590E-08** at limit **
  19  Normalizat    1.0471        .17518       -.16359E-05   -.15955E-03
  20  Prefactor     .94091        .11355        .84913E-06    .12077E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 12.2774
  Prefactor  = 2.97679
  norm       = 3.7131
  norm       = 3.99294
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  norm       = 0.0001
  norm       = 7.16249
  Prefactor  = 9.98916
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  norm       = 7.6764
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 1.04711
  Prefactor  = 0.940908
 **********
 **   18 **HESSE 
 **********

 FCN=   7026.146     FROM HESSE     STATUS=OK           295 CALLS     2371 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.277        17.810        .11431E-03   -1.5007    
   2  Prefactor     2.9768        20.401        .23556E-03   -1.5363    
   3  norm          3.7131        6.7241        .10483E-02   -1.5323    
   4  norm          3.9929        2.8068        .11105E-03   -1.5308    
   5  Prefactor     .10000E-03    1.9706        .11433E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    10.335        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10001E-03    26.128        .33476E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    9.6969        .20913E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.1625        7.1111        .74972E-03   -1.5173    
  10  Prefactor     9.9892        17.483        .12697E-03   -1.5076    
  11  Prefactor     .10000E-03    14.471        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    28.412        .42471E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    39.427        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    75.381        .67210E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    32.352        .44174E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          7.6764        6.6610        .14479E-03   -1.5154    
  17  norm          .10000E-03    1.3667        .95180E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .58893        .62611E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0471        .20643        .26979E-03   -.91469    
  20  Prefactor     .94091        .13437        .18998E-03   -.94726    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.65969e-10
Minuit parameter uncertainties:
  1  17.8179
  2  15.5931
  3  6.72544
  4  2.80687
  5  6.89017e-06
  6  3.96444e-05
  7  0.00082228
  8  5.08832e-06
  9  7.11192
  10  17.4917
  11  0.000211285
  12  0.000242684
  13  5.29482e-05
  14  0.00048517
  15  0.000417239
  16  6.6616
  17  1.12438e-06
  18  9.54801e-07
  19  0.206586
  20  0.134418
Done.

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

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  1.000e-04  8.223e-04  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.409e-01  1.344e-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:  1.047e+00  2.066e-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: 5.96e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.51e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/20091/likelihoodResults_482716801_482976001_4FGL_J0906.3-0905_daily_bin939.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) = 7026.14654428
delta logL = -0.000179584576472

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7026.14636613
delta logL = -1.43249326356e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15992E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0429       1.0000          .0000       10.000    
     3 'Normalizat'    1.0471       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94097       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=   7026.146     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      234 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .19361        .66783E-01** at limit **
   2  Index         2.0129        5.4788        .50000        .29522E-05
   3  Normalizat    1.0471        .92637E-03    .61002E-01    .33252E-03
   4  Prefactor     .94091        .62500E-03    .45525E-01    .50317E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.0129
  Normalizat = 1.04711
  Prefactor  = 0.940906
 **********
 **   18 **HESSE 
 **********

 FCN=   7026.146     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      265 TOTAL
                     EDM=   .89E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    30.395        .34902E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0129        8.9096        .50000       -.64028    
   3  Normalizat    1.0471        .44873E-02    .26979E-03   -.91469    
   4  Prefactor     .94091        .30296E-02    .18998E-03   -.94726    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.8515e-10
Minuit parameter uncertainties:
  1  3.79518e-06
  2  40.479
  3  0.00448731
  4  0.00302961
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/20091': 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) = 7026.14636443
delta logL = 2.6355337468e-07

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  1.000e-04  3.795e-06  1.000e-04  1.000e+04 ( 1.000e-13)
289        Index:  2.013e+00  4.048e+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.409e-01  3.030e-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:  1.047e+00  4.487e-03  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/20091/cmap_HighResolution_482716801_482976001_4FGL_J0906.3-0905_daily_bin939.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.51e-03', job_status='DONE', photon_flux_upper_limit='5.96e-08', time_completed='2021-08-31 01:30:41.649626', job_id='20091', GAL2='0.94', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1630398641.65', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='2.64e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='939' AND source_name='4FGL J0906.3-0905' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:30:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 20091: <4FGL_J0906.3-0905_daily_bin939> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0906.3-0905_daily_bin939 136.583 -9.0925 482716801 482976001 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 :                                   741.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             275.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   888 sec.
    Turnaround time :                            890 sec.

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

