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


Performing analysis on: 4FGL_J1209.8+1810_daily_bin1427
RA = 182.466, Dec = 18.1776
tmin = 609206401, tmax = 609465601
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='382651', job_status='RUN', time_executed='2021-09-05 02:41:18.281649', time_epoch_executed='1630834878.28' WHERE source_name='4FGL J1209.8+1810' and cadence='daily' and bin_id='1427'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/382651

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/382651/ft1_4FGL_J1209.8+1810_daily_bin1427.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/382651/ft2_4FGL_J1209.8+1810_daily_bin1427.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/382651/ft1_4FGL_J1209.8+1810_daily_bin1427.fits outfile=/scratch/kocevski/382651/ft1_filteredMKT_4FGL_J1209.8+1810_daily_bin1427.fits ra=182.466 dec=18.1776 rad=12.0 tmin=609206401.0 tmax=609465601.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.60
user 2.19
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/382651/ft2_4FGL_J1209.8+1810_daily_bin1427.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/382651/ft1_filteredMKT_4FGL_J1209.8+1810_daily_bin1427.fits evtable="EVENTS" outfile="/scratch/kocevski/382651/ft1_filtered_4FGL_J1209.8+1810_daily_bin1427.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.25
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/382651/ft1_filtered_4FGL_J1209.8+1810_daily_bin1427.fits" evtable="EVENTS" scfile=/scratch/kocevski/382651/ft2_4FGL_J1209.8+1810_daily_bin1427.fits sctable="SC_DATA" outfile=/scratch/kocevski/382651/ltcube_609206401_609465601_4FGL_J1209.8+1810_daily_bin1427.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/382651/ft2_4FGL_J1209.8+1810_daily_bin1427.fits
.....................!
real 10.21
user 9.80
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/382651/ft1_filtered_4FGL_J1209.8+1810_daily_bin1427.fits evtable="EVENTS" scfile=/scratch/kocevski/382651/ft2_4FGL_J1209.8+1810_daily_bin1427.fits sctable="SC_DATA" expcube=/scratch/kocevski/382651/ltcube_609206401_609465601_4FGL_J1209.8+1810_daily_bin1427.fits outfile=/scratch/kocevski/382651/expmap_609206401_609465601_4FGL_J1209.8+1810_daily_bin1427.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/382651/ltcube_609206401_609465601_4FGL_J1209.8+1810_daily_bin1427.fits
.....................!
real 152.27
user 148.11
sys 3.87

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/382651/ft1_filtered_4FGL_J1209.8+1810_daily_bin1427.fits scfile=/scratch/kocevski/382651/ft2_4FGL_J1209.8+1810_daily_bin1427.fits outfile=/scratch/kocevski/382651/cmap_609206401_609465601_4FGL_J1209.8+1810_daily_bin1427.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.51
user 0.30
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/382651/ft1_filtered_4FGL_J1209.8+1810_daily_bin1427.fits scfile=/scratch/kocevski/382651/ft2_4FGL_J1209.8+1810_daily_bin1427.fits outfile=/scratch/kocevski/382651/cmap_HighResolution_609206401_609465601_4FGL_J1209.8+1810_daily_bin1427.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.46
user 0.31
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/382651/ft1_filtered_4FGL_J1209.8+1810_daily_bin1427.fits', '/scratch/kocevski/382651/ft2_4FGL_J1209.8+1810_daily_bin1427.fits', expMap='/scratch/kocevski/382651/expmap_609206401_609465601_4FGL_J1209.8+1810_daily_bin1427.fits', expCube='/scratch/kocevski/382651/ltcube_609206401_609465601_4FGL_J1209.8+1810_daily_bin1427.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/382651/Model_4FGL_J1209.8+1810_daily_bin1427.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/382651/ft1_filtered_4FGL_J1209.8+1810_daily_bin1427.fits
Spacecraft file(s): /scratch/kocevski/382651/ft2_4FGL_J1209.8+1810_daily_bin1427.fits
Exposure map: /scratch/kocevski/382651/expmap_609206401_609465601_4FGL_J1209.8+1810_daily_bin1427.fits
Exposure cube: /scratch/kocevski/382651/ltcube_609206401_609465601_4FGL_J1209.8+1810_daily_bin1427.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/382651/Model_4FGL_J1209.8+1810_daily_bin1427.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) = 5186.61422033

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.1904       1.0000         .10000E-03   10000.    
     2 'Prefactor '    41.859       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10215E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .13108       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    6.4762       1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.1832       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.3322       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .32275E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.4225       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.1268       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .34151E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .48337       1.0000         .10000E-03   10000.    
    18 'norm      '    8.2311       1.0000         .10000E-03   10000.    
    19 'Prefactor '    13.082       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.2552       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2766       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .69525       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5186.606     FROM MIGRAD    STATUS=CONVERGED    108 CALLS     2278 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.1868        1.1122       -.53194E-06    .56823E-04
   2  Prefactor     41.811        15.993       -.73026E-05    .14659E-01
   3  Prefactor     .10001E-03    20.582        .18103E-05** at limit **
   4  Prefactor     .10005E-03    14.346       -.53621E-06** at limit **
   5  Prefactor     .12793        4.0940       -.30447E-07   -.22246E-03
   6  Prefactor     .10645E-03    93.091       -.73521E-05** at limit **
   7  Prefactor     .10000E-03    5.9685       -.35000E-06** at limit **
   8  norm          6.4755        1.6578       -.80590E-07    .29349E-04
   9  Prefactor     9.1188        7.8190       -.26520E-05   -.36324E-03
  10  Prefactor     5.3307        4.7982        .23280E-05    .22752E-02
  11  Prefactor     .10014E-03    2.5793       -.14279E-05** at limit **
  12  Prefactor     6.4207        3.7936       -.10904E-05   -.95682E-03
  13  Prefactor     .10000E-03    3.0497        .73938E-07** at limit **
  14  Prefactor     2.1266        1.7232        .33614E-06    .19905E-03
  15  Prefactor     .10140E-03    70.627        .84537E-05** at limit **
  16  Prefactor     .10000E-03    18.129       -.30279E-04** at limit **
  17  norm          .48334        .30415       -.23046E-07   -.42636E-04
  18  norm          8.2300        4.6023       -.20832E-05   -.22559E-02
  19  Prefactor     13.084        1.2972        .11496E-06   -.11080E-03
  20  Prefactor     1.2545        6.1582       -.18092E-04   -.40875E-02
  21  Prefactor     .10003E-03    13.765        .36976E-06** at limit **
  22  Prefactor     .10000E-03    2.9556        .24045E-06** at limit **
  23  Normalizat    1.2772        .25700        .57572E-06    .14755E-05
  24  Prefactor     .69478        .23621        .21587E-05   -.99013E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.18679
  Prefactor  = 41.8111
  Prefactor  = 0.000100008
  Prefactor  = 0.000100049
  Prefactor  = 0.12793
  Prefactor  = 0.000106447
  Prefactor  = 0.0001
  norm       = 6.47553
  Prefactor  = 9.1188
  Prefactor  = 5.3307
  Prefactor  = 0.000100142
  Prefactor  = 6.42068
  Prefactor  = 0.0001
  Prefactor  = 2.12655
  Prefactor  = 0.000101396
  Prefactor  = 0.0001
  norm       = 0.48334
  norm       = 8.23004
  Prefactor  = 13.0842
  Prefactor  = 1.25448
  Prefactor  = 0.00010003
  Prefactor  = 0.0001
  Normalizat = 1.27715
  Prefactor  = 0.694783
 **********
 **   18 **HESSE 
 **********

 FCN=   5186.606     FROM HESSE     STATUS=OK           465 CALLS     2743 TOTAL
                     EDM=   .20E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.1868        10.914        .33051E-02   -1.5102    
   2  Prefactor     41.811        59.789        .15490E-02   -1.4414    
   3  Prefactor     .10001E-03    20.756        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10005E-03    14.736        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .12793        1.0578        .38398E-01   -1.5636    
   6  Prefactor     .10645E-03    109.97        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.9633        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.4755        1.6582        .39427E-02   -1.5199    
   9  Prefactor     9.1188        24.629        .33064E-02   -1.5104    
  10  Prefactor     5.3307        4.8455        .43511E-02   -1.5246    
  11  Prefactor     .10014E-03    154.95        .10679E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.4207        3.8228        .39593E-02   -1.5201    
  13  Prefactor     .10000E-03    2.9882        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.1266        1.7345        .70687E-02   -1.5416    
  15  Prefactor     .10140E-03    72.833        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    3.6411        .74206E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .48334        .31277        .66552E-02   -1.5569    
  18  norm          8.2300        4.7069        .34935E-02   -1.5134    
  19  Prefactor     13.084        16.461        .27686E-02   -1.4984    
  20  Prefactor     1.2545        9.3064        .99665E-02   -1.5484    
  21  Prefactor     .10003E-03    14.073        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    2.9508        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2772        .22050        .56158E-01   -.84251    
  24  Prefactor     .69478        .20226        .70614E-01   -1.0373    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96552e-06
