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


Performing analysis on: 4FGL_J1209.8+1810_daily_bin365
RA = 182.466, Dec = 18.1776
tmin = 333936001, tmax = 334195201
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='375339', job_status='RUN', time_executed='2021-09-05 02:20:49.967548', time_epoch_executed='1630833649.97' WHERE source_name='4FGL J1209.8+1810' and cadence='daily' and bin_id='365'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/375339

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/375339/ft1_4FGL_J1209.8+1810_daily_bin365.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/375339/ft2_4FGL_J1209.8+1810_daily_bin365.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/375339/ft1_4FGL_J1209.8+1810_daily_bin365.fits outfile=/scratch/kocevski/375339/ft1_filteredMKT_4FGL_J1209.8+1810_daily_bin365.fits ra=182.466 dec=18.1776 rad=12.0 tmin=333936001.0 tmax=334195201.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 3.53
user 3.32
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/375339/ft1_filtered_4FGL_J1209.8+1810_daily_bin365.fits evtable="EVENTS" scfile=/scratch/kocevski/375339/ft2_4FGL_J1209.8+1810_daily_bin365.fits sctable="SC_DATA" expcube=/scratch/kocevski/375339/ltcube_333936001_334195201_4FGL_J1209.8+1810_daily_bin365.fits outfile=/scratch/kocevski/375339/expmap_333936001_334195201_4FGL_J1209.8+1810_daily_bin365.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/375339/ltcube_333936001_334195201_4FGL_J1209.8+1810_daily_bin365.fits
.....................!
real 191.91
user 187.03
sys 4.45

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/375339/ft1_filtered_4FGL_J1209.8+1810_daily_bin365.fits scfile=/scratch/kocevski/375339/ft2_4FGL_J1209.8+1810_daily_bin365.fits outfile=/scratch/kocevski/375339/cmap_333936001_334195201_4FGL_J1209.8+1810_daily_bin365.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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/375339/ft1_filtered_4FGL_J1209.8+1810_daily_bin365.fits scfile=/scratch/kocevski/375339/ft2_4FGL_J1209.8+1810_daily_bin365.fits outfile=/scratch/kocevski/375339/cmap_HighResolution_333936001_334195201_4FGL_J1209.8+1810_daily_bin365.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.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    53.999       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .43269       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .18739E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    19.244       1.0000         .10000E-03   10000.    
     8 'norm      '    1.6618       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10237E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .23780E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.4471       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10632E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.8829       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.0904       1.0000         .10000E-03   10000.    
    18 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10471E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    19.720       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10454E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .68539E-01   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.4730       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .86099       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=   6643.107     FROM MIGRAD    STATUS=CONVERGED    580 CALLS     2398 TOTAL
                     EDM=   .59E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.9975        .30547E-07** at limit **
   2  Prefactor     53.976        41.410        .16618E-06   -.47014E-05
   3  Prefactor     .10000E-03    22.950       -.76689E-07** at limit **
   4  Prefactor     .10000E-03    4.4329       -.20655E-08** at limit **
   5  Prefactor     .43279        1.5983        .13332E-05    .27537E-03
   6  Prefactor     .10001E-03    444.20       -.40136E-05** at limit **
   7  Prefactor     19.238        14.330        .17169E-06   -.17816E-04
   8  norm          1.6622        1.2603        .32261E-07   -.62502E-04
   9  Prefactor     .10000E-03    15.469       -.15197E-06** at limit **
  10  Prefactor     .10000E-03    2.6705       -.13912E-06** at limit **
  11  Prefactor     .10000E-03    253.70        .18729E-06** at limit **
  12  Prefactor     1.4493        3.5801        .14946E-05    .52439E-03
  13  Prefactor     .10001E-03    2.1797       -.70847E-06** at limit **
  14  Prefactor     2.8833        2.1369        .20881E-07   -.25444E-04
  15  Prefactor     .10000E-03    17.788        .13740E-06** at limit **
  16  Prefactor     .10000E-03    2.0323        .17774E-07** at limit **
  17  norm          2.0907        .40951       -.45252E-08    .29733E-06
  18  norm          .10000E-03    1.1190        .13100E-07** at limit **
  19  Prefactor     .10000E-03    11.716        .79890E-07** at limit **
  20  Prefactor     19.723        13.632        .36058E-07   -.64648E-05
  21  Prefactor     .10000E-03    20.204       -.45847E-07** at limit **
  22  Prefactor     .87619E-01    5.3353        .15215E-05   -.70293E-03
  23  Normalizat    1.4722        .20534       -.59600E-06   -.36113E-04
  24  Prefactor     .86164        .18654       -.42339E-06   -.52809E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 53.9758
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.432787
  Prefactor  = 0.000100012
  Prefactor  = 19.2377
  norm       = 1.6622
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 1.44927
  Prefactor  = 0.00010001
  Prefactor  = 2.8833
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.09067
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.7226
  Prefactor  = 0.0001
  Prefactor  = 0.087619
  Normalizat = 1.47223
  Prefactor  = 0.861644
 **********
 **   18 **HESSE 
 **********

 FCN=   6643.107     FROM HESSE     STATUS=OK           403 CALLS     2801 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.0102        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     53.976        41.482        .54584E-04   -1.4237    
   3  Prefactor     .10000E-03    23.087        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.4415        .16758E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .43279        1.5629        .18654E-03   -1.5576    
   6  Prefactor     .10001E-03    446.32        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     19.238        14.333        .91301E-04   -1.4830    
   8  norm          1.6622        1.2489        .77121E-04   -1.5450    
   9  Prefactor     .10000E-03    15.518        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.7156        .13015E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    255.08        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.4493        3.5130        .22192E-03   -1.5467    
  13  Prefactor     .10001E-03    18.598        .20840E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.8833        2.1381        .98797E-04   -1.5368    
  15  Prefactor     .10000E-03    17.849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    2.0387        .11347E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.0907        .41005        .21892E-04   -1.5419    
  18  norm          .10000E-03    1.1208        .84198E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    11.874        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     19.723        13.631        .90194E-04   -1.4819    
  21  Prefactor     .10000E-03    20.312        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .87619E-01    7.2475        .60591E-01   -1.5649    
  23  Normalizat    1.4722        .24311        .25767E-03   -.78562    
  24  Prefactor     .86164        .22123        .30716E-03   -.97495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21151e-09
