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


Performing analysis on: 4FGL_J1209.8+1810_daily_bin1052
RA = 182.466, Dec = 18.1776
tmin = 512006401, tmax = 512265601
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='380450', job_status='RUN', time_executed='2021-09-05 02:39:09.025414', time_epoch_executed='1630834749.03' WHERE source_name='4FGL J1209.8+1810' and cadence='daily' and bin_id='1052'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/380450

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/380450/ft1_4FGL_J1209.8+1810_daily_bin1052.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/380450/ft2_4FGL_J1209.8+1810_daily_bin1052.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/380450/ft1_4FGL_J1209.8+1810_daily_bin1052.fits outfile=/scratch/kocevski/380450/ft1_filteredMKT_4FGL_J1209.8+1810_daily_bin1052.fits ra=182.466 dec=18.1776 rad=12.0 tmin=512006401.0 tmax=512265601.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 4.25
user 3.33
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/380450/ft2_4FGL_J1209.8+1810_daily_bin1052.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/380450/ft2_4FGL_J1209.8+1810_daily_bin1052.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/380450/ft1_filteredMKT_4FGL_J1209.8+1810_daily_bin1052.fits evtable="EVENTS" outfile="/scratch/kocevski/380450/ft1_filtered_4FGL_J1209.8+1810_daily_bin1052.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 1.07
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/380450/ft1_filtered_4FGL_J1209.8+1810_daily_bin1052.fits" evtable="EVENTS" scfile=/scratch/kocevski/380450/ft2_4FGL_J1209.8+1810_daily_bin1052.fits sctable="SC_DATA" outfile=/scratch/kocevski/380450/ltcube_512006401_512265601_4FGL_J1209.8+1810_daily_bin1052.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/380450/ft2_4FGL_J1209.8+1810_daily_bin1052.fits
.....................!
real 12.18
user 11.72
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/380450/ft1_filtered_4FGL_J1209.8+1810_daily_bin1052.fits evtable="EVENTS" scfile=/scratch/kocevski/380450/ft2_4FGL_J1209.8+1810_daily_bin1052.fits sctable="SC_DATA" expcube=/scratch/kocevski/380450/ltcube_512006401_512265601_4FGL_J1209.8+1810_daily_bin1052.fits outfile=/scratch/kocevski/380450/expmap_512006401_512265601_4FGL_J1209.8+1810_daily_bin1052.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/380450/ltcube_512006401_512265601_4FGL_J1209.8+1810_daily_bin1052.fits
.....................!
real 190.31
user 185.37
sys 4.59

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 192 point sources and 0 extended sources

