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


Performing analysis on: 4FGL_J1205.7-2635_daily_bin1461
RA = 181.432, Dec = -26.5946
tmin = 618019201, tmax = 618278401
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='319772', job_status='RUN', time_executed='2021-09-04 23:46:27.617551', time_epoch_executed='1630824387.62' WHERE source_name='4FGL J1205.7-2635' and cadence='daily' and bin_id='1461'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/319772

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/319772/ft1_4FGL_J1205.7-2635_daily_bin1461.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/319772/ft2_4FGL_J1205.7-2635_daily_bin1461.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/319772/ft1_4FGL_J1205.7-2635_daily_bin1461.fits outfile=/scratch/kocevski/319772/ft1_filteredMKT_4FGL_J1205.7-2635_daily_bin1461.fits ra=181.432 dec=-26.5946 rad=12.0 tmin=618019201.0 tmax=618278401.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 5.13
user 4.91
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/319772/ft1_filtered_4FGL_J1205.7-2635_daily_bin1461.fits" evtable="EVENTS" scfile=/scratch/kocevski/319772/ft2_4FGL_J1205.7-2635_daily_bin1461.fits sctable="SC_DATA" outfile=/scratch/kocevski/319772/ltcube_618019201_618278401_4FGL_J1205.7-2635_daily_bin1461.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/319772/ft2_4FGL_J1205.7-2635_daily_bin1461.fits
.....................!
real 11.58
user 11.25
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/319772/ft1_filtered_4FGL_J1205.7-2635_daily_bin1461.fits evtable="EVENTS" scfile=/scratch/kocevski/319772/ft2_4FGL_J1205.7-2635_daily_bin1461.fits sctable="SC_DATA" expcube=/scratch/kocevski/319772/ltcube_618019201_618278401_4FGL_J1205.7-2635_daily_bin1461.fits outfile=/scratch/kocevski/319772/expmap_618019201_618278401_4FGL_J1205.7-2635_daily_bin1461.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/319772/ltcube_618019201_618278401_4FGL_J1205.7-2635_daily_bin1461.fits
.....................!
real 191.68
user 186.61
sys 4.73

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/319772/ft1_filtered_4FGL_J1205.7-2635_daily_bin1461.fits scfile=/scratch/kocevski/319772/ft2_4FGL_J1205.7-2635_daily_bin1461.fits outfile=/scratch/kocevski/319772/cmap_618019201_618278401_4FGL_J1205.7-2635_daily_bin1461.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/319772/ft1_filtered_4FGL_J1205.7-2635_daily_bin1461.fits scfile=/scratch/kocevski/319772/ft2_4FGL_J1205.7-2635_daily_bin1461.fits outfile=/scratch/kocevski/319772/cmap_HighResolution_618019201_618278401_4FGL_J1205.7-2635_daily_bin1461.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.55
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/319772/ft1_filtered_4FGL_J1205.7-2635_daily_bin1461.fits evtable="EVENTS" scfile=/scratch/kocevski/319772/ft2_4FGL_J1205.7-2635_daily_bin1461.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/319772/Model_4FGL_J1205.7-2635_daily_bin1461.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/319772/ft1_filtered_4FGL_J1205.7-2635_daily_bin1461.fits.....................!
real 83.19
user 81.82
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.0069       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.7628       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .77273       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .78625       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.2227       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.2717       1.0000         .10000E-03   10000.    
     8 'norm      '    19.885       1.0000         .10000E-03   10000.    
     9 'Prefactor '    50.393       1.0000         .10000E-03   10000.    
    10 'norm      '    .10108E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.3083       1.0000         .10000E-03   10000.    
    12 'Prefactor '    29.110       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.647       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.0920       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10322E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    3.0789       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.5919       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .21638E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2720       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .82471       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=   10360.60     FROM MIGRAD    STATUS=CONVERGED    509 CALLS     2446 TOTAL
                     EDM=   .21E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.9889        34.591       -.62006E-05   -.94554E-05
   2  Prefactor     7.7650        12.294        .24063E-05    .13950E-04
   3  Prefactor     .10000E-03    16.463       -.25577E-06** at limit **
   4  norm          .77295        1.0665        .24507E-07    .37026E-04
   5  Prefactor     .78798        .62304       -.13016E-06   -.12355E-03
   6  Prefactor     1.2233        3.8072        .65688E-06    .85317E-04
   7  Prefactor     4.2728        17.140       -.67204E-05   -.10924E-04
   8  norm          19.887        18.091        .30452E-06   -.27901E-05
   9  Prefactor     50.327        17.833        .31955E-06    .71261E-04
  10  norm          .10000E-03    3.8445       -.10355E-06** at limit **
  11  Prefactor     6.3100        4.9277       -.39234E-06   -.54891E-04
  12  Prefactor     29.105        25.444       -.65944E-06    .28572E-05
  13  Prefactor     .10000E-03    3.4077        .90100E-08** at limit **
  14  Prefactor     16.645        20.422        .34961E-05   -.15672E-04
  15  Prefactor     3.0929        10.778        .93707E-06   -.12961E-04
  16  Prefactor     .10000E-03    17.933        .17962E-06** at limit **
  17  Prefactor     3.0852        20.957        .53021E-05   -.95314E-05
  18  Prefactor     .10000E-03    7.4017       -.30845E-07** at limit **
  19  norm          3.5916        .94671        .10519E-08   -.80078E-04
  20  Prefactor     .10000E-03    206.45       -.85913E-06** at limit **
  21  Normalizat    1.2718        .19023       -.98073E-06    .15865E-04
  22  Prefactor     .82472        .89815E-01    .10390E-06   -.10465E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.98885
  Prefactor  = 7.76505
  Prefactor  = 0.0001
  norm       = 0.772948
  Prefactor  = 0.787979
  Prefactor  = 1.2233
  Prefactor  = 4.27277
  norm       = 19.8867
  Prefactor  = 50.3267
  norm       = 0.0001
  Prefactor  = 6.30997
  Prefactor  = 29.1047
  Prefactor  = 0.0001
  Prefactor  = 16.6446
  Prefactor  = 3.09292
  Prefactor  = 0.0001
  Prefactor  = 3.08522
  Prefactor  = 0.0001
  norm       = 3.59162
  Prefactor  = 0.0001
  Normalizat = 1.27182
  Prefactor  = 0.824717
 **********
 **   18 **HESSE 
 **********

 FCN=   10360.60     FROM HESSE     STATUS=OK           354 CALLS     2800 TOTAL
                     EDM=   .69E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.9889        34.472        .13355E-03   -1.5108    
   2  Prefactor     7.7650        12.266        .14392E-03   -1.5151    
   3  Prefactor     .10000E-03    16.472        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .77295        .91230        .11936E-02   -1.5532    
   5  Prefactor     .78798        10.553        .24777E-02   -1.5530    
   6  Prefactor     1.2233        3.7789        .32648E-03   -1.5487    
   7  Prefactor     4.2728        17.042        .19494E-03   -1.5295    
   8  norm          19.887        18.095        .89820E-04   -1.4816    
   9  Prefactor     50.327        14.985        .56493E-04   -1.4288    
  10  norm          .10000E-03    7.9385        .31921E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.3100        4.9114        .15982E-03   -1.5206    
  12  Prefactor     29.105        25.428        .74257E-04   -1.4628    
  13  Prefactor     .10000E-03    3.4144        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     16.645        20.314        .98164E-04   -1.4892    
  15  Prefactor     3.0929        10.813        .11532E-02   -1.5356    
  16  Prefactor     .10000E-03    17.942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     3.0852        20.780        .23115E-03   -1.5357    
  18  Prefactor     .10000E-03    7.6659        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.5916        .94641        .48852E-04   -1.5329    
  20  Prefactor     .10000E-03    207.76        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2718        .22675        .31320E-03   -.84412    
  22  Prefactor     .82472        .10825        .18579E-03   -.98824    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.94509e-11
