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


Performing analysis on: 4FGL_J1209.8+1810_daily_bin549
RA = 182.466, Dec = 18.1776
tmin = 381628801, tmax = 381888001
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='376818', job_status='RUN', time_executed='2021-09-05 02:25:35.470533', time_epoch_executed='1630833935.47' WHERE source_name='4FGL J1209.8+1810' and cadence='daily' and bin_id='549'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/376818

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/376818/ft1_4FGL_J1209.8+1810_daily_bin549.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/376818/ft2_4FGL_J1209.8+1810_daily_bin549.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/376818/ft1_4FGL_J1209.8+1810_daily_bin549.fits outfile=/scratch/kocevski/376818/ft1_filteredMKT_4FGL_J1209.8+1810_daily_bin549.fits ra=182.466 dec=18.1776 rad=12.0 tmin=381628801.0 tmax=381888001.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 4.00
user 3.74
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/376818/ft2_4FGL_J1209.8+1810_daily_bin549.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/376818/ft1_filteredMKT_4FGL_J1209.8+1810_daily_bin549.fits evtable="EVENTS" outfile="/scratch/kocevski/376818/ft1_filtered_4FGL_J1209.8+1810_daily_bin549.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.35
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/376818/ft1_filtered_4FGL_J1209.8+1810_daily_bin549.fits evtable="EVENTS" scfile=/scratch/kocevski/376818/ft2_4FGL_J1209.8+1810_daily_bin549.fits sctable="SC_DATA" expcube=/scratch/kocevski/376818/ltcube_381628801_381888001_4FGL_J1209.8+1810_daily_bin549.fits outfile=/scratch/kocevski/376818/expmap_381628801_381888001_4FGL_J1209.8+1810_daily_bin549.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/376818/ltcube_381628801_381888001_4FGL_J1209.8+1810_daily_bin549.fits
.....................!
real 190.21
user 185.49
sys 4.33

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

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .60856E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    45.044       1.0000         .10000E-03   10000.    
     4 'Prefactor '    19.076       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10933E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .95259       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .63325E-02   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .86056E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    24.701       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.7801       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.2251       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.1414       1.0000         .10000E-03   10000.    
    18 'norm      '    .10103E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10584E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    55.755       1.0000         .10000E-03   10000.    
    22 'Prefactor '    6.4973       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1774       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1369       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=   6505.016     FROM MIGRAD    STATUS=CONVERGED    601 CALLS     3469 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    12.598       -.13199E-05** at limit **
   2  Prefactor     .10003E-03    309.49       -.75902E-05** at limit **
   3  Prefactor     45.040        28.690        .23052E-05   -.18078E-03
   4  Prefactor     19.045        16.902       -.11215E-05   -.34793E-03
   5  Prefactor     .10000E-03    1.5978        .20638E-06** at limit **
   6  Prefactor     .10000E-03    98.219        .12861E-04** at limit **
   7  Prefactor     .10000E-03    5.1862        .87381E-06** at limit **
   8  norm          .95252        .77871        .45694E-07   -.11648E-03
   9  Prefactor     .10118E-03    19.095        .77923E-05** at limit **
  10  Prefactor     .10088E-03    2.6135        .81255E-06** at limit **
  11  Prefactor     24.832        91.595       -.48400E-05   -.14338E-03
  12  Prefactor     .10000E-03    1.9187       -.57886E-07** at limit **
  13  Prefactor     5.7778        3.4358        .50505E-06   -.82522E-03
  14  Prefactor     6.2241        3.3954        .44939E-06   -.28199E-03
  15  Prefactor     .10000E-03    10.076       -.24555E-05** at limit **
  16  Prefactor     .10000E-03    6.2549       -.11579E-06** at limit **
  17  norm          1.1413        .34542        .95093E-07   -.21713E-02
  18  norm          .10000E-03    2.6436        .61332E-06** at limit **
  19  Prefactor     .10000E-03    10.821        .33614E-05** at limit **
  20  Prefactor     .10000E-03    6.2161        .12716E-06** at limit **
  21  Prefactor     55.773        34.629        .94221E-06   -.14579E-03
  22  Prefactor     6.4906        10.152        .59761E-05   -.16831E-05
  23  Normalizat    1.1775        .21862       -.63710E-05   -.57647E-03
  24  Prefactor     1.1370        .19475       -.72496E-06   -.79767E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100034
  Prefactor  = 45.0399
  Prefactor  = 19.0451
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.952523
  Prefactor  = 0.000101177
  Prefactor  = 0.000100883
  Prefactor  = 24.8317
  Prefactor  = 0.0001
  Prefactor  = 5.77782
  Prefactor  = 6.22409
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.1413
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 55.7734
  Prefactor  = 6.49061
  Normalizat = 1.1775
  Prefactor  = 1.13702
 **********
 **   18 **HESSE 
 **********

 FCN=   6505.016     FROM HESSE     STATUS=OK           403 CALLS     3872 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.693        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10003E-03    320.31        .37837E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     45.040        27.928        .59738E-04   -1.4365    
   4  Prefactor     19.045        17.008        .91702E-04   -1.4835    
   5  Prefactor     .10000E-03    3.4295        .19075E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    98.172        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.2116        .17945E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .95252        .80858        .62574E-03   -1.5513    
   9  Prefactor     .10118E-03    96.435        .58979E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10088E-03    5.7859        .41412E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     24.832        93.627        .80599E-04   -1.4711    
  12  Prefactor     .10000E-03    1.9858        .21757E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     5.7778        3.4198        .54892E-03   -1.5227    
  14  Prefactor     6.2241        3.3906        .10454E-03   -1.5209    
  15  Prefactor     .10000E-03    10.063        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.4162        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.1413        .34465        .24606E-04   -1.5494    
  18  norm          .10000E-03    8.4886        .25384E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    10.952        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    6.2257        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     55.773        34.603        .53722E-04   -1.4213    
  22  Prefactor     6.4906        10.114        .15745E-03   -1.5198    
  23  Normalizat    1.1775        .26079        .28310E-03   -.87301    
  24  Prefactor     1.1370        .23512        .27951E-03   -.88292    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40204e-08
