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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1047
RA = 181.432, Dec = -26.5946
tmin = 510710401, tmax = 510969601
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='318254', job_status='RUN', time_executed='2021-09-04 23:42:35.466833', time_epoch_executed='1630824155.47' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1047'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/318254

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/318254/ft1_4FGL_J1205.7-2635_daily_bin1047.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/318254/ft2_4FGL_J1205.7-2635_daily_bin1047.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/318254/ft1_4FGL_J1205.7-2635_daily_bin1047.fits outfile=/scratch/kocevski/318254/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1047.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=510710401.0 tmax=510969601.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.44
user 3.22
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/318254/ft2_4FGL_J1205.7-2635_daily_bin1047.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/318254/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1047.fits evtable="EVENTS" outfile="/scratch/kocevski/318254/ft1_filtered_4FGL_J1205.7-2635_daily_bin1047.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/318254/ft1_filtered_4FGL_J1205.7-2635_daily_bin1047.fits" evtable="EVENTS" scfile=/scratch/kocevski/318254/ft2_4FGL_J1205.7-2635_daily_bin1047.fits sctable="SC_DATA" outfile=/scratch/kocevski/318254/ltcube_510710401_510969601_4FGL_J1205.7-2635_daily_bin1047.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/318254/ft2_4FGL_J1205.7-2635_daily_bin1047.fits
.....................!
real 11.94
user 11.56
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/318254/ft1_filtered_4FGL_J1205.7-2635_daily_bin1047.fits evtable="EVENTS" scfile=/scratch/kocevski/318254/ft2_4FGL_J1205.7-2635_daily_bin1047.fits sctable="SC_DATA" expcube=/scratch/kocevski/318254/ltcube_510710401_510969601_4FGL_J1205.7-2635_daily_bin1047.fits outfile=/scratch/kocevski/318254/expmap_510710401_510969601_4FGL_J1205.7-2635_daily_bin1047.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/318254/ltcube_510710401_510969601_4FGL_J1205.7-2635_daily_bin1047.fits
.....................!
real 190.49
user 185.71
sys 4.41

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/318254/ft1_filtered_4FGL_J1205.7-2635_daily_bin1047.fits scfile=/scratch/kocevski/318254/ft2_4FGL_J1205.7-2635_daily_bin1047.fits outfile=/scratch/kocevski/318254/cmap_510710401_510969601_4FGL_J1205.7-2635_daily_bin1047.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.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/318254/ft1_filtered_4FGL_J1205.7-2635_daily_bin1047.fits evtable="EVENTS" scfile=/scratch/kocevski/318254/ft2_4FGL_J1205.7-2635_daily_bin1047.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/318254/Model_4FGL_J1205.7-2635_daily_bin1047.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/318254/ft1_filtered_4FGL_J1205.7-2635_daily_bin1047.fits.....................!
real 61.21
user 59.87
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    18.476       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.4074       1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.807       1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10119E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    6.7101       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .55539       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.2882       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10398E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .95788E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.4933       1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.727       1.0000         .10000E-03   10000.    
    19 'norm      '    1.5805       1.0000         .10000E-03   10000.    
    20 'Prefactor '    60.585       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3760       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0407       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=   6625.486     FROM MIGRAD    STATUS=CONVERGED    461 CALLS     2318 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.296        .99789E-06** at limit **
   2  Prefactor     18.477        14.929       -.52250E-06   -.15892E-04
   3  Prefactor     .10000E-03    83.456        .15267E-04** at limit **
   4  norm          .10000E-03    .83945        .12596E-08** at limit **
   5  Prefactor     .10000E-03    7.2229       -.27359E-06** at limit **
   6  Prefactor     9.4082        7.7136        .32076E-06    .89010E-04
   7  Prefactor     14.806        29.366       -.87779E-06    .40476E-04
   8  norm          .10000E-03    10.145       -.37808E-06** at limit **
   9  Prefactor     .10000E-03    17.578       -.75291E-06** at limit **
  10  norm          6.7023        6.3041        .36076E-05    .29300E-03
  11  Prefactor     .56424        4.4750       -.16363E-05   -.17249E-03
  12  Prefactor     .10000E-03    23.875       -.50893E-05** at limit **
  13  Prefactor     5.2758        17.146        .41981E-05   -.48003E-04
  14  Prefactor     .10000E-03    25.071        .24627E-05** at limit **
  15  Prefactor     .10000E-03    15.021        .48026E-06** at limit **
  16  Prefactor     .10001E-03    206.92       -.15246E-03** at limit **
  17  Prefactor     2.4973        43.758       -.13499E-05   -.25853E-04
  18  Prefactor     12.724        16.815       -.25643E-07    .24597E-04
  19  norm          1.5807        1.0749       -.35046E-07    .10766E-03
  20  Prefactor     60.598        134.27        .16398E-04    .57041E-05
  21  Normalizat    1.3759        .27796       -.88368E-06    .41711E-03
  22  Prefactor     1.0405        .12921       -.21617E-06    .73079E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 18.4775
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.40819
  Prefactor  = 14.8062
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 6.70233
  Prefactor  = 0.564237
  Prefactor  = 0.0001
  Prefactor  = 5.2758
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 2.49734
  Prefactor  = 12.7245
  norm       = 1.5807
  Prefactor  = 60.5981
  Normalizat = 1.37591
  Prefactor  = 1.04053
 **********
 **   18 **HESSE 
 **********

 FCN=   6625.486     FROM HESSE     STATUS=OK           340 CALLS     2658 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    17.307        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     18.477        14.941        .93180E-04   -1.4848    
   3  Prefactor     .10000E-03    83.755        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    .86067        .14556E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.2414        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.4082        7.7014        .13066E-03   -1.5094    
   7  Prefactor     14.806        29.328        .10409E-03   -1.4938    
   8  norm          .10000E-03    10.152        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    17.630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          6.7023        6.3002        .15490E-03   -1.5190    
  11  Prefactor     .56424        9.9496        .32451E-02   -1.5558    
  12  Prefactor     .10000E-03    23.883        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.2758        17.121        .17478E-03   -1.5249    
  14  Prefactor     .10000E-03    25.125        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    15.041        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10001E-03    206.71        .20790E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.4973        43.780        .25885E-03   -1.5392    
  18  Prefactor     12.724        16.821        .11228E-03   -1.4994    
  19  norm          1.5807        1.0749        .33783E-04   -1.5457    
  20  Prefactor     60.598        134.23        .51548E-04   -1.4149    
  21  Normalizat    1.3759        .32637        .36204E-03   -.81328    
  22  Prefactor     1.0405        .15280        .19362E-03   -.91390    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.80049e-08
