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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1250
RA = 181.432, Dec = -26.5946
tmin = 563328001, tmax = 563587201
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='318564', job_status='RUN', time_executed='2021-09-04 23:41:38.391650', time_epoch_executed='1630824098.39' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1250'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/318564

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/318564/ft1_4FGL_J1205.7-2635_daily_bin1250.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/318564/ft2_4FGL_J1205.7-2635_daily_bin1250.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/318564/ft1_4FGL_J1205.7-2635_daily_bin1250.fits outfile=/scratch/kocevski/318564/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1250.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=563328001.0 tmax=563587201.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.97
user 2.79
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/318564/ft1_filtered_4FGL_J1205.7-2635_daily_bin1250.fits" evtable="EVENTS" scfile=/scratch/kocevski/318564/ft2_4FGL_J1205.7-2635_daily_bin1250.fits sctable="SC_DATA" outfile=/scratch/kocevski/318564/ltcube_563328001_563587201_4FGL_J1205.7-2635_daily_bin1250.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/318564/ft2_4FGL_J1205.7-2635_daily_bin1250.fits
.....................!
real 12.39
user 12.01
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/318564/ft1_filtered_4FGL_J1205.7-2635_daily_bin1250.fits evtable="EVENTS" scfile=/scratch/kocevski/318564/ft2_4FGL_J1205.7-2635_daily_bin1250.fits sctable="SC_DATA" expcube=/scratch/kocevski/318564/ltcube_563328001_563587201_4FGL_J1205.7-2635_daily_bin1250.fits outfile=/scratch/kocevski/318564/expmap_563328001_563587201_4FGL_J1205.7-2635_daily_bin1250.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/318564/ltcube_563328001_563587201_4FGL_J1205.7-2635_daily_bin1250.fits
.....................!
real 189.80
user 185.33
sys 3.98

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/318564/ft1_filtered_4FGL_J1205.7-2635_daily_bin1250.fits scfile=/scratch/kocevski/318564/ft2_4FGL_J1205.7-2635_daily_bin1250.fits outfile=/scratch/kocevski/318564/cmap_563328001_563587201_4FGL_J1205.7-2635_daily_bin1250.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=181.432 yref=-26.5946 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/318564/ft1_filtered_4FGL_J1205.7-2635_daily_bin1250.fits scfile=/scratch/kocevski/318564/ft2_4FGL_J1205.7-2635_daily_bin1250.fits outfile=/scratch/kocevski/318564/cmap_HighResolution_563328001_563587201_4FGL_J1205.7-2635_daily_bin1250.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/318564/ft1_filtered_4FGL_J1205.7-2635_daily_bin1250.fits evtable="EVENTS" scfile=/scratch/kocevski/318564/ft2_4FGL_J1205.7-2635_daily_bin1250.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/318564/Model_4FGL_J1205.7-2635_daily_bin1250.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/318564/ft1_filtered_4FGL_J1205.7-2635_daily_bin1250.fits.....................!
real 62.17
user 60.85
sys 1.12

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.1821       1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.401       1.0000         .10000E-03   10000.    
     4 'norm      '    .42080       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .23738E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .12333E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    32.633       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10198E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .52705E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.4907       1.0000         .10000E-03   10000.    
    12 'Prefactor '    45.864       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    83.112       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10883E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11596E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    35.668       1.0000         .10000E-03   10000.    
    19 'norm      '    3.1212       1.0000         .10000E-03   10000.    
    20 'Prefactor '    75.189       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3653       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .91059       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=   6785.279     FROM MIGRAD    STATUS=CONVERGED    458 CALLS     2381 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    16.355        .39754E-07** at limit **
   2  Prefactor     8.1883        8.5173        .35776E-07   -.32919E-04
   3  Prefactor     19.415        20.591       -.60590E-06   -.26621E-04
   4  norm          .42074        .96139        .56377E-07    .19008E-03
   5  Prefactor     .10000E-03    5.3684       -.16287E-07** at limit **
   6  Prefactor     .10000E-03    4.8405        .87971E-06** at limit **
   7  Prefactor     .10000E-03    35.246        .34196E-06** at limit **
   8  norm          32.656        19.507       -.66058E-06   -.52552E-04
   9  Prefactor     .10000E-03    16.396        .15393E-06** at limit **
  10  norm          .10004E-03    2.3146       -.71979E-06** at limit **
  11  Prefactor     3.4897        10.670       -.40282E-06    .70732E-04
  12  Prefactor     45.866        46.909       -.47520E-06    .33909E-04
  13  Prefactor     .10000E-03    12.987        .32346E-06** at limit **
  14  Prefactor     83.019        60.218        .41788E-05    .98327E-04
  15  Prefactor     .10000E-03    9.9918        .12600E-06** at limit **
  16  Prefactor     .10000E-03    16.725       -.81177E-07** at limit **
  17  Prefactor     .10000E-03    11.248       -.78002E-06** at limit **
  18  Prefactor     35.671        22.987        .25929E-06   -.86890E-05
  19  norm          3.1215        1.7487        .11514E-06    .51055E-04
  20  Prefactor     75.360        163.01       -.11388E-04   -.27442E-04
  21  Normalizat    1.3649        .25709       -.17491E-05   -.28076E-04
  22  Prefactor     .91065        .12011        .36891E-06   -.14115E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 8.18832
  Prefactor  = 19.4151
  norm       = 0.420735
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  norm       = 32.6556
  Prefactor  = 0.0001
  norm       = 0.000100038
  Prefactor  = 3.48973
  Prefactor  = 45.8663
  Prefactor  = 0.0001
  Prefactor  = 83.0193
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 35.6706
  norm       = 3.12154
  Prefactor  = 75.3604
  Normalizat = 1.36494
  Prefactor  = 0.910649
 **********
 **   18 **HESSE 
 **********

 FCN=   6785.279     FROM HESSE     STATUS=OK           344 CALLS     2725 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    16.379        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     8.1883        8.5181        .14016E-03   -1.5136    
   3  Prefactor     19.415        20.588        .90932E-04   -1.4826    
   4  norm          .42074        .88327        .11729E-02   -1.5578    
   5  Prefactor     .10000E-03    5.3986        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    12.489        .33344E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    35.314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          32.656        19.511        .70144E-04   -1.4564    
   9  Prefactor     .10000E-03    16.629        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10004E-03    12.524        .22531E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.4897        10.806        .10821E-02   -1.5334    
  12  Prefactor     45.866        46.496        .59204E-04   -1.4352    
  13  Prefactor     .10000E-03    13.062        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     83.019        60.877        .22030E-03   -1.3883    
  15  Prefactor     .10000E-03    10.001        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    16.730        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    11.273        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     35.671        22.979        .67102E-04   -1.4513    
  19  norm          3.1215        1.7457        .77826E-04   -1.5355    
  20  Prefactor     75.360        163.34        .23153E-03   -1.3970    
  21  Normalizat    1.3649        .29827        .32993E-03   -.81648    
  22  Prefactor     .91065        .14333        .19327E-03   -.95770    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.37633e-09
