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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1498
RA = 181.432, Dec = -26.5946
tmin = 627609601, tmax = 627868801
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='319829', job_status='RUN', time_executed='2021-09-04 23:46:04.443403', time_epoch_executed='1630824364.44' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1498'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/319829

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/319829/ft1_4FGL_J1205.7-2635_daily_bin1498.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/319829/ft2_4FGL_J1205.7-2635_daily_bin1498.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/319829/ft1_4FGL_J1205.7-2635_daily_bin1498.fits outfile=/scratch/kocevski/319829/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1498.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=627609601.0 tmax=627868801.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 1.96
user 1.75
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/319829/ft2_4FGL_J1205.7-2635_daily_bin1498.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/319829/ft2_4FGL_J1205.7-2635_daily_bin1498.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/319829/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1498.fits evtable="EVENTS" outfile="/scratch/kocevski/319829/ft1_filtered_4FGL_J1205.7-2635_daily_bin1498.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.41
user 0.26
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/319829/ft1_filtered_4FGL_J1205.7-2635_daily_bin1498.fits" evtable="EVENTS" scfile=/scratch/kocevski/319829/ft2_4FGL_J1205.7-2635_daily_bin1498.fits sctable="SC_DATA" outfile=/scratch/kocevski/319829/ltcube_627609601_627868801_4FGL_J1205.7-2635_daily_bin1498.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/319829/ft2_4FGL_J1205.7-2635_daily_bin1498.fits
.....................!
real 9.41
user 9.12
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/319829/ft1_filtered_4FGL_J1205.7-2635_daily_bin1498.fits evtable="EVENTS" scfile=/scratch/kocevski/319829/ft2_4FGL_J1205.7-2635_daily_bin1498.fits sctable="SC_DATA" expcube=/scratch/kocevski/319829/ltcube_627609601_627868801_4FGL_J1205.7-2635_daily_bin1498.fits outfile=/scratch/kocevski/319829/expmap_627609601_627868801_4FGL_J1205.7-2635_daily_bin1498.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/319829/ltcube_627609601_627868801_4FGL_J1205.7-2635_daily_bin1498.fits
.....................!
real 145.58
user 141.39
sys 3.95

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 177 point sources and 0 extended sources

