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


Performing analysis on: 4FGL_J1209.8+1810_daily_bin1023
RA = 182.466, Dec = 18.1776
tmin = 504489601, tmax = 504748801
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='380403', job_status='RUN', time_executed='2021-09-05 02:38:25.247831', time_epoch_executed='1630834705.25' WHERE source_name='4FGL J1209.8+1810' and cadence='daily' and bin_id='1023'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/380403

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/380403/ft1_4FGL_J1209.8+1810_daily_bin1023.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/380403/ft2_4FGL_J1209.8+1810_daily_bin1023.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/380403/ft1_4FGL_J1209.8+1810_daily_bin1023.fits outfile=/scratch/kocevski/380403/ft1_filteredMKT_4FGL_J1209.8+1810_daily_bin1023.fits ra=182.466 dec=18.1776 rad=12.0 tmin=504489601.0 tmax=504748801.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.53
user 4.19
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/380403/ft2_4FGL_J1209.8+1810_daily_bin1023.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/380403/ft1_filteredMKT_4FGL_J1209.8+1810_daily_bin1023.fits evtable="EVENTS" outfile="/scratch/kocevski/380403/ft1_filtered_4FGL_J1209.8+1810_daily_bin1023.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.11
user 0.34
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/380403/ft1_filtered_4FGL_J1209.8+1810_daily_bin1023.fits" evtable="EVENTS" scfile=/scratch/kocevski/380403/ft2_4FGL_J1209.8+1810_daily_bin1023.fits sctable="SC_DATA" outfile=/scratch/kocevski/380403/ltcube_504489601_504748801_4FGL_J1209.8+1810_daily_bin1023.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/380403/ft2_4FGL_J1209.8+1810_daily_bin1023.fits
.....................!
real 13.60
user 11.47
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/380403/ft1_filtered_4FGL_J1209.8+1810_daily_bin1023.fits evtable="EVENTS" scfile=/scratch/kocevski/380403/ft2_4FGL_J1209.8+1810_daily_bin1023.fits sctable="SC_DATA" expcube=/scratch/kocevski/380403/ltcube_504489601_504748801_4FGL_J1209.8+1810_daily_bin1023.fits outfile=/scratch/kocevski/380403/expmap_504489601_504748801_4FGL_J1209.8+1810_daily_bin1023.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/380403/ltcube_504489601_504748801_4FGL_J1209.8+1810_daily_bin1023.fits
.....................!
real 196.48
user 185.22
sys 5.17

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/380403/ft1_filtered_4FGL_J1209.8+1810_daily_bin1023.fits scfile=/scratch/kocevski/380403/ft2_4FGL_J1209.8+1810_daily_bin1023.fits outfile=/scratch/kocevski/380403/cmap_504489601_504748801_4FGL_J1209.8+1810_daily_bin1023.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/380403/ft1_filtered_4FGL_J1209.8+1810_daily_bin1023.fits scfile=/scratch/kocevski/380403/ft2_4FGL_J1209.8+1810_daily_bin1023.fits outfile=/scratch/kocevski/380403/cmap_HighResolution_504489601_504748801_4FGL_J1209.8+1810_daily_bin1023.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.55
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1006       1.0000         .10000E-03   10000.    
     2 'Prefactor '    94.190       1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.139       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.6078       1.0000         .10000E-03   10000.    
     6 'Prefactor '    171.37       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11956E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    14.584       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.6109       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    96.762       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.9883       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.9051       1.0000         .10000E-03   10000.    
    15 'Prefactor '    19.371       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .20321       1.0000         .10000E-03   10000.    
    18 'norm      '    5.6931       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.8208       1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.5974       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    14.513       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0734       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .64510       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=   5717.041     FROM MIGRAD    STATUS=CONVERGED    548 CALLS     2853 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1046        13.874        .72562E-05   -.45577E-03
   2  Prefactor     94.167        52.668       -.47310E-05   -.53185E-03
   3  Prefactor     16.141        19.699        .19356E-06    .27544E-04
   4  Prefactor     .10000E-03    28.971       -.11943E-07** at limit **
   5  Prefactor     2.6079        1.6922       -.23546E-07   -.35552E-04
   6  Prefactor     171.39        157.56        .41398E-05    .10319E-03
   7  Prefactor     .10000E-03    22.473        .53312E-06** at limit **
   8  norm          14.584        2.7136       -.18784E-08   -.23267E-04
   9  Prefactor     4.6255        34.565        .17828E-05    .62697E-04
  10  Prefactor     .10000E-03    1.6341        .15057E-07** at limit **
  11  Prefactor     96.768        129.83        .96140E-06    .71387E-04
  12  Prefactor     6.9885        3.7015       -.46427E-07   -.16389E-03
  13  Prefactor     .10000E-03    2.4656        .63722E-07** at limit **
  14  Prefactor     2.9051        2.0710        .20023E-07   -.39739E-06
  15  Prefactor     19.369        20.542       -.55726E-07   -.17914E-04
  16  Prefactor     .10000E-03    2.6559       -.18356E-07** at limit **
  17  norm          .20324        .25647        .77597E-07   -.23367E-03
  18  norm          5.6935        5.0096       -.76346E-07   -.19320E-03
  19  Prefactor     1.8208        4.7334       -.53935E-06   -.45448E-03
  20  Prefactor     7.5976        8.7573       -.11068E-06   -.44360E-04
  21  Prefactor     .10000E-03    59.503       -.13812E-06** at limit **
  22  Prefactor     14.513        8.9263       -.10966E-06   -.11011E-03
  23  Normalizat    1.0732        .19400       -.35034E-06   -.58803E-04
  24  Prefactor     .64533        .16844       -.35826E-06   -.46553E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.1046
  Prefactor  = 94.1675
  Prefactor  = 16.1414
  Prefactor  = 0.0001
  Prefactor  = 2.60792
  Prefactor  = 171.394
  Prefactor  = 0.0001
  norm       = 14.5842
  Prefactor  = 4.6255
  Prefactor  = 0.0001
  Prefactor  = 96.7683
  Prefactor  = 6.98851
  Prefactor  = 0.0001
  Prefactor  = 2.90514
  Prefactor  = 19.3692
  Prefactor  = 0.0001
  norm       = 0.203237
  norm       = 5.69353
  Prefactor  = 1.82078
  Prefactor  = 7.59758
  Prefactor  = 0.0001
  Prefactor  = 14.5128
  Normalizat = 1.07315
  Prefactor  = 0.645327
 **********
 **   18 **HESSE 
 **********

 FCN=   5717.041     FROM HESSE     STATUS=OK           405 CALLS     3258 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1046        15.165        .99541E-03   -1.5303    
   2  Prefactor     94.167        56.367        .41411E-04   -1.3764    
   3  Prefactor     16.141        19.734        .99696E-04   -1.4904    
   4  Prefactor     .10000E-03    29.971        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.6079        1.6922        .75990E-04   -1.5385    
   6  Prefactor     171.39        158.87        .15410E-03   -1.3082    
   7  Prefactor     .10000E-03    23.006        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          14.584        2.7166        .51490E-04   -1.4944    
   9  Prefactor     4.6255        32.956        .18744E-03   -1.5278    
  10  Prefactor     .10000E-03    1.6421        .94336E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     96.768        126.51        .40862E-04   -1.3737    
  12  Prefactor     6.9885        3.7008        .98901E-04   -1.5179    
  13  Prefactor     .10000E-03    2.5128        .23113E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.9051        2.0708        .88521E-04   -1.5367    
  15  Prefactor     19.369        20.548        .91002E-04   -1.4827    
  16  Prefactor     .10000E-03    2.6640        .12024E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .20324        .24376        .39693E-03   -1.5618    
  18  norm          5.6935        5.0077        .15128E-03   -1.5231    
  19  Prefactor     1.8208        4.7863        .26244E-03   -1.5438    
  20  Prefactor     7.5976        8.7561        .14549E-03   -1.5157    
  21  Prefactor     .10000E-03    60.866        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     14.513        8.9458        .10514E-03   -1.4946    
  23  Normalizat    1.0732        .23142        .24875E-03   -.90619    
  24  Prefactor     .64533        .19705        .29284E-03   -1.0571    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.23905e-09
