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


Performing analysis on: 4FGL_J0906.3-0905_daily_bin1163
RA = 136.583, Dec = -9.0925
tmin = 540777601, tmax = 541036801
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='21830', job_status='RUN', time_executed='2021-08-31 01:23:51.870312', time_epoch_executed='1630398231.87' WHERE source_name='4FGL J0906.3-0905' and cadence='daily' and bin_id='1163'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/21830

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/21830/ft1_4FGL_J0906.3-0905_daily_bin1163.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/21830/ft2_4FGL_J0906.3-0905_daily_bin1163.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/21830/ft1_4FGL_J0906.3-0905_daily_bin1163.fits outfile=/scratch/kocevski/21830/ft1_filteredMKT_4FGL_J0906.3-0905_daily_bin1163.fits ra=136.583 dec=-9.0925 rad=12.0 tmin=540777601.0 tmax=541036801.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 3.91
user 3.41
sys 0.48

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/21830/ft1_filtered_4FGL_J0906.3-0905_daily_bin1163.fits" evtable="EVENTS" scfile=/scratch/kocevski/21830/ft2_4FGL_J0906.3-0905_daily_bin1163.fits sctable="SC_DATA" outfile=/scratch/kocevski/21830/ltcube_540777601_541036801_4FGL_J0906.3-0905_daily_bin1163.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/21830/ft2_4FGL_J0906.3-0905_daily_bin1163.fits
.....................!
real 12.55
user 11.87
sys 0.64

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/21830/ft1_filtered_4FGL_J0906.3-0905_daily_bin1163.fits evtable="EVENTS" scfile=/scratch/kocevski/21830/ft2_4FGL_J0906.3-0905_daily_bin1163.fits sctable="SC_DATA" expcube=/scratch/kocevski/21830/ltcube_540777601_541036801_4FGL_J0906.3-0905_daily_bin1163.fits outfile=/scratch/kocevski/21830/expmap_540777601_541036801_4FGL_J0906.3-0905_daily_bin1163.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/21830/ltcube_540777601_541036801_4FGL_J0906.3-0905_daily_bin1163.fits
.....................!
real 190.60
user 185.41
sys 4.48

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/21830/ft1_filtered_4FGL_J0906.3-0905_daily_bin1163.fits scfile=/scratch/kocevski/21830/ft2_4FGL_J0906.3-0905_daily_bin1163.fits outfile=/scratch/kocevski/21830/cmap_540777601_541036801_4FGL_J0906.3-0905_daily_bin1163.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.83
user 0.36
sys 0.43

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/21830/ft1_filtered_4FGL_J0906.3-0905_daily_bin1163.fits scfile=/scratch/kocevski/21830/ft2_4FGL_J0906.3-0905_daily_bin1163.fits outfile=/scratch/kocevski/21830/cmap_HighResolution_540777601_541036801_4FGL_J0906.3-0905_daily_bin1163.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.99
user 0.37
sys 0.44

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/21830/ft1_filtered_4FGL_J0906.3-0905_daily_bin1163.fits evtable="EVENTS" scfile=/scratch/kocevski/21830/ft2_4FGL_J0906.3-0905_daily_bin1163.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/21830/Model_4FGL_J0906.3-0905_daily_bin1163.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/21830/ft1_filtered_4FGL_J0906.3-0905_daily_bin1163.fits....................!
real 74.32
user 71.14
sys 1.63

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    38.883       1.0000         .10000E-03   10000.    
     3 'norm      '    11.440       1.0000         .10000E-03   10000.    
     4 'norm      '    1.7980       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.8183       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.1563       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    5.9068       1.0000         .10000E-03   10000.    
     9 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    18.854       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.431       1.0000         .10000E-03   10000.    
    13 'Prefactor '    38.371       1.0000         .10000E-03   10000.    
    14 'Prefactor '    28.892       1.0000         .10000E-03   10000.    
    15 'Prefactor '    23.813       1.0000         .10000E-03   10000.    
    16 'norm      '    4.1980       1.0000         .10000E-03   10000.    
    17 'norm      '    8.8994       1.0000         .10000E-03   10000.    
    18 'norm      '    1.6447       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .83660       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .96519       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=   6819.981     FROM MIGRAD    STATUS=CONVERGED    390 CALLS     2074 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    12.682        .51693E-07** at limit **
   2  Prefactor     38.882        34.276       -.56357E-06   -.53387E-04
   3  norm          11.440        10.424       -.10734E-06   -.55306E-04
   4  norm          1.7981        2.1998        .14326E-07   -.48946E-04
   5  Prefactor     9.8186        5.6376        .48975E-06   -.75814E-03
   6  Prefactor     1.1568        4.6115        .95463E-06   -.30878E-03
   7  Prefactor     .10000E-03    3.1964        .53570E-08** at limit **
   8  norm          5.9063        4.6831        .15927E-06    .11570E-04
   9  norm          .10000E-03    4.0722        .14324E-07** at limit **
  10  Prefactor     18.854        18.305        .11060E-06    .17490E-04
  11  Prefactor     .10000E-03    14.586       -.22483E-07** at limit **
  12  Prefactor     15.430        13.647       -.13367E-06   -.27082E-04
  13  Prefactor     38.367        36.208       -.17915E-05   -.14464E-03
  14  Prefactor     28.890        22.860       -.10308E-05   -.17010E-03
  15  Prefactor     23.811        15.344       -.60762E-06   -.19298E-03
  16  norm          4.1982        6.3686        .41519E-06   -.87174E-04
  17  norm          8.8993        3.8962        .28636E-06    .45714E-03
  18  norm          1.6447        1.5087       -.15674E-07    .19307E-04
  19  Normalizat    .83669        .19038        .46461E-06   -.30865E-04
  20  Prefactor     .96513        .12000       -.23224E-06    .23925E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 38.8818
  norm       = 11.4397
  norm       = 1.79807
  Prefactor  = 9.81855
  Prefactor  = 1.15681
  Prefactor  = 0.0001
  norm       = 5.90626
  norm       = 0.0001
  Prefactor  = 18.8535
  Prefactor  = 0.0001
  Prefactor  = 15.4303
  Prefactor  = 38.367
  Prefactor  = 28.8899
  Prefactor  = 23.811
  norm       = 4.19824
  norm       = 8.89932
  norm       = 1.64465
  Normalizat = 0.836689
  Prefactor  = 0.965132
 **********
 **   18 **HESSE 
 **********

 FCN=   6819.981     FROM HESSE     STATUS=OK           295 CALLS     2369 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    12.710        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     38.882        34.570        .64278E-04   -1.4460    
   3  norm          11.440        10.378        .11845E-03   -1.5031    
   4  norm          1.7981        2.1810        .12843E-03   -1.5440    
   5  Prefactor     9.8186        6.1549        .63943E-03   -1.5081    
   6  Prefactor     1.1568        5.2992        .37274E-03   -1.5493    
   7  Prefactor     .10000E-03    3.2096        .14416E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.9063        4.6918        .15218E-03   -1.5222    
   9  norm          .10000E-03    4.1145        .16266E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     18.854        18.419        .92241E-04   -1.4839    
  11  Prefactor     .10000E-03    14.597        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     15.430        13.672        .10196E-03   -1.4922    
  13  Prefactor     38.367        37.522        .64704E-04   -1.4468    
  14  Prefactor     28.890        23.161        .74536E-04   -1.4632    
  15  Prefactor     23.811        15.539        .82086E-04   -1.4732    
  16  norm          4.1982        6.3603        .19669E-03   -1.5298    
  17  norm          8.8993        3.9448        .10562E-03   -1.5111    
  18  norm          1.6447        1.5182        .94453E-04   -1.5451    
  19  Normalizat    .83669        .21982        .30668E-03   -.98722    
  20  Prefactor     .96513        .13912        .19337E-03   -.93901    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.6588e-10
