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


Performing analysis on: 4FGL_J1209.8+1810_daily_bin1400
RA = 182.466, Dec = 18.1776
tmin = 602208001, tmax = 602467201
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='382612', job_status='RUN', time_executed='2021-09-05 02:41:04.325319', time_epoch_executed='1630834864.33' WHERE source_name='4FGL J1209.8+1810' and cadence='daily' and bin_id='1400'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/382612

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/382612/ft1_4FGL_J1209.8+1810_daily_bin1400.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/382612/ft2_4FGL_J1209.8+1810_daily_bin1400.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/382612/ft1_4FGL_J1209.8+1810_daily_bin1400.fits outfile=/scratch/kocevski/382612/ft1_filteredMKT_4FGL_J1209.8+1810_daily_bin1400.fits ra=182.466 dec=18.1776 rad=12.0 tmin=602208001.0 tmax=602467201.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 7.10
user 4.94
sys 0.27

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/382612/ft1_filtered_4FGL_J1209.8+1810_daily_bin1400.fits evtable="EVENTS" scfile=/scratch/kocevski/382612/ft2_4FGL_J1209.8+1810_daily_bin1400.fits sctable="SC_DATA" expcube=/scratch/kocevski/382612/ltcube_602208001_602467201_4FGL_J1209.8+1810_daily_bin1400.fits outfile=/scratch/kocevski/382612/expmap_602208001_602467201_4FGL_J1209.8+1810_daily_bin1400.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/382612/ltcube_602208001_602467201_4FGL_J1209.8+1810_daily_bin1400.fits
.....................!
real 192.64
user 185.54
sys 5.19

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/382612/ft1_filtered_4FGL_J1209.8+1810_daily_bin1400.fits scfile=/scratch/kocevski/382612/ft2_4FGL_J1209.8+1810_daily_bin1400.fits outfile=/scratch/kocevski/382612/cmap_602208001_602467201_4FGL_J1209.8+1810_daily_bin1400.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.62
user 0.37
sys 0.17

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.5514       1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.363       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10196E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.0177       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    20.317       1.0000         .10000E-03   10000.    
     8 'norm      '    5.4558       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .25365       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    47.652       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .51826       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.5596       1.0000         .10000E-03   10000.    
    17 'norm      '    .12676       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.5239       1.0000         .10000E-03   10000.    
    21 'Prefactor '    78.634       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10045E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .87118       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0677       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6140E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5671.097     FROM MIGRAD    STATUS=CONVERGED    972 CALLS     3250 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.5513        12.054        .12967E-03   -.12538E-04
   2  Prefactor     12.352        33.927        .11393E-03   -.19958E-05
   3  Prefactor     .10000E-03    16.435        .18142E-02** at limit **
   4  Prefactor     .10000E-03    2.0061        .10414E-02** at limit **
   5  Prefactor     2.0176        1.5082        .77355E-04    .13359E-03
   6  Prefactor     .10000E-03    69.603        .18142E-02** at limit **
   7  Prefactor     20.303        16.306        .88859E-04   -.10107E-03
   8  norm          5.4558        1.6576        .51435E-04    .42217E-04
   9  Prefactor     .14109        41.031        .81821E-01    .14616E-03
  10  Prefactor     .10000E-03    1.4154        .86854E-03** at limit **
  11  Prefactor     48.025        129.05        .29044E-03   -.26892E-04
  12  Prefactor     .10000E-03    1.0233        .73797E-03** at limit **
  13  Prefactor     .10000E-03    1.0840        .75975E-03** at limit **
  14  Prefactor     .51782        2.1902        .20040E-03    .61382E-04
  15  Prefactor     .10000E-03    62.490        .18142E-02** at limit **
  16  Prefactor     4.5593        4.5196        .15423E-03    .96046E-04
  17  norm          .12670        .18689        .38974E-03    .10265E-01
  18  norm          .10000E-03    1.4377        .87885E-03** at limit **
  19  Prefactor     .10000E-03    4.6346        .15815E-02** at limit **
  20  Prefactor     4.5245        12.384        .18928E-03    .26247E-04
  21  Prefactor     78.651        32.961        .45287E-04    .39914E-04
  22  Prefactor     .10000E-03    2.9316        .12539E-02** at limit **
  23  Normalizat    .87124        .20839        .25706E-03   -.21317E-04
  24  Prefactor     1.0677        .20241        .24106E-03    .89040E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.55126
  Prefactor  = 12.3516
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.01761
  Prefactor  = 0.0001
  Prefactor  = 20.3032
  norm       = 5.45575
  Prefactor  = 0.141091
  Prefactor  = 0.0001
  Prefactor  = 48.0252
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.517818
  Prefactor  = 0.000100003
  Prefactor  = 4.5593
  norm       = 0.126701
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.52446
  Prefactor  = 78.6507
  Prefactor  = 0.0001
  Normalizat = 0.87124
  Prefactor  = 1.06772
 **********
 **   18 **HESSE 
 **********

 FCN=   5671.097     FROM HESSE     STATUS=OK           387 CALLS     3637 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.5513        12.053        .51867E-05   -1.5090    
   2  Prefactor     12.352        33.922        .45570E-05   -1.5005    
   3  Prefactor     .10000E-03    16.441        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.0062        .20828E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.0176        1.5081        .30942E-05   -1.5424    
   6  Prefactor     .10000E-03    69.603        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     20.303        16.305        .35544E-05   -1.4806    
   8  norm          5.4558        1.6576        .20574E-05   -1.5241    
   9  Prefactor     .14109        34.604        .88499E-01   -1.5633    
  10  Prefactor     .10000E-03    1.4156        .17371E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     48.025        126.28        .11617E-04   -1.4321    
  12  Prefactor     .10000E-03    1.0233        .14759E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.0841        .15195E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .51782        2.1870        .40080E-04   -1.5564    
  15  Prefactor     .10000E-03    62.522        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.5593        4.5194        .61693E-05   -1.5281    
  17  norm          .12670        .18670        .77947E-04   -1.5637    
  18  norm          .10000E-03    1.4378        .17577E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    4.6348        .31630E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.5245        12.378        .75712E-05   -1.5283    
  21  Prefactor     78.651        32.959        .90575E-05   -1.3932    
  22  Prefactor     .10000E-03    2.9320        .25079E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .87124        .20846        .10282E-04   -.97478    
  24  Prefactor     1.0677        .20257        .96424E-05   -.90505    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.8402e-10
