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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1320
RA = 181.432, Dec = -26.5946
tmin = 581472001, tmax = 581731201
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='318677', job_status='RUN', time_executed='2021-09-04 23:43:37.483410', time_epoch_executed='1630824217.48' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1320'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/318677

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/318677/ft1_4FGL_J1205.7-2635_daily_bin1320.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/318677/ft2_4FGL_J1205.7-2635_daily_bin1320.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/318677/ft1_4FGL_J1205.7-2635_daily_bin1320.fits outfile=/scratch/kocevski/318677/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1320.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=581472001.0 tmax=581731201.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.78
user 2.60
sys 0.16

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/318677/ft1_filtered_4FGL_J1205.7-2635_daily_bin1320.fits" evtable="EVENTS" scfile=/scratch/kocevski/318677/ft2_4FGL_J1205.7-2635_daily_bin1320.fits sctable="SC_DATA" outfile=/scratch/kocevski/318677/ltcube_581472001_581731201_4FGL_J1205.7-2635_daily_bin1320.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/318677/ft2_4FGL_J1205.7-2635_daily_bin1320.fits
.....................!
real 12.88
user 12.45
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/318677/ft1_filtered_4FGL_J1205.7-2635_daily_bin1320.fits evtable="EVENTS" scfile=/scratch/kocevski/318677/ft2_4FGL_J1205.7-2635_daily_bin1320.fits sctable="SC_DATA" expcube=/scratch/kocevski/318677/ltcube_581472001_581731201_4FGL_J1205.7-2635_daily_bin1320.fits outfile=/scratch/kocevski/318677/expmap_581472001_581731201_4FGL_J1205.7-2635_daily_bin1320.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/318677/ltcube_581472001_581731201_4FGL_J1205.7-2635_daily_bin1320.fits
.....................!
real 191.06
user 185.93
sys 4.65

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/318677/ft1_filtered_4FGL_J1205.7-2635_daily_bin1320.fits scfile=/scratch/kocevski/318677/ft2_4FGL_J1205.7-2635_daily_bin1320.fits outfile=/scratch/kocevski/318677/cmap_581472001_581731201_4FGL_J1205.7-2635_daily_bin1320.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/318677/ft1_filtered_4FGL_J1205.7-2635_daily_bin1320.fits scfile=/scratch/kocevski/318677/ft2_4FGL_J1205.7-2635_daily_bin1320.fits outfile=/scratch/kocevski/318677/cmap_HighResolution_581472001_581731201_4FGL_J1205.7-2635_daily_bin1320.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/318677/ft1_filtered_4FGL_J1205.7-2635_daily_bin1320.fits evtable="EVENTS" scfile=/scratch/kocevski/318677/ft2_4FGL_J1205.7-2635_daily_bin1320.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/318677/Model_4FGL_J1205.7-2635_daily_bin1320.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/318677/ft1_filtered_4FGL_J1205.7-2635_daily_bin1320.fits.....................!
real 77.23
user 75.61
sys 1.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6573       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.0882       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.3752       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.508       1.0000         .10000E-03   10000.    
    10 'norm      '    .10350E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10377E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.8011       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    22.303       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .59974E-02   1.0000         .10000E-03   10000.    
    19 'norm      '    4.3850       1.0000         .10000E-03   10000.    
    20 'Prefactor '    118.21       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.6097       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .67616       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=   9296.170     FROM MIGRAD    STATUS=CONVERGED    831 CALLS     2719 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6578        14.720        .25006E-03   -.11184E-03
   2  Prefactor     .10000E-03    2.9358        .16112E-02** at limit **
   3  Prefactor     .10000E-03    30.523        .18142E-02** at limit **
   4  norm          1.0882        .78611        .70704E-04    .24923E-03
   5  Prefactor     .10000E-03    2.1703        .13865E-02** at limit **
   6  Prefactor     6.3745        4.7611        .15897E-03   -.34171E-03
   7  Prefactor     .10000E-03    6.5265        .18142E-02** at limit **
   8  norm          .10000E-03    4.5786        .18142E-02** at limit **
   9  Prefactor     14.494        12.288        .10516E-03    .45623E-04
  10  norm          .10001E-03    3.3989        .34223E-03** at limit **
  11  Prefactor     .10000E-03    1.7625        .12405E-02** at limit **
  12  Prefactor     .10000E-03    74.682        .18142E-02** at limit **
  13  Prefactor     .10000E-03    3.2034        .16838E-02** at limit **
  14  Prefactor     .10000E-03    8.6889        .18142E-02** at limit **
  15  Prefactor     4.8033        16.404        .18361E-03   -.48420E-04
  16  Prefactor     .10000E-03    43.853        .18142E-02** at limit **
  17  Prefactor     22.302        20.545        .84815E-04   -.25736E-04
  18  Prefactor     .10000E-03    7.2386        .76209E-01** at limit **
  19  norm          4.3849        1.1889        .52838E-04   -.51208E-04
  20  Prefactor     118.20        79.317        .37011E-04    .12287E-06
  21  Normalizat    1.6099        .23220        .28137E-03    .25616E-04
  22  Prefactor     .67609        .10831        .19807E-03   -.25208E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.65777
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.08825
  Prefactor  = 0.0001
  Prefactor  = 6.37453
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 14.4942
  norm       = 0.000100008
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.80333
  Prefactor  = 0.0001
  Prefactor  = 22.3018
  Prefactor  = 0.000100003
  norm       = 4.38492
  Prefactor  = 118.204
  Normalizat = 1.60987
  Prefactor  = 0.67609
 **********
 **   18 **HESSE 
 **********

 FCN=   9296.170     FROM HESSE     STATUS=OK           330 CALLS     3049 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6578        14.720        .10002E-04   -1.5382    
   2  Prefactor     .10000E-03    2.9360        .32224E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    30.528        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.0882        .78610        .14141E-04   -1.5499    
   5  Prefactor     .10000E-03    2.1704        .27730E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.3745        4.7610        .63586E-05   -1.5203    
   7  Prefactor     .10000E-03    6.5266        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    4.5787        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     14.494        12.288        .42062E-05   -1.4946    
  10  norm          .10001E-03    3.3989        .68446E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.7630        .24809E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    74.704        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.2036        .33676E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    8.6895        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.8033        16.401        .73443E-05   -1.5270    
  16  Prefactor     .10000E-03    43.857        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     22.302        20.548        .33926E-05   -1.4763    
  18  Prefactor     .10000E-03    6.8911        .79275E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          4.3849        1.1889        .21135E-05   -1.5289    
  20  Prefactor     118.20        79.313        .74021E-05   -1.3529    
  21  Normalizat    1.6099        .23247        .11255E-04   -.74736    
  22  Prefactor     .67609        .10843        .79230E-05   -1.0447    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.86412e-09