Setting source of interest to:
4FGL J1205.7-2635 @ 181.432 -26.5946

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/319829/ft1_filtered_4FGL_J1205.7-2635_daily_bin1498.fits scfile=/scratch/kocevski/319829/ft2_4FGL_J1205.7-2635_daily_bin1498.fits outfile=/scratch/kocevski/319829/cmap_627609601_627868801_4FGL_J1205.7-2635_daily_bin1498.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=181.432 yref=-26.5946 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.49
user 0.30
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/319829/ft1_filtered_4FGL_J1205.7-2635_daily_bin1498.fits scfile=/scratch/kocevski/319829/ft2_4FGL_J1205.7-2635_daily_bin1498.fits outfile=/scratch/kocevski/319829/cmap_HighResolution_627609601_627868801_4FGL_J1205.7-2635_daily_bin1498.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=181.432 yref=-26.5946 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.45
user 0.30
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/319829/ft1_filtered_4FGL_J1205.7-2635_daily_bin1498.fits evtable="EVENTS" scfile=/scratch/kocevski/319829/ft2_4FGL_J1205.7-2635_daily_bin1498.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/319829/Model_4FGL_J1205.7-2635_daily_bin1498.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/319829/ft1_filtered_4FGL_J1205.7-2635_daily_bin1498.fits.....................!
real 57.47
user 56.27
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/319829/ft1_filtered_4FGL_J1205.7-2635_daily_bin1498.fits', '/scratch/kocevski/319829/ft2_4FGL_J1205.7-2635_daily_bin1498.fits', expMap='/scratch/kocevski/319829/expmap_627609601_627868801_4FGL_J1205.7-2635_daily_bin1498.fits', expCube='/scratch/kocevski/319829/ltcube_627609601_627868801_4FGL_J1205.7-2635_daily_bin1498.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/319829/Model_4FGL_J1205.7-2635_daily_bin1498.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1205.7-2635'

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  2.173e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.529e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
293        Scale:  7.083e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/319829/ft1_filtered_4FGL_J1205.7-2635_daily_bin1498.fits
Spacecraft file(s): /scratch/kocevski/319829/ft2_4FGL_J1205.7-2635_daily_bin1498.fits
Exposure map: /scratch/kocevski/319829/expmap_627609601_627868801_4FGL_J1205.7-2635_daily_bin1498.fits
Exposure cube: /scratch/kocevski/319829/ltcube_627609601_627868801_4FGL_J1205.7-2635_daily_bin1498.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/319829/Model_4FGL_J1205.7-2635_daily_bin1498.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) = 8810.19197234

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.4839       1.0000         .10000E-03   10000.    
     3 'Prefactor '    31.561       1.0000         .10000E-03   10000.    
     4 'norm      '    .33135       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    28.705       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.4844       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    13.632       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.124       1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.4990       1.0000         .10000E-03   10000.    
    16 'Prefactor '    39.323       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.6730       1.0000         .10000E-03   10000.    
    19 'norm      '    3.9785       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.6631       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .66828       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8810.186     FROM MIGRAD    STATUS=CONVERGED    466 CALLS     2347 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.9331        .82335E-06** at limit **
   2  Prefactor     3.4836        7.6212        .44825E-06   -.64134E-04
   3  Prefactor     31.562        29.576        .96188E-07    .90117E-05
   4  norm          .33093        .59835        .11711E-06    .82550E-03
   5  Prefactor     .10000E-03    2.8108        .34810E-08** at limit **
   6  Prefactor     .10000E-03    1.5520        .64562E-07** at limit **
   7  Prefactor     .10000E-03    8.9503       -.32561E-06** at limit **
   8  norm          28.705        17.603       -.49974E-08   -.17218E-04
   9  Prefactor     .10000E-03    5.4135        .21828E-07** at limit **
  10  norm          5.4833        3.4556        .11475E-06   -.70313E-04
  11  Prefactor     .10000E-03    1.4337       -.17884E-07** at limit **
  12  Prefactor     13.630        30.370       -.14155E-06   -.52259E-04
  13  Prefactor     .10000E-03    6.4222       -.67583E-06** at limit **
  14  Prefactor     11.122        24.959        .18474E-06   -.38444E-04
  15  Prefactor     9.4998        15.641        .15780E-05    .47288E-04
  16  Prefactor     39.296        46.150       -.52166E-05   -.38528E-03
  17  Prefactor     .10000E-03    12.767        .18828E-06** at limit **
  18  Prefactor     4.6720        11.280        .57852E-05   -.38976E-03
  19  norm          3.9784        1.3386       -.20132E-07   -.29745E-03
  20  Prefactor     .10000E-03    54.124       -.12762E-07** at limit **
  21  Normalizat    1.6631        .19896       -.50363E-06   -.10386E-03
  22  Prefactor     .66828        .95372E-01    .25412E-07   -.18362E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.48356
  Prefactor  = 31.562
  norm       = 0.330931
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 28.7047
  Prefactor  = 0.0001
  norm       = 5.48332
  Prefactor  = 0.0001
  Prefactor  = 13.6297
  Prefactor  = 0.0001
  Prefactor  = 11.1218
  Prefactor  = 9.49984
  Prefactor  = 39.2963
  Prefactor  = 0.0001
  Prefactor  = 4.67198
  norm       = 3.97839
  Prefactor  = 0.0001
  Normalizat = 1.66308
  Prefactor  = 0.668277
 **********
 **   18 **HESSE 
 **********

 FCN=   8810.186     FROM HESSE     STATUS=OK           342 CALLS     2689 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.9836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.4836        7.6271        .21663E-03   -1.5335    
   3  Prefactor     31.562        29.502        .71322E-04   -1.4584    
   4  norm          .33093        .43889        .95331E-03   -1.5593    
   5  Prefactor     .10000E-03    2.8166        .15368E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    1.5677        .11417E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    8.9682        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          28.705        17.606        .74777E-04   -1.4636    
   9  Prefactor     .10000E-03    5.4273        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.4833        3.4516        .13230E-03   -1.5240    
  11  Prefactor     .10000E-03    1.4420        .10964E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.630        30.338        .10849E-03   -1.4969    
  13  Prefactor     .10000E-03    6.4924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     11.122        24.961        .12012E-03   -1.5041    
  15  Prefactor     9.4998        15.837        .13003E-03   -1.5091    
  16  Prefactor     39.296        49.442        .63919E-04   -1.4453    
  17  Prefactor     .10000E-03    12.820        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.6720        11.640        .93082E-03   -1.5276    
  19  norm          3.9784        1.3380        .60667E-04   -1.5309    
  20  Prefactor     .10000E-03    54.145        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.6631        .23540        .28003E-03   -.73293    
  22  Prefactor     .66828        .11270        .20237E-03   -1.0478    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52112e-09
