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


Performing analysis on: 4FGL_J1209.8+1810_daily_bin1280
RA = 182.466, Dec = 18.1776
tmin = 571104001, tmax = 571363201
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='380835', job_status='RUN', time_executed='2021-09-05 02:38:21.625359', time_epoch_executed='1630834701.63' WHERE source_name='4FGL J1209.8+1810' and cadence='daily' and bin_id='1280'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/380835

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/380835/ft1_4FGL_J1209.8+1810_daily_bin1280.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/380835/ft2_4FGL_J1209.8+1810_daily_bin1280.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/380835/ft1_4FGL_J1209.8+1810_daily_bin1280.fits outfile=/scratch/kocevski/380835/ft1_filteredMKT_4FGL_J1209.8+1810_daily_bin1280.fits ra=182.466 dec=18.1776 rad=12.0 tmin=571104001.0 tmax=571363201.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.97
user 2.77
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/380835/ft1_filtered_4FGL_J1209.8+1810_daily_bin1280.fits" evtable="EVENTS" scfile=/scratch/kocevski/380835/ft2_4FGL_J1209.8+1810_daily_bin1280.fits sctable="SC_DATA" outfile=/scratch/kocevski/380835/ltcube_571104001_571363201_4FGL_J1209.8+1810_daily_bin1280.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/380835/ft2_4FGL_J1209.8+1810_daily_bin1280.fits
.....................!
real 13.09
user 12.69
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/380835/ft1_filtered_4FGL_J1209.8+1810_daily_bin1280.fits evtable="EVENTS" scfile=/scratch/kocevski/380835/ft2_4FGL_J1209.8+1810_daily_bin1280.fits sctable="SC_DATA" expcube=/scratch/kocevski/380835/ltcube_571104001_571363201_4FGL_J1209.8+1810_daily_bin1280.fits outfile=/scratch/kocevski/380835/expmap_571104001_571363201_4FGL_J1209.8+1810_daily_bin1280.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/380835/ltcube_571104001_571363201_4FGL_J1209.8+1810_daily_bin1280.fits
.....................!
real 190.55
user 185.30
sys 4.86

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/380835/ft1_filtered_4FGL_J1209.8+1810_daily_bin1280.fits scfile=/scratch/kocevski/380835/ft2_4FGL_J1209.8+1810_daily_bin1280.fits outfile=/scratch/kocevski/380835/cmap_571104001_571363201_4FGL_J1209.8+1810_daily_bin1280.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/380835/ft1_filtered_4FGL_J1209.8+1810_daily_bin1280.fits scfile=/scratch/kocevski/380835/ft2_4FGL_J1209.8+1810_daily_bin1280.fits outfile=/scratch/kocevski/380835/cmap_HighResolution_571104001_571363201_4FGL_J1209.8+1810_daily_bin1280.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.62
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    117.52       1.0000         .10000E-03   10000.    
     2 'Prefactor '    91.607       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .19840E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .22112E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.697       1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.336       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.0110       1.0000         .10000E-03   10000.    
     8 'norm      '    3.0285       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.7872       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.3522       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11752E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12659E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.8344       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .78063E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.2397       1.0000         .10000E-03   10000.    
    17 'norm      '    .36679       1.0000         .10000E-03   10000.    
    18 'norm      '    1.2524       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.0855       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10303E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    39.670       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .87284       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .96195       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2857.809     FROM MIGRAD    STATUS=CONVERGED    224 CALLS     2058 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     117.91        57.360       -.10603E-06   -.35576E-04
   2  Prefactor     103.65        141.65        .39361E-04   -.41048E-04
   3  Prefactor     .10000E-03    31.151        .11069E-04** at limit **
   4  Prefactor     .10007E-03    52.575        .16814E-03** at limit **
   5  Prefactor     10.743        4.6034        .17539E-06   -.60398E-04
   6  Prefactor     94.995        366.90       -.14162E-04   -.10654E-04
   7  Prefactor     7.1944        18.073       -.72014E-05    .48453E-04
   8  norm          3.0417        1.9480       -.20394E-08    .46186E-04
   9  Prefactor     7.1510        23.788       -.23438E-04   -.16577E-03
  10  Prefactor     5.3644        6.0650        .19329E-05   -.14153E-03
  11  Prefactor     .10001E-03    190.40       -.17874E-04** at limit **
  12  Prefactor     .10000E-03    20.302       -.22667E-04** at limit **
  13  Prefactor     1.8559        3.3505       -.40352E-07   -.76284E-04
  14  Prefactor     .10000E-03    1.1348       -.40490E-06** at limit **
  15  Prefactor     .10000E-03    13.542        .46218E-05** at limit **
  16  Prefactor     5.2545        4.9060        .44547E-06   -.16354E-04
  17  norm          .37244        .32507       -.64969E-07   -.14833E-03
  18  norm          1.2789        3.2563        .51501E-05   -.29836E-04
  19  Prefactor     7.1488        12.249       -.39716E-05   -.51813E-04
  20  Prefactor     .10000E-03    22.175        .75264E-05** at limit **
  21  Prefactor     40.548        54.987        .10945E-04   -.39537E-04
  22  Prefactor     .10000E-03    2.3381       -.37229E-07** at limit **
  23  Normalizat    .86385        .33215        .10458E-05   -.11033E-03
  24  Prefactor     .95920        .30469       -.98865E-05   -.76705E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 117.912
  Prefactor  = 103.651
  Prefactor  = 0.0001
  Prefactor  = 0.000100075
  Prefactor  = 10.7427
  Prefactor  = 94.995
  Prefactor  = 7.19438
  norm       = 3.04171
  Prefactor  = 7.15101
  Prefactor  = 5.36438
  Prefactor  = 0.000100012
  Prefactor  = 0.000100002
  Prefactor  = 1.85592
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.25454
  norm       = 0.372437
  norm       = 1.27887
  Prefactor  = 7.14875
  Prefactor  = 0.0001
  Prefactor  = 40.5478
  Prefactor  = 0.0001
  Normalizat = 0.863853
  Prefactor  = 0.959197
 **********
 **   18 **HESSE 
 **********

 FCN=   2857.809     FROM HESSE     STATUS=OK           461 CALLS     2519 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     117.91        57.490        .92794E-03   -1.3532    
   2  Prefactor     103.65        143.07        .10496E-02   -1.3668    
   3  Prefactor     .10000E-03    30.995        .10118E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10007E-03    50.923        .91331E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     10.743        4.5958        .30626E-02   -1.5052    
   6  Prefactor     94.995        365.97        .31157E-02   -1.3756    
   7  Prefactor     7.1944        18.185        .35415E-02   -1.5171    
   8  norm          3.0417        1.9467        .58296E-02   -1.5359    
   9  Prefactor     7.1510        23.626        .38503E-02   -1.5173    
  10  Prefactor     5.3644        6.0995        .43428E-02   -1.5245    
  11  Prefactor     .10001E-03    189.80        .90817E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.6798        .52198E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.8559        3.4178        .77021E-02   -1.5435    
  14  Prefactor     .10000E-03    1.1274        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    13.460        .10458E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.2545        4.9064        .43900E-02   -1.5249    
  17  norm          .37244        .33181        .59802E-02   -1.5586    
  18  norm          1.2789        3.2989        .99851E-02   -1.5482    
  19  Prefactor     7.1488        12.252        .37676E-02   -1.5173    
  20  Prefactor     .10000E-03    21.586        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     40.548        54.373        .15910E-02   -1.4434    
  22  Prefactor     .10000E-03    2.3471        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .86385        .28893        .44554E-01   -.97742    
  24  Prefactor     .95920        .26313        .45790E-01   -.94102    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.15741e-09
