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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1363
RA = 181.432, Dec = -26.5946
tmin = 592617601, tmax = 592876801
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='319618', job_status='RUN', time_executed='2021-09-04 23:47:16.460905', time_epoch_executed='1630824436.46' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1363'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/319618

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/319618/ft1_4FGL_J1205.7-2635_daily_bin1363.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/319618/ft2_4FGL_J1205.7-2635_daily_bin1363.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/319618/ft1_4FGL_J1205.7-2635_daily_bin1363.fits outfile=/scratch/kocevski/319618/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1363.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=592617601.0 tmax=592876801.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.46
user 3.23
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/319618/ft1_filtered_4FGL_J1205.7-2635_daily_bin1363.fits" evtable="EVENTS" scfile=/scratch/kocevski/319618/ft2_4FGL_J1205.7-2635_daily_bin1363.fits sctable="SC_DATA" outfile=/scratch/kocevski/319618/ltcube_592617601_592876801_4FGL_J1205.7-2635_daily_bin1363.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/319618/ft2_4FGL_J1205.7-2635_daily_bin1363.fits
.....................!
real 11.99
user 11.57
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/319618/ft1_filtered_4FGL_J1205.7-2635_daily_bin1363.fits evtable="EVENTS" scfile=/scratch/kocevski/319618/ft2_4FGL_J1205.7-2635_daily_bin1363.fits sctable="SC_DATA" expcube=/scratch/kocevski/319618/ltcube_592617601_592876801_4FGL_J1205.7-2635_daily_bin1363.fits outfile=/scratch/kocevski/319618/expmap_592617601_592876801_4FGL_J1205.7-2635_daily_bin1363.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/319618/ltcube_592617601_592876801_4FGL_J1205.7-2635_daily_bin1363.fits
.....................!
real 190.61
user 185.33
sys 4.88

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/319618/ft1_filtered_4FGL_J1205.7-2635_daily_bin1363.fits scfile=/scratch/kocevski/319618/ft2_4FGL_J1205.7-2635_daily_bin1363.fits outfile=/scratch/kocevski/319618/cmap_592617601_592876801_4FGL_J1205.7-2635_daily_bin1363.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/319618/ft1_filtered_4FGL_J1205.7-2635_daily_bin1363.fits scfile=/scratch/kocevski/319618/ft2_4FGL_J1205.7-2635_daily_bin1363.fits outfile=/scratch/kocevski/319618/cmap_HighResolution_592617601_592876801_4FGL_J1205.7-2635_daily_bin1363.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=181.432 yref=-26.5946 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/319618/ft1_filtered_4FGL_J1205.7-2635_daily_bin1363.fits evtable="EVENTS" scfile=/scratch/kocevski/319618/ft2_4FGL_J1205.7-2635_daily_bin1363.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/319618/Model_4FGL_J1205.7-2635_daily_bin1363.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/319618/ft1_filtered_4FGL_J1205.7-2635_daily_bin1363.fits.....................!
real 65.11
user 63.71
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .27223       1.0000         .10000E-03   10000.    
     5 'Prefactor '    27.484       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.3289       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11551E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .16623E-02   1.0000         .10000E-03   10000.    
    10 'norm      '    15.250       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.5992       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10217E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .13807E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .14713E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12220E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    39.759       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.8953       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1739       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .95912       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=   7283.250     FROM MIGRAD    STATUS=CONVERGED    510 CALLS     2426 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.257       -.92013E-06** at limit **
   2  Prefactor     .10000E-03    3.0971       -.35296E-08** at limit **
   3  Prefactor     .10000E-03    29.497       -.32858E-05** at limit **
   4  norm          .27202        .92937       -.45885E-06   -.11512E-02
   5  Prefactor     27.484        18.039       -.45343E-07   -.20816E-04
   6  Prefactor     5.3302        6.4836        .58049E-05   -.15302E-03
   7  Prefactor     .10000E-03    53.535       -.17024E-04** at limit **
   8  norm          .10000E-03    15.146        .31077E-06** at limit **
   9  Prefactor     .10003E-03    42.659        .90200E-05** at limit **
  10  norm          15.249        6.0278       -.30921E-05   -.73739E-03
  11  Prefactor     8.5968        6.3194        .15030E-05   -.26560E-03
  12  Prefactor     .10000E-03    29.192       -.72760E-06** at limit **
  13  Prefactor     .10000E-03    10.700        .91312E-06** at limit **
  14  Prefactor     .10000E-03    34.342        .47919E-05** at limit **
  15  Prefactor     .10063E-03    19.813       -.57966E-06** at limit **
  16  Prefactor     .10000E-03    107.19        .17604E-04** at limit **
  17  Prefactor     39.731        35.001       -.29525E-06   -.35567E-04
  18  Prefactor     .10000E-03    4.7273       -.63714E-07** at limit **
  19  norm          3.8951        1.4641        .18757E-07   -.22467E-03
  20  Prefactor     .10000E-03    50.299        .64479E-05** at limit **
  21  Normalizat    1.1743        .25203       -.10920E-05   -.62442E-04
  22  Prefactor     .95898        .11735       -.67243E-07   -.11528E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.272022
  Prefactor  = 27.4836
  Prefactor  = 5.3302
  Prefactor  = 0.000100004
  norm       = 0.0001
  Prefactor  = 0.000100026
  norm       = 15.2495
  Prefactor  = 8.59683
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100632
  Prefactor  = 0.0001
  Prefactor  = 39.7307
  Prefactor  = 0.0001
  norm       = 3.89509
  Prefactor  = 0.0001
  Normalizat = 1.17428
  Prefactor  = 0.958981
 **********
 **   18 **HESSE 
 **********

 FCN=   7283.250     FROM HESSE     STATUS=OK           350 CALLS     2776 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.261        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.1006        .14667E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    29.502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .27202        1.2564        .14683E-02   -1.5604    
   5  Prefactor     27.484        18.046        .76417E-04   -1.4659    
   6  Prefactor     5.3302        6.3943        .17410E-03   -1.5246    
   7  Prefactor     .10000E-03    54.316        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    15.175        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10003E-03    45.103        .40776E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          15.249        6.0991        .10256E-03   -1.4927    
  11  Prefactor     8.5968        6.2858        .13670E-03   -1.5121    
  12  Prefactor     .10000E-03    29.204        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    10.809        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    34.369        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10063E-03    21.909        .11432       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    107.42        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     39.731        35.045        .63569E-04   -1.4446    
  18  Prefactor     .10000E-03    4.7309        .18122E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.8951        1.4635        .60543E-04   -1.5313    
  20  Prefactor     .10000E-03    50.278        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1743        .30215        .35561E-03   -.87401    
  22  Prefactor     .95898        .14182        .18723E-03   -.94110    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46332e-09