Minuit parameter uncertainties:
  1  34.5482
  2  12.27
  3  4.16412e-07
  4  0.912312
  5  5.7682
  6  3.77963
  7  17.0618
  8  18.1
  9  14.9857
  10  4.33885e-05
  11  4.91167
  12  25.4371
  13  1.15154e-06
  14  20.3229
  15  10.8198
  16  2.37115e-05
  17  16.0217
  18  6.31628e-06
  19  0.946411
  20  0.000102367
  21  0.226929
  22  0.10828
Done.

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

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  6.310e+00  4.912e+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.247e-01  1.083e-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.272e+00  2.269e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.41
Ra Dec: 181.432 -26.595
Photon Index (Fixed Index): 2.53 +/- 0.00
Photon Flux (Fixed Index): 5.84e-08 +/- 4.54e-08
Energy Flux (Fixed Index): 1.64e-05 +/- 1.28e-05

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

Saving results to:
/scratch/kocevski/319772/likelihoodResults_618019201_618278401_4FGL_J1205.7-2635_daily_bin1461.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) = 10360.4614208
delta logL = 0.138188745486

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10360.367902
delta logL = 0.231707554531

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.8683       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1075       1.0000          .0000       10.000    
     3 'Normalizat'    1.2970       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81342       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=   10360.37     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      215 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.8669        189.47        .33649E-02    .48104E-03
   2  Index         2.1074        5.8769        .19166       -.46908E-05
   3  Normalizat    1.2970        .12885        .70209E-01   -.20041E-03
   4  Prefactor     .81341        .65451E-01    .43892E-01   -.36482E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.86693
  Index      = 2.10745
  Normalizat = 1.297
  Prefactor  = 0.813414
 **********
 **   18 **HESSE 
 **********

 FCN=   10360.37     FROM HESSE     STATUS=OK            31 CALLS      246 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.8669        6.3935        .13459E-03   -1.5112    
   2  Index         2.1074        .51800        .97507E-02   -.61690    
   3  Normalizat    1.2970        .21876        .31065E-03   -.83656    
   4  Prefactor     .81341        .10730        .18689E-03   -.99236    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.13552e-10
