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


Performing analysis on: 4FGL_J0906.3-0905_daily_bin1565
RA = 136.583, Dec = -9.0925
tmin = 644976001, tmax = 645235201
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='23502', job_status='RUN', time_executed='2021-08-31 01:28:44.922216', time_epoch_executed='1630398524.92' WHERE source_name='4FGL J0906.3-0905' and cadence='daily' and bin_id='1565'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/23502

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/23502/ft1_4FGL_J0906.3-0905_daily_bin1565.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/23502/ft2_4FGL_J0906.3-0905_daily_bin1565.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/23502/ft1_4FGL_J0906.3-0905_daily_bin1565.fits outfile=/scratch/kocevski/23502/ft1_filteredMKT_4FGL_J0906.3-0905_daily_bin1565.fits ra=136.583 dec=-9.0925 rad=12.0 tmin=644976001.0 tmax=645235201.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.29
user 2.76
sys 0.45

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/23502/ft1_filtered_4FGL_J0906.3-0905_daily_bin1565.fits" evtable="EVENTS" scfile=/scratch/kocevski/23502/ft2_4FGL_J0906.3-0905_daily_bin1565.fits sctable="SC_DATA" outfile=/scratch/kocevski/23502/ltcube_644976001_645235201_4FGL_J0906.3-0905_daily_bin1565.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/23502/ft2_4FGL_J0906.3-0905_daily_bin1565.fits
.....................!
real 12.59
user 11.87
sys 0.62

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/23502/ft1_filtered_4FGL_J0906.3-0905_daily_bin1565.fits evtable="EVENTS" scfile=/scratch/kocevski/23502/ft2_4FGL_J0906.3-0905_daily_bin1565.fits sctable="SC_DATA" expcube=/scratch/kocevski/23502/ltcube_644976001_645235201_4FGL_J0906.3-0905_daily_bin1565.fits outfile=/scratch/kocevski/23502/expmap_644976001_645235201_4FGL_J0906.3-0905_daily_bin1565.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/23502/ltcube_644976001_645235201_4FGL_J0906.3-0905_daily_bin1565.fits
.....................!
real 191.83
user 185.50
sys 4.54

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/23502/ft1_filtered_4FGL_J0906.3-0905_daily_bin1565.fits scfile=/scratch/kocevski/23502/ft2_4FGL_J0906.3-0905_daily_bin1565.fits outfile=/scratch/kocevski/23502/cmap_644976001_645235201_4FGL_J0906.3-0905_daily_bin1565.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.45
user 0.36
sys 0.42

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/23502/ft1_filtered_4FGL_J0906.3-0905_daily_bin1565.fits scfile=/scratch/kocevski/23502/ft2_4FGL_J0906.3-0905_daily_bin1565.fits outfile=/scratch/kocevski/23502/cmap_HighResolution_644976001_645235201_4FGL_J0906.3-0905_daily_bin1565.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.12
user 0.39
sys 0.40

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/23502/ft1_filtered_4FGL_J0906.3-0905_daily_bin1565.fits evtable="EVENTS" scfile=/scratch/kocevski/23502/ft2_4FGL_J0906.3-0905_daily_bin1565.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/23502/Model_4FGL_J0906.3-0905_daily_bin1565.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/23502/ft1_filtered_4FGL_J0906.3-0905_daily_bin1565.fits.....................!
real 87.92
user 80.18
sys 1.55

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.535       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    19.560       1.0000         .10000E-03   10000.    
     4 'norm      '    3.4594       1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.1373       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.3361       1.0000         .10000E-03   10000.    
     8 'norm      '    4.2992       1.0000         .10000E-03   10000.    
     9 'norm      '    4.1778       1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.665       1.0000         .10000E-03   10000.    
    11 'Prefactor '    32.859       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10500E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.8383       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .42827E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0138       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0278       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=   7571.062     FROM MIGRAD    STATUS=CONVERGED    417 CALLS     2036 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.535        17.756        .25735E-07    .27359E-04
   2  Prefactor     .10000E-03    10.921        .14127E-06** at limit **
   3  norm          19.559        9.1950        .34860E-08   -.21317E-04
   4  norm          3.4594        2.3943        .16212E-07   -.11428E-04
   5  Prefactor     7.1368        6.0144        .25703E-07   -.41035E-04
   6  Prefactor     .10000E-03    2.9641        .13173E-06** at limit **
   7  Prefactor     5.3353        6.6131       -.35492E-07   -.49589E-04
   8  norm          4.2993        4.3372        .19913E-05    .24043E-03
   9  norm          4.1775        2.1812        .28125E-07   -.12605E-02
  10  Prefactor     13.666        15.152        .18964E-06   -.25371E-04
  11  Prefactor     32.858        32.197       -.86172E-06   -.51875E-04
  12  Prefactor     .10000E-03    26.784        .17919E-05** at limit **
  13  Prefactor     .10000E-03    34.506       -.98506E-06** at limit **
  14  Prefactor     .10000E-03    6.5720       -.54292E-06** at limit **
  15  Prefactor     6.8367        12.016        .26937E-07   -.13325E-04
  16  norm          .10000E-03    1.3275       -.11297E-07** at limit **
  17  norm          .10002E-03    1.7530        .73408E-06** at limit **
  18  norm          .10000E-03    .46375        .13769E-06** at limit **
  19  Normalizat    1.0138        .18262       -.95196E-06   -.11434E-03
  20  Prefactor     1.0278        .12207        .19880E-06   -.22249E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 17.5354
  Prefactor  = 0.0001
  norm       = 19.5595
  norm       = 3.45942
  Prefactor  = 7.13684
  Prefactor  = 0.0001
  Prefactor  = 5.33527
  norm       = 4.29926
  norm       = 4.17749
  Prefactor  = 13.6656
  Prefactor  = 32.8578
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.83667
  norm       = 0.0001
  norm       = 0.000100022
  norm       = 0.0001
  Normalizat = 1.01382
  Prefactor  = 1.02783
 **********
 **   18 **HESSE 
 **********

 FCN=   7571.062     FROM HESSE     STATUS=OK           295 CALLS     2331 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.535        17.763        .47823E-03   -1.4870    
   2  Prefactor     .10000E-03    10.942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          19.559        9.1948        .90562E-04   -1.4823    
   4  norm          3.4594        2.3928        .10810E-03   -1.5336    
   5  Prefactor     7.1368        6.0501        .15015E-03   -1.5174    
   6  Prefactor     .10000E-03    2.9676        .14630E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.3353        6.6116        .17398E-03   -1.5246    
   8  norm          4.2993        4.3763        .17387E-03   -1.5293    
   9  norm          4.1775        6.3852        .98590E-03   -1.5299    
  10  Prefactor     13.666        15.216        .10835E-03   -1.4968    
  11  Prefactor     32.858        32.311        .69904E-04   -1.4561    
  12  Prefactor     .10000E-03    27.469        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    34.757        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.5747        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.8367        12.018        .15343E-03   -1.5185    
  16  norm          .10000E-03    1.3293        .97901E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10002E-03    9.3048        .21450E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .46506        .57870E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0138        .21429        .29227E-03   -.92569    
  20  Prefactor     1.0278        .14278        .19812E-03   -.91807    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.87077e-09
