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


Performing analysis on: 4FGL_J0906.3-0905_daily_bin1021
RA = 136.583, Dec = -9.0925
tmin = 503971201, tmax = 504230401
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='21559', job_status='RUN', time_executed='2021-08-31 01:24:15.622129', time_epoch_executed='1630398255.62' WHERE source_name='4FGL J0906.3-0905' and cadence='daily' and bin_id='1021'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/21559

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/21559/ft1_4FGL_J0906.3-0905_daily_bin1021.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/21559/ft2_4FGL_J0906.3-0905_daily_bin1021.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/21559/ft1_4FGL_J0906.3-0905_daily_bin1021.fits outfile=/scratch/kocevski/21559/ft1_filteredMKT_4FGL_J0906.3-0905_daily_bin1021.fits ra=136.583 dec=-9.0925 rad=12.0 tmin=503971201.0 tmax=504230401.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 4.62
user 3.82
sys 0.54

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/21559/ft1_filtered_4FGL_J0906.3-0905_daily_bin1021.fits" evtable="EVENTS" scfile=/scratch/kocevski/21559/ft2_4FGL_J0906.3-0905_daily_bin1021.fits sctable="SC_DATA" outfile=/scratch/kocevski/21559/ltcube_503971201_504230401_4FGL_J0906.3-0905_daily_bin1021.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/21559/ft2_4FGL_J0906.3-0905_daily_bin1021.fits
.....................!
real 12.49
user 11.61
sys 0.66

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/21559/ft1_filtered_4FGL_J0906.3-0905_daily_bin1021.fits evtable="EVENTS" scfile=/scratch/kocevski/21559/ft2_4FGL_J0906.3-0905_daily_bin1021.fits sctable="SC_DATA" expcube=/scratch/kocevski/21559/ltcube_503971201_504230401_4FGL_J0906.3-0905_daily_bin1021.fits outfile=/scratch/kocevski/21559/expmap_503971201_504230401_4FGL_J0906.3-0905_daily_bin1021.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/21559/ltcube_503971201_504230401_4FGL_J0906.3-0905_daily_bin1021.fits
.....................!
real 191.70
user 186.08
sys 4.86

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/21559/ft1_filtered_4FGL_J0906.3-0905_daily_bin1021.fits scfile=/scratch/kocevski/21559/ft2_4FGL_J0906.3-0905_daily_bin1021.fits outfile=/scratch/kocevski/21559/cmap_503971201_504230401_4FGL_J0906.3-0905_daily_bin1021.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.20
user 0.39
sys 0.44

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/21559/ft1_filtered_4FGL_J0906.3-0905_daily_bin1021.fits scfile=/scratch/kocevski/21559/ft2_4FGL_J0906.3-0905_daily_bin1021.fits outfile=/scratch/kocevski/21559/cmap_HighResolution_503971201_504230401_4FGL_J0906.3-0905_daily_bin1021.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.41
user 0.40
sys 0.45

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/21559/ft1_filtered_4FGL_J0906.3-0905_daily_bin1021.fits evtable="EVENTS" scfile=/scratch/kocevski/21559/ft2_4FGL_J0906.3-0905_daily_bin1021.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/21559/Model_4FGL_J0906.3-0905_daily_bin1021.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/21559/ft1_filtered_4FGL_J0906.3-0905_daily_bin1021.fits.....................!
real 71.07
user 67.51
sys 1.68

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10131E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .82664       1.0000         .10000E-03   10000.    
     4 'norm      '    5.1821       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.8943       1.0000         .10000E-03   10000.    
     8 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.7670       1.0000         .10000E-03   10000.    
    11 'Prefactor '    40.536       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    39.539       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.673       1.0000         .10000E-03   10000.    
    16 'norm      '    .10078E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .86685       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .91454       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .99058       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=   6142.287     FROM MIGRAD    STATUS=CONVERGED    405 CALLS     2071 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    16.707        .60256E-05** at limit **
   2  Prefactor     .10000E-03    21.077       -.73051E-05** at limit **
   3  norm          .82861        6.4040       -.36557E-06   -.45545E-04
   4  norm          5.1802        3.9441       -.53325E-08   -.27467E-04
   5  Prefactor     .10000E-03    3.5509       -.62354E-06** at limit **
   6  Prefactor     .10000E-03    6.7614       -.66524E-06** at limit **
   7  Prefactor     8.8933        7.2634       -.30676E-07   -.32672E-04
   8  norm          .10000E-03    1.9306        .21553E-06** at limit **
   9  norm          .10000E-03    8.3161       -.41999E-06** at limit **
  10  Prefactor     2.7687        40.463       -.27797E-06   -.93912E-04
  11  Prefactor     40.541        48.012        .67171E-05    .30003E-05
  12  Prefactor     .10000E-03    8.5049        .10738E-05** at limit **
  13  Prefactor     39.535        34.584       -.46647E-05    .34384E-04
  14  Prefactor     .10000E-03    18.542        .52020E-05** at limit **
  15  Prefactor     15.674        19.307        .24180E-05    .32433E-04
  16  norm          .10000E-03    13.379       -.52516E-05** at limit **
  17  norm          .10000E-03    1.3926       -.29245E-06** at limit **
  18  norm          .86979        1.6029       -.21196E-06   -.94533E-03
  19  Normalizat    .91559        .19374       -.75249E-06    .16530E-03
  20  Prefactor     .98984        .12324        .11498E-06    .17450E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.828611
  norm       = 5.18024
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.89329
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 2.76872
  Prefactor  = 40.5412
  Prefactor  = 0.0001
  Prefactor  = 39.5355
  Prefactor  = 0.0001
  Prefactor  = 15.6744
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.869789
  Normalizat = 0.91559
  Prefactor  = 0.989837
 **********
 **   18 **HESSE 
 **********

 FCN=   6142.287     FROM HESSE     STATUS=OK           293 CALLS     2364 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    16.708        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    21.074        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .82861        35.806        .35000E-02   -1.5526    
   4  norm          5.1802        4.0005        .12275E-03   -1.5253    
   5  Prefactor     .10000E-03    3.5963        .14414E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.7791        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.8933        7.2619        .13440E-03   -1.5111    
   8  norm          .10000E-03    1.9578        .10631E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    8.6979        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.7687        39.086        .24468E-03   -1.5375    
  11  Prefactor     40.541        47.611        .62959E-04   -1.4434    
  12  Prefactor     .10000E-03    8.5382        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     39.535        34.649        .63744E-04   -1.4450    
  14  Prefactor     .10000E-03    18.566        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     15.674        19.289        .10117E-03   -1.4916    
  16  norm          .10000E-03    13.693        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.4001        .90264E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .86979        1.3294        .13204E-02   -1.5521    
  19  Normalizat    .91559        .22574        .29256E-03   -.95914    
  20  Prefactor     .98984        .14454        .18881E-03   -.93069    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6737e-08
