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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1083
RA = 181.432, Dec = -26.5946
tmin = 520041601, tmax = 520300801
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='318311', job_status='RUN', time_executed='2021-09-04 23:42:26.903467', time_epoch_executed='1630824146.9' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1083'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/318311

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/318311/ft1_4FGL_J1205.7-2635_daily_bin1083.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/318311/ft2_4FGL_J1205.7-2635_daily_bin1083.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/318311/ft1_4FGL_J1205.7-2635_daily_bin1083.fits outfile=/scratch/kocevski/318311/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1083.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=520041601.0 tmax=520300801.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.33
user 4.03
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/318311/ft2_4FGL_J1205.7-2635_daily_bin1083.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/318311/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1083.fits evtable="EVENTS" outfile="/scratch/kocevski/318311/ft1_filtered_4FGL_J1205.7-2635_daily_bin1083.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.72
user 0.33
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/318311/ft1_filtered_4FGL_J1205.7-2635_daily_bin1083.fits" evtable="EVENTS" scfile=/scratch/kocevski/318311/ft2_4FGL_J1205.7-2635_daily_bin1083.fits sctable="SC_DATA" outfile=/scratch/kocevski/318311/ltcube_520041601_520300801_4FGL_J1205.7-2635_daily_bin1083.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/318311/ft2_4FGL_J1205.7-2635_daily_bin1083.fits
.....................!
real 12.50
user 11.85
sys 0.43

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/318311/ft1_filtered_4FGL_J1205.7-2635_daily_bin1083.fits evtable="EVENTS" scfile=/scratch/kocevski/318311/ft2_4FGL_J1205.7-2635_daily_bin1083.fits sctable="SC_DATA" expcube=/scratch/kocevski/318311/ltcube_520041601_520300801_4FGL_J1205.7-2635_daily_bin1083.fits outfile=/scratch/kocevski/318311/expmap_520041601_520300801_4FGL_J1205.7-2635_daily_bin1083.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/318311/ltcube_520041601_520300801_4FGL_J1205.7-2635_daily_bin1083.fits
.....................!
real 190.16
user 185.32
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/318311/ft1_filtered_4FGL_J1205.7-2635_daily_bin1083.fits scfile=/scratch/kocevski/318311/ft2_4FGL_J1205.7-2635_daily_bin1083.fits outfile=/scratch/kocevski/318311/cmap_520041601_520300801_4FGL_J1205.7-2635_daily_bin1083.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/318311/ft1_filtered_4FGL_J1205.7-2635_daily_bin1083.fits scfile=/scratch/kocevski/318311/ft2_4FGL_J1205.7-2635_daily_bin1083.fits outfile=/scratch/kocevski/318311/cmap_HighResolution_520041601_520300801_4FGL_J1205.7-2635_daily_bin1083.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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/318311/ft1_filtered_4FGL_J1205.7-2635_daily_bin1083.fits evtable="EVENTS" scfile=/scratch/kocevski/318311/ft2_4FGL_J1205.7-2635_daily_bin1083.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/318311/Model_4FGL_J1205.7-2635_daily_bin1083.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/318311/ft1_filtered_4FGL_J1205.7-2635_daily_bin1083.fits.....................!
real 54.75
user 53.18
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.016       1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.969       1.0000         .10000E-03   10000.    
     3 'Prefactor '    58.015       1.0000         .10000E-03   10000.    
     4 'norm      '    .14997       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.3100       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.5217       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    40.044       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    78.762       1.0000         .10000E-03   10000.    
    15 'Prefactor '    29.187       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .13384E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    7.0374       1.0000         .10000E-03   10000.    
    19 'norm      '    .85813       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.9186       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .68947       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=   5701.317     FROM MIGRAD    STATUS=CONVERGED    496 CALLS     2470 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.065        40.126        .25624E-05   -.62731E-04
   2  Prefactor     15.967        18.006       -.16658E-06   -.61403E-05
   3  Prefactor     58.055        75.809       -.17056E-05    .52727E-04
   4  norm          .14780        1.2074        .52550E-07    .85689E-05
   5  Prefactor     1.3112        45.088        .15312E-04   -.12132E-03
   6  Prefactor     9.5205        10.104        .55325E-06   -.99016E-04
   7  Prefactor     .10000E-03    18.189        .63579E-06** at limit **
   8  norm          40.046        27.852        .85896E-07   -.17484E-04
   9  Prefactor     .10000E-03    8.2618        .14511E-06** at limit **
  10  norm          .10000E-03    1.7412        .64901E-07** at limit **
  11  Prefactor     .10000E-03    5.6022        .17428E-06** at limit **
  12  Prefactor     .10000E-03    53.912        .19879E-05** at limit **
  13  Prefactor     .10000E-03    5.5133       -.60144E-07** at limit **
  14  Prefactor     78.753        50.359        .97306E-07   -.21761E-04
  15  Prefactor     29.149        28.759       -.61446E-05   -.10526E-03
  16  Prefactor     .10010E-03    521.87        .51558E-04** at limit **
  17  Prefactor     .10000E-03    18.084       -.70366E-06** at limit **
  18  Prefactor     7.0369        13.707        .68267E-06   -.34918E-04
  19  norm          .85817        1.1058       -.44318E-07   -.27491E-03
  20  Prefactor     .10000E-03    39.627       -.31956E-06** at limit **
  21  Normalizat    1.9187        .29704       -.30916E-06   -.13366E-03
  22  Prefactor     .68940        .12967       -.20314E-06   -.20186E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.0647
  Prefactor  = 15.9674
  Prefactor  = 58.0547
  norm       = 0.147802
  Prefactor  = 1.31121
  Prefactor  = 9.52055
  Prefactor  = 0.0001
  norm       = 40.0458
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 78.753
  Prefactor  = 29.1486
  Prefactor  = 0.000100104
  Prefactor  = 0.0001
  Prefactor  = 7.03685
  norm       = 0.858173
  Prefactor  = 0.0001
  Normalizat = 1.91875
  Prefactor  = 0.689399
 **********
 **   18 **HESSE 
 **********

 FCN=   5701.317     FROM HESSE     STATUS=OK           340 CALLS     2810 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.065        39.982        .11103E-03   -1.4985    
   2  Prefactor     15.967        18.015        .10023E-03   -1.4909    
   3  Prefactor     58.055        75.309        .52671E-04   -1.4183    
   4  norm          .14780        5.8556        .15509E-02   -1.5631    
   5  Prefactor     1.3112        45.816        .19264E-02   -1.5479    
   6  Prefactor     9.5205        10.192        .64936E-03   -1.5091    
   7  Prefactor     .10000E-03    18.186        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          40.046        27.855        .63342E-04   -1.4441    
   9  Prefactor     .10000E-03    8.2760        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.7449        .97292E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.6404        .17404E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    54.027        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.5186        .17316E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     78.753        50.423        .45251E-04   -1.3931    
  15  Prefactor     29.149        29.563        .74159E-04   -1.4628    
  16  Prefactor     .10010E-03    570.26        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    18.099        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     7.0369        13.722        .75611E-03   -1.5177    
  19  norm          .85817        1.0186        .86549E-03   -1.5523    
  20  Prefactor     .10000E-03    39.627        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.9187        .35590        .30863E-03   -.66603    
  22  Prefactor     .68940        .15414        .21706E-03   -1.0394    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.72626e-10
