/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 105 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 = 7478
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1209.8+1810_daily_bin22
RA = 182.466, Dec = 18.1776
tmin = 245030401, tmax = 245289601
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='373648', job_status='RUN', time_executed='2021-09-05 02:17:24.526936', time_epoch_executed='1630833444.53' WHERE source_name='4FGL J1209.8+1810' and cadence='daily' and bin_id='22'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/373648

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/373648/ft1_4FGL_J1209.8+1810_daily_bin22.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/373648/ft2_4FGL_J1209.8+1810_daily_bin22.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/373648/ft1_4FGL_J1209.8+1810_daily_bin22.fits outfile=/scratch/kocevski/373648/ft1_filteredMKT_4FGL_J1209.8+1810_daily_bin22.fits ra=182.466 dec=18.1776 rad=12.0 tmin=245030401.0 tmax=245289601.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 1.50
user 1.26
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/373648/ft1_filtered_4FGL_J1209.8+1810_daily_bin22.fits" evtable="EVENTS" scfile=/scratch/kocevski/373648/ft2_4FGL_J1209.8+1810_daily_bin22.fits sctable="SC_DATA" outfile=/scratch/kocevski/373648/ltcube_245030401_245289601_4FGL_J1209.8+1810_daily_bin22.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/373648/ft2_4FGL_J1209.8+1810_daily_bin22.fits
.....................!
real 13.04
user 12.53
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/373648/ft1_filtered_4FGL_J1209.8+1810_daily_bin22.fits evtable="EVENTS" scfile=/scratch/kocevski/373648/ft2_4FGL_J1209.8+1810_daily_bin22.fits sctable="SC_DATA" expcube=/scratch/kocevski/373648/ltcube_245030401_245289601_4FGL_J1209.8+1810_daily_bin22.fits outfile=/scratch/kocevski/373648/expmap_245030401_245289601_4FGL_J1209.8+1810_daily_bin22.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/373648/ltcube_245030401_245289601_4FGL_J1209.8+1810_daily_bin22.fits
.....................!
real 191.24
user 185.80
sys 4.43

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/373648/ft1_filtered_4FGL_J1209.8+1810_daily_bin22.fits scfile=/scratch/kocevski/373648/ft2_4FGL_J1209.8+1810_daily_bin22.fits outfile=/scratch/kocevski/373648/cmap_245030401_245289601_4FGL_J1209.8+1810_daily_bin22.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.56
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/373648/ft1_filtered_4FGL_J1209.8+1810_daily_bin22.fits scfile=/scratch/kocevski/373648/ft2_4FGL_J1209.8+1810_daily_bin22.fits outfile=/scratch/kocevski/373648/cmap_HighResolution_245030401_245289601_4FGL_J1209.8+1810_daily_bin22.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/373648/ft1_filtered_4FGL_J1209.8+1810_daily_bin22.fits evtable="EVENTS" scfile=/scratch/kocevski/373648/ft2_4FGL_J1209.8+1810_daily_bin22.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/373648/Model_4FGL_J1209.8+1810_daily_bin22.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/373648/ft1_filtered_4FGL_J1209.8+1810_daily_bin22.fits.....................!
real 52.05
user 50.58
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.6676       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .19871E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.0879       1.0000         .10000E-03   10000.    
     6 'Prefactor '    492.51       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.0444       1.0000         .10000E-03   10000.    
     8 'norm      '    .97348       1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.454       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10250E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.8489       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    7.8240       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.2600       1.0000         .10000E-03   10000.    
    17 'norm      '    .60612       1.0000         .10000E-03   10000.    
    18 'norm      '    1.8982       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.0442       1.0000         .10000E-03   10000.    
    21 'Prefactor '    51.728       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .94989       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .88097       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=   5385.863     FROM MIGRAD    STATUS=CONVERGED    551 CALLS     2739 TOTAL
                     EDM=   .41E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.6676        8.8430        .35891E-06   -.57904E-05
   2  Prefactor     .10000E-03    14.511       -.68681E-06** at limit **
   3  Prefactor     .10000E-03    18.097        .10100E-05** at limit **
   4  Prefactor     .10005E-03    12.776        .47916E-05** at limit **
   5  Prefactor     5.0879        2.2436       -.42833E-07   -.50755E-03
   6  Prefactor     492.53        219.26       -.59239E-06    .29112E-04
   7  Prefactor     4.0435        9.3876        .25631E-06    .11160E-04
   8  norm          .97353        1.2516        .14801E-07   -.11550E-03
   9  Prefactor     16.446        17.028        .63436E-07   -.35338E-04
  10  Prefactor     .10000E-03    2.5728        .65548E-07** at limit **
  11  Prefactor     .10000E-03    54.643        .23673E-06** at limit **
  12  Prefactor     2.8486        2.1757        .14245E-07   -.11633E-03
  13  Prefactor     .10000E-03    .99872       -.48503E-07** at limit **
  14  Prefactor     7.8242        3.1285       -.16422E-06   -.36871E-04
  15  Prefactor     .10000E-03    12.397        .19903E-06** at limit **
  16  Prefactor     3.2601        3.3907        .16595E-07   -.73974E-04
  17  norm          .60615        .25366       -.28370E-08   -.34779E-03
  18  norm          1.8983        2.4118       -.19812E-07   -.11141E-04
  19  Prefactor     .10000E-03    21.753       -.30504E-05** at limit **
  20  Prefactor     3.0450        8.9520        .50620E-05    .29728E-03
  21  Prefactor     51.710        31.501        .13509E-05   -.12775E-03
  22  Prefactor     .10000E-03    4.6026        .32008E-07** at limit **
  23  Normalizat    .94983        .19058        .85430E-07   -.15628E-03
  24  Prefactor     .88095        .18121       -.46601E-06   -.14494E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.66763
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100049
  Prefactor  = 5.08788
  Prefactor  = 492.527
  Prefactor  = 4.04355
  norm       = 0.973533
  Prefactor  = 16.4457
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.84863
  Prefactor  = 0.0001
  Prefactor  = 7.82423
  Prefactor  = 0.0001
  Prefactor  = 3.26012
  norm       = 0.606148
  norm       = 1.89826
  Prefactor  = 0.000100003
  Prefactor  = 3.04497
  Prefactor  = 51.7103
  Prefactor  = 0.0001
  Normalizat = 0.949832
  Prefactor  = 0.880948
 **********
 **   18 **HESSE 
 **********

 FCN=   5385.863     FROM HESSE     STATUS=OK           403 CALLS     3142 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.6676        8.8284        .24953E-03   -1.5381    
   2  Prefactor     .10000E-03    14.529        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    18.271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10005E-03    32.285        .39042E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.0879        2.2466        .69945E-04   -1.5257    
   6  Prefactor     492.53        219.16        .92425E-04   -1.1232    
   7  Prefactor     4.0435        9.3576        .20050E-03   -1.5306    
   8  norm          .97353        1.1487        .89550E-03   -1.5511    
   9  Prefactor     16.446        17.022        .98737E-04   -1.4897    
  10  Prefactor     .10000E-03    2.6373        .22957E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    54.684        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.8486        2.1708        .91138E-04   -1.5370    
  13  Prefactor     .10000E-03    1.0079        .71579E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.8242        3.1290        .78181E-04   -1.5148    
  15  Prefactor     .10000E-03    12.404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.2601        3.3930        .13394E-03   -1.5347    
  17  norm          .60615        .25278        .22746E-04   -1.5552    
  18  norm          1.8983        2.4010        .12482E-03   -1.5432    
  19  Prefactor     .10000E-03    23.410        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     3.0450        9.4640        .11627E-02   -1.5359    
  21  Prefactor     51.710        31.937        .55763E-04   -1.4269    
  22  Prefactor     .10000E-03    4.6291        .15374E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .94983        .21673        .25123E-03   -.94731    
  24  Prefactor     .88095        .20699        .25927E-03   -.96810    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.23051e-09
