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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin180
RA = 181.432, Dec = -26.5946
tmin = 285984001, tmax = 286243201
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='313623', job_status='RUN', time_executed='2021-09-04 23:28:16.837602', time_epoch_executed='1630823296.84' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='180'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/313623

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/313623/ft1_4FGL_J1205.7-2635_daily_bin180.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/313623/ft2_4FGL_J1205.7-2635_daily_bin180.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/313623/ft1_4FGL_J1205.7-2635_daily_bin180.fits outfile=/scratch/kocevski/313623/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin180.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=285984001.0 tmax=286243201.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.35
user 3.14
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/313623/ft2_4FGL_J1205.7-2635_daily_bin180.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/313623/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin180.fits evtable="EVENTS" outfile="/scratch/kocevski/313623/ft1_filtered_4FGL_J1205.7-2635_daily_bin180.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/313623/ft1_filtered_4FGL_J1205.7-2635_daily_bin180.fits" evtable="EVENTS" scfile=/scratch/kocevski/313623/ft2_4FGL_J1205.7-2635_daily_bin180.fits sctable="SC_DATA" outfile=/scratch/kocevski/313623/ltcube_285984001_286243201_4FGL_J1205.7-2635_daily_bin180.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/313623/ft2_4FGL_J1205.7-2635_daily_bin180.fits
.....................!
real 11.77
user 11.41
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/313623/ft1_filtered_4FGL_J1205.7-2635_daily_bin180.fits evtable="EVENTS" scfile=/scratch/kocevski/313623/ft2_4FGL_J1205.7-2635_daily_bin180.fits sctable="SC_DATA" expcube=/scratch/kocevski/313623/ltcube_285984001_286243201_4FGL_J1205.7-2635_daily_bin180.fits outfile=/scratch/kocevski/313623/expmap_285984001_286243201_4FGL_J1205.7-2635_daily_bin180.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/313623/ltcube_285984001_286243201_4FGL_J1205.7-2635_daily_bin180.fits
.....................!
real 191.50
user 185.59
sys 5.35

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/313623/ft1_filtered_4FGL_J1205.7-2635_daily_bin180.fits scfile=/scratch/kocevski/313623/ft2_4FGL_J1205.7-2635_daily_bin180.fits outfile=/scratch/kocevski/313623/cmap_285984001_286243201_4FGL_J1205.7-2635_daily_bin180.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.57
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/313623/ft1_filtered_4FGL_J1205.7-2635_daily_bin180.fits scfile=/scratch/kocevski/313623/ft2_4FGL_J1205.7-2635_daily_bin180.fits outfile=/scratch/kocevski/313623/cmap_HighResolution_285984001_286243201_4FGL_J1205.7-2635_daily_bin180.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.56
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/313623/ft1_filtered_4FGL_J1205.7-2635_daily_bin180.fits evtable="EVENTS" scfile=/scratch/kocevski/313623/ft2_4FGL_J1205.7-2635_daily_bin180.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/313623/Model_4FGL_J1205.7-2635_daily_bin180.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/313623/ft1_filtered_4FGL_J1205.7-2635_daily_bin180.fits.....................!
real 54.31
user 52.64
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.465       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .16043E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    39.432       1.0000         .10000E-03   10000.    
     8 'norm      '    3.1766       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.4967       1.0000         .10000E-03   10000.    
    10 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.124       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    35.430       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.2073       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10100E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    20.914       1.0000         .10000E-03   10000.    
    19 'norm      '    .50147       1.0000         .10000E-03   10000.    
    20 'Prefactor '    84.665       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3487       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .89014       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=   5675.574     FROM MIGRAD    STATUS=CONVERGED    462 CALLS     2365 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.462        28.373        .25112E-06    .21412E-04
   2  Prefactor     .10000E-03    9.2709       -.10914E-06** at limit **
   3  Prefactor     .10000E-03    20.969       -.18856E-06** at limit **
   4  norm          .10000E-03    .62673        .40643E-09** at limit **
   5  Prefactor     .10000E-03    11.476       -.81483E-06** at limit **
   6  Prefactor     .10011E-03    13.354        .44613E-05** at limit **
   7  Prefactor     39.468        48.161        .27155E-05   -.15407E-03
   8  norm          3.1719        20.243        .22178E-06    .19029E-04
   9  Prefactor     4.4976        10.888        .57220E-06    .90267E-04
  10  norm          .10000E-03    2.7514       -.56074E-06** at limit **
  11  Prefactor     16.127        9.2278       -.26618E-06   -.71716E-03
  12  Prefactor     .10000E-03    26.362       -.15827E-05** at limit **
  13  Prefactor     35.424        20.788        .99257E-07    .74946E-04
  14  Prefactor     .10000E-03    21.041       -.10602E-05** at limit **
  15  Prefactor     .10000E-03    18.988       -.27169E-05** at limit **
  16  Prefactor     1.0207        1253.6       -.28900E-04   -.32628E-04
  17  Prefactor     .10000E-03    12.850        .32613E-06** at limit **
  18  Prefactor     20.922        21.034       -.85522E-06   -.12071E-03
  19  norm          .50109        1.0686       -.93979E-06   -.19865E-02
  20  Prefactor     84.638        150.34        .32321E-05    .49906E-04
  21  Normalizat    1.3490        .27430        .16171E-05   -.19425E-03
  22  Prefactor     .89012        .12536        .17405E-06   -.25564E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.4616
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100113
  Prefactor  = 39.4685
  norm       = 3.1719
  Prefactor  = 4.49762
  norm       = 0.0001
  Prefactor  = 16.1273
  Prefactor  = 0.000100001
  Prefactor  = 35.4237
  Prefactor  = 0.000100001
  Prefactor  = 0.000100005
  Prefactor  = 1.02071
  Prefactor  = 0.0001
  Prefactor  = 20.9223
  norm       = 0.501089
  Prefactor  = 84.6378
  Normalizat = 1.34896
  Prefactor  = 0.890117
 **********
 **   18 **HESSE 
 **********

 FCN=   5675.574     FROM HESSE     STATUS=OK           342 CALLS     2707 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.462        28.370        .98705E-04   -1.4896    
   2  Prefactor     .10000E-03    9.3580        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    20.976        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    .88084        .11621E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    11.580        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10011E-03    21.716        .35320E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     39.468        46.446        .63830E-04   -1.4451    
   8  norm          3.1719        20.279        .22738E-03   -1.5352    
   9  Prefactor     4.4976        10.890        .94934E-03   -1.5284    
  10  norm          .10000E-03    2.7874        .12225E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     16.127        9.2713        .49872E-03   -1.4905    
  12  Prefactor     .10000E-03    26.487        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     35.424        20.801        .67327E-04   -1.4517    
  14  Prefactor     .10000E-03    21.083        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    19.282        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.0207        1404.8        .41220E-02   -1.5506    
  17  Prefactor     .10000E-03    12.866        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     20.922        21.048        .87584E-04   -1.4793    
  19  norm          .50109        1.0581        .11484E-02   -1.5566    
  20  Prefactor     84.638        150.92        .43658E-04   -1.3865    
  21  Normalizat    1.3490        .32487        .33682E-03   -.82116    
  22  Prefactor     .89012        .14936        .18912E-03   -.96487    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.05415e-09
