/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 172 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_J1205.7-2635_daily_bin1049
RA = 181.432, Dec = -26.5946
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='318258', job_status='RUN', time_executed='2021-09-04 23:43:51.423387', time_epoch_executed='1630824231.42' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1049'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/318258

Creating custom pfile directory:
/scratch/kocevski/318258/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/318258/ft1_4FGL_J1205.7-2635_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/318258/ft2_4FGL_J1205.7-2635_daily_bin1049.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/318258/ft1_4FGL_J1205.7-2635_daily_bin1049.fits outfile=/scratch/kocevski/318258/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1049.fits ra=181.432 dec=-26.5946 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.45
user 3.25
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/318258/ft2_4FGL_J1205.7-2635_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/318258/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1049.fits evtable="EVENTS" outfile="/scratch/kocevski/318258/ft1_filtered_4FGL_J1205.7-2635_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.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/318258/ft1_filtered_4FGL_J1205.7-2635_daily_bin1049.fits" evtable="EVENTS" scfile=/scratch/kocevski/318258/ft2_4FGL_J1205.7-2635_daily_bin1049.fits sctable="SC_DATA" outfile=/scratch/kocevski/318258/ltcube_511228801_511488001_4FGL_J1205.7-2635_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/318258/ft2_4FGL_J1205.7-2635_daily_bin1049.fits
.....................!
real 11.77
user 11.42
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/318258/ft1_filtered_4FGL_J1205.7-2635_daily_bin1049.fits evtable="EVENTS" scfile=/scratch/kocevski/318258/ft2_4FGL_J1205.7-2635_daily_bin1049.fits sctable="SC_DATA" expcube=/scratch/kocevski/318258/ltcube_511228801_511488001_4FGL_J1205.7-2635_daily_bin1049.fits outfile=/scratch/kocevski/318258/expmap_511228801_511488001_4FGL_J1205.7-2635_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/318258/ltcube_511228801_511488001_4FGL_J1205.7-2635_daily_bin1049.fits
.....................!
real 190.09
user 185.34
sys 4.35

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/318258/ft1_filtered_4FGL_J1205.7-2635_daily_bin1049.fits scfile=/scratch/kocevski/318258/ft2_4FGL_J1205.7-2635_daily_bin1049.fits outfile=/scratch/kocevski/318258/cmap_511228801_511488001_4FGL_J1205.7-2635_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=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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/318258/ft1_filtered_4FGL_J1205.7-2635_daily_bin1049.fits scfile=/scratch/kocevski/318258/ft2_4FGL_J1205.7-2635_daily_bin1049.fits outfile=/scratch/kocevski/318258/cmap_HighResolution_511228801_511488001_4FGL_J1205.7-2635_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=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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/318258/ft1_filtered_4FGL_J1205.7-2635_daily_bin1049.fits evtable="EVENTS" scfile=/scratch/kocevski/318258/ft2_4FGL_J1205.7-2635_daily_bin1049.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/318258/Model_4FGL_J1205.7-2635_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/318258/ft1_filtered_4FGL_J1205.7-2635_daily_bin1049.fits.....................!
real 54.01
user 52.37
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/318258/ft1_filtered_4FGL_J1205.7-2635_daily_bin1049.fits', '/scratch/kocevski/318258/ft2_4FGL_J1205.7-2635_daily_bin1049.fits', expMap='/scratch/kocevski/318258/expmap_511228801_511488001_4FGL_J1205.7-2635_daily_bin1049.fits', expCube='/scratch/kocevski/318258/ltcube_511228801_511488001_4FGL_J1205.7-2635_daily_bin1049.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/318258/Model_4FGL_J1205.7-2635_daily_bin1049.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/318258/ft1_filtered_4FGL_J1205.7-2635_daily_bin1049.fits
Spacecraft file(s): /scratch/kocevski/318258/ft2_4FGL_J1205.7-2635_daily_bin1049.fits
Exposure map: /scratch/kocevski/318258/expmap_511228801_511488001_4FGL_J1205.7-2635_daily_bin1049.fits
Exposure cube: /scratch/kocevski/318258/ltcube_511228801_511488001_4FGL_J1205.7-2635_daily_bin1049.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/318258/Model_4FGL_J1205.7-2635_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) = 5974.95296662

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12924E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    53.571       1.0000         .10000E-03   10000.    
     4 'norm      '    1.2074       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10656E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .26964E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .12943E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.4786       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10343E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .58399       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .14220E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    22.177       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.4891       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11576E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.4396       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0019       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=   5974.951     FROM MIGRAD    STATUS=CONVERGED    490 CALLS     2351 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    84.315       -.21699E-06** at limit **
   2  Prefactor     .10000E-03    9.8977       -.19417E-06** at limit **
   3  Prefactor     53.552        82.009        .90561E-06   -.18286E-04
   4  norm          1.2079        1.8216        .10245E-06   -.72186E-05
   5  Prefactor     .10000E-03    26.553       -.18707E-06** at limit **
   6  Prefactor     .10004E-03    6.4572        .12302E-05** at limit **
   7  Prefactor     .10000E-03    15.043        .10056E-06** at limit **
   8  norm          .10000E-03    15.570       -.21482E-06** at limit **
   9  Prefactor     .10000E-03    36.141        .20409E-05** at limit **
  10  norm          3.4876        5.5004        .52809E-06   -.17331E-03
  11  Prefactor     .10000E-03    3.4284        .66490E-06** at limit **
  12  Prefactor     .10000E-03    38.376        .17383E-05** at limit **
  13  Prefactor     .10000E-03    7.8479       -.11534E-06** at limit **
  14  Prefactor     .59302        43.850        .38433E-05   -.13933E-03
  15  Prefactor     .10000E-03    31.748        .61011E-05** at limit **
  16  Prefactor     22.292        83.434       -.51789E-05   -.51408E-04
  17  Prefactor     .10000E-03    23.910       -.18004E-06** at limit **
  18  Prefactor     .10000E-03    9.9911        .96070E-08** at limit **
  19  norm          1.4889        1.4062        .13437E-06   -.13440E-04
  20  Prefactor     .10000E-03    138.84       -.38462E-06** at limit **
  21  Normalizat    1.4394        .29923       -.38372E-05   -.31031E-03
  22  Prefactor     1.0020        .13336        .93680E-06   -.73783E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 53.552
  norm       = 1.20788
  Prefactor  = 0.0001
  Prefactor  = 0.000100039
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.48764
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.593021
  Prefactor  = 0.0001
  Prefactor  = 22.2919
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.48891
  Prefactor  = 0.0001
  Normalizat = 1.43944
  Prefactor  = 1.00204
 **********
 **   18 **HESSE 
 **********

 FCN=   5974.951     FROM HESSE     STATUS=OK           340 CALLS     2691 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    84.627        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.9250        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     53.552        81.315        .54800E-04   -1.4243    
   4  norm          1.2079        1.7715        .11652E-03   -1.5488    
   5  Prefactor     .10000E-03    27.028        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10004E-03    37.374        .36468E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    15.045        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    15.582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    36.539        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.4876        5.4524        .21424E-03   -1.5334    
  11  Prefactor     .10000E-03    3.4479        .13972E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    38.391        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.8601        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .59302        48.157        .13130       -1.5554    
  15  Prefactor     .10000E-03    31.749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     22.292        84.284        .85056E-04   -1.4763    
  17  Prefactor     .10000E-03    23.975        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    10.028        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.4889        1.3960        .84955E-04   -1.5464    
  20  Prefactor     .10000E-03    139.07        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.4394        .34340        .34508E-03   -.79495    
  22  Prefactor     1.0020        .15746        .19009E-03   -.92661    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41018e-09
