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


Performing analysis on: 4FGL_J0906.3-0905_daily_bin1156
RA = 136.583, Dec = -9.0925
tmin = 538963201, tmax = 539222401
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='21819', job_status='RUN', time_executed='2021-08-31 01:23:55.501660', time_epoch_executed='1630398235.5' WHERE source_name='4FGL J0906.3-0905' and cadence='daily' and bin_id='1156'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/21819

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/21819/ft1_4FGL_J0906.3-0905_daily_bin1156.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/21819/ft2_4FGL_J0906.3-0905_daily_bin1156.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/21819/ft1_4FGL_J0906.3-0905_daily_bin1156.fits outfile=/scratch/kocevski/21819/ft1_filteredMKT_4FGL_J0906.3-0905_daily_bin1156.fits ra=136.583 dec=-9.0925 rad=12.0 tmin=538963201.0 tmax=539222401.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.75
user 4.39
sys 1.31

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/21819/ft2_4FGL_J0906.3-0905_daily_bin1156.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/21819/ft1_filteredMKT_4FGL_J0906.3-0905_daily_bin1156.fits evtable="EVENTS" outfile="/scratch/kocevski/21819/ft1_filtered_4FGL_J0906.3-0905_daily_bin1156.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.74
user 0.33
sys 1.39

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/21819/ft1_filtered_4FGL_J0906.3-0905_daily_bin1156.fits" evtable="EVENTS" scfile=/scratch/kocevski/21819/ft2_4FGL_J0906.3-0905_daily_bin1156.fits sctable="SC_DATA" outfile=/scratch/kocevski/21819/ltcube_538963201_539222401_4FGL_J0906.3-0905_daily_bin1156.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/21819/ft2_4FGL_J0906.3-0905_daily_bin1156.fits
.....................!
real 13.07
user 11.51
sys 1.53

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/21819/ft1_filtered_4FGL_J0906.3-0905_daily_bin1156.fits evtable="EVENTS" scfile=/scratch/kocevski/21819/ft2_4FGL_J0906.3-0905_daily_bin1156.fits sctable="SC_DATA" expcube=/scratch/kocevski/21819/ltcube_538963201_539222401_4FGL_J0906.3-0905_daily_bin1156.fits outfile=/scratch/kocevski/21819/expmap_538963201_539222401_4FGL_J0906.3-0905_daily_bin1156.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/21819/ltcube_538963201_539222401_4FGL_J0906.3-0905_daily_bin1156.fits
.....................!
real 190.59
user 184.56
sys 5.59

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/21819/ft1_filtered_4FGL_J0906.3-0905_daily_bin1156.fits scfile=/scratch/kocevski/21819/ft2_4FGL_J0906.3-0905_daily_bin1156.fits outfile=/scratch/kocevski/21819/cmap_538963201_539222401_4FGL_J0906.3-0905_daily_bin1156.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.78
user 0.39
sys 1.33

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/21819/ft1_filtered_4FGL_J0906.3-0905_daily_bin1156.fits scfile=/scratch/kocevski/21819/ft2_4FGL_J0906.3-0905_daily_bin1156.fits outfile=/scratch/kocevski/21819/cmap_HighResolution_538963201_539222401_4FGL_J0906.3-0905_daily_bin1156.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.76
user 0.38
sys 1.35

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/21819/ft1_filtered_4FGL_J0906.3-0905_daily_bin1156.fits evtable="EVENTS" scfile=/scratch/kocevski/21819/ft2_4FGL_J0906.3-0905_daily_bin1156.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/21819/Model_4FGL_J0906.3-0905_daily_bin1156.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/21819/ft1_filtered_4FGL_J0906.3-0905_daily_bin1156.fits.....................!
real 56.04
user 52.63
sys 2.80

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    36.507       1.0000         .10000E-03   10000.    
     2 'Prefactor '    140.70       1.0000         .10000E-03   10000.    
     3 'norm      '    7.0297       1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10230E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.3649       1.0000         .10000E-03   10000.    
     8 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    51.978       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.6466       1.0000         .10000E-03   10000.    
    13 'Prefactor '    21.117       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.6293       1.0000         .10000E-03   10000.    
    16 'norm      '    7.0277       1.0000         .10000E-03   10000.    
    17 'norm      '    2.7403       1.0000         .10000E-03   10000.    
    18 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .82671       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1005       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=   4378.012     FROM MIGRAD    STATUS=CONVERGED    406 CALLS     2060 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          36.508        35.228        .14390E-06    .20230E-04
   2  Prefactor     140.68        62.221       -.12336E-05   -.24818E-03
   3  norm          7.0291        10.771        .28371E-05   -.98043E-04
   4  norm          .10000E-03    1.4159       -.93187E-07** at limit **
   5  Prefactor     .10000E-03    13.173        .36846E-06** at limit **
   6  Prefactor     .10000E-03    5.9389       -.42627E-07** at limit **
   7  Prefactor     2.3636        10.311        .86623E-06   -.18147E-04
   8  norm          .10000E-03    2.1523        .66077E-07** at limit **
   9  norm          .10000E-03    3.6064        .39541E-07** at limit **
  10  Prefactor     .10000E-03    21.144       -.15043E-06** at limit **
  11  Prefactor     51.971        59.851       -.48708E-06   -.51544E-04
  12  Prefactor     9.6424        15.956       -.33761E-07   -.25420E-04
  13  Prefactor     21.108        36.462       -.79502E-06   -.11273E-03
  14  Prefactor     .10000E-03    38.823        .44057E-07** at limit **
  15  Prefactor     7.6270        17.539        .12031E-06   -.22252E-04
  16  norm          7.0259        8.7028        .88188E-07   -.19238E-04
  17  norm          2.7399        3.3931        .30760E-07   -.16241E-05
  18  norm          .10000E-03    1.0704        .61191E-07** at limit **
  19  Normalizat    .82686        .25613        .16594E-05   -.50889E-04
  20  Prefactor     1.1005        .16024       -.12029E-05    .38987E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 36.5083
  Prefactor  = 140.677
  norm       = 7.02908
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.36363
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 51.9712
  Prefactor  = 9.64236
  Prefactor  = 21.1084
  Prefactor  = 0.0001
  Prefactor  = 7.62697
  norm       = 7.02585
  norm       = 2.73993
  norm       = 0.0001
  Normalizat = 0.826858
  Prefactor  = 1.10054
 **********
 **   18 **HESSE 
 **********

 FCN=   4378.012     FROM HESSE     STATUS=OK           287 CALLS     2347 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          36.508        35.236        .66330E-04   -1.4499    
   2  Prefactor     140.68        62.783        .16981E-03   -1.3330    
   3  norm          7.0291        10.844        .75653E-03   -1.5178    
   4  norm          .10000E-03    1.4228        .76928E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    13.392        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.9507        .15749E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.3636        10.287        .26647E-03   -1.5400    
   8  norm          .10000E-03    2.1663        .94781E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.6175        .12270E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    21.195        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     51.971        60.032        .55629E-04   -1.4265    
  12  Prefactor     9.6424        15.961        .12902E-03   -1.5087    
  13  Prefactor     21.108        36.600        .87161E-04   -1.4789    
  14  Prefactor     .10000E-03    38.935        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     7.6270        17.534        .14519E-03   -1.5156    
  16  norm          7.0259        8.6952        .15133E-03   -1.5178    
  17  norm          2.7399        3.3853        .13163E-03   -1.5377    
  18  norm          .10000E-03    1.6746        .13346E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .82686        .28414        .33276E-03   -.99080    
  20  Prefactor     1.1005        .17723        .19221E-03   -.89449    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.97753e-10
