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


Performing analysis on: 4FGL_J1509.8-2906_daily_bin1375
RA = 227.463, Dec = -29.1069
tmin = 595728001, tmax = 595987201
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='145845', job_status='RUN', time_executed='2021-09-11 05:17:26.944844', time_epoch_executed='1631362646.94' WHERE source_name='4FGL J1509.8-2906' and cadence='daily' and bin_id='1375'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/145845

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/145845/ft1_4FGL_J1509.8-2906_daily_bin1375.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/145845/ft2_4FGL_J1509.8-2906_daily_bin1375.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/145845/ft1_4FGL_J1509.8-2906_daily_bin1375.fits outfile=/scratch/kocevski/145845/ft1_filteredMKT_4FGL_J1509.8-2906_daily_bin1375.fits ra=227.463 dec=-29.1069 rad=12.0 tmin=595728001.0 tmax=595987201.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 2.61
user 2.40
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/145845/ft2_4FGL_J1509.8-2906_daily_bin1375.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/145845/ft2_4FGL_J1509.8-2906_daily_bin1375.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/145845/ft1_filteredMKT_4FGL_J1509.8-2906_daily_bin1375.fits evtable="EVENTS" outfile="/scratch/kocevski/145845/ft1_filtered_4FGL_J1509.8-2906_daily_bin1375.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.49
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/145845/ft1_filtered_4FGL_J1509.8-2906_daily_bin1375.fits" evtable="EVENTS" scfile=/scratch/kocevski/145845/ft2_4FGL_J1509.8-2906_daily_bin1375.fits sctable="SC_DATA" outfile=/scratch/kocevski/145845/ltcube_595728001_595987201_4FGL_J1509.8-2906_daily_bin1375.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/145845/ft2_4FGL_J1509.8-2906_daily_bin1375.fits
.....................!
real 12.88
user 12.50
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/145845/ft1_filtered_4FGL_J1509.8-2906_daily_bin1375.fits evtable="EVENTS" scfile=/scratch/kocevski/145845/ft2_4FGL_J1509.8-2906_daily_bin1375.fits sctable="SC_DATA" expcube=/scratch/kocevski/145845/ltcube_595728001_595987201_4FGL_J1509.8-2906_daily_bin1375.fits outfile=/scratch/kocevski/145845/expmap_595728001_595987201_4FGL_J1509.8-2906_daily_bin1375.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/145845/ltcube_595728001_595987201_4FGL_J1509.8-2906_daily_bin1375.fits
.....................!
real 194.50
user 188.01
sys 6.14

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
Extended source FHES J1626.9-2431 in ROI with RadialGaussian spatial model.
Added 228 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1509.8-2906 @ 227.463 -29.1069

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/145845/ft1_filtered_4FGL_J1509.8-2906_daily_bin1375.fits scfile=/scratch/kocevski/145845/ft2_4FGL_J1509.8-2906_daily_bin1375.fits outfile=/scratch/kocevski/145845/cmap_595728001_595987201_4FGL_J1509.8-2906_daily_bin1375.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=227.463 yref=-29.1069 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.56
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/145845/ft1_filtered_4FGL_J1509.8-2906_daily_bin1375.fits scfile=/scratch/kocevski/145845/ft2_4FGL_J1509.8-2906_daily_bin1375.fits outfile=/scratch/kocevski/145845/cmap_HighResolution_595728001_595987201_4FGL_J1509.8-2906_daily_bin1375.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=227.463 yref=-29.1069 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.56
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/145845/ft1_filtered_4FGL_J1509.8-2906_daily_bin1375.fits evtable="EVENTS" scfile=/scratch/kocevski/145845/ft2_4FGL_J1509.8-2906_daily_bin1375.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/145845/Model_4FGL_J1509.8-2906_daily_bin1375.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 FHES J1626.9-2431
adding source GAL_V02
Working on...
/scratch/kocevski/145845/ft1_filtered_4FGL_J1509.8-2906_daily_bin1375.fits..................................!
real 17.79
user 16.44
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/145845/ft1_filtered_4FGL_J1509.8-2906_daily_bin1375.fits', '/scratch/kocevski/145845/ft2_4FGL_J1509.8-2906_daily_bin1375.fits', expMap='/scratch/kocevski/145845/expmap_595728001_595987201_4FGL_J1509.8-2906_daily_bin1375.fits', expCube='/scratch/kocevski/145845/ltcube_595728001_595987201_4FGL_J1509.8-2906_daily_bin1375.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/145845/Model_4FGL_J1509.8-2906_daily_bin1375.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1509.8-2906'

