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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1425
RA = 181.432, Dec = -26.5946
tmin = 608688001, tmax = 608947201
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='319715', job_status='RUN', time_executed='2021-09-04 23:46:24.296141', time_epoch_executed='1630824384.3' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1425'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/319715

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/319715/ft1_4FGL_J1205.7-2635_daily_bin1425.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/319715/ft2_4FGL_J1205.7-2635_daily_bin1425.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/319715/ft1_4FGL_J1205.7-2635_daily_bin1425.fits outfile=/scratch/kocevski/319715/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1425.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=608688001.0 tmax=608947201.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.98
user 2.78
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/319715/ft1_filtered_4FGL_J1205.7-2635_daily_bin1425.fits" evtable="EVENTS" scfile=/scratch/kocevski/319715/ft2_4FGL_J1205.7-2635_daily_bin1425.fits sctable="SC_DATA" outfile=/scratch/kocevski/319715/ltcube_608688001_608947201_4FGL_J1205.7-2635_daily_bin1425.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/319715/ft2_4FGL_J1205.7-2635_daily_bin1425.fits
.....................!
real 12.50
user 12.12
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/319715/ft1_filtered_4FGL_J1205.7-2635_daily_bin1425.fits evtable="EVENTS" scfile=/scratch/kocevski/319715/ft2_4FGL_J1205.7-2635_daily_bin1425.fits sctable="SC_DATA" expcube=/scratch/kocevski/319715/ltcube_608688001_608947201_4FGL_J1205.7-2635_daily_bin1425.fits outfile=/scratch/kocevski/319715/expmap_608688001_608947201_4FGL_J1205.7-2635_daily_bin1425.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/319715/ltcube_608688001_608947201_4FGL_J1205.7-2635_daily_bin1425.fits
.....................!
real 192.89
user 187.79
sys 4.71

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/319715/ft1_filtered_4FGL_J1205.7-2635_daily_bin1425.fits scfile=/scratch/kocevski/319715/ft2_4FGL_J1205.7-2635_daily_bin1425.fits outfile=/scratch/kocevski/319715/cmap_608688001_608947201_4FGL_J1205.7-2635_daily_bin1425.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/319715/ft1_filtered_4FGL_J1205.7-2635_daily_bin1425.fits scfile=/scratch/kocevski/319715/ft2_4FGL_J1205.7-2635_daily_bin1425.fits outfile=/scratch/kocevski/319715/cmap_HighResolution_608688001_608947201_4FGL_J1205.7-2635_daily_bin1425.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.55
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/319715/ft1_filtered_4FGL_J1205.7-2635_daily_bin1425.fits evtable="EVENTS" scfile=/scratch/kocevski/319715/ft2_4FGL_J1205.7-2635_daily_bin1425.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/319715/Model_4FGL_J1205.7-2635_daily_bin1425.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/319715/ft1_filtered_4FGL_J1205.7-2635_daily_bin1425.fits......................!
real 21.66
user 20.28
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    82.462       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.0558       1.0000         .10000E-03   10000.    
     3 'Prefactor '    324.85       1.0000         .10000E-03   10000.    
     4 'norm      '    .10117E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    25.890       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    93.327       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.5451       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    69.343       1.0000         .10000E-03   10000.    
    14 'Prefactor '    179.75       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10134E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    128.70       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11010E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1290.9       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2217       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1054.763     FROM MIGRAD    STATUS=CONVERGED     79 CALLS     2347 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 10.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     82.454        5.5076       -.10372E-04    .10680E-01
   2  Prefactor     1.2801        78.581        .13020E-03    .96134E-03
   3  Prefactor     324.84        2.8690       -.25413E-05    .90519E-02
   4  norm          .10000E-03    2.4165        .12968E-05** at limit **
   5  Prefactor     .10000E-03    12.095        .67530E-05** at limit **
   6  Prefactor     25.883        2.1513       -.60112E-05   -.49192E-03
   7  Prefactor     .10339E-03    37.875       -.10236E-03** at limit **
   8  norm          93.329        1.4700        .19370E-05   -.23092E-02
   9  Prefactor     .10000E-03    38.841        .24607E-05** at limit **
  10  norm          3.5489        2.0569        .16171E-04    .25475E-02
  11  Prefactor     .10000E-03    13.784       -.76995E-06** at limit **
  12  Prefactor     .10626E-03    59.257        .20017E-03** at limit **
  13  Prefactor     69.348        2.1218        .38510E-05   -.28666E-02
  14  Prefactor     179.75        1.0897        .56231E-06   -.12993E-02
  15  Prefactor     .10377E-03    28.224        .20329E-04** at limit **
  16  Prefactor     .10639E-03    46.376        .64208E-04** at limit **
  17  Prefactor     128.71        1.5576        .17839E-05   -.26340E-02
  18  Prefactor     .13302E-03    186.41       -.39992E-03** at limit **
  19  norm          .10000E-03    8.8990       -.19159E-05** at limit **
  20  Prefactor     1290.9        1.0053        .51111E-07   -.64114E-03
  21  Normalizat    .10000E-01    .58049        .27923E-04** at limit **
  22  Prefactor     1.2213        .18163       -.13624E-04   -.32548E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 82.4537
  Prefactor  = 1.28013
  Prefactor  = 324.836
  norm       = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 25.8825
  Prefactor  = 0.00010339
  norm       = 93.3288
  Prefactor  = 0.000100003
  norm       = 3.54892
  Prefactor  = 0.0001
  Prefactor  = 0.000106265
  Prefactor  = 69.3479
  Prefactor  = 179.75
  Prefactor  = 0.000103767
  Prefactor  = 0.000106386
  Prefactor  = 128.709
  Prefactor  = 0.000133016
  norm       = 0.0001
  Prefactor  = 1290.9
  Normalizat = 0.01
  Prefactor  = 1.22132
 **********
 **   18 **HESSE 
 **********

 FCN=   1054.763     FROM HESSE     STATUS=OK           380 CALLS     2727 TOTAL
                     EDM=   .44E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     82.454        126.82        .11058E-02   -1.3889    
   2  Prefactor     1.2801        92.418        .91067E-01   -1.5482    
   3  Prefactor     324.84        216.43        .56407E-03   -1.2084    
   4  norm          .10000E-03    2.3914        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    12.082        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     25.883        25.972        .19683E-02   -1.4690    
   7  Prefactor     .10339E-03    58.304        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          93.329        108.93        .10400E-02   -1.3773    
   9  Prefactor     .10000E-03    38.870        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.5489        12.757        .53669E-02   -1.5331    
  11  Prefactor     .10000E-03    13.766        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10626E-03    100.10        .90712E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     69.348        70.528        .12051E-02   -1.4041    
  14  Prefactor     179.75        160.22        .75267E-03   -1.3018    
  15  Prefactor     .10377E-03    63.724        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10639E-03    124.87        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     128.71        178.70        .88720E-03   -1.3434    
  18  Prefactor     .13302E-03    286.49        .90712E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    8.9029        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1290.9        5467.5        .29824E-03   -.83578    
  21  Normalizat    .10000E-01    .50310        .24655       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.2213        .24029        .34138E-01   -.85678    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.41051e-06
