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


Performing analysis on: 4FGL_J0906.3-0905_daily_bin1049
RA = 136.583, Dec = -9.0925
tmin = 511228801, tmax = 511488001
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='21602', job_status='RUN', time_executed='2021-08-31 01:23:07.921212', time_epoch_executed='1630398187.92' WHERE source_name='4FGL J0906.3-0905' and cadence='daily' and bin_id='1049'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/21602

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/21602/ft1_4FGL_J0906.3-0905_daily_bin1049.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/21602/ft2_4FGL_J0906.3-0905_daily_bin1049.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/21602/ft1_4FGL_J0906.3-0905_daily_bin1049.fits outfile=/scratch/kocevski/21602/ft1_filteredMKT_4FGL_J0906.3-0905_daily_bin1049.fits ra=136.583 dec=-9.0925 rad=12.0 tmin=511228801.0 tmax=511488001.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.51
user 3.22
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/21602/ft2_4FGL_J0906.3-0905_daily_bin1049.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/21602/ft1_filteredMKT_4FGL_J0906.3-0905_daily_bin1049.fits evtable="EVENTS" outfile="/scratch/kocevski/21602/ft1_filtered_4FGL_J0906.3-0905_daily_bin1049.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.52
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/21602/ft1_filtered_4FGL_J0906.3-0905_daily_bin1049.fits" evtable="EVENTS" scfile=/scratch/kocevski/21602/ft2_4FGL_J0906.3-0905_daily_bin1049.fits sctable="SC_DATA" outfile=/scratch/kocevski/21602/ltcube_511228801_511488001_4FGL_J0906.3-0905_daily_bin1049.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/21602/ft2_4FGL_J0906.3-0905_daily_bin1049.fits
.....................!
real 12.12
user 11.70
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/21602/ft1_filtered_4FGL_J0906.3-0905_daily_bin1049.fits evtable="EVENTS" scfile=/scratch/kocevski/21602/ft2_4FGL_J0906.3-0905_daily_bin1049.fits sctable="SC_DATA" expcube=/scratch/kocevski/21602/ltcube_511228801_511488001_4FGL_J0906.3-0905_daily_bin1049.fits outfile=/scratch/kocevski/21602/expmap_511228801_511488001_4FGL_J0906.3-0905_daily_bin1049.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/21602/ltcube_511228801_511488001_4FGL_J0906.3-0905_daily_bin1049.fits
.....................!
real 190.97
user 185.11
sys 5.22

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/21602/ft1_filtered_4FGL_J0906.3-0905_daily_bin1049.fits scfile=/scratch/kocevski/21602/ft2_4FGL_J0906.3-0905_daily_bin1049.fits outfile=/scratch/kocevski/21602/cmap_511228801_511488001_4FGL_J0906.3-0905_daily_bin1049.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.62
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/21602/ft1_filtered_4FGL_J0906.3-0905_daily_bin1049.fits scfile=/scratch/kocevski/21602/ft2_4FGL_J0906.3-0905_daily_bin1049.fits outfile=/scratch/kocevski/21602/cmap_HighResolution_511228801_511488001_4FGL_J0906.3-0905_daily_bin1049.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.61
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/21602/ft1_filtered_4FGL_J0906.3-0905_daily_bin1049.fits evtable="EVENTS" scfile=/scratch/kocevski/21602/ft2_4FGL_J0906.3-0905_daily_bin1049.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/21602/Model_4FGL_J0906.3-0905_daily_bin1049.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/21602/ft1_filtered_4FGL_J0906.3-0905_daily_bin1049.fits.....................!
real 61.75
user 59.71
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    26.910       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .26508       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.0634       1.0000         .10000E-03   10000.    
     9 'norm      '    1.7341       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.970       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.6072       1.0000         .10000E-03   10000.    
    14 'Prefactor '    45.670       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    14.305       1.0000         .10000E-03   10000.    
    17 'norm      '    5.3804       1.0000         .10000E-03   10000.    
    18 'norm      '    2.0469       1.0000         .10000E-03   10000.    
    19 'Normalizat'    .84174       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0014       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=   5392.577     FROM MIGRAD    STATUS=CONVERGED    431 CALLS     2060 TOTAL
                     EDM=   .84E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    52.772        .10701E-05** at limit **
   2  Prefactor     26.906        27.436       -.23719E-05    .11848E-03
   3  norm          .10000E-03    5.2638        .50630E-07** at limit **
   4  norm          .10000E-03    1.5280        .32006E-07** at limit **
   5  Prefactor     .10000E-03    3.5361       -.33759E-07** at limit **
   6  Prefactor     .10901        11.529       -.10895E-05    .11282E-03
   7  Prefactor     .10000E-03    2.1691       -.28787E-07** at limit **
   8  norm          2.0611        4.6189       -.20420E-05   -.42463E-03
   9  norm          1.7314        6.0244       -.44246E-05   -.44882E-03
  10  Prefactor     .10000E-03    10.882       -.77641E-07** at limit **
  11  Prefactor     .10000E-03    13.961       -.29543E-07** at limit **
  12  Prefactor     10.964        16.161        .32138E-05   -.15785E-03
  13  Prefactor     1.5331        179.68        .38260E-04   -.11137E-03
  14  Prefactor     45.667        42.188       -.37881E-05    .11100E-03
  15  Prefactor     .10000E-03    12.554        .53068E-06** at limit **
  16  norm          14.300        11.609       -.77525E-06   -.31509E-04
  17  norm          5.3791        4.3518       -.57884E-06   -.16482E-03
  18  norm          2.0466        2.2235       -.39591E-07   -.17254E-03
  19  Normalizat    .84200        .20838        .11268E-05    .90742E-05
  20  Prefactor     1.0014        .13063       -.83418E-07    .97472E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 26.9057
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.109006
  Prefactor  = 0.0001
  norm       = 2.06111
  norm       = 1.73142
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.9636
  Prefactor  = 1.53312
  Prefactor  = 45.6665
  Prefactor  = 0.0001
  norm       = 14.3005
  norm       = 5.37908
  norm       = 2.04657
  Normalizat = 0.842005
  Prefactor  = 1.00143
 **********
 **   18 **HESSE 
 **********

 FCN=   5392.577     FROM HESSE     STATUS=OK           297 CALLS     2357 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    53.811        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     26.906        27.534        .77226E-04   -1.4670    
   3  norm          .10000E-03    5.3076        .16442E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.5386        .88503E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.5653        .13482E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10901        22.574        .68182E-01   -1.5642    
   7  Prefactor     .10000E-03    2.1714        .10562E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.0611        4.7286        .22563E-03   -1.5421    
   9  norm          1.7314        6.3617        .31872E-03   -1.5445    
  10  Prefactor     .10000E-03    10.925        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    13.971        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     10.964        16.132        .12096E-03   -1.5046    
  13  Prefactor     1.5331        164.17        .33422E-03   -1.5460    
  14  Prefactor     45.667        42.085        .59328E-04   -1.4355    
  15  Prefactor     .10000E-03    12.580        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          14.300        11.619        .10590E-03   -1.4951    
  17  norm          5.3791        4.3530        .13276E-03   -1.5244    
  18  norm          2.0466        2.2139        .11046E-03   -1.5422    
  19  Normalizat    .84200        .24390        .30048E-03   -.98529    
  20  Prefactor     1.0014        .15330        .18556E-03   -.92682    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.14294e-09
