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


Performing analysis on: 4FGL_J0906.3-0905_daily_bin1231
RA = 136.583, Dec = -9.0925
tmin = 558403201, tmax = 558662401
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='21942', job_status='RUN', time_executed='2021-08-31 01:23:55.791689', time_epoch_executed='1630398235.79' WHERE source_name='4FGL J0906.3-0905' and cadence='daily' and bin_id='1231'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/21942

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/21942/ft1_4FGL_J0906.3-0905_daily_bin1231.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/21942/ft2_4FGL_J0906.3-0905_daily_bin1231.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/21942/ft1_4FGL_J0906.3-0905_daily_bin1231.fits outfile=/scratch/kocevski/21942/ft1_filteredMKT_4FGL_J0906.3-0905_daily_bin1231.fits ra=136.583 dec=-9.0925 rad=12.0 tmin=558403201.0 tmax=558662401.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.23
user 3.61
sys 1.58

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/21942/ft2_4FGL_J0906.3-0905_daily_bin1231.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/21942/ft1_filteredMKT_4FGL_J0906.3-0905_daily_bin1231.fits evtable="EVENTS" outfile="/scratch/kocevski/21942/ft1_filtered_4FGL_J0906.3-0905_daily_bin1231.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.69
user 0.34
sys 1.27

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/21942/ft1_filtered_4FGL_J0906.3-0905_daily_bin1231.fits" evtable="EVENTS" scfile=/scratch/kocevski/21942/ft2_4FGL_J0906.3-0905_daily_bin1231.fits sctable="SC_DATA" outfile=/scratch/kocevski/21942/ltcube_558403201_558662401_4FGL_J0906.3-0905_daily_bin1231.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/21942/ft2_4FGL_J0906.3-0905_daily_bin1231.fits
.....................!
real 13.90
user 12.28
sys 1.58

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/21942/ft1_filtered_4FGL_J0906.3-0905_daily_bin1231.fits evtable="EVENTS" scfile=/scratch/kocevski/21942/ft2_4FGL_J0906.3-0905_daily_bin1231.fits sctable="SC_DATA" expcube=/scratch/kocevski/21942/ltcube_558403201_558662401_4FGL_J0906.3-0905_daily_bin1231.fits outfile=/scratch/kocevski/21942/expmap_558403201_558662401_4FGL_J0906.3-0905_daily_bin1231.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/21942/ltcube_558403201_558662401_4FGL_J0906.3-0905_daily_bin1231.fits
.....................!
real 190.93
user 184.65
sys 5.91

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/21942/ft1_filtered_4FGL_J0906.3-0905_daily_bin1231.fits scfile=/scratch/kocevski/21942/ft2_4FGL_J0906.3-0905_daily_bin1231.fits outfile=/scratch/kocevski/21942/cmap_558403201_558662401_4FGL_J0906.3-0905_daily_bin1231.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.74
user 0.38
sys 1.28

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/21942/ft1_filtered_4FGL_J0906.3-0905_daily_bin1231.fits scfile=/scratch/kocevski/21942/ft2_4FGL_J0906.3-0905_daily_bin1231.fits outfile=/scratch/kocevski/21942/cmap_HighResolution_558403201_558662401_4FGL_J0906.3-0905_daily_bin1231.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.95
user 0.39
sys 1.27

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/21942/ft1_filtered_4FGL_J0906.3-0905_daily_bin1231.fits evtable="EVENTS" scfile=/scratch/kocevski/21942/ft2_4FGL_J0906.3-0905_daily_bin1231.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/21942/Model_4FGL_J0906.3-0905_daily_bin1231.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/21942/ft1_filtered_4FGL_J0906.3-0905_daily_bin1231.fits.....................!
real 57.29
user 53.83
sys 2.68

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.7999       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.2507       1.0000         .10000E-03   10000.    
     8 'norm      '    .10452E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .16782E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    34.820       1.0000         .10000E-03   10000.    
    13 'Prefactor '    40.605       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.3344       1.0000         .10000E-03   10000.    
    16 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .14449E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.2821       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .83499       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=   4721.907     FROM MIGRAD    STATUS=CONVERGED    426 CALLS     2026 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    15.963        .25648E-05** at limit **
   2  Prefactor     .10000E-03    10.916       -.15020E-05** at limit **
   3  norm          .10000E-03    4.1061       -.40650E-05** at limit **
   4  norm          .10000E-03    1.3899       -.11619E-07** at limit **
   5  Prefactor     2.8017        8.3384       -.92236E-06   -.29435E-03
   6  Prefactor     .10000E-03    3.8637        .11646E-06** at limit **
   7  Prefactor     4.2502        7.7249       -.27143E-06   -.20110E-03
   8  norm          .10000E-03    2.6703       -.17300E-06** at limit **
   9  norm          .10000E-03    3.4772       -.21248E-07** at limit **
  10  Prefactor     .10000E-03    16.565       -.36292E-05** at limit **
  11  Prefactor     .10000E-03    145.23       -.22190E-05** at limit **
  12  Prefactor     34.805        24.297        .20151E-05    .12260E-04
  13  Prefactor     40.597        52.835       -.82941E-05   -.30060E-04
  14  Prefactor     .10000E-03    31.209        .82587E-06** at limit **
  15  Prefactor     3.3349        44.656       -.23390E-05   -.36668E-04
  16  norm          .10000E-03    12.310        .20525E-05** at limit **
  17  norm          .10000E-03    4.0728        .40083E-05** at limit **
  18  norm          .10000E-03    1.9783        .35049E-07** at limit **
  19  Normalizat    1.2822        .22908        .23036E-06   -.45873E-05
  20  Prefactor     .83487        .14864        .52175E-06   -.36216E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 2.80168
  Prefactor  = 0.0001
  Prefactor  = 4.25021
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 34.8054
  Prefactor  = 40.5971
  Prefactor  = 0.0001
  Prefactor  = 3.33487
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 1.28223
  Prefactor  = 0.834872
 **********
 **   18 **HESSE 
 **********

 FCN=   4721.907     FROM HESSE     STATUS=OK           289 CALLS     2315 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    15.957        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    10.920        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    4.0873        .13543E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.4136        .79100E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.8017        8.4662        .24313E-03   -1.5373    
   6  Prefactor     .10000E-03    3.8657        .13192E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.2502        7.7320        .19543E-03   -1.5296    
   8  norm          .10000E-03    4.8628        .21732E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    3.4932        .12512E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    16.604        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    146.54        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     34.805        24.433        .67913E-04   -1.4527    
  13  Prefactor     40.597        53.191        .62905E-04   -1.4433    
  14  Prefactor     .10000E-03    31.246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.3349        44.874        .22166E-03   -1.5343    
  16  norm          .10000E-03    12.509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    4.0988        .13485E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    8.4142        .18700E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.2822        .27124        .26591E-03   -.84098    
  20  Prefactor     .83487        .17586        .21014E-03   -.98455    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.34493e-10
