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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1243
RA = 181.432, Dec = -26.5946
tmin = 561513601, tmax = 561772801
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='318553', job_status='RUN', time_executed='2021-09-04 23:41:39.722039', time_epoch_executed='1630824099.72' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1243'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/318553

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/318553/ft1_4FGL_J1205.7-2635_daily_bin1243.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/318553/ft2_4FGL_J1205.7-2635_daily_bin1243.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/318553/ft1_4FGL_J1205.7-2635_daily_bin1243.fits outfile=/scratch/kocevski/318553/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1243.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=561513601.0 tmax=561772801.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.79
user 3.54
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/318553/ft1_filtered_4FGL_J1205.7-2635_daily_bin1243.fits" evtable="EVENTS" scfile=/scratch/kocevski/318553/ft2_4FGL_J1205.7-2635_daily_bin1243.fits sctable="SC_DATA" outfile=/scratch/kocevski/318553/ltcube_561513601_561772801_4FGL_J1205.7-2635_daily_bin1243.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/318553/ft2_4FGL_J1205.7-2635_daily_bin1243.fits
.....................!
real 13.67
user 13.29
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/318553/ft1_filtered_4FGL_J1205.7-2635_daily_bin1243.fits evtable="EVENTS" scfile=/scratch/kocevski/318553/ft2_4FGL_J1205.7-2635_daily_bin1243.fits sctable="SC_DATA" expcube=/scratch/kocevski/318553/ltcube_561513601_561772801_4FGL_J1205.7-2635_daily_bin1243.fits outfile=/scratch/kocevski/318553/expmap_561513601_561772801_4FGL_J1205.7-2635_daily_bin1243.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/318553/ltcube_561513601_561772801_4FGL_J1205.7-2635_daily_bin1243.fits
.....................!
real 191.31
user 186.18
sys 4.77

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/318553/ft1_filtered_4FGL_J1205.7-2635_daily_bin1243.fits scfile=/scratch/kocevski/318553/ft2_4FGL_J1205.7-2635_daily_bin1243.fits outfile=/scratch/kocevski/318553/cmap_561513601_561772801_4FGL_J1205.7-2635_daily_bin1243.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/318553/ft1_filtered_4FGL_J1205.7-2635_daily_bin1243.fits scfile=/scratch/kocevski/318553/ft2_4FGL_J1205.7-2635_daily_bin1243.fits outfile=/scratch/kocevski/318553/cmap_HighResolution_561513601_561772801_4FGL_J1205.7-2635_daily_bin1243.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.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10009E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .80331       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10629E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    48.647       1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    20.117       1.0000         .10000E-03   10000.    
    10 'norm      '    4.1649       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    27.431       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.2886       1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.973       1.0000         .10000E-03   10000.    
    19 'norm      '    .28751E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2041       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0150       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=   6264.617     FROM MIGRAD    STATUS=CONVERGED    484 CALLS     2394 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    32.390       -.11147E-04** at limit **
   2  Prefactor     .10000E-03    13.984       -.16387E-04** at limit **
   3  Prefactor     .10000E-03    53.196        .24954E-04** at limit **
   4  norm          .80367        2.5216       -.10839E-05   -.13696E-02
   5  Prefactor     .10000E-03    3.9573        .25685E-07** at limit **
   6  Prefactor     .10000E-03    9.0035       -.33446E-05** at limit **
   7  Prefactor     48.633        40.250       -.80068E-05    .60661E-04
   8  norm          .10000E-03    24.402        .13148E-04** at limit **
   9  Prefactor     20.121        22.393        .50502E-06    .46348E-04
  10  norm          4.1650        7.7637       -.41931E-06   -.24866E-03
  11  Prefactor     .10000E-03    3.3158        .11271E-06** at limit **
  12  Prefactor     .10000E-03    33.144       -.13737E-04** at limit **
  13  Prefactor     27.434        14.887       -.12981E-06   -.58642E-05
  14  Prefactor     .10000E-03    13.455        .14550E-04** at limit **
  15  Prefactor     .10000E-03    8.9742        .33928E-05** at limit **
  16  Prefactor     .10000E-03    22.052        .11123E-05** at limit **
  17  Prefactor     7.2916        32.699        .65472E-06   -.23253E-04
  18  Prefactor     12.972        18.222       -.11810E-05   -.41865E-03
  19  norm          .34184E-01    .49926       -.19405E-06    .24434E-04
  20  Prefactor     .10000E-03    123.24       -.21037E-04** at limit **
  21  Normalizat    1.2039        .27098        .15811E-05    .13195E-03
  22  Prefactor     1.0150        .12290        .27863E-07    .25015E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.803671
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 48.6328
  norm       = 0.0001
  Prefactor  = 20.1211
  norm       = 4.165
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.4335
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.29161
  Prefactor  = 12.9723
  norm       = 0.0341838
  Prefactor  = 0.0001
  Normalizat = 1.20394
  Prefactor  = 1.01501
 **********
 **   18 **HESSE 
 **********

 FCN=   6264.617     FROM HESSE     STATUS=OK           338 CALLS     2732 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    32.403        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    14.036        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    53.177        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .80367        2.5513        .21575E-03   -1.5529    
   5  Prefactor     .10000E-03    3.9726        .15377E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.0996        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     48.633        40.144        .57493E-04   -1.4312    
   8  norm          .10000E-03    24.472        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     20.121        22.247        .89300E-04   -1.4811    
  10  norm          4.1650        7.6973        .19749E-03   -1.5300    
  11  Prefactor     .10000E-03    3.3540        .14069E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    33.119        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     27.434        14.893        .76490E-04   -1.4660    
  14  Prefactor     .10000E-03    13.420        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    8.9749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    22.060        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.2916        32.668        .14857E-03   -1.5168    
  18  Prefactor     12.972        18.294        .55605E-03   -1.4987    
  19  norm          .34184E-01    5.9765        .10743E-02   -1.5671    
  20  Prefactor     .10000E-03    123.24        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2039        .32220        .36313E-03   -.86481    
  22  Prefactor     1.0150        .14745        .17995E-03   -.92231    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.42268e-09
