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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1435
RA = 181.432, Dec = -26.5946
tmin = 611280001, tmax = 611539201
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='319731', job_status='RUN', time_executed='2021-09-04 23:46:11.362150', time_epoch_executed='1630824371.36' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1435'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/319731

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/319731/ft1_4FGL_J1205.7-2635_daily_bin1435.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/319731/ft2_4FGL_J1205.7-2635_daily_bin1435.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/319731/ft1_4FGL_J1205.7-2635_daily_bin1435.fits outfile=/scratch/kocevski/319731/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1435.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=611280001.0 tmax=611539201.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.54
user 3.21
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/319731/ft2_4FGL_J1205.7-2635_daily_bin1435.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/319731/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1435.fits evtable="EVENTS" outfile="/scratch/kocevski/319731/ft1_filtered_4FGL_J1205.7-2635_daily_bin1435.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.50
user 0.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/319731/ft1_filtered_4FGL_J1205.7-2635_daily_bin1435.fits" evtable="EVENTS" scfile=/scratch/kocevski/319731/ft2_4FGL_J1205.7-2635_daily_bin1435.fits sctable="SC_DATA" outfile=/scratch/kocevski/319731/ltcube_611280001_611539201_4FGL_J1205.7-2635_daily_bin1435.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/319731/ft2_4FGL_J1205.7-2635_daily_bin1435.fits
.....................!
real 11.83
user 11.42
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/319731/ft1_filtered_4FGL_J1205.7-2635_daily_bin1435.fits evtable="EVENTS" scfile=/scratch/kocevski/319731/ft2_4FGL_J1205.7-2635_daily_bin1435.fits sctable="SC_DATA" expcube=/scratch/kocevski/319731/ltcube_611280001_611539201_4FGL_J1205.7-2635_daily_bin1435.fits outfile=/scratch/kocevski/319731/expmap_611280001_611539201_4FGL_J1205.7-2635_daily_bin1435.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/319731/ltcube_611280001_611539201_4FGL_J1205.7-2635_daily_bin1435.fits
.....................!
real 192.13
user 185.93
sys 5.54

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 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/319731/ft1_filtered_4FGL_J1205.7-2635_daily_bin1435.fits scfile=/scratch/kocevski/319731/ft2_4FGL_J1205.7-2635_daily_bin1435.fits outfile=/scratch/kocevski/319731/cmap_611280001_611539201_4FGL_J1205.7-2635_daily_bin1435.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/319731/ft1_filtered_4FGL_J1205.7-2635_daily_bin1435.fits scfile=/scratch/kocevski/319731/ft2_4FGL_J1205.7-2635_daily_bin1435.fits outfile=/scratch/kocevski/319731/cmap_HighResolution_611280001_611539201_4FGL_J1205.7-2635_daily_bin1435.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/319731/ft1_filtered_4FGL_J1205.7-2635_daily_bin1435.fits evtable="EVENTS" scfile=/scratch/kocevski/319731/ft2_4FGL_J1205.7-2635_daily_bin1435.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/319731/Model_4FGL_J1205.7-2635_daily_bin1435.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/319731/ft1_filtered_4FGL_J1205.7-2635_daily_bin1435.fits.....................!
real 56.60
user 55.22
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .49511E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.0912       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.6313       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11592E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    11.149       1.0000         .10000E-03   10000.    
     9 'Prefactor '    69.739       1.0000         .10000E-03   10000.    
    10 'norm      '    .11112E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11924E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    117.37       1.0000         .10000E-03   10000.    
    15 'Prefactor '    22.755       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    9.3199       1.0000         .10000E-03   10000.    
    18 'Prefactor '    24.093       1.0000         .10000E-03   10000.    
    19 'norm      '    2.1106       1.0000         .10000E-03   10000.    
    20 'Prefactor '    138.52       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0939       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .97263       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.

 FCN=   6300.502     FROM MIGRAD    STATUS=CONVERGED    879 CALLS     2848 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.237        .18142E-02** at limit **
   2  Prefactor     .57520E-01    9.9557        .74194E-01    .17875E-03
   3  Prefactor     .10000E-03    38.265        .18142E-02** at limit **
   4  norm          1.0920        1.4442        .12053E-02    .29888E-03
   5  Prefactor     .10000E-03    4.5763        .16571E-02** at limit **
   6  Prefactor     8.6392        7.3344        .13644E-03    .10807E-03
   7  Prefactor     .10000E-03    88.131        .18142E-02** at limit **
   8  norm          11.141        24.365        .11999E-03    .22929E-04
   9  Prefactor     69.752        23.837        .48068E-04   -.45302E-03
  10  norm          .10000E-03    5.3347        .17753E-02** at limit **
  11  Prefactor     .10000E-03    26.216        .32616E-02** at limit **
  12  Prefactor     .10000E-03    22.737        .18142E-02** at limit **
  13  Prefactor     .10000E-03    7.2107        .18142E-02** at limit **
  14  Prefactor     117.51        49.906        .18570E-03    .10285E-04
  15  Prefactor     22.768        22.407        .83969E-04   -.10696E-04
  16  Prefactor     .10000E-03    31.479        .18142E-02** at limit **
  17  Prefactor     9.3106        33.457        .13128E-03    .14203E-04
  18  Prefactor     24.093        14.819        .40804E-03   -.91386E-05
  19  norm          2.1102        1.3037        .68291E-04    .61096E-04
  20  Prefactor     138.52        139.02        .34225E-04   -.59792E-06
  21  Normalizat    1.0933        .32549        .37933E-03   -.64466E-04
  22  Prefactor     .97294        .15058        .18865E-03    .46944E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0575198
  Prefactor  = 0.0001
  norm       = 1.09203
  Prefactor  = 0.0001
  Prefactor  = 8.63916
  Prefactor  = 0.0001
  norm       = 11.1406
  Prefactor  = 69.7516
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 117.512
  Prefactor  = 22.7676
  Prefactor  = 0.0001
  Prefactor  = 9.31062
  Prefactor  = 24.0932
  norm       = 2.11018
  Prefactor  = 138.517
  Normalizat = 1.09331
  Prefactor  = 0.97294
 **********
 **   18 **HESSE 
 **********

 FCN=   6300.502     FROM HESSE     STATUS=OK           332 CALLS     3180 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.237        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .57520E-01    9.4458        .77484E-01   -1.5660    
   3  Prefactor     .10000E-03    38.266        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.0920        1.4434        .48213E-04   -1.5499    
   5  Prefactor     .10000E-03    4.5765        .33142E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.6392        7.3338        .54576E-05   -1.5120    
   7  Prefactor     .10000E-03    88.192        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          11.141        24.365        .47994E-05   -1.5040    
   9  Prefactor     69.752        23.832        .96135E-05   -1.4036    
  10  norm          .10000E-03    5.3359        .35505E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    26.800        .65232E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    22.737        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.2111        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     117.51        49.878        .74281E-05   -1.3536    
  15  Prefactor     22.768        22.404        .33588E-05   -1.4753    
  16  Prefactor     .10000E-03    31.479        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     9.3106        33.454        .52511E-05   -1.5098    
  18  Prefactor     24.093        14.819        .16322E-04   -1.4726    
  19  norm          2.1102        1.3037        .27316E-05   -1.5417    
  20  Prefactor     138.52        138.99        .68450E-05   -1.3349    
  21  Normalizat    1.0933        .32572        .15173E-04   -.89967    
  22  Prefactor     .97294        .15071        .37731E-04   -.93637    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.70495e-10