Minuit parameter uncertainties:
  1  57.5175
  2  143.551
  3  0.000126758
  4  0.00389913
  5  4.59597
  6  375.259
  7  18.1991
  8  1.94675
  9  23.6572
  10  6.10019
  11  0.00296992
  12  0.000140474
  13  3.41816
  14  1.94237e-06
  15  4.34677e-05
  16  4.90682
  17  0.331808
  18  3.29938
  19  12.256
  20  9.86087e-05
  21  54.4392
  22  2.46105e-06
  23  0.289447
  24  0.263483
Done.

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

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  1.405e-04  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:  9.592e-01  2.635e-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:  8.639e-01  2.894e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 182.466 18.178
Photon Flux Upper Limit: 1.33e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.03e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/380835/likelihoodResults_571104001_571363201_4FGL_J1209.8+1810_daily_bin1280.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): 102
logL (Free Index) = 2857.8089672
delta logL = -0.000237605331222

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2857.80873267
delta logL = -3.07946265821e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .50033E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5280       1.0000          .0000       10.000    
     3 'Normalizat'    .86442       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95852       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=   2857.515     FROM MIGRAD    STATUS=CONVERGED    154 CALLS      333 TOTAL
                     EDM=   .70E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .24061E-02    .47433E-02    .10579E-02** at limit **
   2  Index         6.5569        .79873        .12601        .58448E-04
   3  Normalizat    .78526        .27657        .64697E-01   -.91839E-06
   4  Prefactor     1.0105        .26211        .45747E-01    .28645E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00240612
  Index      = 6.55693
  Normalizat = 0.785255
  Prefactor  = 1.01049
 **********
 **   18 **HESSE 
 **********

 FCN=   2857.515     FROM HESSE     STATUS=OK            35 CALLS      368 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .24061E-02    .44494E-01    .38008E-04   -1.5718    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.5569        3.6566        .62319E-02    .31665    
   3  Normalizat    .78526        .32375        .28620E-03   -1.0062    
   4  Prefactor     1.0105        .30972        .24829E-03   -.92381    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.58736e-09
Minuit parameter uncertainties:
  1  0.0202591
  2  4.17254
  3  0.32455
  4  0.310263
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/380835': 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) = 2857.51504865
delta logL = 0.293680940161

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  2.406e-03  2.026e-02  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  6.557e+00  4.173e+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:  1.010e+00  3.103e-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:  7.853e-01  3.245e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/380835/cmap_HighResolution_571104001_571363201_4FGL_J1209.8+1810_daily_bin1280.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', job_status='DONE', photon_flux_upper_limit='1.33e-07', time_completed='2021-09-05 02:46:24.038083', job_id='380835', GAL2='1.01', fit_tolerance='1e-08', EG2='0.79', EG='0.86', time_epoch_completed='1630835184.04', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='2.94e-01', ts2='0.67', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1280' AND source_name='4FGL J1209.8+1810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 02:46:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0136>
Subject: Job 380835: <4FGL_J1209.8+1810_daily_bin1280> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1209.8+1810_daily_bin1280 182.466 18.1776 571104001 571363201 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 :                                   477.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             324.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   611 sec.
    Turnaround time :                            612 sec.

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