Minuit parameter uncertainties:
  1  4.54423e-06
  2  34.5883
  3  10.3794
  4  2.18113
  5  6.15531
  6  4.95233
  7  4.11569e-08
  8  4.69208
  9  4.26244e-06
  10  18.4242
  11  5.62525e-06
  12  13.6748
  13  37.545
  14  23.1682
  15  15.5417
  16  6.36128
  17  3.94496
  18  1.51828
  19  0.220051
  20  0.139176
Done.

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

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  1.000e-04  4.116e-08  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.651e-01  1.392e-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.367e-01  2.201e-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.58e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.22e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/21830/likelihoodResults_540777601_541036801_4FGL_J0906.3-0905_daily_bin1163.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) = 6819.98285709
delta logL = -0.00148350221934

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6819.98137359
delta logL = 4.76575223729e-10

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1064       1.0000          .0000       10.000    
     3 'Normalizat'    .83669       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96513       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=   6819.981     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      207 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    57.526        .90712E-02** at limit **
   2  Index         2.1074        8.9166        .50000       -.30472E-05
   3  Normalizat    .83669        .20241E-01    .69313E-01   -.29804E-05
   4  Prefactor     .96513        .13698E-01    .45830E-01   -.20335E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.10744
  Normalizat = 0.836689
  Prefactor  = 0.965131
 **********
 **   18 **HESSE 
 **********

 FCN=   6819.981     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      240 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    336.82        .14417E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1074        8.9401        .50000       -.61690    
   3  Normalizat    .83669        .55664E-01    .30668E-03   -.98722    
   4  Prefactor     .96513        .37720E-01    .19337E-03   -.93901    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.11148e-10
Minuit parameter uncertainties:
  1  1.87771e-05
  2  42.0407
  3  0.0556676
  4  0.0377206
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/21830': 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) = 6819.98137359
delta logL = 1.34696165333e-09

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  1.000e-04  1.878e-05  1.000e-04  1.000e+04 ( 1.000e-13)
289        Index:  2.107e+00  4.204e+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.651e-01  3.772e-02  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.367e-01  5.567e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/21830/cmap_HighResolution_540777601_541036801_4FGL_J0906.3-0905_daily_bin1163.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.22e-03', job_status='DONE', photon_flux_upper_limit='5.58e-08', time_completed='2021-08-31 01:35:56.942670', job_id='21830', GAL2='0.97', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1630398956.94', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.35e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1163' AND source_name='4FGL J0906.3-0905' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:35:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 21830: <4FGL_J0906.3-0905_daily_bin1163> in cluster <slac> Done

Job <4FGL_J0906.3-0905_daily_bin1163> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 01:21:15 2021
Job was executed on host(s) <bullet0276>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 01:21:17 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:17 2021
Terminated at Tue Aug 31 01:35:57 2021
Results reported at Tue Aug 31 01:35:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0906.3-0905_daily_bin1163 136.583 -9.0925 540777601 541036801 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 :                                   618.01 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             273.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   880 sec.
    Turnaround time :                            882 sec.

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