Minuit parameter uncertainties:
  1  4.9731e-07
  2  2.51357e-05
  3  10.9003
  4  4.00066
  5  4.39425e-06
  6  9.12474e-06
  7  7.26265
  8  4.47781e-07
  9  5.77407e-06
  10  20.8218
  11  47.6561
  12  1.23898e-05
  13  34.6666
  14  1.10104e-05
  15  19.2966
  16  9.37539e-05
  17  3.23833e-06
  18  1.32942
  19  0.225978
  20  0.144594
Done.

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

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  8.893e+00  7.263e+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:  9.898e-01  1.446e-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:  9.156e-01  2.260e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.74
Ra Dec: 136.583 -9.092
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 3.61e-08 +/- 2.95e-08
Energy Flux (Fixed Index): 1.96e-05 +/- 1.60e-05

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

Saving results to:
/scratch/kocevski/21559/likelihoodResults_503971201_504230401_4FGL_J0906.3-0905_daily_bin1021.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) = 6142.19856548
delta logL = 0.0885656248802

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6142.1947553
delta logL = 0.0923757966411

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.3301       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4136       1.0000          .0000       10.000    
     3 'Normalizat'    .89994       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99592       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6142.195     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      276 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3295        9.5456        .14560E-03   -.18068E-03
   2  Index         2.4136        .87458        .63629E-02   -.35775E-04
   3  Normalizat    .89993        .21922        .29483E-03   -.49157E-03
   4  Prefactor     .99591        .14482        .18830E-03   -.87786E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.32948
  Index      = 2.41365
  Normalizat = 0.899929
  Prefactor  = 0.995913
 **********
 **   18 **HESSE 
 **********

 FCN=   6142.195     FROM HESSE     STATUS=OK            25 CALLS      301 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.3295        8.1976        .58241E-05   -1.5205    
   2  Index         2.4136        .75145        .25452E-03   -.54366    
   3  Normalizat    .89993        .21813        .58966E-04   -.96463    
   4  Prefactor     .99591        .14449        .37659E-04   -.92866    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.7792e-10
Minuit parameter uncertainties:
  1  8.19905
  2  0.755364
  3  0.218349
  4  0.144544
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/21559': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6142.19475529
delta logL = 0.0923758067256

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  6.329e+00  8.199e+00  1.000e-04  1.000e+04 ( 1.000e-13)
289        Index:  2.414e+00  7.554e-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.959e-01  1.445e-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.999e-01  2.183e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.93
Ra Dec: 136.583 -9.092
Photon Index (Free Index): 2.41 +/- 0.76
Photon Flux (Free Index): 4.91e-08 +/- 4.83e-08
Energy Flux (Free Index): 1.58e-05 +/- 1.34e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/21559/cmap_HighResolution_503971201_504230401_4FGL_J0906.3-0905_daily_bin1021.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.01e-03', comment='SUCCESS', photon_flux='3.61e-08', energy_flux2='1.58e-05', photon_flux_error='2.95e-08', dlogl='9.24e-02', energy_flux='1.96e-05', photon_flux2='4.91e-08', job_status='DONE', time_completed='2021-08-31 01:36:21.844910', photon_index_error2='0.76', photon_index2='2.41', ts='2.74', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', photon_flux_upper_limit='1.06e-07', energy_flux_error2='1.34e-05', EG='0.92', time_epoch_completed='1630398981.84', return_code='0', job_id='21559', GAL2='1.00', EG2='0.90', return_code2='0', energy_flux_error='1.60e-05', photon_flux_error2='4.83e-08', ts2='2.93', photon_index='2.11' WHERE bin_id='1021' AND source_name='4FGL J0906.3-0905' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:36:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0053>
Subject: Job 21559: <4FGL_J0906.3-0905_daily_bin1021> in cluster <slac> Done

Job <4FGL_J0906.3-0905_daily_bin1021> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 01:20:50 2021
Job was executed on host(s) <bullet0053>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 01:20:52 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:20:52 2021
Terminated at Tue Aug 31 01:36:22 2021
Results reported at Tue Aug 31 01:36:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0906.3-0905_daily_bin1021 136.583 -9.0925 503971201 504230401 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 :                                   592.62 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             250.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   930 sec.
    Turnaround time :                            932 sec.

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