Minuit parameter uncertainties:
  1  2.9836e-05
  2  7.86261e-05
  3  3.67479e-05
  4  2.5516
  5  2.4127e-06
  6  0.000153273
  7  40.1659
  8  5.32766e-05
  9  22.2563
  10  7.69909
  11  6.79747e-06
  12  7.54917e-06
  13  14.8946
  14  4.43313e-06
  15  2.40692e-07
  16  1.88049e-06
  17  30.8954
  18  18.3021
  19  0.902757
  20  1.25888e-05
  21  0.322737
  22  0.147507
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  1.015e+00  1.475e-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.204e+00  3.227e-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.06e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.22e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/318553/likelihoodResults_561513601_561772801_4FGL_J1205.7-2635_daily_bin1243.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) = 6264.61841032
delta logL = -0.00142062977284

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6264.61698982
delta logL = -1.30412445287e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5232       1.0000          .0000       10.000    
     3 'Normalizat'    1.2039       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0150       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=   6264.617     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      203 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.9372        .90712E-02** at limit **
   2  Index         2.5173        6.1571        .50000        .15452E-04
   3  Normalizat    1.2039        .26316        .82022E-01    .19478E-04
   4  Prefactor     1.0150        .12170        .42672E-01    .11758E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.51732
  Normalizat = 1.20393
  Prefactor  = 1.01501
 **********
 **   18 **HESSE 
 **********

 FCN=   6264.617     FROM HESSE     STATUS=OK            33 CALLS      236 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.7533        .14091E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5173        6.1762        .50000       -.51960    
   3  Normalizat    1.2039        .31430        .36313E-03   -.86481    
   4  Prefactor     1.0150        .14568        .17995E-03   -.92231    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.50283e-10
Minuit parameter uncertainties:
  1  1.007e-05
  2  5.68015
  3  0.314798
  4  0.145738
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/318553': 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) = 6264.61698964
delta logL = 4.28899511462e-08

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  1.007e-05  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.517e+00  5.680e+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.015e+00  1.457e-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.204e+00  3.148e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 181.432 -26.595

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/318553/cmap_HighResolution_561513601_561772801_4FGL_J1205.7-2635_daily_bin1243.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.22e-03', job_status='DONE', photon_flux_upper_limit='1.06e-07', time_completed='2021-09-04 23:52:21.756191', job_id='318553', GAL2='1.02', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1630824741.76', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='4.29e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1243' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:52:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 318553: <4FGL_J1205.7-2635_daily_bin1243> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1243 181.432 -26.5946 561513601 561772801 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 :                                   633.10 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             324.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   668 sec.
    Turnaround time :                            669 sec.

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