Minuit parameter uncertainties:
  1  15.1787
  2  56.3995
  3  19.7419
  4  5.6827e-05
  5  1.69226
  6  159.269
  7  0.000177939
  8  2.71667
  9  24.7124
  10  6.33139e-07
  11  126.868
  12  3.7009
  13  1.03573e-06
  14  2.07084
  15  20.5553
  16  8.51277e-07
  17  0.243761
  18  5.00812
  19  4.78726
  20  8.75753
  21  0.000242917
  22  8.94659
  23  0.231637
  24  0.197265
Done.

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

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  6.989e+00  3.701e+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.453e-01  1.973e-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.073e+00  2.316e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.92
Ra Dec: 182.466 18.178
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 9.57e-08 +/- 5.06e-08
Energy Flux (Fixed Index): 3.09e-05 +/- 1.64e-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) = 5717.02897784
delta logL = 0.0121603107782

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5717.02529883
delta logL = 0.0158393216543

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.3123       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3281       1.0000          .0000       10.000    
     3 'Normalizat'    1.0811       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .64076       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=   5717.025     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      210 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.3123        78.241        .37082E-02    .52513E-03
   2  Index         2.3281        6.1637        .16121        .64281E-04
   3  Normalizat    1.0811        .12617        .56073E-01    .74885E-05
   4  Prefactor     .64076        .83410E-01    .66397E-01    .21177E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.31225
  Index      = 2.32812
  Normalizat = 1.08113
  Prefactor  = 0.640764
 **********
 **   18 **HESSE 
 **********

 FCN=   5717.025     FROM HESSE     STATUS=OK            33 CALLS      243 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.3123        4.2823        .10320E-03   -1.5167    
   2  Index         2.3281        .47076        .59017E-02   -.56377    
   3  Normalizat    1.0811        .21385        .24795E-03   -.90360    
   4  Prefactor     .64076        .19602        .29381E-03   -1.0590    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.15889e-10
