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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1258
RA = 181.432, Dec = -26.5946
tmin = 565401601, tmax = 565660801
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='318576', job_status='RUN', time_executed='2021-09-04 23:43:38.057595', time_epoch_executed='1630824218.06' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1258'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/318576

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/318576/ft1_4FGL_J1205.7-2635_daily_bin1258.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/318576/ft2_4FGL_J1205.7-2635_daily_bin1258.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/318576/ft1_4FGL_J1205.7-2635_daily_bin1258.fits outfile=/scratch/kocevski/318576/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1258.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=565401601.0 tmax=565660801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.80
user 2.59
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/318576/ft2_4FGL_J1205.7-2635_daily_bin1258.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/318576/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1258.fits evtable="EVENTS" outfile="/scratch/kocevski/318576/ft1_filtered_4FGL_J1205.7-2635_daily_bin1258.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.41
user 0.25
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/318576/ft1_filtered_4FGL_J1205.7-2635_daily_bin1258.fits" evtable="EVENTS" scfile=/scratch/kocevski/318576/ft2_4FGL_J1205.7-2635_daily_bin1258.fits sctable="SC_DATA" outfile=/scratch/kocevski/318576/ltcube_565401601_565660801_4FGL_J1205.7-2635_daily_bin1258.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/318576/ft2_4FGL_J1205.7-2635_daily_bin1258.fits
.....................!
real 9.05
user 8.75
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/318576/ft1_filtered_4FGL_J1205.7-2635_daily_bin1258.fits evtable="EVENTS" scfile=/scratch/kocevski/318576/ft2_4FGL_J1205.7-2635_daily_bin1258.fits sctable="SC_DATA" expcube=/scratch/kocevski/318576/ltcube_565401601_565660801_4FGL_J1205.7-2635_daily_bin1258.fits outfile=/scratch/kocevski/318576/expmap_565401601_565660801_4FGL_J1205.7-2635_daily_bin1258.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/318576/ltcube_565401601_565660801_4FGL_J1205.7-2635_daily_bin1258.fits
.....................!
real 146.05
user 142.43
sys 3.36

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/318576/ft1_filtered_4FGL_J1205.7-2635_daily_bin1258.fits scfile=/scratch/kocevski/318576/ft2_4FGL_J1205.7-2635_daily_bin1258.fits outfile=/scratch/kocevski/318576/cmap_565401601_565660801_4FGL_J1205.7-2635_daily_bin1258.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.46
user 0.30
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/318576/ft1_filtered_4FGL_J1205.7-2635_daily_bin1258.fits scfile=/scratch/kocevski/318576/ft2_4FGL_J1205.7-2635_daily_bin1258.fits outfile=/scratch/kocevski/318576/cmap_HighResolution_565401601_565660801_4FGL_J1205.7-2635_daily_bin1258.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.46
user 0.31
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/318576/ft1_filtered_4FGL_J1205.7-2635_daily_bin1258.fits evtable="EVENTS" scfile=/scratch/kocevski/318576/ft2_4FGL_J1205.7-2635_daily_bin1258.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/318576/Model_4FGL_J1205.7-2635_daily_bin1258.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/318576/ft1_filtered_4FGL_J1205.7-2635_daily_bin1258.fits....................!
real 50.26
user 49.19
sys 0.97

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10183E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    45.434       1.0000         .10000E-03   10000.    
     4 'norm      '    1.0738       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.3617       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    16.363       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.9088       1.0000         .10000E-03   10000.    
    10 'norm      '    .10050E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.7877       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.3047       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.9025       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    42.470       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .23151E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.8604       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3511       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .91999       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=   7647.604     FROM MIGRAD    STATUS=CONVERGED    480 CALLS     2405 TOTAL
                     EDM=   .84E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10003E-03    71.152       -.13545E-04** at limit **
   2  Prefactor     .10000E-03    6.0637       -.10984E-06** at limit **
   3  Prefactor     45.436        40.813       -.60065E-07   -.15441E-04
   4  norm          1.0718        1.1252       -.36318E-06   -.13667E-02
   5  Prefactor     .10000E-03    5.2478       -.88891E-07** at limit **
   6  Prefactor     5.3639        6.0669        .36631E-06    .69746E-03
   7  Prefactor     .10000E-03    16.734       -.14426E-06** at limit **
   8  norm          16.363        17.230        .19127E-08    .33754E-05
   9  Prefactor     8.9246        14.145        .69925E-06    .14900E-03
  10  norm          .10000E-03    2.2521        .36041E-07** at limit **
  11  Prefactor     2.7872        7.3137       -.26235E-05    .54472E-03
  12  Prefactor     9.3075        36.245       -.27260E-06    .48678E-05
  13  Prefactor     .10000E-03    12.647        .79724E-06** at limit **
  14  Prefactor     7.9127        58.305        .54905E-05    .44432E-04
  15  Prefactor     .10000E-03    6.3192        .72723E-07** at limit **
  16  Prefactor     .10000E-03    11.745       -.43221E-06** at limit **
  17  Prefactor     42.466        31.483        .47666E-06    .12940E-03
  18  Prefactor     .10001E-03    92.319       -.38233E-04** at limit **
  19  norm          1.8603        1.2478       -.73493E-07    .50157E-03
  20  Prefactor     .10000E-03    33.698        .17693E-05** at limit **
  21  Normalizat    1.3505        .23550        .11125E-06    .23170E-03
  22  Prefactor     .92023        .11057       -.76668E-07    .32319E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100033
  Prefactor  = 0.0001
  Prefactor  = 45.4359
  norm       = 1.07182
  Prefactor  = 0.0001
  Prefactor  = 5.36394
  Prefactor  = 0.0001
  norm       = 16.3625
  Prefactor  = 8.92457
  norm       = 0.0001
  Prefactor  = 2.78725
  Prefactor  = 9.30754
  Prefactor  = 0.0001
  Prefactor  = 7.91268
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 42.466
  Prefactor  = 0.000100005
  norm       = 1.86028
  Prefactor  = 0.000100001
  Normalizat = 1.35055
  Prefactor  = 0.920232
 **********
 **   18 **HESSE 
 **********

 FCN=   7647.604     FROM HESSE     STATUS=OK           350 CALLS     2755 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10003E-03    73.288        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.0850        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     45.436        40.733        .59482E-04   -1.4359    
   4  norm          1.0718        1.0251        .92619E-03   -1.5501    
   5  Prefactor     .10000E-03    5.2589        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.3639        6.0803        .17356E-03   -1.5245    
   7  Prefactor     .10000E-03    16.755        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          16.363        17.236        .99011E-04   -1.4899    
   9  Prefactor     8.9246        14.090        .13429E-03   -1.5110    
  10  norm          .10000E-03    2.2632        .12757E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.7872        7.3395        .24370E-03   -1.5374    
  12  Prefactor     9.3075        36.197        .13138E-03   -1.5098    
  13  Prefactor     .10000E-03    12.730        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.9127        58.130        .14264E-03   -1.5145    
  15  Prefactor     .10000E-03    6.3213        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    11.749        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     42.466        31.477        .61514E-04   -1.4404    
  18  Prefactor     .10001E-03    8.0877        .79550E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.8603        1.2400        .76211E-04   -1.5435    
  20  Prefactor     .10000E-03    33.750        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.3505        .28238        .33076E-03   -.82070    
  22  Prefactor     .92023        .13288        .18852E-03   -.95438    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.3813e-09