Minuit parameter uncertainties:
  1  40.0641
  2  18.0208
  3  75.4325
  4  1.86018
  5  15.5139
  6  10.194
  7  8.24592e-05
  8  27.8636
  9  1.81132e-05
  10  3.43424e-06
  11  1.44704e-05
  12  0.000245862
  13  2.42813e-06
  14  50.4509
  15  29.5782
  16  0.0155579
  17  7.38005e-05
  18  13.7283
  19  1.01858
  20  5.61539e-05
  21  0.356392
  22  0.154231
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  1.447e-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:  6.894e-01  1.542e-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.919e+00  3.564e-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.48e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.15e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/318311/likelihoodResults_520041601_520300801_4FGL_J1205.7-2635_daily_bin1083.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) = 5701.3183294
delta logL = -0.000844681690069

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5701.3174848
delta logL = -8.31878423924e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5255       1.0000          .0000       10.000    
     3 'Normalizat'    1.9187       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68944       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=   5701.317     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      241 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10007E-03    103.55        .17414E-02** at limit **
   2  Index         2.5094        8.5892        .50000        .43388E-05
   3  Normalizat    1.9187        .32068E-01    .30863E-03    .22838E-05
   4  Prefactor     .68940        .14550E-01    .21706E-03    .58662E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100072
  Index      = 2.50937
  Normalizat = 1.91875
  Prefactor  = 0.689399
 **********
 **   18 **HESSE 
 **********

 FCN=   5701.317     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      270 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10007E-03    441.68        .34828E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5094        7.8319        .50000       -.52144    
   3  Normalizat    1.9187        .72177E-01    .12345E-04   -.66603    
   4  Prefactor     .68940        .32748E-01    .86823E-05   -1.0394    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.38974e-09
Minuit parameter uncertainties:
  1  0.0113276
  2  1002.67
  3  0.0721813
  4  0.0327491
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/318311': 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) = 5701.3174847
delta logL = 1.67219695868e-08

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  6.894e-01  3.275e-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.919e+00  7.218e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/318311/cmap_HighResolution_520041601_520300801_4FGL_J1205.7-2635_daily_bin1083.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.15e-02', job_status='DONE', photon_flux_upper_limit='1.48e-07', time_completed='2021-09-04 23:52:58.295783', job_id='318311', GAL2='0.69', fit_tolerance='1e-08', EG2='1.92', EG='1.92', time_epoch_completed='1630824778.3', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.69', dlogl='1.67e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1083' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:52:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 318311: <4FGL_J1205.7-2635_daily_bin1083> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1083 181.432 -26.5946 520041601 520300801 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 :                                   623.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             299.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   724 sec.
    Turnaround time :                            726 sec.

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