Minuit parameter uncertainties:
  1  10.916
  2  59.8748
  3  0.000791394
  4  0.00170115
  5  0.735462
  6  0.0533517
  7  4.61728e-06
  8  1.65824
  9  24.656
  10  4.84591
  11  0.00941781
  12  3.82293
  13  4.52222e-06
  14  1.7345
  15  0.0201881
  16  5.45842e-05
  17  0.312767
  18  4.70714
  19  16.467
  20  6.83485
  21  0.0013001
  22  5.71793e-06
  23  0.220665
  24  0.202478
Done.

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

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  6.421e+00  3.823e+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:  6.948e-01  2.025e-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.277e+00  2.207e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.62
Ra Dec: 182.466 18.178
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 8.79e-08 +/- 5.23e-08
Energy Flux (Fixed Index): 2.84e-05 +/- 1.69e-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) = 5186.38133414
delta logL = 0.224953800102

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5186.3811971
delta logL = 0.225090834307

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.6860       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1257       1.0000          .0000       10.000    
     3 'Normalizat'    1.2953       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68245       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.

 FCN=   5186.381     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      267 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.6821        132.29        .36161E-02    .32187E-03
   2  Index         2.1253        5.9628        .15411        .15271E-03
   3  Normalizat    1.2953        .20801        .55831E-01    .17482E-03
   4  Prefactor     .68245        .21146        .71186E-01    .14609E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.68209
  Index      = 2.12525
  Normalizat = 1.29528
  Prefactor  = 0.682454
 **********
 **   18 **HESSE 
 **********

 FCN=   5186.381     FROM HESSE     STATUS=OK            31 CALLS      298 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.6821        4.6802        .11325E-03   -1.5154    
   2  Index         2.1253        .41272        .60969E-02   -.61254    
   3  Normalizat    1.2953        .24470        .24688E-03   -.83707    
   4  Prefactor     .68245        .23472        .31507E-03   -1.0422    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68667e-10