Minuit parameter uncertainties:
  1  4.28243
  2  0.471741
  3  0.214019
  4  0.196231
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/380403': 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) = 5717.02529883
delta logL = 0.0158393237207

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  7.312e+00  4.282e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.328e+00  4.717e-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.408e-01  1.962e-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.081e+00  2.140e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.83
Ra Dec: 182.466 18.178
Photon Index (Free Index): 2.33 +/- 0.47
Photon Flux (Free Index): 8.87e-08 +/- 6.11e-08
Energy Flux (Free Index): 3.22e-05 +/- 1.93e-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/380403/cmap_HighResolution_504489601_504748801_4FGL_J1209.8+1810_daily_bin1023.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.57e-08', energy_flux2='3.22e-05', photon_flux_error='5.06e-08', dlogl='1.58e-02', energy_flux='3.09e-05', photon_flux2='8.87e-08', job_status='DONE', time_completed='2021-09-05 02:51:50.462602', photon_index_error2='0.47', photon_index2='2.33', ts='8.92', fit_tolerance='1e-08', GAL='0.65', photon_index_error='0.00', energy_flux_error2='1.93e-05', EG='1.07', time_epoch_completed='1630835510.46', return_code='0', job_id='380403', GAL2='0.64', EG2='1.08', return_code2='0', energy_flux_error='1.64e-05', photon_flux_error2='6.11e-08', ts2='8.83', photon_index='2.41' WHERE bin_id='1023' AND source_name='4FGL J1209.8+1810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 02:51:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0256>
Subject: Job 380403: <4FGL_J1209.8+1810_daily_bin1023> in cluster <slac> Done

Job <4FGL_J1209.8+1810_daily_bin1023> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Sep  5 02:35:36 2021
Job was executed on host(s) <bullet0256>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 02:35:37 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:37 2021
Terminated at Sun Sep  5 02:51:51 2021
Results reported at Sun Sep  5 02:51:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1209.8+1810_daily_bin1023 182.466 18.1776 504489601 504748801 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 :                                   623.45 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             263.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   973 sec.
    Turnaround time :                            975 sec.

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