4FGL J1509.8-2906
   Spectrum: PowerLaw
323    Prefactor:  3.269e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
324        Index:  2.711e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
325        Scale:  5.617e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/145845/ft1_filtered_4FGL_J1509.8-2906_daily_bin1375.fits
Spacecraft file(s): /scratch/kocevski/145845/ft2_4FGL_J1509.8-2906_daily_bin1375.fits
Exposure map: /scratch/kocevski/145845/expmap_595728001_595987201_4FGL_J1509.8-2906_daily_bin1375.fits
Exposure cube: /scratch/kocevski/145845/ltcube_595728001_595987201_4FGL_J1509.8-2906_daily_bin1375.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/145845/Model_4FGL_J1509.8-2906_daily_bin1375.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) = 324.400659118

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    641.34       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .15857E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4323.1       1.0000         .10000E-03   10000.    
     6 'norm      '    9999.9       1.0000         .10000E-03   10000.    
     7 'Prefactor '   10000.0       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .26989E-01   1.0000         .10000E-03   10000.    
    10 'norm      '    483.26       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11409E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .85266E-02   1.0000         .10000E-03   10000.    
    13 'norm      '    .10285E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .14577E-01   1.0000         .10000E-03   10000.    
    15 'norm      '    10000.       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .70906E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .11335E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10390E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.0934       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    23 'Prefactor '    .29241       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7800E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   321.4627     FROM MIGRAD    STATUS=CONVERGED    455 CALLS     2940 TOTAL
                     EDM=   .67E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          640.96        1898.4       -.42736E-05   -.47042E-06
   2  Prefactor     .10000E-03    6459.7       -.12603E-05** at limit **
   3  Prefactor     .10000E-03    7850.6       -.20317E-05** at limit **
   4  Prefactor    10000.0        7533.6        .25440E-06** at limit **
   5  Prefactor     4317.8        5065.5       -.57284E-05   -.15496E-06
   6  norm         10000.0        9812.2        .13859E-04** at limit **
   7  Prefactor    10000.0        8052.3        .53742E-06** at limit **
   8  Prefactor    10000.0        8214.9        .17670E-05** at limit **
   9  Prefactor     .10000E-03    7097.7        .12212E-04** at limit **
  10  norm          483.79        363.21       -.15730E-04   -.17589E-04
  11  Prefactor     .10000E-03    322.82        .16753E-05** at limit **
  12  Prefactor     .10000E-03    6521.7        .22374E-05** at limit **
  13  norm          .10000E-03    99.796        .64665E-06** at limit **
  14  norm          .10001E-03    1500.3        .51088E-04** at limit **
  15  norm         10000.0        321.53       -.32320E-06** at limit **
  16  Prefactor     .10000E-03    425.98        .18842E-06** at limit **
  17  norm          .10000E-03    81.660        .89302E-07** at limit **
  18  Prefactor     .10000E-03    190.85        .29244E-06** at limit **
  19  Prefactor     .10000E-03    96.832       -.42822E-07** at limit **
  20  norm          .10000E-03    22.566       -.56290E-07** at limit **
  21  Prefactor     3.1070        11.343        .25254E-06   -.81783E-04
  22  Normalizat    .10000E-01    .52308        .17875E-04** at limit **
  23  Prefactor     .29233        .13662       -.12778E-05   -.10374E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 640.964
  Prefactor  = 0.000100002
  Prefactor  = 0.000100004
  Prefactor  = 10000
  Prefactor  = 4317.75
  norm       = 10000
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 0.000100002
  norm       = 483.794
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 0.00010001
  norm       = 10000
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.10697
  Normalizat = 0.01
  Prefactor  = 0.29233
 **********
 **   18 **HESSE 
 **********

 FCN=   321.4627     FROM HESSE     STATUS=OK           350 CALLS     3290 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          640.96        1898.6        .81636E-04   -1.0589    
   2  Prefactor     .10000E-03    6457.7        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    7847.9        .18204E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor    10000.0        7533.5        .21185E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4317.8        5063.9        .40372E-04   -.13688    
   6  norm         10000.0        9875.9        .18740E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor    10000.0        8052.4        .18810E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor    10000.0        8212.5        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7090.6        .18314E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          483.79        363.79        .93260E-04   -1.1273    
  11  Prefactor     .10000E-03    322.73        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6519.4        .18366E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    99.783        .17534E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10001E-03    1512.7        .18191E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm         10000.0        321.56        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    425.97        .20972E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    81.653        .15856E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    190.76        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    96.825        .17270E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    22.567        .83270E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.1070        11.398        .10644E-03   -1.5355    
  22  Normalizat    .10000E-01    .54900        .80517E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .29233        .13717        .13105E-03   -1.2272    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.10634e-10