Minuit parameter uncertainties:
  1  5.13776e-06
  2  8.51935
  3  20.5956
  4  0.883298
  5  2.05817e-06
  6  0.000429284
  7  1.12594e-05
  8  19.5146
  9  6.78603e-05
  10  0.0013737
  11  10.8117
  12  46.5328
  13  1.60784e-05
  14  60.9232
  15  2.26187e-06
  16  4.86147e-06
  17  3.58883e-05
  18  22.9844
  19  1.74575
  20  164.323
  21  0.298648
  22  0.143394
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  3.490e+00  1.081e+01  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:  9.106e-01  1.434e-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.365e+00  2.986e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/318564/likelihoodResults_563328001_563587201_4FGL_J1205.7-2635_daily_bin1250.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) = 6783.88984732
delta logL = 1.38942602206

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6783.75294163
delta logL = 1.52633170601

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16739E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    7.8721       1.0000          .0000       10.000    
     3 'Normalizat'    1.2538       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95128       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=   6783.753     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      421 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16279E-02    .16871E-01    .55445E-03** at limit **
   2  Index         7.8873        2.6884        .15554       -.41743E-04
   3  Normalizat    1.2546        .64418E-01    .77068E-01    .10951E-03
   4  Prefactor     .95109        .31790E-01    .45655E-01    .26951E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00162788
  Index      = 7.88728
  Normalizat = 1.25462
  Prefactor  = 0.951086
 **********
 **   18 **HESSE 
 **********

 FCN=   6783.753     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      454 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16279E-02    .39173E-01    .22674E-04   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.8873        7.9370        .62747E-02    .61561    
   3  Normalizat    1.2546        .22613        .34111E-03   -.84931    
   4  Prefactor     .95109        .11020        .18947E-03   -.94378    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.64404e-10
Minuit parameter uncertainties:
  1  0.0154728
  2  5.12632
  3  0.226304
  4  0.110227
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/318564': 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) = 6783.7529313
delta logL = 1.52634204016

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.628e-03  1.547e-02  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  7.887e+00  5.126e+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:  9.511e-01  1.102e-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.255e+00  2.263e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.43
Ra Dec: 181.432 -26.595
Photon Index (Free Index): 7.89 +/- 5.13
Photon Flux (Free Index): 1.22e-07 +/- 7.94e-08
Energy Flux (Free Index): 1.42e-05 +/- 9.95e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/318564/cmap_HighResolution_563328001_563587201_4FGL_J1205.7-2635_daily_bin1250.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.45e-02', comment='SUCCESS', energy_flux2='1.42e-05', dlogl='1.53e+00', photon_flux2='1.22e-07', job_status='DONE', time_completed='2021-09-04 23:53:12.155305', photon_index_error2='5.13', photon_index2='7.89', ts='0.20', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='1.86e-07', energy_flux_error2='9.95e-06', EG='1.36', time_epoch_completed='1630824792.16', return_code='0', job_id='318564', GAL2='0.95', EG2='1.25', return_code2='102', photon_flux_error2='7.94e-08', ts2='3.43', photon_index='2.53' WHERE bin_id='1250' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:53:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0047>
Subject: Job 318564: <4FGL_J1205.7-2635_daily_bin1250> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin1250> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 23:41:14 2021
Job was executed on host(s) <bullet0047>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 23:41:16 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:16 2021
Terminated at Sat Sep  4 23:53:12 2021
Results reported at Sat Sep  4 23:53:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1250 181.432 -26.5946 563328001 563587201 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 :                                   687.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             304.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   716 sec.
    Turnaround time :                            718 sec.

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

