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


Performing analysis on: 4FGL_J1209.8+1810_daily_bin1479
RA = 182.466, Dec = 18.1776
tmin = 622684801, tmax = 622944001
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='382727', job_status='RUN', time_executed='2021-09-05 02:42:43.490498', time_epoch_executed='1630834963.49' WHERE source_name='4FGL J1209.8+1810' and cadence='daily' and bin_id='1479'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/382727

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/382727/ft1_4FGL_J1209.8+1810_daily_bin1479.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/382727/ft2_4FGL_J1209.8+1810_daily_bin1479.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/382727/ft1_4FGL_J1209.8+1810_daily_bin1479.fits outfile=/scratch/kocevski/382727/ft1_filteredMKT_4FGL_J1209.8+1810_daily_bin1479.fits ra=182.466 dec=18.1776 rad=12.0 tmin=622684801.0 tmax=622944001.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 5.20
user 4.89
sys 0.25

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/382727/ft1_filtered_4FGL_J1209.8+1810_daily_bin1479.fits evtable="EVENTS" scfile=/scratch/kocevski/382727/ft2_4FGL_J1209.8+1810_daily_bin1479.fits sctable="SC_DATA" expcube=/scratch/kocevski/382727/ltcube_622684801_622944001_4FGL_J1209.8+1810_daily_bin1479.fits outfile=/scratch/kocevski/382727/expmap_622684801_622944001_4FGL_J1209.8+1810_daily_bin1479.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/382727/ltcube_622684801_622944001_4FGL_J1209.8+1810_daily_bin1479.fits
.....................!
real 191.44
user 185.04
sys 5.15

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/382727/ft1_filtered_4FGL_J1209.8+1810_daily_bin1479.fits scfile=/scratch/kocevski/382727/ft2_4FGL_J1209.8+1810_daily_bin1479.fits outfile=/scratch/kocevski/382727/cmap_622684801_622944001_4FGL_J1209.8+1810_daily_bin1479.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=182.466 yref=18.1776 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.53
user 0.38
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    38.943       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    8.6055       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11167E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    69.466       1.0000         .10000E-03   10000.    
     7 'Prefactor '    24.671       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.2299       1.0000         .10000E-03   10000.    
    11 'Prefactor '    27.082       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.1430       1.0000         .10000E-03   10000.    
    15 'Prefactor '    7.1156       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .28300       1.0000         .10000E-03   10000.    
    17 'norm      '    .21332       1.0000         .10000E-03   10000.    
    18 'norm      '    .68034       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.4796       1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.7924       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.7522       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .66208       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=   5834.307     FROM MIGRAD    STATUS=CONVERGED    535 CALLS     2813 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     38.941        17.633        .65920E-07   -.24472E-04
   2  Prefactor     .10000E-03    13.830        .80349E-07** at limit **
   3  Prefactor     .10000E-03    13.419        .21553E-06** at limit **
   4  Prefactor     8.6048        11.757        .96894E-07   -.23878E-04
   5  Prefactor     .10000E-03    1.4709        .43071E-06** at limit **
   6  Prefactor     69.447        145.84        .27239E-06   -.51142E-05
   7  Prefactor     24.673        16.725        .74287E-07   -.59432E-05
   8  norm          .10000E-03    .58302        .13689E-06** at limit **
   9  Prefactor     .10000E-03    9.6521       -.10578E-05** at limit **
  10  Prefactor     2.2301        4.1980        .39542E-06   -.61854E-04
  11  Prefactor     26.980        135.17       -.42706E-06   -.26075E-04
  12  Prefactor     .10000E-03    3.0467        .11215E-06** at limit **
  13  Prefactor     .10000E-03    3.0896        .43875E-07** at limit **
  14  Prefactor     2.1430        1.9433        .75576E-08    .40106E-04
  15  Prefactor     7.1032        41.013        .21332E-06   -.17425E-04
  16  Prefactor     .25477        8.1948       -.22972E-05    .36823E-03
  17  norm          .21331        .29151        .14450E-06    .73041E-03
  18  norm          .68376        6.0953        .32530E-05    .29160E-03
  19  Prefactor     6.4697        14.403        .42696E-06   -.20921E-04
  20  Prefactor     8.7926        8.8259       -.54761E-06    .46873E-04
  21  Prefactor     .10000E-03    23.286       -.21553E-06** at limit **
  22  Prefactor     .10000E-03    3.3056        .87786E-07** at limit **
  23  Normalizat    1.7523        .21892       -.46339E-06   -.26279E-04
  24  Prefactor     .66216        .20202       -.11431E-05   -.60573E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 38.9414
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.60479
  Prefactor  = 0.0001
  Prefactor  = 69.4475
  Prefactor  = 24.6733
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.23008
  Prefactor  = 26.9796
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.14298
  Prefactor  = 7.10325
  Prefactor  = 0.254773
  norm       = 0.213315
  norm       = 0.683758
  Prefactor  = 6.46974
  Prefactor  = 8.79256
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.75228
  Prefactor  = 0.662158
 **********
 **   18 **HESSE 
 **********

 FCN=   5834.307     FROM HESSE     STATUS=OK           405 CALLS     3218 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     38.941        17.663        .64229E-04   -1.4459    
   2  Prefactor     .10000E-03    13.836        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    13.449        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.6048        11.739        .13665E-03   -1.5121    
   5  Prefactor     .10000E-03    3.2436        .17611E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     69.447        145.84        .48162E-04   -1.4039    
   7  Prefactor     24.673        16.712        .80647E-04   -1.4714    
   8  norm          .10000E-03    .59966        .11387E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    9.5955        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.2301        4.1626        .20296E-03   -1.5409    
  11  Prefactor     26.980        135.53        .76981E-04   -1.4669    
  12  Prefactor     .10000E-03    3.1702        .25977E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.1628        .26187E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.1430        1.9346        .98146E-04   -1.5415    
  15  Prefactor     7.1032        41.080        .15038E-03   -1.5175    
  16  Prefactor     .25477        34.682        .33715E-02   -1.5607    
  17  norm          .21331        .27569        .44595E-03   -1.5616    
  18  norm          .68376        6.4720        .32782E-03   -1.5543    
  19  Prefactor     6.4697        14.389        .15766E-03   -1.5199    
  20  Prefactor     8.7926        8.8107        .67589E-03   -1.5115    
  21  Prefactor     .10000E-03    23.303        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    3.3179        .13563E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.7523        .25317        .24018E-03   -.70916    
  24  Prefactor     .66216        .23239        .34082E-03   -1.0503    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.43945e-09