Minuit parameter uncertainties:
  1  17.7688
  2  7.70016e-06
  3  9.1955
  4  2.39284
  5  6.05059
  6  2.60777e-06
  7  6.61249
  8  4.37662
  9  6.38623
  10  15.2203
  11  32.3286
  12  2.59909e-05
  13  2.22643e-05
  14  9.40524e-06
  15  12.0226
  16  2.33618e-07
  17  0.000900678
  18  5.33607e-07
  19  0.214472
  20  0.142835
Done.

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

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  5.335e+00  6.612e+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.028e+00  1.428e-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.014e+00  2.145e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/23502/likelihoodResults_644976001_645235201_4FGL_J0906.3-0905_daily_bin1565.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) = 7570.58592118
delta logL = 0.476431017881

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7570.57657782
delta logL = 0.485774379046

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .49285       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6286       1.0000          .0000       10.000    
     3 'Normalizat'    .94603       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0580       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=   7570.577     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      263 TOTAL
                     EDM=   .89E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .49288        5.6262        .10500E-01    .73928E-03
   2  Index         3.6286        2.1256        .89842E-01    .28196E-03
   3  Normalizat    .94603        .42652E-01    .68109E-01   -.84777E-05
   4  Prefactor     1.0580        .29085E-01    .39465E-01    .28896E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.492879
  Index      = 3.62865
  Normalizat = 0.946028
  Prefactor  = 1.05796
 **********
 **   18 **HESSE 
 **********

 FCN=   7570.577     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      298 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .49288        14.854        .48011E-03   -1.5568    
   2  Index         3.6286        3.8813        .46324E-02   -.27783    
   3  Normalizat    .94603        .16336        .30130E-03   -.94861    
   4  Prefactor     1.0580        .10930        .19560E-03   -.90822    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.44994e-08
Minuit parameter uncertainties:
  1  5.41248
  2  4.51693
  3  0.163449
  4  0.109321
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/23502': 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) = 7570.57657779
delta logL = 0.485774401496

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  4.929e-01  5.412e+00  1.000e-04  1.000e+04 ( 1.000e-13)
289        Index:  3.629e+00  4.517e+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.058e+00  1.093e-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.460e-01  1.634e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.00
Ra Dec: 136.583 -9.092
Photon Index (Free Index): 3.63 +/- 4.52
Photon Flux (Free Index): 6.99e-08 +/- 6.11e-08
Energy Flux (Free Index): 1.13e-05 +/- 1.11e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/23502/cmap_HighResolution_644976001_645235201_4FGL_J0906.3-0905_daily_bin1565.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.55e-03', comment='SUCCESS', energy_flux2='1.13e-05', dlogl='4.86e-01', photon_flux2='6.99e-08', job_status='DONE', time_completed='2021-08-31 01:39:46.526524', photon_index_error2='4.52', photon_index2='3.63', ts='0.92', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='8.66e-08', energy_flux_error2='1.11e-05', EG='1.01', time_epoch_completed='1630399186.53', return_code='0', job_id='23502', GAL2='1.06', EG2='0.95', return_code2='102', photon_flux_error2='6.11e-08', ts2='2.00', photon_index='2.11' WHERE bin_id='1565' AND source_name='4FGL J0906.3-0905' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:39:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0109>
Subject: Job 23502: <4FGL_J0906.3-0905_daily_bin1565> in cluster <slac> Done

Job <4FGL_J0906.3-0905_daily_bin1565> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Aug 31 01:25:55 2021
Job was executed on host(s) <bullet0109>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 01:25:57 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:25:57 2021
Terminated at Tue Aug 31 01:39:47 2021
Results reported at Tue Aug 31 01:39:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0906.3-0905_daily_bin1565 136.583 -9.0925 644976001 645235201 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 :                                   652.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             298.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   829 sec.
    Turnaround time :                            832 sec.

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