Minuit parameter uncertainties:
  1  28.3933
  2  1.89881e-05
  3  3.44757e-05
  4  1.8121e-06
  5  0.000102697
  6  0.00313104
  7  46.4889
  8  16.048
  9  10.8948
  10  4.79626e-05
  11  9.27214
  12  0.000394016
  13  20.8056
  14  0.000208575
  15  0.000606446
  16  77.6312
  17  3.98715e-05
  18  21.0551
  19  1.05815
  20  151.61
  21  0.325365
  22  0.149431
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.613e+01  9.272e+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:  8.901e-01  1.494e-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.349e+00  3.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.44
Ra Dec: 181.432 -26.595
Photon Index (Fixed Index): 2.53 +/- 0.00
Photon Flux (Fixed Index): 1.49e-07 +/- 8.57e-08
Energy Flux (Fixed Index): 4.20e-05 +/- 2.41e-05

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) = 5675.37266992
delta logL = 0.201562604255

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5675.36146415
delta logL = 0.212768378798

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.806       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8823       1.0000          .0000       10.000    
     3 'Normalizat'    1.3006       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90481       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=   5675.361     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      305 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.812        10.161        .55967E-03    .11110E-03
   2  Index         2.8826        .61048        .52550E-02    .39294E-03
   3  Normalizat    1.3012        .32796        .34181E-03   -.20289E-05
   4  Prefactor     .90442        .15017        .18776E-03   -.53283E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.8119
  Index      = 2.88264
  Normalizat = 1.30118
  Prefactor  = 0.904422
 **********
 **   18 **HESSE 
 **********

 FCN=   5675.361     FROM HESSE     STATUS=OK            27 CALLS      332 TOTAL
                     EDM=   .25E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.812        9.5342        .11193E-03   -1.4992    
   2  Index         2.8826        .57240        .10510E-02   -.43727    
   3  Normalizat    1.3012        .32781        .13672E-04   -.83531    
   4  Prefactor     .90442        .15009        .75104E-05   -.95987    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.48655e-14
Minuit parameter uncertainties:
  1  9.53537
  2  0.57393
  3  0.328334
  4  0.150157
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/313623': 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) = 5675.36145862
delta logL = 0.212773911925

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.281e+01  9.535e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.883e+00  5.739e-01  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.044e-01  1.502e-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.301e+00  3.283e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.92
Ra Dec: 181.432 -26.595
Photon Index (Free Index): 2.88 +/- 0.57
Photon Flux (Free Index): 1.92e-07 +/- 1.14e-07
Energy Flux (Free Index): 4.09e-05 +/- 2.14e-05

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/313623/cmap_HighResolution_285984001_286243201_4FGL_J1205.7-2635_daily_bin180.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.49e-07', energy_flux2='4.09e-05', photon_flux_error='8.57e-08', dlogl='2.13e-01', energy_flux='4.20e-05', photon_flux2='1.92e-07', job_status='DONE', time_completed='2021-09-04 23:37:34.311832', photon_index_error2='0.57', photon_index2='2.88', ts='5.44', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', energy_flux_error2='2.14e-05', EG='1.35', time_epoch_completed='1630823854.31', return_code='0', job_id='313623', GAL2='0.90', EG2='1.30', return_code2='0', energy_flux_error='2.41e-05', photon_flux_error2='1.14e-07', ts2='5.92', photon_index='2.53' WHERE bin_id='180' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:37:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 313623: <4FGL_J1205.7-2635_daily_bin180> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin180 181.432 -26.5946 285984001 286243201 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 :                                   555.18 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             282.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   721 sec.
    Turnaround time :                            723 sec.

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