Minuit parameter uncertainties:
  1  17.6653
  2  8.92842e-06
  3  8.55505e-06
  4  11.7419
  5  7.49312e-05
  6  146.6
  7  16.7154
  8  8.04253e-08
  9  3.61638e-05
  10  4.1631
  11  121.379
  12  3.69301e-07
  13  4.10261e-06
  14  1.93462
  15  34.1998
  16  5.94741
  17  0.275689
  18  4.20756
  19  14.3972
  20  8.812
  21  3.03441e-05
  22  5.01629e-08
  23  0.253355
  24  0.232729
Done.

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

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  3.693e-07  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.411e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
286        Scale:  8.871e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  6.622e-01  2.327e-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.752e+00  2.534e-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: 9.82e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/382727/likelihoodResults_622684801_622944001_4FGL_J1209.8+1810_daily_bin1479.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) = 5834.30851025
delta logL = -0.00150353210574

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5834.30700718
delta logL = -4.57410351373e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10388E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4392       1.0000          .0000       10.000    
     3 'Normalizat'    1.7522       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66234       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=   5834.307     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      221 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    3.8730        .38190E-01** at limit **
   2  Index         2.4674        6.0341        .50000       -.76687E-04
   3  Normalizat    1.7523        .78779E-02    .54327E-01    .14947E-03
   4  Prefactor     .66216        .73288E-02    .76977E-01    .15538E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.46737
  Normalizat = 1.75228
  Prefactor  = 0.662159
 **********
 **   18 **HESSE 
 **********

 FCN=   5834.307     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      254 TOTAL
                     EDM=   .80E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    701.17        .20371E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4674        5.1109        .50000       -.53115    
   3  Normalizat    1.7523        .13771        .24018E-03   -.70916    
   4  Prefactor     .66216        .12705        .34082E-03   -1.0503    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.00812e-07
Minuit parameter uncertainties:
  1  0.00152834
  2  62.9139
  3  0.137745
  4  0.127101
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/382727': 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): 102
logL (Free Index) = 5834.30700572
delta logL = 1.00356282928e-06

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  1.528e-03  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  2.467e+00  6.291e+01  0.000e+00  1.000e+01 (-1.000e+00)
286        Scale:  8.871e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
611    Prefactor:  6.622e-01  1.271e-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.752e+00  1.377e-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/382727/cmap_HighResolution_622684801_622944001_4FGL_J1209.8+1810_daily_bin1479.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.59e-03', job_status='DONE', photon_flux_upper_limit='9.82e-08', time_completed='2021-09-05 02:55:33.735175', job_id='382727', GAL2='0.66', fit_tolerance='1e-08', EG2='1.75', EG='1.75', time_epoch_completed='1630835733.74', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='1.00e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1479' AND source_name='4FGL J1209.8+1810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 02:55:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0283>
Subject: Job 382727: <4FGL_J1209.8+1810_daily_bin1479> in cluster <slac> Done

Job <4FGL_J1209.8+1810_daily_bin1479> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Sep  5 02:40:36 2021
Job was executed on host(s) <bullet0283>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 02:40:38 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:40:38 2021
Terminated at Sun Sep  5 02:55:36 2021
Results reported at Sun Sep  5 02:55:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1209.8+1810_daily_bin1479 182.466 18.1776 622684801 622944001 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 :                                   686.46 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             284.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   895 sec.
    Turnaround time :                            900 sec.

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