Minuit parameter uncertainties:
  1  0.000118519
  2  27.5472
  3  5.99718e-06
  4  2.51346e-06
  5  2.21816e-06
  6  3.13707
  7  4.40466e-08
  8  4.72946
  9  6.36415
  10  1.19043e-05
  11  4.99096e-06
  12  16.138
  13  31.8182
  14  42.1128
  15  1.21895e-05
  16  11.6206
  17  4.35328
  18  2.21402
  19  0.244218
  20  0.153362
Done.

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

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  1.000e-04  4.405e-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:  1.001e+00  1.534e-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.420e-01  2.442e-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: 4.81e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.64e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/21602/likelihoodResults_511228801_511488001_4FGL_J0906.3-0905_daily_bin1049.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) = 5392.57898031
delta logL = -0.00217025559778

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5392.57680995
delta logL = 1.0201074474e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10445E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.0698       1.0000          .0000       10.000    
     3 'Normalizat'    .84191       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0015       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=   5392.577     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      236 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10330E-03    2.6627        .11127E-01** at limit **
   2  Index         1.9852        8.4225        .50000        .10862E-03
   3  Normalizat    .84201        .52524E-02    .30048E-03   -.24010E-03
   4  Prefactor     1.0014        .35324E-02    .18556E-03   -.61475E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103303
  Index      = 1.98517
  Normalizat = 0.842007
  Prefactor  = 1.00143
 **********
 **   18 **HESSE 
 **********

 FCN=   5392.577     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      265 TOTAL
                     EDM=   .57E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10330E-03    29.337        .11506E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9852        7.4837        .50000       -.64721    
   3  Normalizat    .84201        .17614E-01    .12019E-04   -.98529    
   4  Prefactor     1.0014        .11846E-01    .37112E-04   -.92682    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.70812e-08
Minuit parameter uncertainties:
  1  0.0196971
  2  146.194
  3  0.0176137
  4  0.0118457
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/21602': 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) = 5392.57680706
delta logL = 2.99150724459e-06

Extracting fit parameters...

4FGL J0906.3-0905
   Spectrum: PowerLaw
288    Prefactor:  1.033e-04  1.970e-02  1.000e-04  1.000e+04 ( 1.000e-13)
289        Index:  1.985e+00  1.462e+02  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.001e+00  1.185e-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.420e-01  1.761e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/21602/cmap_HighResolution_511228801_511488001_4FGL_J0906.3-0905_daily_bin1049.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.64e-03', job_status='DONE', photon_flux_upper_limit='4.81e-08', time_completed='2021-08-31 01:32:34.067606', job_id='21602', GAL2='1.00', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1630398754.07', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='2.99e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1049' AND source_name='4FGL J0906.3-0905' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 01:32:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0104>
Subject: Job 21602: <4FGL_J0906.3-0905_daily_bin1049> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0906.3-0905_daily_bin1049 136.583 -9.0925 511228801 511488001 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 :                                   540.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             297.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   699 sec.
    Turnaround time :                            700 sec.

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

