/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 4 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 = 7472
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1205.7-2635_daily_bin241
RA = 181.432, Dec = -26.5946
tmin = 301795201, tmax = 302054401
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='313719', job_status='RUN', time_executed='2021-09-04 23:25:55.410733', time_epoch_executed='1630823155.41' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='241'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/313719

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/313719/ft1_4FGL_J1205.7-2635_daily_bin241.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/313719/ft2_4FGL_J1205.7-2635_daily_bin241.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/313719/ft1_4FGL_J1205.7-2635_daily_bin241.fits outfile=/scratch/kocevski/313719/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin241.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=301795201.0 tmax=302054401.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.01
user 3.80
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/313719/ft2_4FGL_J1205.7-2635_daily_bin241.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/313719/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin241.fits evtable="EVENTS" outfile="/scratch/kocevski/313719/ft1_filtered_4FGL_J1205.7-2635_daily_bin241.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.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/313719/ft1_filtered_4FGL_J1205.7-2635_daily_bin241.fits" evtable="EVENTS" scfile=/scratch/kocevski/313719/ft2_4FGL_J1205.7-2635_daily_bin241.fits sctable="SC_DATA" outfile=/scratch/kocevski/313719/ltcube_301795201_302054401_4FGL_J1205.7-2635_daily_bin241.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/313719/ft2_4FGL_J1205.7-2635_daily_bin241.fits
.....................!
real 11.66
user 11.34
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/313719/ft1_filtered_4FGL_J1205.7-2635_daily_bin241.fits evtable="EVENTS" scfile=/scratch/kocevski/313719/ft2_4FGL_J1205.7-2635_daily_bin241.fits sctable="SC_DATA" expcube=/scratch/kocevski/313719/ltcube_301795201_302054401_4FGL_J1205.7-2635_daily_bin241.fits outfile=/scratch/kocevski/313719/expmap_301795201_302054401_4FGL_J1205.7-2635_daily_bin241.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/313719/ltcube_301795201_302054401_4FGL_J1205.7-2635_daily_bin241.fits
.....................!
real 190.69
user 185.83
sys 4.52

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/313719/ft1_filtered_4FGL_J1205.7-2635_daily_bin241.fits scfile=/scratch/kocevski/313719/ft2_4FGL_J1205.7-2635_daily_bin241.fits outfile=/scratch/kocevski/313719/cmap_301795201_302054401_4FGL_J1205.7-2635_daily_bin241.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/313719/ft1_filtered_4FGL_J1205.7-2635_daily_bin241.fits scfile=/scratch/kocevski/313719/ft2_4FGL_J1205.7-2635_daily_bin241.fits outfile=/scratch/kocevski/313719/cmap_HighResolution_301795201_302054401_4FGL_J1205.7-2635_daily_bin241.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/313719/ft1_filtered_4FGL_J1205.7-2635_daily_bin241.fits evtable="EVENTS" scfile=/scratch/kocevski/313719/ft2_4FGL_J1205.7-2635_daily_bin241.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/313719/Model_4FGL_J1205.7-2635_daily_bin241.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/313719/ft1_filtered_4FGL_J1205.7-2635_daily_bin241.fits.....................!
real 81.09
user 79.74
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    5.4453       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.0681       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10201E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    34.714       1.0000         .10000E-03   10000.    
    10 'norm      '    1.4144       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10266E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.5068       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    45.682       1.0000         .10000E-03   10000.    
    15 'Prefactor '    12.038       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.5102       1.0000         .10000E-03   10000.    
    19 'norm      '    5.3514       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1540       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .94153       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=   9840.130     FROM MIGRAD    STATUS=CONVERGED    484 CALLS     2374 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.0060        .90712E-02** at limit **
   2  Prefactor     .10000E-03    3.9742        .90712E-02** at limit **
   3  Prefactor     .10003E-03    19.489        .90712E-02** at limit **
   4  norm          5.4451        1.8533        .43049E-02    .21627E-03
   5  Prefactor     9.0683        9.9005        .33274E-02    .74921E-04
   6  Prefactor     .10000E-03    1.4947        .90712E-02** at limit **
   7  Prefactor     .10000E-03    10.450        .90712E-02** at limit **
   8  norm          .10000E-03    7.3593        .14427    ** at limit **
   9  Prefactor     34.710        18.557        .17004E-02   -.10982E-03
  10  norm          1.4146        5.1462        .91021E-02    .16112E-02
  11  Prefactor     .10000E-03    1.9155        .45838E-01** at limit **
  12  Prefactor     9.5059        24.027        .32493E-02    .87448E-04
  13  Prefactor     .10000E-03    3.1530        .90712E-02** at limit **
  14  Prefactor     45.679        25.128        .14830E-02    .55593E-03
  15  Prefactor     12.038        10.023        .28864E-02   -.18338E-04
  16  Prefactor     .10000E-03    7.6731        .90712E-02** at limit **
  17  Prefactor     .10002E-03    17.982        .90712E-02** at limit **
  18  Prefactor     2.5103        10.028        .64474E-02    .24215E-03
  19  norm          5.3514        1.1862        .43432E-02   -.13999E-03
  20  Prefactor     .10000E-03    25.062        .90712E-02** at limit **
  21  Normalizat    1.1542        .19832        .76597E-01   -.82654E-05
  22  Prefactor     .94145        .95779E-01    .45532E-01    .39689E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100027
  norm       = 5.44513
  Prefactor  = 9.06826
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 34.71
  norm       = 1.41457
  Prefactor  = 0.0001
  Prefactor  = 9.50592
  Prefactor  = 0.0001
  Prefactor  = 45.6794
  Prefactor  = 12.0377
  Prefactor  = 0.0001
  Prefactor  = 0.000100015
  Prefactor  = 2.51033
  norm       = 5.35136
  Prefactor  = 0.000100003
  Normalizat = 1.1542
  Prefactor  = 0.941449
 **********
 **   18 **HESSE 
 **********

 FCN=   9840.130     FROM HESSE     STATUS=OK           346 CALLS     2720 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.0086        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.0055        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10003E-03    19.514        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.4451        1.8577        .75846E-04   -1.5241    
   5  Prefactor     9.0683        9.8990        .13310E-03   -1.5106    
   6  Prefactor     .10000E-03    1.5122        .11840E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    10.466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    63.776        .52320E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     34.710        17.227        .68016E-04   -1.4529    
  10  norm          1.4146        4.7592        .29685E-03   -1.5470    
  11  Prefactor     .10000E-03    3.9703        .26069E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.5059        24.002        .12997E-03   -1.5091    
  13  Prefactor     .10000E-03    3.1560        .17202E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     45.679        24.671        .59321E-04   -1.4355    
  15  Prefactor     12.038        10.021        .11546E-03   -1.5014    
  16  Prefactor     .10000E-03    7.6754        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10002E-03    18.194        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.5103        10.026        .25790E-03   -1.5391    
  19  norm          5.3514        1.1862        .48655E-04   -1.5245    
  20  Prefactor     .10000E-03    25.068        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1542        .23622        .33902E-03   -.88030    
  22  Prefactor     .94145        .11438        .18309E-03   -.94707    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.82745e-09