Minuit parameter uncertainties:
  1  12.0562
  2  33.9747
  3  5.24751e-05
  4  7.42783e-06
  5  1.50815
  6  0.000354737
  7  16.3082
  8  1.65761
  9  4.4202
  10  1.64047e-05
  11  126.996
  12  1.6646e-05
  13  1.6526e-05
  14  2.1283
  15  0.000813942
  16  4.51973
  17  0.186704
  18  3.87882e-06
  19  4.20691e-05
  20  12.3846
  21  32.9662
  22  1.48188e-05
  23  0.20865
  24  0.20272
Done.

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

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  1.665e-05  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:  1.068e+00  2.027e-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.712e-01  2.087e-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: 5.93e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.58e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/382612/likelihoodResults_602208001_602467201_4FGL_J1209.8+1810_daily_bin1400.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) = 5671.10166458
delta logL = -0.00462017563223

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5671.09705041
delta logL = -6.010080142e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11472E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3852       1.0000          .0000       10.000    
     3 'Normalizat'    .87118       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0679       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=   5671.097     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      206 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.5624        .90712E-02** at limit **
   2  Index         1.8864        5.8448        .50000       -.76711E-06
   3  Normalizat    .87124        .87190E-02    .44532E-01   -.21175E-04
   4  Prefactor     1.0677        .90051E-02    .38961E-01   -.29395E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.8864
  Normalizat = 0.871242
  Prefactor  = 1.06771
 **********
 **   18 **HESSE 
 **********

 FCN=   5671.097     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      239 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    62.992        .87483E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8864        8.6359        .50000       -.67221    
   3  Normalizat    .87124        .30566E-01    .25706E-03   -.97478    
   4  Prefactor     1.0677        .31581E-01    .24106E-03   -.90505    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.96758e-09
Minuit parameter uncertainties:
  1  0.000344469
  2  337.665
  3  0.0305667
  4  0.0315814
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/382612': 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) = 5671.09703053
delta logL = 1.38697778311e-05

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  3.445e-04  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  1.886e+00  3.377e+02  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.068e+00  3.158e-02  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.712e-01  3.057e-02  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/382612/cmap_HighResolution_602208001_602467201_4FGL_J1209.8+1810_daily_bin1400.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.58e-03', job_status='DONE', photon_flux_upper_limit='5.93e-08', time_completed='2021-09-05 02:53:50.367838', job_id='382612', GAL2='1.07', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1630835630.37', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.39e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1400' AND source_name='4FGL J1209.8+1810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 02:53:50 PDT 2021


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

Job <4FGL_J1209.8+1810_daily_bin1400> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Sep  5 02:40:28 2021
Job was executed on host(s) <bullet0070>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 02:40:29 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep  5 02:40:29 2021
Terminated at Sun Sep  5 02:53:51 2021
Results reported at Sun Sep  5 02:53:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1209.8+1810_daily_bin1400 182.466 18.1776 602208001 602467201 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 :                                   734.09 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             302.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   801 sec.
    Turnaround time :                            803 sec.

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