Minuit parameter uncertainties:
  1  3.64838e-06
  2  8.3378e-07
  3  1.87472e-06
  4  7.91642e-08
  5  8.46982
  6  1.08448e-06
  7  7.73384
  8  2.9423e-05
  9  3.26989e-06
  10  1.52183e-06
  11  0.000121769
  12  24.4403
  13  53.2532
  14  3.19734e-05
  15  24.4884
  16  5.33785e-05
  17  4.032e-07
  18  6.17006e-05
  19  0.271539
  20  0.175974
Done.

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

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  4.250e+00  7.734e+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:  8.349e-01  1.760e-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.282e+00  2.715e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.37
Ra Dec: 136.583 -9.092
Photon Flux Upper Limit: 9.82e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.43e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/21942/likelihoodResults_558403201_558662401_4FGL_J0906.3-0905_daily_bin1231.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) = 4721.72288863
delta logL = 0.183744460521

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4721.71963895
delta logL = 0.186994144661

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0771       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1223       1.0000          .0000       10.000    
     3 'Normalizat'    1.2507       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84784       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   4721.720     FROM MIGRAD    STATUS=FAILED        84 CALLS      338 TOTAL
                     EDM=   .85E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0774        91.266        .91024E-04    .17613E-02
   2  Index         3.1224        5.9337        .55176E-02    .33031E-03
   3  Normalizat    1.2507        .31213        .26874E-03    .22888E-03
   4  Prefactor     .84786        .18678        .20865E-03    .24587E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   4721.720     FROM SIMPLEX   STATUS=UNCHANGED     89 CALLS      427 TOTAL
                     EDM=   .63E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0774        91.266        .11560E-03    .17613E-02
   2  Index         3.1224        5.9337        .81117E-03    .33031E-03
   3  Normalizat    1.2507        .31213        .13135E-03    .22888E-03
   4  Prefactor     .84786        .18678        .13038E-03    .24587E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4721.720     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      456 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0776        4.2561        .36410E-05    .24730E-02
   2  Index         3.1223        1.8442        .22070E-03    .22510E-03
   3  Normalizat    1.2507        .26737        .53749E-04    .23901E-03
   4  Prefactor     .84786        .17189        .41729E-04    .26661E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.07764
  Index      = 3.12228
  Normalizat = 1.25072
  Prefactor  = 0.847856
 **********
 **   18 **HESSE 
 **********

 FCN=   4721.720     FROM HESSE     STATUS=OK            23 CALLS      479 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0776        4.1399        .72819E-06   -1.5500    
   2  Index         3.1223        1.7963        .88281E-05   -.38498    
   3  Normalizat    1.2507        .26717        .10750E-04   -.85050    
   4  Prefactor     .84786        .17181        .83459E-05   -.97988    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10515e-09
Minuit parameter uncertainties:
  1  4.141
  2  1.84467
  3  0.267467
  4  0.171919
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/21942': 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) = 4721.71963891
delta logL = 0.186994177881

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  1.078e+00  4.141e+00  1.000e-04  1.000e+04 ( 1.000e-13)
289        Index:  3.122e+00  1.845e+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:  8.479e-01  1.719e-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.251e+00  2.675e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.37
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/21942/cmap_HighResolution_558403201_558662401_4FGL_J0906.3-0905_daily_bin1231.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.43e-03', job_status='DONE', photon_flux_upper_limit='9.82e-08', time_completed='2021-08-31 01:34:54.698085', job_id='21942', GAL2='0.85', fit_tolerance='1e-08', EG2='1.25', EG='1.28', time_epoch_completed='1630398894.7', return_code2='0', ts='0.37', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='1.87e-01', ts2='0.76', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1231' AND source_name='4FGL J0906.3-0905' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:34:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 21942: <4FGL_J0906.3-0905_daily_bin1231> in cluster <slac> Done

Job <4FGL_J0906.3-0905_daily_bin1231> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 01:21:24 2021
Job was executed on host(s) <bullet0091>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 01:21:25 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:25 2021
Terminated at Tue Aug 31 01:34:55 2021
Results reported at Tue Aug 31 01:34:55 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0906.3-0905_daily_bin1231 136.583 -9.0925 558403201 558662401 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 :                                   555.01 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             245.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   810 sec.
    Turnaround time :                            811 sec.

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

