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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1280
RA = 181.432, Dec = -26.5946
tmin = 571104001, tmax = 571363201
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='318614', job_status='RUN', time_executed='2021-09-04 23:44:26.653062', time_epoch_executed='1630824266.65' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1280'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/318614

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/318614/ft1_4FGL_J1205.7-2635_daily_bin1280.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/318614/ft2_4FGL_J1205.7-2635_daily_bin1280.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/318614/ft1_4FGL_J1205.7-2635_daily_bin1280.fits outfile=/scratch/kocevski/318614/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1280.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=571104001.0 tmax=571363201.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.98
user 2.76
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/318614/ft2_4FGL_J1205.7-2635_daily_bin1280.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/318614/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1280.fits evtable="EVENTS" outfile="/scratch/kocevski/318614/ft1_filtered_4FGL_J1205.7-2635_daily_bin1280.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.48
user 0.34
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/318614/ft1_filtered_4FGL_J1205.7-2635_daily_bin1280.fits" evtable="EVENTS" scfile=/scratch/kocevski/318614/ft2_4FGL_J1205.7-2635_daily_bin1280.fits sctable="SC_DATA" outfile=/scratch/kocevski/318614/ltcube_571104001_571363201_4FGL_J1205.7-2635_daily_bin1280.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/318614/ft2_4FGL_J1205.7-2635_daily_bin1280.fits
.....................!
real 12.38
user 12.05
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/318614/ft1_filtered_4FGL_J1205.7-2635_daily_bin1280.fits evtable="EVENTS" scfile=/scratch/kocevski/318614/ft2_4FGL_J1205.7-2635_daily_bin1280.fits sctable="SC_DATA" expcube=/scratch/kocevski/318614/ltcube_571104001_571363201_4FGL_J1205.7-2635_daily_bin1280.fits outfile=/scratch/kocevski/318614/expmap_571104001_571363201_4FGL_J1205.7-2635_daily_bin1280.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/318614/ltcube_571104001_571363201_4FGL_J1205.7-2635_daily_bin1280.fits
.....................!
real 190.96
user 185.99
sys 4.37

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/318614/ft1_filtered_4FGL_J1205.7-2635_daily_bin1280.fits scfile=/scratch/kocevski/318614/ft2_4FGL_J1205.7-2635_daily_bin1280.fits outfile=/scratch/kocevski/318614/cmap_571104001_571363201_4FGL_J1205.7-2635_daily_bin1280.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.52
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/318614/ft1_filtered_4FGL_J1205.7-2635_daily_bin1280.fits scfile=/scratch/kocevski/318614/ft2_4FGL_J1205.7-2635_daily_bin1280.fits outfile=/scratch/kocevski/318614/cmap_HighResolution_571104001_571363201_4FGL_J1205.7-2635_daily_bin1280.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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/318614/ft1_filtered_4FGL_J1205.7-2635_daily_bin1280.fits evtable="EVENTS" scfile=/scratch/kocevski/318614/ft2_4FGL_J1205.7-2635_daily_bin1280.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/318614/Model_4FGL_J1205.7-2635_daily_bin1280.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/318614/ft1_filtered_4FGL_J1205.7-2635_daily_bin1280.fits.....................!
real 70.70
user 69.23
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    65.045       1.0000         .10000E-03   10000.    
     4 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.9127       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.4529       1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.527       1.0000         .10000E-03   10000.    
     8 'norm      '    35.595       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.6924       1.0000         .10000E-03   10000.    
    10 'norm      '    4.6717       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.1866       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    57.158       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .35538E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    87.396       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.6866       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .80924       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=   8129.113     FROM MIGRAD    STATUS=CONVERGED    478 CALLS     2337 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    44.091        .11081E-04** at limit **
   2  Prefactor     .10000E-03    8.4701        .32364E-06** at limit **
   3  Prefactor     65.045        54.199       -.49187E-07   -.40815E-06
   4  norm          .10000E-03    .68701        .46361E-07** at limit **
   5  Prefactor     1.9119        6.9624        .37358E-05   -.10479E-02
   6  Prefactor     1.4533        3.9521       -.56044E-06   -.27590E-03
   7  Prefactor     13.527        16.699        .22144E-06    .82136E-05
   8  norm          35.595        23.891       -.44784E-06   -.14986E-04
   9  Prefactor     7.6814        19.376       -.54862E-05   -.17008E-03
  10  norm          4.6735        5.6038       -.46891E-06   -.36543E-03
  11  Prefactor     .10000E-03    1.5903        .53514E-07** at limit **
  12  Prefactor     4.1957        82.435        .22703E-04    .56880E-04
  13  Prefactor     .10000E-03    7.9416       -.28371E-06** at limit **
  14  Prefactor     57.150        36.676       -.42410E-05   -.91922E-04
  15  Prefactor     .10000E-03    13.715       -.28090E-07** at limit **
  16  Prefactor     .10000E-03    23.509       -.80707E-06** at limit **
  17  Prefactor     .10000E-03    48.415       -.10223E-04** at limit **
  18  Prefactor     .10000E-03    4.8542        .25208E-07** at limit **
  19  norm          .33412E-01    .30531       -.91049E-07    .23685E-03
  20  Prefactor     87.401        107.46        .39147E-05    .34256E-04
  21  Normalizat    1.6867        .23404        .98929E-06    .13991E-04
  22  Prefactor     .80923        .10503       -.28486E-06    .15865E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 65.0445
  norm       = 0.0001
  Prefactor  = 1.91193
  Prefactor  = 1.45329
  Prefactor  = 13.5267
  norm       = 35.5947
  Prefactor  = 7.68143
  norm       = 4.6735
  Prefactor  = 0.0001
  Prefactor  = 4.1957
  Prefactor  = 0.0001
  Prefactor  = 57.1499
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0334117
  Prefactor  = 87.4014
  Normalizat = 1.68672
  Prefactor  = 0.809229
 **********
 **   18 **HESSE 
 **********

 FCN=   8129.113     FROM HESSE     STATUS=OK           338 CALLS     2675 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    44.387        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.5043        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     65.045        54.234        .49760E-04   -1.4093    
   4  norm          .10000E-03    .69264        .72950E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.9119        21.754        .15028E-02   -1.5431    
   6  Prefactor     1.4533        3.9243        .28508E-03   -1.5467    
   7  Prefactor     13.527        16.690        .10891E-03   -1.4972    
   8  norm          35.595        23.898        .67171E-04   -1.4514    
   9  Prefactor     7.6814        19.320        .14458E-03   -1.5154    
  10  norm          4.6735        5.5601        .17917E-03   -1.5276    
  11  Prefactor     .10000E-03    1.5955        .11100E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.1957        83.292        .19696E-03   -1.5298    
  13  Prefactor     .10000E-03    7.9851        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     57.150        36.733        .53062E-04   -1.4195    
  15  Prefactor     .10000E-03    13.764        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    23.553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    48.549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    4.8726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .33412E-01    1.9684        .96126E-03   -1.5671    
  20  Prefactor     87.401        107.50        .42976E-04   -1.3835    
  21  Normalizat    1.6867        .27998        .31568E-03   -.72658    
  22  Prefactor     .80923        .12669        .19785E-03   -.99389    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0163e-08