Setting source of interest to:
4FGL J1209.8+1810 @ 182.466 18.1776

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/380450/ft1_filtered_4FGL_J1209.8+1810_daily_bin1052.fits scfile=/scratch/kocevski/380450/ft2_4FGL_J1209.8+1810_daily_bin1052.fits outfile=/scratch/kocevski/380450/cmap_512006401_512265601_4FGL_J1209.8+1810_daily_bin1052.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=182.466 yref=18.1776 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/380450/ft1_filtered_4FGL_J1209.8+1810_daily_bin1052.fits scfile=/scratch/kocevski/380450/ft2_4FGL_J1209.8+1810_daily_bin1052.fits outfile=/scratch/kocevski/380450/cmap_HighResolution_512006401_512265601_4FGL_J1209.8+1810_daily_bin1052.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=182.466 yref=18.1776 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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/380450/ft1_filtered_4FGL_J1209.8+1810_daily_bin1052.fits evtable="EVENTS" scfile=/scratch/kocevski/380450/ft2_4FGL_J1209.8+1810_daily_bin1052.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/380450/Model_4FGL_J1209.8+1810_daily_bin1052.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/380450/ft1_filtered_4FGL_J1209.8+1810_daily_bin1052.fits.....................!
real 57.47
user 56.11
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/380450/ft1_filtered_4FGL_J1209.8+1810_daily_bin1052.fits', '/scratch/kocevski/380450/ft2_4FGL_J1209.8+1810_daily_bin1052.fits', expMap='/scratch/kocevski/380450/expmap_512006401_512265601_4FGL_J1209.8+1810_daily_bin1052.fits', expCube='/scratch/kocevski/380450/ltcube_512006401_512265601_4FGL_J1209.8+1810_daily_bin1052.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/380450/Model_4FGL_J1209.8+1810_daily_bin1052.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1209.8+1810'

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  1.095e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.411e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  8.871e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/380450/ft1_filtered_4FGL_J1209.8+1810_daily_bin1052.fits
Spacecraft file(s): /scratch/kocevski/380450/ft2_4FGL_J1209.8+1810_daily_bin1052.fits
Exposure map: /scratch/kocevski/380450/expmap_512006401_512265601_4FGL_J1209.8+1810_daily_bin1052.fits
Exposure cube: /scratch/kocevski/380450/ltcube_512006401_512265601_4FGL_J1209.8+1810_daily_bin1052.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/380450/Model_4FGL_J1209.8+1810_daily_bin1052.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) = 6086.24900632

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.1850       1.0000         .10000E-03   10000.    
     2 'Prefactor '    34.290       1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.5014       1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.535       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .58221       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.1387       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    99.933       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.9977       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10658E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.1830       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.8788       1.0000         .10000E-03   10000.    
    17 'norm      '    .34816       1.0000         .10000E-03   10000.    
    18 'norm      '    15.979       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.4213       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    5.1359       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2682       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .97612       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6086.243     FROM MIGRAD    STATUS=CONVERGED    547 CALLS     2712 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.1837        10.045        .11008E-06   -.87353E-04
   2  Prefactor     34.282        43.135       -.10663E-04    .19464E-03
   3  Prefactor     7.4900        17.578       -.47450E-05    .10751E-03
   4  Prefactor     10.534        9.2182       -.47684E-08   -.24303E-04
   5  Prefactor     .58363        1.8896       -.25443E-06   -.11758E-02
   6  Prefactor     .10000E-03    40.302        .58064E-06** at limit **
   7  Prefactor     .10000E-03    4.4748        .46247E-07** at limit **
   8  norm          1.1386        1.1504       -.26508E-07   -.29977E-03
   9  Prefactor     .10000E-03    9.7441        .35243E-06** at limit **
  10  Prefactor     .10000E-03    2.5049       -.11217E-06** at limit **
  11  Prefactor     99.931        81.025       -.12689E-05    .16120E-04
  12  Prefactor     7.0013        3.6628       -.13753E-06    .83685E-04
  13  Prefactor     .10000E-03    2.1049       -.16024E-06** at limit **
  14  Prefactor     2.1830        1.8453       -.15786E-08    .50593E-04
  15  Prefactor     .10000E-03    10.784       -.19812E-06** at limit **
  16  Prefactor     1.8790        3.3535       -.24012E-06   -.30884E-03
  17  norm          .34817        .20297       -.25950E-07    .10209E-03
  18  norm          15.979        5.6390       -.29943E-07    .53811E-04
  19  Prefactor     .10000E-03    3.4182        .17684E-07** at limit **
  20  Prefactor     6.4209        8.2984       -.17057E-05   -.12570E-02
  21  Prefactor     .10000E-03    10.767       -.22795E-06** at limit **
  22  Prefactor     5.1358        6.1617       -.20317E-06   -.65551E-04
  23  Normalizat    1.2683        .20474        .22363E-05   -.82955E-05
  24  Prefactor     .97610        .19205       -.16172E-06    .12102E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.18369
  Prefactor  = 34.2823
  Prefactor  = 7.48998
  Prefactor  = 10.5338
  Prefactor  = 0.583629
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.13865
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 99.9315
  Prefactor  = 7.00132
  Prefactor  = 0.0001
  Prefactor  = 2.18296
  Prefactor  = 0.0001
  Prefactor  = 1.87902
  norm       = 0.348169
  norm       = 15.9789
  Prefactor  = 0.0001
  Prefactor  = 6.42092
  Prefactor  = 0.0001
  Prefactor  = 5.13576
  Normalizat = 1.26826
  Prefactor  = 0.976097
 **********
 **   18 **HESSE 
 **********

 FCN=   6086.243     FROM HESSE     STATUS=OK           405 CALLS     3117 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.1837        10.043        .16142E-03   -1.5211    
   2  Prefactor     34.282        41.370        .68433E-04   -1.4536    
   3  Prefactor     7.4900        16.575        .14643E-03   -1.5161    
   4  Prefactor     10.534        9.1965        .12344E-03   -1.5059    
   5  Prefactor     .58363        1.8866        .17233E-03   -1.5555    
   6  Prefactor     .10000E-03    40.299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.4865        .16115E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.1386        1.1242        .80773E-04   -1.5495    
   9  Prefactor     .10000E-03    9.7645        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.6263        .23518E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     99.931        81.071        .40215E-04   -1.3705    
  12  Prefactor     7.0013        3.5397        .98435E-04   -1.5179    
  13  Prefactor     .10000E-03    3.6285        .21215E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.1830        1.8511        .93958E-04   -1.5412    
  15  Prefactor     .10000E-03    10.789        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     1.8790        3.3312        .18501E-03   -1.5434    
  17  norm          .34817        .20478        .25704E-04   -1.5590    
  18  norm          15.979        5.6411        .10019E-03   -1.4908    
  19  Prefactor     .10000E-03    3.4238        .14086E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.4209        9.0867        .79194E-03   -1.5201    
  21  Prefactor     .10000E-03    10.784        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     5.1358        6.1617        .17740E-03   -1.5255    
  23  Normalizat    1.2683        .23852        .25200E-03   -.84519    
  24  Prefactor     .97610        .22451        .28271E-03   -.93531    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.44381e-09