Minuit parameter uncertainties:
  1  2.59967e-06
  2  41.5044
  3  3.35448e-05
  4  1.14555e-06
  5  1.56306
  6  0.00467502
  7  14.3361
  8  1.24894
  9  3.55104e-06
  10  1.38019e-05
  11  0.00167111
  12  3.51351
  13  0.000847876
  14  2.13813
  15  3.78162e-05
  16  7.12332e-07
  17  0.410055
  18  3.20479e-07
  19  1.59433e-05
  20  13.6329
  21  1.83121e-05
  22  1.59305
  23  0.243306
  24  0.221455
Done.

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

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  1.449e+00  3.514e+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.616e-01  2.215e-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.472e+00  2.433e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/375339/likelihoodResults_333936001_334195201_4FGL_J1209.8+1810_daily_bin365.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) = 6643.04044637
delta logL = 0.0669311728789

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6643.03570444
delta logL = 0.0716731015709

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2087       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8596       1.0000          .0000       10.000    
     3 'Normalizat'    1.4583       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86870       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=   6643.036     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      215 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2093        49.745        .10294E-01    .11694E-02
   2  Index         2.8596        3.6713        .22449        .65069E-04
   3  Normalizat    1.4584        .40348E-01    .58491E-01    .18566E-05
   4  Prefactor     .86864        .38539E-01    .69168E-01    .17608E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.20931
  Index      = 2.85958
  Normalizat = 1.45839
  Prefactor  = 0.868641
 **********
 **   18 **HESSE 
 **********

 FCN=   6643.036     FROM HESSE     STATUS=OK            33 CALLS      248 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2093        3.3156        .15214E-03   -1.5488    
   2  Index         2.8596        1.4138        .10220E-01   -.44237    
   3  Normalizat    1.4584        .23869        .25866E-03   -.78954    
   4  Prefactor     .86864        .22211        .30601E-03   -.97246    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.98154e-09
Minuit parameter uncertainties:
  1  3.3161
  2  1.43797
  3  0.238878
  4  0.222339
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/375339': 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) = 6643.03570437
delta logL = 0.0716731798284

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  1.209e+00  3.316e+00  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.860e+00  1.438e+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.686e-01  2.223e-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.458e+00  2.389e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/375339/cmap_HighResolution_333936001_334195201_4FGL_J1209.8+1810_daily_bin365.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.78e-03', job_status='DONE', photon_flux_upper_limit='1.26e-07', time_completed='2021-09-05 02:32:44.765695', job_id='375339', GAL2='0.87', fit_tolerance='1e-08', EG2='1.46', EG='1.47', time_epoch_completed='1630834364.77', return_code2='0', ts='0.19', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='7.17e-02', ts2='0.34', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='365' AND source_name='4FGL J1209.8+1810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 02:32:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 375339: <4FGL_J1209.8+1810_daily_bin365> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1209.8+1810_daily_bin365 182.466 18.1776 333936001 334195201 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 :                                   711.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             352.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   731 sec.
    Turnaround time :                            732 sec.

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