Minuit parameter uncertainties:
  1  0.000541441
  2  3.11346e-06
  3  54.2748
  4  1.8237e-07
  5  12.9039
  6  3.92502
  7  16.6958
  8  23.9042
  9  19.3354
  10  5.56069
  11  1.1199e-05
  12  37.4478
  13  9.99237e-06
  14  36.7472
  15  4.20538e-05
  16  6.68453e-05
  17  0.000292245
  18  3.66011e-06
  19  0.512147
  20  107.742
  21  0.280239
  22  0.126731
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  1.120e-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:  8.092e-01  1.267e-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.687e+00  2.802e-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: 7.29e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/318614/likelihoodResults_571104001_571363201_4FGL_J1205.7-2635_daily_bin1280.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) = 8129.11608067
delta logL = -0.00296426905516

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8129.11311705
delta logL = -6.51157279208e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5218       1.0000          .0000       10.000    
     3 'Normalizat'    1.6867       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80916       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=   8129.113     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      252 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.610        .11125E-01** at limit **
   2  Index         2.1752        6.0696        .50000       -.67894E-07
   3  Normalizat    1.6867        .16470E-01    .31568E-03    .61295E-04
   4  Prefactor     .80923        .75436E-02    .19785E-03    .11648E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.17525
  Normalizat = 1.68672
  Prefactor  = 0.809229
 **********
 **   18 **HESSE 
 **********

 FCN=   8129.113     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      281 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    166.65        .11431E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1752        6.6936        .50000       -.60037    
   3  Normalizat    1.6867        .68007E-01    .12627E-04   -.72658    
   4  Prefactor     .80923        .31148E-01    .79139E-05   -.99389    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.79858e-10
Minuit parameter uncertainties:
  1  2.80356e-05
  2  956.174
  3  0.0680103
  4  0.0311491
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/318614': 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) = 8129.11311464
delta logL = 1.75565128302e-06

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  2.804e-05  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.175e+00  9.562e+02  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:  8.092e-01  3.115e-02  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.687e+00  6.801e-02  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/318614/cmap_HighResolution_571104001_571363201_4FGL_J1205.7-2635_daily_bin1280.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.68e-03', job_status='DONE', photon_flux_upper_limit='7.29e-08', time_completed='2021-09-04 23:56:50.928888', job_id='318614', GAL2='0.81', fit_tolerance='1e-08', EG2='1.69', EG='1.69', time_epoch_completed='1630825010.93', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='1.76e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1280' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:56:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 318614: <4FGL_J1205.7-2635_daily_bin1280> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin1280> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 23:41:19 2021
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 23:41:20 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:41:20 2021
Terminated at Sat Sep  4 23:56:51 2021
Results reported at Sat Sep  4 23:56:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1280 181.432 -26.5946 571104001 571363201 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 :                                   741.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             260.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   931 sec.
    Turnaround time :                            932 sec.

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