Minuit parameter uncertainties:
  1  6.39398
  2  0.519402
  3  0.218911
  4  0.10733
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/319772': 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) = 10360.3679019
delta logL = 0.23170760344

Extracting fit parameters...

4FGL J1205.7-2635
   Spectrum: PowerLaw
291    Prefactor:  8.867e+00  6.394e+00  1.000e-04  1.000e+04 ( 1.000e-12)
292        Index:  2.107e+00  5.194e-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.134e-01  1.073e-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.297e+00  2.189e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.88
Ra Dec: 181.432 -26.595
Photon Index (Free Index): 2.11 +/- 0.52
Photon Flux (Free Index): 4.96e-08 +/- 3.90e-08
Energy Flux (Free Index): 2.68e-05 +/- 2.73e-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/319772/cmap_HighResolution_618019201_618278401_4FGL_J1205.7-2635_daily_bin1461.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.13e-02', comment='SUCCESS', photon_flux='5.84e-08', energy_flux2='2.68e-05', photon_flux_error='4.54e-08', dlogl='2.32e-01', energy_flux='1.64e-05', photon_flux2='4.96e-08', job_status='DONE', time_completed='2021-09-05 00:01:30.750106', photon_index_error2='0.52', photon_index2='2.11', ts='2.41', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', photon_flux_upper_limit='1.45e-07', energy_flux_error2='2.73e-05', EG='1.27', time_epoch_completed='1630825290.75', return_code='0', job_id='319772', GAL2='0.81', EG2='1.30', return_code2='0', energy_flux_error='1.28e-05', photon_flux_error2='3.90e-08', ts2='2.88', photon_index='2.53' WHERE bin_id='1461' AND source_name='4FGL J1205.7-2635' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 00:01:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 319772: <4FGL_J1205.7-2635_daily_bin1461> in cluster <slac> Done

Job <4FGL_J1205.7-2635_daily_bin1461> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 23:45:32 2021
Job was executed on host(s) <bullet0098>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 23:45:34 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 23:45:34 2021
Terminated at Sun Sep  5 00:01:31 2021
Results reported at Sun Sep  5 00:01:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1205.7-2635_daily_bin1461 181.432 -26.5946 618019201 618278401 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 :                                   898.02 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   957 sec.
    Turnaround time :                            959 sec.

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