Minuit parameter uncertainties:
  1  2172.49
  2  0.00490154
  3  0.0103031
  4  0.00103288
  5  14332.6
  6  0.147093
  7  0.0185925
  8  0.00908433
  9  0.00639979
  10  365.56
  11  0.000139514
  12  0.00390223
  13  4.59383e-06
  14  0.00782014
  15  3.43607e-05
  16  2.41848e-05
  17  2.99239e-05
  18  0.000186764
  19  3.74774e-05
  20  3.0406e-06
  21  11.4062
  22  6.36214e-06
  23  0.137322
Done.

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

Extracting fit parameters...

4FGL J1509.8-2906
   Spectrum: PowerLaw
323    Prefactor:  1.000e-04  3.902e-03  1.000e-04  1.000e+04 ( 1.000e-12)
324        Index:  2.711e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
325        Scale:  5.617e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
777    Prefactor:  2.923e-01  1.373e-01  0.000e+00  1.000e+01 ( 1.000e+00)
778        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
779        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
772   Normalization:  1.000e-02  6.362e-06  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 10000.0 is not large enough
delta logLike = -1.78951611207

TS (Fixed Index): -0.00
Ra Dec: 227.463 -29.107
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -7.88e+04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/145845/likelihoodResults_595728001_595987201_4FGL_J1509.8-2906_daily_bin1375.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) = 321.463176986
delta logL = -0.000430840800107

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 321.463176986
delta logL = -0.000430840064951

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '    2.7123       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7800E+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=   321.4569     FROM MIGRAD    STATUS=CONVERGED     41 CALLS      103 TOTAL
                     EDM=   .54E-16    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index      10.0000        5.5628        .20000    ** at limit **
                               ERR DEF=  .500    
Final values: 
  Index      = 10
 **********
 **   18 **HESSE 
 **********

 FCN=   321.4569     FROM HESSE     STATUS=OK             5 CALLS      108 TOTAL
                     EDM=   .53E-16    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index      10.0000        5.6038        .40000E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.3095e-17
Minuit parameter uncertainties:
  1  1.13202e-06
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/145845': 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) = 321.45692815
delta logL = 0.00581799520842

Extracting fit parameters...

4FGL J1509.8-2906
   Spectrum: PowerLaw
323    Prefactor:  9.633e-03  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12) fixed
324        Index:  1.000e+01  1.132e-06  0.000e+00  1.000e+01 (-1.000e+00)
325        Scale:  5.617e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
777    Prefactor:  2.920e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
778        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
779        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
772   Normalization:  1.000e-02  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


TS (Free Index): -0.00
Ra Dec: 227.463 -29.107

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/145845/cmap_HighResolution_595728001_595987201_4FGL_J1509.8-2906_daily_bin1375.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.88e+04', job_status='DONE', photon_flux_upper_limit='-1.00e+00', time_completed='2021-09-11 05:23:47.112087', job_id='145845', GAL2='0.29', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1631363027.11', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.29', dlogl='5.82e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.71' WHERE bin_id='1375' AND source_name='4FGL J1509.8-2906' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 11 05:23:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0144>
Subject: Job 145845: <4FGL_J1509.8-2906_daily_bin1375> in cluster <slac> Done

Job <4FGL_J1509.8-2906_daily_bin1375> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep 11 05:16:12 2021
Job was executed on host(s) <bullet0144>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 11 05:16:15 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 11 05:16:15 2021
Terminated at Sat Sep 11 05:23:47 2021
Results reported at Sat Sep 11 05:23:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1509.8-2906_daily_bin1375 227.463 -29.1069 595728001 595987201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1509.8-2906 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   363.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             277.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   452 sec.
    Turnaround time :                            455 sec.

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

