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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1226
RA = 181.432, Dec = -26.5946
tmin = 557107201, tmax = 557366401
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='318527', job_status='RUN', time_executed='2021-09-04 23:42:43.787526', time_epoch_executed='1630824163.79' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1226'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/318527

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/318527/ft1_4FGL_J1205.7-2635_daily_bin1226.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/318527/ft2_4FGL_J1205.7-2635_daily_bin1226.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/318527/ft1_4FGL_J1205.7-2635_daily_bin1226.fits outfile=/scratch/kocevski/318527/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1226.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=557107201.0 tmax=557366401.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.71
user 3.42
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/318527/ft1_filtered_4FGL_J1205.7-2635_daily_bin1226.fits" evtable="EVENTS" scfile=/scratch/kocevski/318527/ft2_4FGL_J1205.7-2635_daily_bin1226.fits sctable="SC_DATA" outfile=/scratch/kocevski/318527/ltcube_557107201_557366401_4FGL_J1205.7-2635_daily_bin1226.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/318527/ft2_4FGL_J1205.7-2635_daily_bin1226.fits
.....................!
real 12.31
user 11.80
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/318527/ft1_filtered_4FGL_J1205.7-2635_daily_bin1226.fits evtable="EVENTS" scfile=/scratch/kocevski/318527/ft2_4FGL_J1205.7-2635_daily_bin1226.fits sctable="SC_DATA" expcube=/scratch/kocevski/318527/ltcube_557107201_557366401_4FGL_J1205.7-2635_daily_bin1226.fits outfile=/scratch/kocevski/318527/expmap_557107201_557366401_4FGL_J1205.7-2635_daily_bin1226.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/318527/ltcube_557107201_557366401_4FGL_J1205.7-2635_daily_bin1226.fits
.....................!
real 192.42
user 185.80
sys 5.33

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/318527/ft1_filtered_4FGL_J1205.7-2635_daily_bin1226.fits scfile=/scratch/kocevski/318527/ft2_4FGL_J1205.7-2635_daily_bin1226.fits outfile=/scratch/kocevski/318527/cmap_557107201_557366401_4FGL_J1205.7-2635_daily_bin1226.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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/318527/ft1_filtered_4FGL_J1205.7-2635_daily_bin1226.fits scfile=/scratch/kocevski/318527/ft2_4FGL_J1205.7-2635_daily_bin1226.fits outfile=/scratch/kocevski/318527/cmap_HighResolution_557107201_557366401_4FGL_J1205.7-2635_daily_bin1226.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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/318527/ft1_filtered_4FGL_J1205.7-2635_daily_bin1226.fits evtable="EVENTS" scfile=/scratch/kocevski/318527/ft2_4FGL_J1205.7-2635_daily_bin1226.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/318527/Model_4FGL_J1205.7-2635_daily_bin1226.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/318527/ft1_filtered_4FGL_J1205.7-2635_daily_bin1226.fits.....................!
real 66.22
user 64.53
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.4314       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .41929E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    61.130       1.0000         .10000E-03   10000.    
     8 'norm      '    .10026E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    29.553       1.0000         .10000E-03   10000.    
    10 'norm      '    .15146E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    9.2840       1.0000         .10000E-03   10000.    
    12 'Prefactor '    22.422       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    2.2323       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .83848       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.6287       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .83307       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=   7341.018     FROM MIGRAD    STATUS=CONVERGED    473 CALLS     2384 TOTAL
                     EDM=   .79E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.284       -.12858E-06** at limit **
   2  Prefactor     .10000E-03    3.4554        .28399E-08** at limit **
   3  Prefactor     .10000E-03    32.441        .28032E-06** at limit **
   4  norm          .10000E-03    .86691        .25238E-08** at limit **
   5  Prefactor     2.4339        11.598        .24622E-05    .31193E-03
   6  Prefactor     .10001E-03    14.128        .69213E-05** at limit **
   7  Prefactor     61.127        40.435        .10436E-05    .43271E-04
   8  norm          .10000E-03    19.478       -.87483E-07** at limit **
   9  Prefactor     29.542        24.962        .53083E-06    .24698E-03
  10  norm          .10000E-03    5.1857       -.56582E-06** at limit **
  11  Prefactor     9.2803        7.1596        .28124E-06    .28402E-03
  12  Prefactor     22.411        67.473        .34861E-05    .12663E-03
  13  Prefactor     .10000E-03    6.5407       -.14402E-08** at limit **
  14  Prefactor     .10000E-03    28.665       -.38041E-06** at limit **
  15  Prefactor     .10000E-03    17.170       -.28542E-06** at limit **
  16  Prefactor     .10001E-03    76.848        .13170E-05** at limit **
  17  Prefactor     2.2285        66.831        .26413E-05    .63752E-04
  18  Prefactor     .10000E-03    3.6086       -.16954E-07** at limit **
  19  norm          .83866        .80262        .18132E-07    .18506E-03
  20  Prefactor     .10002E-03    100.19       -.29847E-05** at limit **
  21  Normalizat    1.6294        .25093       -.52218E-07    .57550E-04
  22  Prefactor     .83278        .11089        .12819E-07    .22737E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.4339
  Prefactor  = 0.000100008
  Prefactor  = 61.1267
  norm       = 0.0001
  Prefactor  = 29.5421
  norm       = 0.0001
  Prefactor  = 9.28032
  Prefactor  = 22.4112
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 2.22849
  Prefactor  = 0.0001
  norm       = 0.838659
  Prefactor  = 0.00010002
  Normalizat = 1.62942
  Prefactor  = 0.832783
 **********
 **   18 **HESSE 
 **********

 FCN=   7341.018     FROM HESSE     STATUS=OK           332 CALLS     2716 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.290        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.4573        .15554E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    32.477        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    .88204        .77886E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.4339        12.255        .26243E-03   -1.5396    
   6  Prefactor     .10001E-03    14.553        .35976E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     61.127        39.522        .51319E-04   -1.4143    
   8  norm          .10000E-03    19.562        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     29.542        25.041        .73700E-04   -1.4620    
  10  norm          .10000E-03    5.2607        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.2803        7.1388        .13153E-03   -1.5099    
  12  Prefactor     22.411        68.312        .84590E-04   -1.4761    
  13  Prefactor     .10000E-03    6.5622        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    28.789        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    17.217        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10001E-03    77.777        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     2.2285        67.546        .27515E-03   -1.5409    
  18  Prefactor     .10000E-03    3.6111        .15896E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .83866        .78772        .72248E-04   -1.5525    
  20  Prefactor     .10002E-03    102.13        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.6294        .29901        .32059E-03   -.74204    
  22  Prefactor     .83278        .13292        .19474E-03   -.98531    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.87813e-09