Minuit parameter uncertainties:
  1  2.17413e-06
  2  2.56254e-06
  3  3.14021e-05
  4  1.16905
  5  18.0495
  6  6.39516
  7  0.000892446
  8  2.07752e-06
  9  0.00216261
  10  6.09932
  11  6.28632
  12  9.01446e-05
  13  4.03378e-06
  14  0.000166078
  15  0.00744502
  16  0.000223476
  17  35.063
  18  2.69567e-06
  19  1.46351
  20  6.18234e-06
  21  0.302604
  22  0.141874
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  8.597e+00  6.286e+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:  9.590e-01  1.419e-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.174e+00  3.026e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.05
Ra Dec: 181.432 -26.595
Photon Index (Fixed Index): 2.53 +/- 0.00
Photon Flux (Fixed Index): 7.95e-08 +/- 5.81e-08
Energy Flux (Fixed Index): 2.24e-05 +/- 1.64e-05

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

Saving results to:
/scratch/kocevski/319618/likelihoodResults_592617601_592876801_4FGL_J1205.7-2635_daily_bin1363.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) = 7283.23760402
delta logL = 0.0125785689488

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7283.2323925
delta logL = 0.0177900870403

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.9012       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6532       1.0000          .0000       10.000    
     3 'Normalizat'    1.1650       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96218       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=   7283.232     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      245 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9003        7.4038        .14265E-03    .15915E-02
   2  Index         2.6535        .70981        .82565E-02    .29395E-03
   3  Normalizat    1.1649        .29752        .35682E-03   -.24380E-03
   4  Prefactor     .96219        .14231        .18695E-03   -.64094E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.90032
  Index      = 2.6535
  Normalizat = 1.16492
  Prefactor  = 0.962191
 **********
 **   18 **HESSE 
 **********

 FCN=   7283.232     FROM HESSE     STATUS=OK            25 CALLS      270 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.9003        7.0259        .57059E-05   -1.5146    
   2  Index         2.6535        .67310        .33026E-03   -.48850    
   3  Normalizat    1.1649        .29740        .14273E-04   -.87694    
   4  Prefactor     .96219        .14226        .37389E-04   -.94001    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76086e-09
Minuit parameter uncertainties:
  1  7.02658
  2  0.675732
  3  0.297833
  4  0.142311
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/319618': 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) = 7283.2323924
delta logL = 0.0177901857487

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  9.622e-01  1.423e-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.165e+00  2.978e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.08
Ra Dec: 181.432 -26.595
Photon Index (Free Index): 2.65 +/- 0.68
Photon Flux (Free Index): 8.62e-08 +/- 6.98e-08
Energy Flux (Free Index): 2.16e-05 +/- 1.59e-05

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/319618/cmap_HighResolution_592617601_592876801_4FGL_J1205.7-2635_daily_bin1363.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.56e-02', comment='SUCCESS', photon_flux='7.95e-08', energy_flux2='2.16e-05', photon_flux_error='5.81e-08', dlogl='1.78e-02', energy_flux='2.24e-05', photon_flux2='8.62e-08', job_status='DONE', time_completed='2021-09-04 23:59:01.148611', photon_index_error2='0.68', photon_index2='2.65', ts='3.05', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='2.00e-07', energy_flux_error2='1.59e-05', EG='1.17', time_epoch_completed='1630825141.15', return_code='0', job_id='319618', GAL2='0.96', EG2='1.16', return_code2='0', energy_flux_error='1.64e-05', photon_flux_error2='6.98e-08', ts2='3.08', photon_index='2.53' WHERE bin_id='1363' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:59:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 319618: <4FGL_J1205.7-2635_daily_bin1363> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin1363> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 23:45:18 2021
Job was executed on host(s) <bullet0213>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 23:45: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:45:20 2021
Terminated at Sat Sep  4 23:59:01 2021
Results reported at Sat Sep  4 23:59:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1363 181.432 -26.5946 592617601 592876801 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 :                                   701.01 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             315.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   821 sec.
    Turnaround time :                            823 sec.

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