Minuit parameter uncertainties:
  1  8.83267
  2  0.000166021
  3  0.000283987
  4  0.00250945
  5  2.24661
  6  219.538
  7  9.36097
  8  1.14874
  9  17.0275
  10  9.56409e-07
  11  0.000132667
  12  2.17081
  13  2.92477e-06
  14  3.12909
  15  4.60842e-05
  16  3.39316
  17  0.25278
  18  2.40113
  19  0.000549344
  20  9.46868
  21  31.9477
  22  3.73277e-06
  23  0.21693
  24  0.207179
Done.

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

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  2.849e+00  2.171e+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:  8.809e-01  2.072e-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:  9.498e-01  2.169e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.83
Ra Dec: 182.466 18.178
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 3.90e-08 +/- 2.97e-08
Energy Flux (Fixed Index): 1.26e-05 +/- 9.60e-06

TS (Fixed Index): 3.83
Ra Dec: 182.466 18.178
Photon Flux Upper Limit: 1.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.54e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/373648/likelihoodResults_245030401_245289601_4FGL_J1209.8+1810_daily_bin22.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) = 5385.76332121
delta logL = 0.0992551340505

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5385.75873969
delta logL = 0.103836654128

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.6506       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1187       1.0000          .0000       10.000    
     3 'Normalizat'    .95958       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87308       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=   5385.759     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      263 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6507        3.0944        .10236E-03   -.36619E-03
   2  Index         2.1190        .60197        .75880E-02   -.58595E-04
   3  Normalizat    .95955        .20672        .25008E-03    .40278E-04
   4  Prefactor     .87308        .20680        .26026E-03    .53642E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.6507
  Index      = 2.11896
  Normalizat = 0.959548
  Prefactor  = 0.873079
 **********
 **   18 **HESSE 
 **********

 FCN=   5385.759     FROM HESSE     STATUS=OK            25 CALLS      288 TOTAL
                     EDM=   .80E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6507        3.0415        .40943E-05   -1.5326    
   2  Index         2.1190        .59166        .30352E-03   -.61408    
   3  Normalizat    .95955        .20685        .10003E-04   -.94398    
   4  Prefactor     .87308        .20694        .10410E-04   -.97088    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.98072e-11