Minuit parameter uncertainties:
  1  35.2561
  2  62.8131
  3  10.8469
  4  3.40872e-06
  5  9.44167e-06
  6  5.27877e-06
  7  9.86451
  8  4.89378e-07
  9  4.33601e-07
  10  1.68168e-07
  11  60.1021
  12  15.9683
  13  36.6385
  14  2.08628e-05
  15  17.5457
  16  8.69677
  17  3.3855
  18  2.12323e-06
  19  0.284655
  20  0.177325
Done.

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

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  2.364e+00  9.865e+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.101e+00  1.773e-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.269e-01  2.847e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/21819/likelihoodResults_538963201_539222401_4FGL_J0906.3-0905_daily_bin1156.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) = 4377.99892113
delta logL = 0.0127212554453

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4377.82975062
delta logL = 0.181891760549

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .49943E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    6.1306       1.0000          .0000       10.000    
     3 'Normalizat'    .77832       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1230       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=   4377.830     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      293 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .48818E-03    .19750E-01    .54728E-03** at limit **
   2  Index         6.1404        2.9688        .10067        .97842E-04
   3  Normalizat    .77797        .44627E-01    .77287E-01    .75778E-04
   4  Prefactor     1.1234        .29456E-01    .36771E-01    .19113E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000488176
  Index      = 6.14041
  Normalizat = 0.777967
  Prefactor  = 1.12342
 **********
 **   18 **HESSE 
 **********

 FCN=   4377.830     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      326 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .48818E-03    .82714E-01    .27029E-04   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.1404        8.0671        .63075E-02    .23011    
   3  Normalizat    .77797        .17991        .34214E-03   -1.0089    
   4  Prefactor     1.1234        .11701        .19048E-03   -.88722    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.44351e-09
Minuit parameter uncertainties:
  1  0.0113327
  2  8.52487
  3  0.180043
  4  0.117038
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/21819': 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) = 4377.82974396
delta logL = 0.181898421344

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  4.882e-04  1.133e-02  1.000e-04  1.000e+04 ( 1.000e-13)
289        Index:  6.140e+00  8.525e+00  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.123e+00  1.170e-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.780e-01  1.800e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/21819/cmap_HighResolution_538963201_539222401_4FGL_J0906.3-0905_daily_bin1156.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.77e-03', job_status='DONE', photon_flux_upper_limit='1.16e-07', time_completed='2021-08-31 01:34:46.433342', job_id='21819', GAL2='1.12', fit_tolerance='1e-08', EG2='0.78', EG='0.83', time_epoch_completed='1630398886.43', return_code2='102', ts='0.06', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='1.82e-01', ts2='0.46', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1156' AND source_name='4FGL J0906.3-0905' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:34:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 21819: <4FGL_J0906.3-0905_daily_bin1156> in cluster <slac> Done

Job <4FGL_J0906.3-0905_daily_bin1156> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 01:21:14 2021
Job was executed on host(s) <bullet0243>, 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:47 2021
Results reported at Tue Aug 31 01:34:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0906.3-0905_daily_bin1156 136.583 -9.0925 538963201 539222401 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 :                                   545.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             246.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   811 sec.
    Turnaround time :                            813 sec.

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