Minuit parameter uncertainties:
  1  127.238
  2  21.7881
  3  216.974
  4  3.30294e-05
  5  0.000350679
  6  25.9836
  7  0.0281461
  8  109.159
  9  0.000659187
  10  12.7672
  11  3.78837e-05
  12  0.050168
  13  70.6131
  14  160.611
  15  0.0310197
  16  0.0565954
  17  179.456
  18  0.195451
  19  9.69425e-05
  20  3737.17
  21  1.51261e-05
  22  0.240509
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  1.221e+00  2.405e-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.000e-02  1.513e-05  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/319715/likelihoodResults_608688001_608947201_4FGL_J1205.7-2635_daily_bin1425.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) = 1054.76363202
delta logL = -0.000338188276146

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1054.76329395
delta logL = -1.23143991004e-07

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 'Index     '    2.5170       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2212       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=   1054.763     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      252 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10119E-03    328.78        .11844E-02** at limit **
   2  Index         2.4497        7.8241        .50000        .62861E-05
   3  Normalizat    .10000E-01    .28630E-01    .12150E-01** at limit **
   4  Prefactor     1.2213        .39520E-01    .17362E-03   -.10804E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101188
  Index      = 2.44975
  Normalizat = 0.01
  Prefactor  = 1.22132
 **********
 **   18 **HESSE 
 **********

 FCN=   1054.763     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      281 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10119E-03    1206.6        .23687E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4497        6.2249        .50000       -.53524    
   3  Normalizat    .10000E-01    .12513        .24300E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.2213        .82686E-01    .69447E-05   -.85678    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.97983e-08
Minuit parameter uncertainties:
  1  0.0773477
  2  1814.94
  3  4.50252e-09
  4  0.0826951
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/319715': 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) = 1054.76329374
delta logL = 9.21804712561e-08

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  1.221e+00  8.270e-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.000e-02  4.503e-09  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/319715/cmap_HighResolution_608688001_608947201_4FGL_J1205.7-2635_daily_bin1425.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.16e-02', job_status='DONE', photon_flux_upper_limit='5.33e-07', time_completed='2021-09-04 23:52:39.730478', job_id='319715', GAL2='1.22', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630824759.73', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='9.22e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1425' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:52:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0125>
Subject: Job 319715: <4FGL_J1205.7-2635_daily_bin1425> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1425 181.432 -26.5946 608688001 608947201 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 :                                   371.37 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             274.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   431 sec.
    Turnaround time :                            434 sec.

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