Minuit parameter uncertainties:
  1  9.81262e-05
  2  7.62918
  3  29.5161
  4  0.438895
  5  6.16747e-07
  6  3.63746e-06
  7  4.322e-05
  8  17.6096
  9  1.31283e-05
  10  3.45169
  11  5.20505e-06
  12  30.3727
  13  7.78431e-05
  14  24.984
  15  15.8437
  16  49.4933
  17  3.81601e-05
  18  11.6459
  19  1.33801
  20  8.29059e-07
  21  0.235555
  22  0.112735
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  5.205e-06  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.529e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
293        Scale:  7.083e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  6.683e-01  1.127e-01  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  1.663e+00  2.356e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 181.432 -26.595
Photon Flux Upper Limit: 6.04e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.70e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/319829/likelihoodResults_627609601_627868801_4FGL_J1205.7-2635_daily_bin1498.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) = 8810.18920634
delta logL = -0.00328699999773

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8810.1859193
delta logL = 4.114008334e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5218       1.0000          .0000       10.000    
     3 'Normalizat'    1.6631       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66827       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+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=   8810.186     FROM MIGRAD    STATUS=FAILED        86 CALLS      237 TOTAL
                     EDM=   .44E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10066E-03    58.411        .10990E-02** at limit **
   2  Index         2.4591        6.0901        .50000        .34482E-04
   3  Normalizat    1.6631        .33398E-01    .28003E-03    .18269E-04
   4  Prefactor     .66828        .16236E-01    .20237E-03    .38314E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8810.186     FROM SIMPLEX   STATUS=PROGRESS     138 CALLS      375 TOTAL
                     EDM=   .40E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10010E-03    58.411        .13233E-03** at limit **
   2  Index         2.4582        6.0901        .27533E-03    .34482E-04
   3  Normalizat    1.6631        .33398E-01    .40531E-05    .18269E-04
   4  Prefactor     .66827        .16236E-01    .14028E-05    .38314E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8810.186     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      421 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    295.08        .21981E-03** at limit **
   2  Index         2.2584        8.5571        .50000       -.61755E-07
   3  Normalizat    1.6631        .11145        .11201E-04   -.79977E-04
   4  Prefactor     .66828        .54156E-01    .80947E-05   -.12359E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.25841
  Normalizat = 1.66308
  Prefactor  = 0.668278
 **********
 **   18 **HESSE 
 **********

 FCN=   8810.186     FROM HESSE     STATUS=OK            29 CALLS      450 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.6608        .43961E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2584        5.5797        .50000       -.58035    
   3  Normalizat    1.6631        .22967        .22403E-05   -.73293    
   4  Prefactor     .66828        .11168        .16189E-05   -1.0478    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.07955e-11
Minuit parameter uncertainties:
  1  8.51989e-06
  2  85.7838
  3  0.229819
  4  0.111718
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/319829': 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) = 8810.18591789
delta logL = 1.45204103319e-06

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  8.520e-06  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.258e+00  8.578e+01  0.000e+00  1.000e+01 (-1.000e+00)
293        Scale:  7.083e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  6.683e-01  1.117e-01  0.000e+00  1.000e+01 ( 1.000e+00)
570        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
571        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
568   Normalization:  1.663e+00  2.298e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 181.432 -26.595

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/319829/cmap_HighResolution_627609601_627868801_4FGL_J1205.7-2635_daily_bin1498.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.70e-03', job_status='DONE', photon_flux_upper_limit='6.04e-08', time_completed='2021-09-04 23:55:53.565256', job_id='319829', GAL2='0.67', fit_tolerance='1e-08', EG2='1.66', EG='1.66', time_epoch_completed='1630824953.57', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='1.45e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1498' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:55:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0033>
Subject: Job 319829: <4FGL_J1205.7-2635_daily_bin1498> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin1498> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 23:45:38 2021
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 23:45:40 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 23:45:40 2021
Terminated at Sat Sep  4 23:55:54 2021
Results reported at Sat Sep  4 23:55:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1498 181.432 -26.5946 627609601 627868801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1205.7-2635 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   583.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   613 sec.
    Turnaround time :                            616 sec.

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