Minuit parameter uncertainties:
  1  10.0458
  2  41.4042
  3  16.5856
  4  9.19772
  5  1.88682
  6  3.71045e-05
  7  2.98784e-06
  8  1.12424
  9  1.06263e-05
  10  1.26449e-05
  11  81.1607
  12  3.53978
  13  2.28622e-05
  14  1.85117
  15  1.16646e-06
  16  3.33155
  17  0.204785
  18  5.64133
  19  3.93707e-06
  20  9.08868
  21  5.45744e-06
  22  6.16248
  23  0.238731
  24  0.224728
Done.

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

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  7.001e+00  3.540e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.411e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  8.871e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  9.761e-01  2.247e-01  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.268e+00  2.387e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.09
Ra Dec: 182.466 18.178
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 9.59e-08 +/- 4.84e-08
Energy Flux (Fixed Index): 3.10e-05 +/- 1.57e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6086.24142297
delta logL = 0.00131244627028

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6086.24060117
delta logL = 0.00213425038783

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.8470       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4444       1.0000          .0000       10.000    
     3 'Normalizat'    1.2650       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97794       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+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=   6086.241     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      236 TOTAL
                     EDM=   .79E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.8472        4.3567        .96307E-04   -.30645E-03
   2  Index         2.4440        .52281        .54152E-02   -.81150E-04
   3  Normalizat    1.2651        .22968        .25225E-03    .56607E-04
   4  Prefactor     .97801        .22486        .28245E-03    .92574E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.84716
  Index      = 2.44396
  Normalizat = 1.26507
  Prefactor  = 0.978006
 **********
 **   18 **HESSE 
 **********

 FCN=   6086.241     FROM HESSE     STATUS=OK            25 CALLS      261 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.8472        4.1950        .38523E-05   -1.5185    
   2  Index         2.4440        .50286        .21661E-03   -.53659    
   3  Normalizat    1.2651        .22962        .10090E-04   -.84615    
   4  Prefactor     .97801        .22490        .11298E-04   -.93466    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07278e-10
Minuit parameter uncertainties:
  1  4.19518
  2  0.504017
  3  0.229804
  4  0.225119
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/380450': 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) = 6086.24060035
delta logL = 0.00213506439741

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  6.847e+00  4.195e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.444e+00  5.040e-01  0.000e+00  1.000e+01 (-1.000e+00)
286        Scale:  8.871e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  9.780e-01  2.251e-01  0.000e+00  1.000e+01 ( 1.000e+00)
612        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
613        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
610   Normalization:  1.265e+00  2.298e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.06
Ra Dec: 182.466 18.178
Photon Index (Free Index): 2.44 +/- 0.50
Photon Flux (Free Index): 9.84e-08 +/- 6.25e-08
Energy Flux (Free Index): 3.05e-05 +/- 1.66e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/380450/cmap_HighResolution_512006401_512265601_4FGL_J1209.8+1810_daily_bin1052.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.59e-08', energy_flux2='3.05e-05', photon_flux_error='4.84e-08', dlogl='2.14e-03', energy_flux='3.10e-05', photon_flux2='9.84e-08', job_status='DONE', time_completed='2021-09-05 02:52:13.260292', photon_index_error2='0.50', photon_index2='2.44', ts='10.09', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='1.66e-05', EG='1.27', time_epoch_completed='1630835533.26', return_code='0', job_id='380450', GAL2='0.98', EG2='1.27', return_code2='0', energy_flux_error='1.57e-05', photon_flux_error2='6.25e-08', ts2='10.06', photon_index='2.41' WHERE bin_id='1052' AND source_name='4FGL J1209.8+1810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 02:52:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0137>
Subject: Job 380450: <4FGL_J1209.8+1810_daily_bin1052> in cluster <slac> Done

Job <4FGL_J1209.8+1810_daily_bin1052> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Sep  5 02:35:41 2021
Job was executed on host(s) <bullet0137>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 02:35:43 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep  5 02:35:43 2021
Terminated at Sun Sep  5 02:52:14 2021
Results reported at Sun Sep  5 02:52:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1209.8+1810_daily_bin1052 182.466 18.1776 512006401 512265601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1209.8+1810 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   635.31 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             238.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   990 sec.
    Turnaround time :                            993 sec.

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