Minuit parameter uncertainties:
  1  0.000251153
  2  1.87356e-05
  3  81.4837
  4  1.77154
  5  8.66701e-05
  6  0.00242543
  7  2.02609e-05
  8  1.98777e-05
  9  3.18086e-05
  10  5.45321
  11  3.79154e-06
  12  1.52288e-06
  13  3.77497e-06
  14  10.6959
  15  0.000215833
  16  84.7397
  17  1.66535e-05
  18  6.33568e-06
  19  1.39602
  20  0.000133488
  21  0.34395
  22  0.157531
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  3.792e-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:  1.002e+00  1.575e-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.439e+00  3.439e-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: 1.23e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.61e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/318258/likelihoodResults_511228801_511488001_4FGL_J1205.7-2635_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) = 5974.95274076
delta logL = -0.0013808312242

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5974.77433747
delta logL = 0.177022459731

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14169       1.0000         .10000E-03   10000.    
     2 'Index     '    4.9695       1.0000          .0000       10.000    
     3 'Normalizat'    1.3707       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0214       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.

 FCN=   5974.774     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      269 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14159        3.2007        .97082E-02    .28894E-02
   2  Index         4.9699        3.0830        .20136        .89152E-04
   3  Normalizat    1.3707        .42542E-01    .79579E-01    .96515E-05
   4  Prefactor     1.0214        .20089E-01    .42005E-01    .14622E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.141587
  Index      = 4.96989
  Normalizat = 1.37072
  Prefactor  = 1.02139
 **********
 **   18 **HESSE 
 **********

 FCN=   5974.774     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      302 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14159        20.300        .47190E-04   -1.5633    
   2  Index         4.9699        6.2915        .87636E-02   -.60224E-02
   3  Normalizat    1.3707        .30272        .35224E-03   -.81479    
   4  Prefactor     1.0214        .13508        .18846E-03   -.92020    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.35008e-09
Minuit parameter uncertainties:
  1  3.39066
  2  12.928
  3  0.303111
  4  0.135123
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/318258': 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) = 5974.77433746
delta logL = 0.177022474047

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.416e-01  3.391e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  4.970e+00  1.293e+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:  1.021e+00  1.351e-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.371e+00  3.031e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/318258/cmap_HighResolution_511228801_511488001_4FGL_J1205.7-2635_daily_bin1049.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.61e-03', job_status='DONE', photon_flux_upper_limit='1.23e-07', time_completed='2021-09-04 23:54:27.669639', job_id='318258', GAL2='1.02', fit_tolerance='1e-08', EG2='1.37', EG='1.44', time_epoch_completed='1630824867.67', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='1.77e-01', ts2='0.39', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1049' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:54:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 318258: <4FGL_J1205.7-2635_daily_bin1049> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin1049> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 23:40:47 2021
Job was executed on host(s) <bullet0218>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 23:40:50 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:40:50 2021
Terminated at Sat Sep  4 23:54:28 2021
Results reported at Sat Sep  4 23:54:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1049 181.432 -26.5946 511228801 511488001 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 :                                   621.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             280.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   817 sec.
    Turnaround time :                            821 sec.

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

