/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 0 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 = 7410
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1209.8+1810_daily_bin213
RA = 182.466, Dec = 18.1776
tmin = 294537601, tmax = 294796801
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='373955', job_status='RUN', time_executed='2021-09-05 02:16:06.664555', time_epoch_executed='1630833366.66' WHERE source_name='4FGL J1209.8+1810' and cadence='daily' and bin_id='213'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/373955

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/373955/ft1_4FGL_J1209.8+1810_daily_bin213.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/373955/ft2_4FGL_J1209.8+1810_daily_bin213.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/373955/ft1_4FGL_J1209.8+1810_daily_bin213.fits outfile=/scratch/kocevski/373955/ft1_filteredMKT_4FGL_J1209.8+1810_daily_bin213.fits ra=182.466 dec=18.1776 rad=12.0 tmin=294537601.0 tmax=294796801.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.35
user 2.15
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/373955/ft1_filtered_4FGL_J1209.8+1810_daily_bin213.fits evtable="EVENTS" scfile=/scratch/kocevski/373955/ft2_4FGL_J1209.8+1810_daily_bin213.fits sctable="SC_DATA" expcube=/scratch/kocevski/373955/ltcube_294537601_294796801_4FGL_J1209.8+1810_daily_bin213.fits outfile=/scratch/kocevski/373955/expmap_294537601_294796801_4FGL_J1209.8+1810_daily_bin213.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/373955/ltcube_294537601_294796801_4FGL_J1209.8+1810_daily_bin213.fits
.....................!
real 190.12
user 185.46
sys 4.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/373955/ft1_filtered_4FGL_J1209.8+1810_daily_bin213.fits scfile=/scratch/kocevski/373955/ft2_4FGL_J1209.8+1810_daily_bin213.fits outfile=/scratch/kocevski/373955/cmap_294537601_294796801_4FGL_J1209.8+1810_daily_bin213.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/373955/ft1_filtered_4FGL_J1209.8+1810_daily_bin213.fits scfile=/scratch/kocevski/373955/ft2_4FGL_J1209.8+1810_daily_bin213.fits outfile=/scratch/kocevski/373955/cmap_HighResolution_294537601_294796801_4FGL_J1209.8+1810_daily_bin213.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.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10128E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10506E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.4717       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.1719       1.0000         .10000E-03   10000.    
     6 'Prefactor '    29.569       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.0368       1.0000         .10000E-03   10000.    
     8 'norm      '    2.5815       1.0000         .10000E-03   10000.    
     9 'Prefactor '    19.771       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10311E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.1372       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.6780       1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.772       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    9.7615       1.0000         .10000E-03   10000.    
    18 'norm      '    3.2424       1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.736       1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.7955       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.0360       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1912       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .88976       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=   8733.989     FROM MIGRAD    STATUS=CONVERGED    531 CALLS     2773 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.8996        .29912E-06** at limit **
   2  Prefactor     .10000E-03    42.151        .86355E-06** at limit **
   3  Prefactor     .10000E-03    30.593        .15508E-05** at limit **
   4  Prefactor     4.4725        11.002        .91329E-05    .12838E-03
   5  Prefactor     1.1717        1.2913       -.21491E-07   -.14624E-03
   6  Prefactor     29.124        154.13       -.78732E-05   -.60477E-04
   7  Prefactor     2.0450        8.4382       -.11627E-05   -.12199E-04
   8  norm          2.5816        1.1654       -.14787E-07   -.91534E-04
   9  Prefactor     19.777        21.220        .19550E-06    .91010E-05
  10  Prefactor     .10000E-03    1.8696        .69115E-07** at limit **
  11  Prefactor     .10000E-03    36.678       -.40754E-07** at limit **
  12  Prefactor     1.1374        2.0422        .54731E-06   -.31484E-05
  13  Prefactor     .10000E-03    1.1192        .14239E-06** at limit **
  14  Prefactor     3.6782        1.8434        .14353E-07   -.17081E-04
  15  Prefactor     14.772        18.314        .57805E-06    .10635E-05
  16  Prefactor     .10000E-03    2.8244        .21135E-06** at limit **
  17  norm          9.7617        .66776       -.29869E-07   -.65433E-03
  18  norm          3.2425        2.9091        .85525E-08   -.15352E-04
  19  Prefactor     11.736        10.150        .32805E-06   -.22420E-04
  20  Prefactor     7.7955        7.4048        .94915E-08   -.58446E-05
  21  Prefactor     .10000E-03    10.162        .26398E-06** at limit **
  22  Prefactor     1.0356        6.4375        .52925E-05    .93516E-04
  23  Normalizat    1.1908        .19467        .38230E-05   -.41844E-03
  24  Prefactor     .89012        .18641       -.66883E-05    .82648E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.47254
  Prefactor  = 1.17174
  Prefactor  = 29.1239
  Prefactor  = 2.04501
  norm       = 2.5816
  Prefactor  = 19.7768
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.13743
  Prefactor  = 0.0001
  Prefactor  = 3.67818
  Prefactor  = 14.7725
  Prefactor  = 0.0001
  norm       = 9.7617
  norm       = 3.24249
  Prefactor  = 11.7365
  Prefactor  = 7.79553
  Prefactor  = 0.0001
  Prefactor  = 1.03557
  Normalizat = 1.19076
  Prefactor  = 0.890116
 **********
 **   18 **HESSE 
 **********

 FCN=   8733.989     FROM HESSE     STATUS=OK           403 CALLS     3176 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.9162        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    42.336        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    31.082        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.4725        11.191        .95205E-03   -1.5285    
   5  Prefactor     1.1717        1.2803        .10725E-03   -1.5491    
   6  Prefactor     29.124        157.12        .36840E-03   -1.4628    
   7  Prefactor     2.0450        8.3192        .28980E-03   -1.5422    
   8  norm          2.5816        1.1664        .65748E-04   -1.5387    
   9  Prefactor     19.777        21.277        .90077E-04   -1.4818    
  10  Prefactor     .10000E-03    1.9006        .12466E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    36.687        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.1374        1.9992        .17191E-03   -1.5495    
  13  Prefactor     .10000E-03    1.1420        .96412E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.6782        1.8429        .87158E-04   -1.5324    
  15  Prefactor     14.772        18.314        .52105E-03   -1.4939    
  16  Prefactor     .10000E-03    2.8926        .15336E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          9.7617        .66961        .18983E-04   -1.5083    
  18  norm          3.2425        2.9121        .14682E-03   -1.5348    
  19  Prefactor     11.736        10.151        .11693E-03   -1.5023    
  20  Prefactor     7.7955        7.4066        .14362E-03   -1.5149    
  21  Prefactor     .10000E-03    10.181        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.0356        6.4446        .46159E-03   -1.5504    
  23  Normalizat    1.1908        .22522        .29661E-03   -.86889    
  24  Prefactor     .89012        .21138        .32889E-03   -.96487    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41375e-09