Minuit parameter uncertainties:
  1  9.954e-06
  2  1.47316
  3  0.000118524
  4  1.44348
  5  7.53672e-06
  6  7.33454
  7  0.000382801
  8  24.3867
  9  23.8353
  10  1.17813e-05
  11  6.9982e-05
  12  6.02928e-07
  13  1.51398e-05
  14  49.8956
  15  22.4119
  16  4.6814e-05
  17  33.5218
  18  14.8208
  19  1.30367
  20  139.322
  21  0.326323
  22  0.150774
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  6.998e-05  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:  9.729e-01  1.508e-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.093e+00  3.263e-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.39e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.08e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/319731/likelihoodResults_611280001_611539201_4FGL_J1205.7-2635_daily_bin1435.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) = 6300.50170394
delta logL = -0.000179162592758

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6300.50153627
delta logL = -1.148697811e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14091E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4292       1.0000          .0000       10.000    
     3 'Normalizat'    1.0931       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97316       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.

 FCN=   6300.502     FROM MIGRAD    STATUS=CONVERGED    112 CALLS      292 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15093E-03    2.2796        .58843E-01** at limit **
   2  Index         2.1318        8.8709        .50000       -.54044E-05
   3  Normalizat    1.0933        .41078E-02    .37933E-03    .26431E-03
   4  Prefactor     .97294        .19528E-02    .18865E-03    .59225E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000150931
  Index      = 2.13177
  Normalizat = 1.09331
  Prefactor  = 0.972939
 **********
 **   18 **HESSE 
 **********

 FCN=   6300.502     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      331 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15093E-03    2.1319        .60703E-01   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1318        8.7694        .50000       -.61095    
   3  Normalizat    1.0933        .40513E-02    .15173E-04   -.89967    
   4  Prefactor     .97294        .19259E-02    .37731E-04   -.93637    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.01293e-09
Minuit parameter uncertainties:
  1  0.0208413
  2  41.0354
  3  0.00405127
  4  0.00192587
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/319731': 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) = 6300.50152229
delta logL = 2.48594187724e-06

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.509e-04  2.084e-02  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.132e+00  4.104e+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:  9.729e-01  1.926e-03  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.093e+00  4.051e-03  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/319731/cmap_HighResolution_611280001_611539201_4FGL_J1205.7-2635_daily_bin1435.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.08e-02', job_status='DONE', photon_flux_upper_limit='1.39e-07', time_completed='2021-09-04 23:57:31.787811', job_id='319731', GAL2='0.97', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1630825051.79', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='2.49e-06', ts2='0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1435' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:57:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 319731: <4FGL_J1205.7-2635_daily_bin1435> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin1435> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 23:45:28 2021
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 23:45:30 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:30 2021
Terminated at Sat Sep  4 23:57:32 2021
Results reported at Sat Sep  4 23:57:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1435 181.432 -26.5946 611280001 611539201 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 :                                   676.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             326.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   722 sec.
    Turnaround time :                            724 sec.

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