Minuit parameter uncertainties:
  1  7.49442e-06
  2  14.9438
  3  2.14415e-05
  4  2.40819e-07
  5  3.12068e-06
  6  7.70221
  7  29.357
  8  2.64127e-06
  9  0.000250231
  10  6.30081
  11  4.73925
  12  1.20891e-05
  13  17.1365
  14  7.27454e-05
  15  5.5764e-05
  16  0.0023591
  17  20.9301
  18  16.8273
  19  1.07489
  20  134.905
  21  0.326869
  22  0.152859
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  5.642e-01  4.739e+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:  1.041e+00  1.529e-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.376e+00  3.269e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/318254/likelihoodResults_510710401_510969601_4FGL_J1205.7-2635_daily_bin1047.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) = 6625.48207918
delta logL = 0.00362238716934

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6625.48062454
delta logL = 0.00507702451341

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .83453       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2019       1.0000          .0000       10.000    
     3 'Normalizat'    1.3772       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0397       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=   6625.481     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      275 TOTAL
                     EDM=   .96E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .82655        9.0949        .45746E-03   -.19533E-04
   2  Index         2.2006        2.5860        .19329E-01   -.38500E-05
   3  Normalizat    1.3776        .31830        .36185E-03   -.42100E-05
   4  Prefactor     1.0396        .15199        .19370E-03   -.39089E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.826552
  Index      = 2.20064
  Normalizat = 1.37763
  Prefactor  = 1.03956
 **********
 **   18 **HESSE 
 **********

 FCN=   6625.481     FROM HESSE     STATUS=OK            25 CALLS      300 TOTAL
                     EDM=   .80E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .82655        8.8208        .18299E-04   -1.5526    
   2  Index         2.2006        2.5567        .77318E-03   -.59423    
   3  Normalizat    1.3776        .31857        .14474E-04   -.81278    
   4  Prefactor     1.0396        .15208        .77480E-05   -.91422    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.97198e-12
Minuit parameter uncertainties:
  1  5.40101
  2  2.75543
  3  0.319026
  4  0.152141
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/318254': 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) = 6625.48062254
delta logL = 0.00507903164544

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
569    Prefactor:  1.040e+00  1.521e-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.378e+00  3.190e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
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/318254/cmap_HighResolution_510710401_510969601_4FGL_J1205.7-2635_daily_bin1047.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-02', job_status='DONE', photon_flux_upper_limit='1.31e-07', time_completed='2021-09-04 23:53:36.307132', job_id='318254', GAL2='1.04', fit_tolerance='1e-08', EG2='1.38', EG='1.38', time_epoch_completed='1630824816.31', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='5.08e-03', ts2='0.03', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1047' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:53:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 318254: <4FGL_J1205.7-2635_daily_bin1047> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin1047> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 23:40:47 2021
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 23:40:50 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:40:50 2021
Terminated at Sat Sep  4 23:53:37 2021
Results reported at Sat Sep  4 23:53:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1047 181.432 -26.5946 510710401 510969601 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 :                                   654.26 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             294.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   766 sec.
    Turnaround time :                            770 sec.

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