Minuit parameter uncertainties:
  1  0.00310593
  2  1.84385e-05
  3  40.7578
  4  1.02512
  5  2.18149e-06
  6  6.08099
  7  2.60227e-05
  8  17.2411
  9  14.0948
  10  1.51277e-05
  11  7.34189
  12  36.2825
  13  9.71205e-05
  14  42.952
  15  1.44277e-05
  16  3.77697e-05
  17  31.4892
  18  0.000410804
  19  1.24
  20  0.000349771
  21  0.282703
  22  0.132927
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  2.787e+00  7.342e+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.202e-01  1.329e-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.351e+00  2.827e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/318576/likelihoodResults_565401601_565660801_4FGL_J1205.7-2635_daily_bin1258.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) = 7647.53446928
delta logL = 0.069584990465

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7647.51853184
delta logL = 0.0855224354782

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8263       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1827       1.0000          .0000       10.000    
     3 'Normalizat'    1.3289       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92706       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7647.519     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      253 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8194        6.8668        .18573E-03   -.48074E-03
   2  Index         3.1839        2.2390        .43437E-02   -.54659E-04
   3  Normalizat    1.3290        .27949        .33295E-03   -.92875E-05
   4  Prefactor     .92704        .13324        .18788E-03   -.16305E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.81943
  Index      = 3.18391
  Normalizat = 1.32899
  Prefactor  = 0.92704
 **********
 **   18 **HESSE 
 **********

 FCN=   7647.519     FROM HESSE     STATUS=OK            23 CALLS      276 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8194        5.6339        .74294E-05   -1.5438    
   2  Index         3.1839        1.8610        .17375E-03   -.37172    
   3  Normalizat    1.3290        .27944        .13318E-04   -.82705    
   4  Prefactor     .92704        .13292        .37576E-04   -.95203    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.28363e-10
Minuit parameter uncertainties:
  1  5.63557
  2  1.91443
  3  0.279763
  4  0.132968
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/318576': 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) = 7647.51853081
delta logL = 0.085523457351

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.819e+00  5.636e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  3.184e+00  1.914e+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:  9.270e-01  1.330e-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.329e+00  2.798e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/318576/cmap_HighResolution_565401601_565660801_4FGL_J1205.7-2635_daily_bin1258.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.17e-02', job_status='DONE', photon_flux_upper_limit='1.50e-07', time_completed='2021-09-04 23:53:02.780325', job_id='318576', GAL2='0.93', fit_tolerance='1e-08', EG2='1.33', EG='1.35', time_epoch_completed='1630824782.78', return_code2='0', ts='0.22', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='8.55e-02', ts2='0.40', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1258' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:53:02 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 318576: <4FGL_J1205.7-2635_daily_bin1258> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin1258> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 23:41:15 2021
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 23:41:16 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:16 2021
Terminated at Sat Sep  4 23:53:03 2021
Results reported at Sat Sep  4 23:53:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1258 181.432 -26.5946 565401601 565660801 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 :                                   563.34 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             322.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   707 sec.
    Turnaround time :                            708 sec.

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