Minuit parameter uncertainties:
  1  4.68039
  2  0.413424
  3  0.244922
  4  0.235062
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/382651': 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) = 5186.38119603
delta logL = 0.225091909298

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  7.682e+00  4.680e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.125e+00  4.134e-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:  6.825e-01  2.351e-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.295e+00  2.449e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.07
Ra Dec: 182.466 18.178
Photon Index (Free Index): 2.13 +/- 0.41
Photon Flux (Free Index): 7.06e-08 +/- 5.03e-08
Energy Flux (Free Index): 3.67e-05 +/- 2.76e-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/382651/cmap_HighResolution_609206401_609465601_4FGL_J1209.8+1810_daily_bin1427.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.79e-08', energy_flux2='3.67e-05', photon_flux_error='5.23e-08', dlogl='2.25e-01', energy_flux='2.84e-05', photon_flux2='7.06e-08', job_status='DONE', time_completed='2021-09-05 02:49:03.163288', photon_index_error2='0.41', photon_index2='2.13', ts='6.62', fit_tolerance='1e-08', GAL='0.69', photon_index_error='0.00', energy_flux_error2='2.76e-05', EG='1.28', time_epoch_completed='1630835343.16', return_code='0', job_id='382651', GAL2='0.68', EG2='1.30', return_code2='0', energy_flux_error='1.69e-05', photon_flux_error2='5.03e-08', ts2='7.07', photon_index='2.41' WHERE bin_id='1427' AND source_name='4FGL J1209.8+1810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 02:49:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 382651: <4FGL_J1209.8+1810_daily_bin1427> in cluster <slac> Done

Job <4FGL_J1209.8+1810_daily_bin1427> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Sep  5 02:40:31 2021
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 02:40:33 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:40:33 2021
Terminated at Sun Sep  5 02:49:03 2021
Results reported at Sun Sep  5 02:49:03 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1209.8+1810_daily_bin1427 182.466 18.1776 609206401 609465601 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 :                                   431.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   510 sec.
    Turnaround time :                            512 sec.

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

