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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1593
RA = 181.432, Dec = -26.5946
tmin = 652233601, tmax = 652492801
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='330433', job_status='RUN', time_executed='2021-09-05 00:19:16.717808', time_epoch_executed='1630826356.72' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1593'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/330433

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/330433/ft1_4FGL_J1205.7-2635_daily_bin1593.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/330433/ft2_4FGL_J1205.7-2635_daily_bin1593.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/330433/ft1_4FGL_J1205.7-2635_daily_bin1593.fits outfile=/scratch/kocevski/330433/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1593.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=652233601.0 tmax=652492801.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 4.42
user 4.17
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/330433/ft1_filtered_4FGL_J1205.7-2635_daily_bin1593.fits" evtable="EVENTS" scfile=/scratch/kocevski/330433/ft2_4FGL_J1205.7-2635_daily_bin1593.fits sctable="SC_DATA" outfile=/scratch/kocevski/330433/ltcube_652233601_652492801_4FGL_J1205.7-2635_daily_bin1593.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/330433/ft2_4FGL_J1205.7-2635_daily_bin1593.fits
.....................!
real 12.13
user 11.78
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/330433/ft1_filtered_4FGL_J1205.7-2635_daily_bin1593.fits evtable="EVENTS" scfile=/scratch/kocevski/330433/ft2_4FGL_J1205.7-2635_daily_bin1593.fits sctable="SC_DATA" expcube=/scratch/kocevski/330433/ltcube_652233601_652492801_4FGL_J1205.7-2635_daily_bin1593.fits outfile=/scratch/kocevski/330433/expmap_652233601_652492801_4FGL_J1205.7-2635_daily_bin1593.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/330433/ltcube_652233601_652492801_4FGL_J1205.7-2635_daily_bin1593.fits
.....................!
real 191.41
user 186.43
sys 4.33

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/330433/ft1_filtered_4FGL_J1205.7-2635_daily_bin1593.fits scfile=/scratch/kocevski/330433/ft2_4FGL_J1205.7-2635_daily_bin1593.fits outfile=/scratch/kocevski/330433/cmap_652233601_652492801_4FGL_J1205.7-2635_daily_bin1593.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.72
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/330433/ft1_filtered_4FGL_J1205.7-2635_daily_bin1593.fits scfile=/scratch/kocevski/330433/ft2_4FGL_J1205.7-2635_daily_bin1593.fits outfile=/scratch/kocevski/330433/cmap_HighResolution_652233601_652492801_4FGL_J1205.7-2635_daily_bin1593.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.69
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/330433/ft1_filtered_4FGL_J1205.7-2635_daily_bin1593.fits evtable="EVENTS" scfile=/scratch/kocevski/330433/ft2_4FGL_J1205.7-2635_daily_bin1593.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/330433/Model_4FGL_J1205.7-2635_daily_bin1593.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/330433/ft1_filtered_4FGL_J1205.7-2635_daily_bin1593.fits.....................!
real 59.92
user 54.03
sys 1.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    4.5704       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10184E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.4017       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.6002       1.0000         .10000E-03   10000.    
     7 'Prefactor '    48.540       1.0000         .10000E-03   10000.    
     8 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    4.5210       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.9398       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.2086       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.5986       1.0000         .10000E-03   10000.    
    15 'Prefactor '    16.003       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.5593       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10366E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    220.04       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2102       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0497       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=   6086.564     FROM MIGRAD    STATUS=CONVERGED    467 CALLS     2358 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.545        .56279E-07** at limit **
   2  Prefactor     4.5707        6.3725        .57068E-06   -.72891E-04
   3  Prefactor     .10000E-03    81.583        .55071E-06** at limit **
   4  norm          2.4014        1.5894        .35063E-08    .24875E-04
   5  Prefactor     .10000E-03    5.0035        .21941E-07** at limit **
   6  Prefactor     2.5950        9.8491       -.17224E-05   -.11531E-03
   7  Prefactor     48.566        44.876        .38518E-05    .24381E-03
   8  norm          .10000E-03    7.8203        .42781E-07** at limit **
   9  Prefactor     .10000E-03    23.258       -.61471E-06** at limit **
  10  norm          4.5205        4.9492       -.29864E-06   -.64167E-04
  11  Prefactor     5.9389        8.2673        .41156E-05   -.39742E-03
  12  Prefactor     2.2042        324.35       -.56444E-05   -.78992E-05
  13  Prefactor     .10000E-03    4.8497       -.41979E-07** at limit **
  14  Prefactor     5.6212        110.48       -.48638E-05    .43702E-04
  15  Prefactor     16.000        21.614       -.39013E-06   -.71661E-06
  16  Prefactor     .10000E-03    23.670        .30993E-06** at limit **
  17  Prefactor     5.5551        41.763       -.42691E-06   -.13008E-04
  18  Prefactor     .10000E-03    10.022       -.13688E-06** at limit **
  19  norm          .10000E-03    .78521       -.16514E-06** at limit **
  20  Prefactor     219.95        205.61       -.10687E-04   -.10161E-03
  21  Normalizat    1.2100        .28447        .54791E-06    .39258E-04
  22  Prefactor     1.0498        .13101       -.23615E-06    .11093E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 4.57074
  Prefactor  = 0.0001
  norm       = 2.40139
  Prefactor  = 0.0001
  Prefactor  = 2.59504
  Prefactor  = 48.5658
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.52053
  Prefactor  = 5.93894
  Prefactor  = 2.20417
  Prefactor  = 0.0001
  Prefactor  = 5.62119
  Prefactor  = 15.9998
  Prefactor  = 0.0001
  Prefactor  = 5.55514
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 219.949
  Normalizat = 1.20995
  Prefactor  = 1.0498
 **********
 **   18 **HESSE 
 **********

 FCN=   6086.564     FROM HESSE     STATUS=OK           342 CALLS     2700 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.5707        6.3692        .94146E-03   -1.5280    
   3  Prefactor     .10000E-03    81.840        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.4014        1.5893        .77717E-04   -1.5398    
   5  Prefactor     .10000E-03    5.0093        .17043E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.5950        9.8169        .25301E-03   -1.5386    
   7  Prefactor     48.566        45.863        .57556E-04   -1.4313    
   8  norm          .10000E-03    7.8232        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    23.494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.5205        4.9183        .17128E-03   -1.5283    
  11  Prefactor     5.9389        8.7017        .82382E-03   -1.5221    
  12  Prefactor     2.2042        322.42        .27679E-03   -1.5411    
  13  Prefactor     .10000E-03    4.8546        .16780E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.6212        116.02        .16979E-03   -1.5234    
  15  Prefactor     16.000        21.539        .10012E-03   -1.4908    
  16  Prefactor     .10000E-03    23.678        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.5551        41.667        .17039E-03   -1.5237    
  18  Prefactor     .10000E-03    10.067        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.4671        .13259E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     219.95        209.98        .13634E-03   -1.2731    
  21  Normalizat    1.2100        .33630        .36308E-03   -.86296    
  22  Prefactor     1.0498        .15561        .18443E-03   -.91087    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6082e-09