Minuit parameter uncertainties:
  1  0.000116358
  2  0.00659618
  3  27.9365
  4  17.0125
  5  9.23412e-05
  6  0.000280827
  7  3.37761e-07
  8  0.808593
  9  0.0213391
  10  0.00452092
  11  94.1878
  12  1.59985e-05
  13  3.41995
  14  3.39071
  15  2.02703e-06
  16  4.00343e-05
  17  0.344647
  18  7.34438e-05
  19  5.15526e-05
  20  9.75397e-06
  21  34.6151
  22  10.1168
  23  0.261073
  24  0.235337
Done.

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

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  1.600e-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.137e+00  2.353e-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.177e+00  2.611e-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: 7.97e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.16e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/376818/likelihoodResults_381628801_381888001_4FGL_J1209.8+1810_daily_bin549.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) = 6505.01872139
delta logL = -0.00239311986115

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6505.01632841
delta logL = -1.49051629705e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4228       1.0000          .0000       10.000    
     3 'Normalizat'    1.1775       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1370       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=   6505.016     FROM MIGRAD    STATUS=CONVERGED    119 CALLS      278 TOTAL
                     EDM=   .37E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .21550E-01    .28209E-01** at limit **
   2  Index         3.4332        5.8098        .50000        .85072E-06
   3  Normalizat    1.1775        .12350E-02    .28310E-03    .74632E-03
   4  Prefactor     1.1370        .12062E-02    .27951E-03    .48892E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 3.43319
  Normalizat = 1.1775
  Prefactor  = 1.13703
 **********
 **   18 **HESSE 
 **********

 FCN=   6505.016     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      309 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.165        .96404E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.4332        7.3951        .50000       -.31873    
   3  Normalizat    1.1775        .14073E-01    .56621E-04   -.87301    
   4  Prefactor     1.1370        .13745E-01    .55902E-04   -.88292    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.4791e-10
Minuit parameter uncertainties:
  1  1.51999e-05
  2  114.495
  3  0.0140732
  4  0.0137448
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/376818': 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) = 6505.01632023
delta logL = 8.03234615887e-06

Extracting fit parameters...

4FGL J1209.8+1810
   Spectrum: PowerLaw
284    Prefactor:  1.000e-04  1.520e-05  1.000e-04  1.000e+04 ( 1.000e-12)
285        Index:  3.433e+00  1.145e+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.137e+00  1.374e-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:  1.177e+00  1.407e-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/376818/cmap_HighResolution_381628801_381888001_4FGL_J1209.8+1810_daily_bin549.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.16e-03', job_status='DONE', photon_flux_upper_limit='7.97e-08', time_completed='2021-09-05 02:39:06.898555', job_id='376818', GAL2='1.14', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1630834746.9', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='8.03e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='549' AND source_name='4FGL J1209.8+1810' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 02:39:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 376818: <4FGL_J1209.8+1810_daily_bin549> in cluster <slac> Done

Job <4FGL_J1209.8+1810_daily_bin549> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Sep  5 02:25:21 2021
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 02:25:23 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:25:23 2021
Terminated at Sun Sep  5 02:39:07 2021
Results reported at Sun Sep  5 02:39:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1209.8+1810_daily_bin549 182.466 18.1776 381628801 381888001 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 :                                   807.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             349.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   824 sec.
    Turnaround time :                            826 sec.

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