Minuit parameter uncertainties:
  1  3.04159
  2  0.593748
  3  0.207023
  4  0.207128
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/373648': 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) = 5385.75873955
delta logL = 0.103836793567

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  3.651e+00  3.042e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.119e+00  5.937e-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:  8.731e-01  2.071e-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:  9.595e-01  2.070e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.03
Ra Dec: 182.466 18.178
Photon Index (Free Index): 2.12 +/- 0.59
Photon Flux (Free Index): 3.33e-08 +/- 2.86e-08
Energy Flux (Free Index): 1.75e-05 +/- 1.97e-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/373648/cmap_HighResolution_245030401_245289601_4FGL_J1209.8+1810_daily_bin22.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.54e-03', comment='SUCCESS', photon_flux='3.90e-08', energy_flux2='1.75e-05', photon_flux_error='2.97e-08', dlogl='1.04e-01', energy_flux='1.26e-05', photon_flux2='3.33e-08', job_status='DONE', time_completed='2021-09-05 02:28:31.422737', photon_index_error2='0.59', photon_index2='2.12', ts='3.83', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='1.10e-07', energy_flux_error2='1.97e-05', EG='0.95', time_epoch_completed='1630834111.42', return_code='0', job_id='373648', GAL2='0.87', EG2='0.96', return_code2='0', energy_flux_error='9.60e-06', photon_flux_error2='2.86e-08', ts2='4.03', photon_index='2.41' WHERE bin_id='22' AND source_name='4FGL J1209.8+1810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 02:28:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 373648: <4FGL_J1209.8+1810_daily_bin22> in cluster <slac> Done

Job <4FGL_J1209.8+1810_daily_bin22> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep  5 02:15:28 2021
Job was executed on host(s) <bullet0214>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 02:15:29 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:15:29 2021
Terminated at Sun Sep  5 02:28:32 2021
Results reported at Sun Sep  5 02:28:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1209.8+1810_daily_bin22 182.466 18.1776 245030401 245289601 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 :                                   663.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             297.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   782 sec.
    Turnaround time :                            784 sec.

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