Minuit parameter uncertainties:
  1  1.46505e-06
  2  6.37012
  3  6.31417e-05
  4  1.58932
  5  1.38014e-06
  6  9.82303
  7  45.8963
  8  6.00231e-08
  9  5.39733e-05
  10  4.91874
  11  8.70356
  12  53.6125
  13  3.40358e-06
  14  51.1879
  15  21.5493
  16  1.91885e-05
  17  30.4575
  18  1.89815e-05
  19  6.61445e-05
  20  210.708
  21  0.336906
  22  0.155679
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  5.939e+00  8.704e+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

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  1.050e+00  1.557e-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.210e+00  3.369e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.76
Ra Dec: 181.432 -26.595
Photon Flux Upper Limit: 2.06e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.61e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/330433/likelihoodResults_652233601_652492801_4FGL_J1205.7-2635_daily_bin1593.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6086.53281924
delta logL = 0.031607720116

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6086.51644671
delta logL = 0.0479802535938

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.3043       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0076       1.0000          .0000       10.000    
     3 'Normalizat'    1.1775       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0610       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=   6086.516     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      219 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2975        109.65        .48544E-02    .48025E-03
   2  Index         3.0098        6.4868        .22090        .63772E-04
   3  Normalizat    1.1772        .75201E-01    .82968E-01    .19608E-04
   4  Prefactor     1.0610        .33736E-01    .39307E-01   -.29046E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.2975
  Index      = 3.00985
  Normalizat = 1.17723
  Prefactor  = 1.061
 **********
 **   18 **HESSE 
 **********

 FCN=   6086.516     FROM HESSE     STATUS=OK            31 CALLS      250 TOTAL
                     EDM=   .58E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2975        27.732        .17621E-03   -1.5293    
   2  Index         3.0098        3.6514        .87276E-02   -.40937    
   3  Normalizat    1.1772        .40022        .36733E-03   -.87309    
   4  Prefactor     1.0610        .18297        .18357E-03   -.90723    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.84621e-08
Minuit parameter uncertainties:
  1  21.8482
  2  4.22331
  3  0.401267
  4  0.183076
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/330433': 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) = 6086.5164455
delta logL = 0.0479814543223

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  4.297e+00  2.185e+01  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  3.010e+00  4.223e+00  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.061e+00  1.831e-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.177e+00  4.013e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.76
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/330433/cmap_HighResolution_652233601_652492801_4FGL_J1205.7-2635_daily_bin1593.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.61e-02', job_status='DONE', photon_flux_upper_limit='2.06e-07', time_completed='2021-09-05 00:29:56.122988', job_id='330433', GAL2='1.06', fit_tolerance='1e-08', EG2='1.18', EG='1.21', time_epoch_completed='1630826996.12', return_code2='0', ts='0.76', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='4.80e-02', ts2='0.88', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1593' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 00:29:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 330433: <4FGL_J1205.7-2635_daily_bin1593> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin1593> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Sep  5 00:15:53 2021
Job was executed on host(s) <bullet0080>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 00:15:55 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep  5 00:15:55 2021
Terminated at Sun Sep  5 00:29:56 2021
Results reported at Sun Sep  5 00:29:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1593 181.432 -26.5946 652233601 652492801 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 :                                   636.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             233.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   841 sec.
    Turnaround time :                            843 sec.

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