Minuit parameter uncertainties:
  1  1.33623e-06
  2  6.36678e-06
  3  3.43986e-05
  4  11.1967
  5  1.28029
  6  135.849
  7  8.25114
  8  1.16643
  9  21.2848
  10  1.56113e-05
  11  5.35952e-05
  12  1.9993
  13  2.26071e-06
  14  1.84295
  15  18.3205
  16  5.681e-06
  17  0.669612
  18  2.91225
  19  10.1528
  20  7.40751
  21  1.37912e-05
  22  5.16734
  23  0.225401
  24  0.211575
Done.

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

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  1.137e+00  1.999e+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.901e-01  2.116e-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.191e+00  2.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.41
Ra Dec: 182.466 18.178
Photon Flux Upper Limit: 8.63e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.67e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/373955/likelihoodResults_294537601_294796801_4FGL_J1209.8+1810_daily_bin213.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) = 8733.98872126
delta logL = 0.00011290481234

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8733.98869321
delta logL = 0.000140953687151

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1226       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4270       1.0000          .0000       10.000    
     3 'Normalizat'    1.1906       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89025       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=   8733.989     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      217 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1212        65.592        .11069E-01    .11296E-02
   2  Index         2.4294        6.0569        .25029        .43391E-04
   3  Normalizat    1.1905        .45255E-01    .67050E-01   -.21524E-05
   4  Prefactor     .89027        .43817E-01    .74317E-01    .57634E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.12122
  Index      = 2.42943
  Normalizat = 1.19053
  Prefactor  = 0.890269
 **********
 **   18 **HESSE 
 **********

 FCN=   8733.989     FROM HESSE     STATUS=OK            33 CALLS      250 TOTAL
                     EDM=   .61E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1212        2.3411        .17066E-03   -1.5496    
   2  Index         2.4294        1.1416        .14604E-01   -.53997    
   3  Normalizat    1.1905        .21405        .29663E-03   -.86896    
   4  Prefactor     .89027        .20912        .32887E-03   -.96482    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.10009e-12
Minuit parameter uncertainties:
  1  2.34133
  2  1.15557
  3  0.214204
  4  0.209312
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/373955': 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) = 8733.98869056
delta logL = 0.000143603647302

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  1.121e+00  2.341e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.429e+00  1.156e+00  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.903e-01  2.093e-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.191e+00  2.142e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.41
Ra Dec: 182.466 18.178

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/373955/cmap_HighResolution_294537601_294796801_4FGL_J1209.8+1810_daily_bin213.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.67e-03', job_status='DONE', photon_flux_upper_limit='8.63e-08', time_completed='2021-09-05 02:31:38.349100', job_id='373955', GAL2='0.89', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1630834298.35', return_code2='0', ts='0.41', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='1.44e-04', ts2='0.41', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='213' AND source_name='4FGL J1209.8+1810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 02:31:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 373955: <4FGL_J1209.8+1810_daily_bin213> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1209.8+1810_daily_bin213 182.466 18.1776 294537601 294796801 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 :                                   926.08 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             340.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   942 sec.
    Turnaround time :                            945 sec.

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