Minuit parameter uncertainties:
  1  12.5141
  2  2.58079e-05
  3  2.92284e-05
  4  0.786111
  5  1.32991e-06
  6  4.76127
  7  4.10003e-05
  8  2.57643e-06
  9  12.2903
  10  0.000339169
  11  2.34419e-05
  12  0.000519243
  13  1.14691e-06
  14  2.52557e-05
  15  16.4168
  16  2.31569e-05
  17  20.5544
  18  0.000278113
  19  1.18888
  20  79.3843
  21  0.232629
  22  0.108465
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  2.344e-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.761e-01  1.085e-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.610e+00  2.326e-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: 6.21e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/318677/likelihoodResults_581472001_581731201_4FGL_J1205.7-2635_daily_bin1320.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) = 9296.17285484
delta logL = -0.00270195562734

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9296.17015192
delta logL = 9.63711499935e-07

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 'Index     '    2.5002       1.0000          .0000       10.000    
     3 'Normalizat'    1.6099       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67609       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=   9296.170     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      261 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.416        .12833E-01** at limit **
   2  Index         1.9242        5.9543        .50000       -.30873E-06
   3  Normalizat    1.6099        .10154E-01    .28137E-03    .14479E-02
   4  Prefactor     .67609        .48989E-02    .19807E-03    .21186E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.92415
  Normalizat = 1.60987
  Prefactor  = 0.676093
 **********
 **   18 **HESSE 
 **********

 FCN=   9296.170     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      290 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    396.09        .30769E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9242        8.8614        .50000       -.66260    
   3  Normalizat    1.6099        .73900E-01    .56275E-04   -.74736    
   4  Prefactor     .67609        .35655E-01    .39615E-04   -1.0447    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.64145e-08
Minuit parameter uncertainties:
  1  0.000368775
  2  735.731
  3  0.0739047
  4  0.0356561
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/318677': 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) = 9296.17014238
delta logL = 1.05068320408e-05

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  1.000e-04  3.688e-04  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  1.924e+00  7.357e+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.761e-01  3.566e-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.610e+00  7.390e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/318677/cmap_HighResolution_581472001_581731201_4FGL_J1205.7-2635_daily_bin1320.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.84e-03', job_status='DONE', photon_flux_upper_limit='6.21e-08', time_completed='2021-09-04 23:57:57.361612', job_id='318677', GAL2='0.68', fit_tolerance='1e-08', EG2='1.61', EG='1.61', time_epoch_completed='1630825077.36', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.68', dlogl='1.05e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='1320' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 23:57:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0130>
Subject: Job 318677: <4FGL_J1205.7-2635_daily_bin1320> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin1320> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 23:41:24 2021
Job was executed on host(s) <bullet0130>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 23:41:27 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:27 2021
Terminated at Sat Sep  4 23:57:58 2021
Results reported at Sat Sep  4 23:57:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1320 181.432 -26.5946 581472001 581731201 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 :                                   853.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             327.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   990 sec.
    Turnaround time :                            994 sec.

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

