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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1564
RA = 181.432, Dec = -26.5946
tmin = 644716801, tmax = 644976001
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='319934', job_status='RUN', time_executed='2021-09-04 23:49:15.447359', time_epoch_executed='1630824555.45' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1564'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/319934

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/319934/ft1_4FGL_J1205.7-2635_daily_bin1564.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/319934/ft2_4FGL_J1205.7-2635_daily_bin1564.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/319934/ft1_4FGL_J1205.7-2635_daily_bin1564.fits outfile=/scratch/kocevski/319934/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1564.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=644716801.0 tmax=644976001.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.85
user 2.65
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/319934/ft2_4FGL_J1205.7-2635_daily_bin1564.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/319934/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1564.fits evtable="EVENTS" outfile="/scratch/kocevski/319934/ft1_filtered_4FGL_J1205.7-2635_daily_bin1564.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.51
user 0.35
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/319934/ft1_filtered_4FGL_J1205.7-2635_daily_bin1564.fits" evtable="EVENTS" scfile=/scratch/kocevski/319934/ft2_4FGL_J1205.7-2635_daily_bin1564.fits sctable="SC_DATA" outfile=/scratch/kocevski/319934/ltcube_644716801_644976001_4FGL_J1205.7-2635_daily_bin1564.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/319934/ft2_4FGL_J1205.7-2635_daily_bin1564.fits
.....................!
real 12.21
user 11.86
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/319934/ft1_filtered_4FGL_J1205.7-2635_daily_bin1564.fits evtable="EVENTS" scfile=/scratch/kocevski/319934/ft2_4FGL_J1205.7-2635_daily_bin1564.fits sctable="SC_DATA" expcube=/scratch/kocevski/319934/ltcube_644716801_644976001_4FGL_J1205.7-2635_daily_bin1564.fits outfile=/scratch/kocevski/319934/expmap_644716801_644976001_4FGL_J1205.7-2635_daily_bin1564.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/319934/ltcube_644716801_644976001_4FGL_J1205.7-2635_daily_bin1564.fits
.....................!
real 190.73
user 185.33
sys 5.04

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/319934/ft1_filtered_4FGL_J1205.7-2635_daily_bin1564.fits scfile=/scratch/kocevski/319934/ft2_4FGL_J1205.7-2635_daily_bin1564.fits outfile=/scratch/kocevski/319934/cmap_644716801_644976001_4FGL_J1205.7-2635_daily_bin1564.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.55
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/319934/ft1_filtered_4FGL_J1205.7-2635_daily_bin1564.fits scfile=/scratch/kocevski/319934/ft2_4FGL_J1205.7-2635_daily_bin1564.fits outfile=/scratch/kocevski/319934/cmap_HighResolution_644716801_644976001_4FGL_J1205.7-2635_daily_bin1564.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.58
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/319934/ft1_filtered_4FGL_J1205.7-2635_daily_bin1564.fits evtable="EVENTS" scfile=/scratch/kocevski/319934/ft2_4FGL_J1205.7-2635_daily_bin1564.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/319934/Model_4FGL_J1205.7-2635_daily_bin1564.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/319934/ft1_filtered_4FGL_J1205.7-2635_daily_bin1564.fits....................!
real 57.66
user 56.24
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.519       1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.259       1.0000         .10000E-03   10000.    
     3 'Prefactor '    46.018       1.0000         .10000E-03   10000.    
     4 'norm      '    1.3312       1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.493       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .39062E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.3294       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.8087       1.0000         .10000E-03   10000.    
    10 'norm      '    .12128E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10793E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10349E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .69082E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    37.592       1.0000         .10000E-03   10000.    
    15 'Prefactor '    31.839       1.0000         .10000E-03   10000.    
    16 'Prefactor '    34.333       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.5835       1.0000         .10000E-03   10000.    
    19 'norm      '    2.1026       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .12027E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.8200       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .64540       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=   6192.986     FROM MIGRAD    STATUS=CONVERGED    870 CALLS     2828 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.525        27.966        .90657E-04   -.85274E-05
   2  Prefactor     15.261        15.322        .10253E-03   -.26721E-04
   3  Prefactor     46.016        40.226        .59105E-04   -.24813E-04
   4  norm          1.3314        1.2444        .83017E-04    .30360E-03
   5  Prefactor     13.495        15.521        .10904E-03   -.28880E-04
   6  Prefactor     .10000E-03    14.710        .24396E-02** at limit **
   7  Prefactor     .10000E-03    7.8107        .18142E-02** at limit **
   8  norm          1.2701        104.23        .38096E-03    .31036E-05
   9  Prefactor     3.7877        11.355        .20682E-03    .16177E-03
  10  norm          .10000E-03    6.5336        .26666E-02** at limit **
  11  Prefactor     .10000E-03    3.9176        .15041E-02** at limit **
  12  Prefactor     .10000E-03    18.400        .18142E-02** at limit **
  13  Prefactor     .10000E-03    15.996        .89360E-01** at limit **
  14  Prefactor     37.571        34.315        .65369E-04   -.48697E-04
  15  Prefactor     31.824        29.807        .71011E-04    .24014E-05
  16  Prefactor     34.326        49.187        .68390E-04   -.66493E-05
  17  Prefactor     .10000E-03    14.933        .18142E-02** at limit **
  18  Prefactor     4.5792        14.521        .18802E-03   -.84653E-05
  19  norm          2.1030        1.2948        .67967E-04    .30610E-04
  20  Prefactor     .10000E-03    200.55        .18142E-02** at limit **
  21  Normalizat    1.8198        .30530        .28640E-03   -.12345E-04
  22  Prefactor     .64542        .14444        .21283E-03   -.60301E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.5249
  Prefactor  = 15.2609
  Prefactor  = 46.0163
  norm       = 1.33138
  Prefactor  = 13.4951
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.27013
  Prefactor  = 3.78775
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 37.5711
  Prefactor  = 31.8243
  Prefactor  = 34.3257
  Prefactor  = 0.0001
  Prefactor  = 4.57917
  norm       = 2.10298
  Prefactor  = 0.000100004
  Normalizat = 1.81978
  Prefactor  = 0.64542
 **********
 **   18 **HESSE 
 **********

 FCN=   6192.986     FROM HESSE     STATUS=OK           330 CALLS     3158 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.525        27.963        .36263E-05   -1.4824    
   2  Prefactor     15.261        15.322        .41014E-05   -1.4926    
   3  Prefactor     46.016        40.225        .11821E-04   -1.4350    
   4  norm          1.3314        1.2443        .33207E-05   -1.5477    
   5  Prefactor     13.495        15.522        .43617E-05   -1.4973    
   6  Prefactor     .10000E-03    14.885        .48792E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.8108        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.2701        104.16        .15238E-04   -1.5483    
   9  Prefactor     3.7877        11.336        .82730E-05   -1.5319    
  10  norm          .10000E-03    6.5449        .53331E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    3.9195        .30083E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    18.400        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    15.740        .90404E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     37.571        34.313        .26147E-05   -1.4481    
  15  Prefactor     31.824        29.810        .28405E-05   -1.4579    
  16  Prefactor     34.326        49.194        .27356E-05   -1.4536    
  17  Prefactor     .10000E-03    14.934        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.5792        14.520        .75207E-05   -1.5280    
  19  norm          2.1030        1.2948        .27187E-05   -1.5418    
  20  Prefactor     .10000E-03    200.57        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.8198        .30559        .11456E-04   -.69148    
  22  Prefactor     .64542        .14456        .42565E-04   -1.0571    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53318e-09