Minuit parameter uncertainties:
  1  3.9111e-05
  2  4.35177e-06
  3  0.00145018
  4  1.85774
  5  9.90078
  6  1.51143e-06
  7  5.64646e-05
  8  0.000386146
  9  17.2295
  10  4.76048
  11  4.76662e-06
  12  24.0268
  13  1.6622e-05
  14  24.6768
  15  10.0226
  16  2.83227e-05
  17  0.00104757
  18  10.0332
  19  1.18622
  20  0.000545477
  21  0.236434
  22  0.11441
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  4.767e-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:  9.414e-01  1.144e-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.154e+00  2.364e-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: 6.97e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.43e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/313719/likelihoodResults_301795201_302054401_4FGL_J1205.7-2635_daily_bin241.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) = 9840.13109017
delta logL = -0.00119817854466

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9840.12989607
delta logL = -4.07421248383e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11381E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4985       1.0000          .0000       10.000    
     3 'Normalizat'    1.1537       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94171       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   9840.130     FROM MIGRAD    STATUS=FAILED        99 CALLS      268 TOTAL
                     EDM=   .44E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10292E-03    35.783        .26719E-02** at limit **
   2  Index         2.3873        6.1751        .50000        .34884E-04
   3  Normalizat    1.1542        .14021E-01    .33902E-03   -.34607E-04
   4  Prefactor     .94145        .69599E-02    .18309E-03   -.65569E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   9840.130     FROM SIMPLEX   STATUS=PROGRESS     120 CALLS      388 TOTAL
                     EDM=   .50E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10063E-03    35.783        .26882E-03** at limit **
   2  Index         2.3858        6.1751        .46049E-03    .34884E-04
   3  Normalizat    1.1542        .14021E-01    .28472E-05   -.34607E-04
   4  Prefactor     .94145        .69599E-02    .16796E-05   -.65569E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9840.130     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      440 TOTAL
                     EDM=   .55E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    23.500        .53439E-02** at limit **
   2  Index         2.2302        5.2867        .50000        .15852E-06
   3  Normalizat    1.1542        .11083E-01    .13561E-04    .15929E-03
   4  Prefactor     .94145        .55019E-02    .73238E-05    .28935E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.23017
  Normalizat = 1.1542
  Prefactor  = 0.941449
 **********
 **   18 **HESSE 
 **********

 FCN=   9840.130     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      469 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    124.99        .10688E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2302        8.2618        .50000       -.58712    
   3  Normalizat    1.1542        .25914E-01    .27122E-05   -.88030    
   4  Prefactor     .94145        .12866E-01    .14648E-05   -.94707    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.88489e-10
Minuit parameter uncertainties:
  1  3.09108e-05
  2  360.191
  3  0.0259144
  4  0.0128664
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/313719': 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) = 9840.12988973
delta logL = 2.26556403504e-06

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  3.091e-05  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.230e+00  3.602e+02  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.414e-01  1.287e-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.154e+00  2.591e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/313719/cmap_HighResolution_301795201_302054401_4FGL_J1205.7-2635_daily_bin241.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.43e-03', job_status='DONE', photon_flux_upper_limit='6.97e-08', time_completed='2021-09-04 23:40:40.265306', job_id='313719', GAL2='0.94', fit_tolerance='1e-08', EG2='1.15', EG='1.15', time_epoch_completed='1630824040.27', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='2.27e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='241' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:40:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0120>
Subject: Job 313719: <4FGL_J1205.7-2635_daily_bin241> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin241> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep  4 23:25:40 2021
Job was executed on host(s) <bullet0120>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 23:25:42 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:25:42 2021
Terminated at Sat Sep  4 23:40:41 2021
Results reported at Sat Sep  4 23:40:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin241 181.432 -26.5946 301795201 302054401 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 :                                   882.01 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             362.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   898 sec.
    Turnaround time :                            901 sec.

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