Minuit parameter uncertainties:
  1  4.70808e-05
  2  9.80568e-07
  3  0.000153505
  4  3.04185e-07
  5  10.9263
  6  0.000663461
  7  39.539
  8  4.22369e-05
  9  25.05
  10  9.73991e-05
  11  7.13945
  12  68.5522
  13  1.12197e-06
  14  0.000259176
  15  5.21842e-05
  16  0.00134117
  17  24.5678
  18  2.25285e-06
  19  0.787727
  20  0.00288406
  21  0.299343
  22  0.132968
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  9.280e+00  7.139e+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.328e-01  1.330e-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.629e+00  2.993e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.76
Ra Dec: 181.432 -26.595
Photon Index (Fixed Index): 2.53 +/- 0.00
Photon Flux (Fixed Index): 8.59e-08 +/- 6.60e-08
Energy Flux (Fixed Index): 2.42e-05 +/- 1.86e-05

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

Saving results to:
/scratch/kocevski/318527/likelihoodResults_557107201_557366401_4FGL_J1205.7-2635_daily_bin1226.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) = 7340.96037498
delta logL = 0.0575372109597

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7340.95271536
delta logL = 0.065196823668

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.8379       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2264       1.0000          .0000       10.000    
     3 'Normalizat'    1.6599       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82405       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5720E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7340.953     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      212 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.8355        239.07        .31940E-02    .80714E-04
   2  Index         2.2260        5.7662        .24631       -.15164E-04
   3  Normalizat    1.6593        .17511        .71965E-01    .15029E-04
   4  Prefactor     .82412        .52943E-01    .44029E-01   -.15944E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.83546
  Index      = 2.22604
  Normalizat = 1.65928
  Prefactor  = 0.824117
 **********
 **   18 **HESSE 
 **********

 FCN=   7340.953     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.8355        7.9790        .12776E-03   -1.5081    
   2  Index         2.2260        .78556        .10053E-01   -.58811    
   3  Normalizat    1.6593        .29674        .31838E-03   -.73396    
   4  Prefactor     .82412        .13205        .19566E-03   -.98845    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.64862e-10
Minuit parameter uncertainties:
  1  7.97991
  2  0.790302
  3  0.297053
  4  0.132105
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/318527': 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) = 7340.95270773
delta logL = 0.0652044561712

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  9.835e+00  7.980e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.226e+00  7.903e-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:  8.241e-01  1.321e-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.659e+00  2.971e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.90
Ra Dec: 181.432 -26.595
Photon Index (Free Index): 2.23 +/- 0.79
Photon Flux (Free Index): 6.27e-08 +/- 7.93e-08
Energy Flux (Free Index): 2.68e-05 +/- 2.46e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/318527/cmap_HighResolution_557107201_557366401_4FGL_J1205.7-2635_daily_bin1226.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.71e-02', comment='SUCCESS', photon_flux='8.59e-08', energy_flux2='2.68e-05', photon_flux_error='6.60e-08', dlogl='6.52e-02', energy_flux='2.42e-05', photon_flux2='6.27e-08', job_status='DONE', time_completed='2021-09-04 23:54:30.751803', photon_index_error2='0.79', photon_index2='2.23', ts='2.76', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', photon_flux_upper_limit='2.20e-07', energy_flux_error2='2.46e-05', EG='1.63', time_epoch_completed='1630824870.75', return_code='0', job_id='318527', GAL2='0.82', EG2='1.66', return_code2='0', energy_flux_error='1.86e-05', photon_flux_error2='7.93e-08', ts2='2.90', photon_index='2.53' WHERE bin_id='1226' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:54:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 318527: <4FGL_J1205.7-2635_daily_bin1226> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin1226> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 23:41:11 2021
Job was executed on host(s) <bullet0052>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 23:41:13 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:41:13 2021
Terminated at Sat Sep  4 23:54:31 2021
Results reported at Sat Sep  4 23:54:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1226 181.432 -26.5946 557107201 557366401 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 :                                   701.31 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             300.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   798 sec.
    Turnaround time :                            800 sec.

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