Minuit parameter uncertainties:
  1  27.9821
  2  15.3263
  3  40.2485
  4  1.24437
  5  15.5263
  6  0.000136611
  7  4.49517e-06
  8  23.0449
  9  11.3426
  10  0.000177805
  11  1.93701e-05
  12  1.07729e-05
  13  0.000474489
  14  34.3309
  15  29.8238
  16  49.2526
  17  4.04744e-05
  18  14.5313
  19  1.29481
  20  0.00185434
  21  0.305914
  22  0.144648
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  1.937e-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:  6.454e-01  1.446e-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.820e+00  3.059e-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: 9.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/319934/likelihoodResults_644716801_644976001_4FGL_J1205.7-2635_daily_bin1564.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) = 6192.98718649
delta logL = -0.00121589889477

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6192.98597055
delta logL = 4.24370227847e-08

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.5201       1.0000          .0000       10.000    
     3 'Normalizat'    1.8198       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .64542       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=   6192.986     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      242 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10052E-03    81.398        .15093E-02** at limit **
   2  Index         2.4764        6.2157        .50000        .15868E-04
   3  Normalizat    1.8198        .29597E-01    .28640E-03    .22761E-04
   4  Prefactor     .64543        .14046E-01    .21283E-03    .21100E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100518
  Index      = 2.47644
  Normalizat = 1.81977
  Prefactor  = 0.645425
 **********
 **   18 **HESSE 
 **********

 FCN=   6192.986     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10052E-03    330.30        .30185E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4764        8.7484        .50000       -.52905    
   3  Normalizat    1.8198        .65209E-01    .57279E-04   -.69149    
   4  Prefactor     .64543        .30944E-01    .85130E-05   -1.0571    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.75167e-08
Minuit parameter uncertainties:
  1  0.0263078
  2  885.483
  3  0.065212
  4  0.0309447
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/319934': 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) = 6192.98597044
delta logL = 1.56916030392e-07

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.005e-04  2.631e-02  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.476e+00  8.855e+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:  6.454e-01  3.094e-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.820e+00  6.521e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/319934/cmap_HighResolution_644716801_644976001_4FGL_J1205.7-2635_daily_bin1564.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.68e-03', job_status='DONE', photon_flux_upper_limit='9.86e-08', time_completed='2021-09-05 00:00:36.059929', job_id='319934', GAL2='0.65', fit_tolerance='1e-08', EG2='1.82', EG='1.82', time_epoch_completed='1630825236.06', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.65', dlogl='1.57e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1564' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 00:00:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0048>
Subject: Job 319934: <4FGL_J1205.7-2635_daily_bin1564> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin1564> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 23:45:47 2021
Job was executed on host(s) <bullet0048>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 23:45:49 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:49 2021
Terminated at Sun Sep  5 00:00:36 2021
Results reported at Sun Sep  5 00:00:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1564 181.432 -26.5946 644716801 644976001 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 :                                   678.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             266.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   887 sec.
    Turnaround time :                            889 sec.

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

