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


Performing analysis on: 4FGL_J1208.9+5441_daily_bin547
RA = 182.226, Dec = 54.6995
tmin = 381110401, tmax = 381369601
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='354507', job_status='RUN', time_executed='2021-09-05 01:16:01.824352', time_epoch_executed='1630829761.82' WHERE source_name='4FGL J1208.9+5441' and cadence='daily' and bin_id='547'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/354507

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/354507/ft1_4FGL_J1208.9+5441_daily_bin547.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/354507/ft2_4FGL_J1208.9+5441_daily_bin547.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/354507/ft1_4FGL_J1208.9+5441_daily_bin547.fits outfile=/scratch/kocevski/354507/ft1_filteredMKT_4FGL_J1208.9+5441_daily_bin547.fits ra=182.226 dec=54.6995 rad=12.0 tmin=381110401.0 tmax=381369601.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.68
user 4.44
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/354507/ft2_4FGL_J1208.9+5441_daily_bin547.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/354507/ft2_4FGL_J1208.9+5441_daily_bin547.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/354507/ft1_filteredMKT_4FGL_J1208.9+5441_daily_bin547.fits evtable="EVENTS" outfile="/scratch/kocevski/354507/ft1_filtered_4FGL_J1208.9+5441_daily_bin547.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/354507/ft1_filtered_4FGL_J1208.9+5441_daily_bin547.fits" evtable="EVENTS" scfile=/scratch/kocevski/354507/ft2_4FGL_J1208.9+5441_daily_bin547.fits sctable="SC_DATA" outfile=/scratch/kocevski/354507/ltcube_381110401_381369601_4FGL_J1208.9+5441_daily_bin547.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/354507/ft2_4FGL_J1208.9+5441_daily_bin547.fits
.....................!
real 12.07
user 11.70
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/354507/ft1_filtered_4FGL_J1208.9+5441_daily_bin547.fits evtable="EVENTS" scfile=/scratch/kocevski/354507/ft2_4FGL_J1208.9+5441_daily_bin547.fits sctable="SC_DATA" expcube=/scratch/kocevski/354507/ltcube_381110401_381369601_4FGL_J1208.9+5441_daily_bin547.fits outfile=/scratch/kocevski/354507/expmap_381110401_381369601_4FGL_J1208.9+5441_daily_bin547.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/354507/ltcube_381110401_381369601_4FGL_J1208.9+5441_daily_bin547.fits
.....................!
real 189.41
user 184.66
sys 4.41

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 221 point sources and 0 extended sources

Setting source of interest to:
4FGL J1208.9+5441 @ 182.226 54.6995

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/354507/ft1_filtered_4FGL_J1208.9+5441_daily_bin547.fits scfile=/scratch/kocevski/354507/ft2_4FGL_J1208.9+5441_daily_bin547.fits outfile=/scratch/kocevski/354507/cmap_381110401_381369601_4FGL_J1208.9+5441_daily_bin547.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.226 yref=54.6995 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.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/354507/ft1_filtered_4FGL_J1208.9+5441_daily_bin547.fits scfile=/scratch/kocevski/354507/ft2_4FGL_J1208.9+5441_daily_bin547.fits outfile=/scratch/kocevski/354507/cmap_HighResolution_381110401_381369601_4FGL_J1208.9+5441_daily_bin547.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.226 yref=54.6995 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.35
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/354507/ft1_filtered_4FGL_J1208.9+5441_daily_bin547.fits evtable="EVENTS" scfile=/scratch/kocevski/354507/ft2_4FGL_J1208.9+5441_daily_bin547.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/354507/Model_4FGL_J1208.9+5441_daily_bin547.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/354507/ft1_filtered_4FGL_J1208.9+5441_daily_bin547.fits.....................!
real 54.32
user 53.03
sys 1.12

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/354507/ft1_filtered_4FGL_J1208.9+5441_daily_bin547.fits', '/scratch/kocevski/354507/ft2_4FGL_J1208.9+5441_daily_bin547.fits', expMap='/scratch/kocevski/354507/expmap_381110401_381369601_4FGL_J1208.9+5441_daily_bin547.fits', expCube='/scratch/kocevski/354507/ltcube_381110401_381369601_4FGL_J1208.9+5441_daily_bin547.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/354507/Model_4FGL_J1208.9+5441_daily_bin547.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1208.9+5441'

4FGL J1208.9+5441
   Spectrum: LogParabola
376         norm:  2.729e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
377        alpha:  2.511e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
378         beta:  7.229e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
379           Eb:  3.605e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/354507/ft1_filtered_4FGL_J1208.9+5441_daily_bin547.fits
Spacecraft file(s): /scratch/kocevski/354507/ft2_4FGL_J1208.9+5441_daily_bin547.fits
Exposure map: /scratch/kocevski/354507/expmap_381110401_381369601_4FGL_J1208.9+5441_daily_bin547.fits
Exposure cube: /scratch/kocevski/354507/ltcube_381110401_381369601_4FGL_J1208.9+5441_daily_bin547.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/354507/Model_4FGL_J1208.9+5441_daily_bin547.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) = 5976.24588488

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.4254       1.0000         .10000E-03   10000.    
     3 'Prefactor '    90.407       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .35131E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.0416       1.0000         .10000E-03   10000.    
     8 'Prefactor '    18.810       1.0000         .10000E-03   10000.    
     9 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.4462       1.0000         .10000E-03   10000.    
    11 'norm      '    4.4939       1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.699       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .16987E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.464       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .16195E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10529E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.472       1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.3123       1.0000         .10000E-03   10000.    
    21 'norm      '    4.4566       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    3.9373       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .29330E-01   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10211E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .78641       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.3277       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5976.239     FROM MIGRAD    STATUS=CONVERGED    757 CALLS     3569 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    48.382       -.57605E-06** at limit **
   2  norm          1.4252        1.3590       -.10335E-07   -.68490E-04
   3  Prefactor     90.421        66.925        .19625E-05   -.49736E-05
   4  Prefactor     .10000E-03    10.111       -.16535E-06** at limit **
   5  Prefactor     .10000E-03    223.92        .94490E-07** at limit **
   6  norm          .10000E-03    20.192        .53768E-07** at limit **
   7  Prefactor     9.0411        6.8605       -.12665E-06   -.12436E-03
   8  Prefactor     18.802        24.628        .16943E-05    .26710E-06
   9  norm          .10000E-03    4.0117       -.64741E-07** at limit **
  10  Prefactor     2.4494        4.0173        .19751E-06   -.56594E-04
  11  norm          4.5037        6.4207        .32878E-05   -.39165E-03
  12  Prefactor     17.691        29.257        .29832E-06   -.23139E-04
  13  Prefactor     .10000E-03    22.825       -.16875E-05** at limit **
  14  Prefactor     13.494        29.757       -.23622E-05   -.38974E-04
  15  norm          .10000E-03    1.3081        .32418E-06** at limit **
  16  Prefactor     .10000E-03    13.091        .47197E-07** at limit **
  17  Prefactor     .10000E-03    45.436       -.12484E-06** at limit **
  18  norm          .10000E-03    13.372       -.20599E-05** at limit **
  19  Prefactor     11.467        20.346        .20287E-05    .72717E-04
  20  Prefactor     6.3127        7.3419        .17424E-05   -.13414E-03
  21  norm          4.4563        2.8104       -.24132E-06   -.14796E-03
  22  Prefactor     .10000E-03    9.7794        .68507E-07** at limit **
  23  norm          3.9370        2.3568        .55005E-07   -.61527E-04
  24  Prefactor     .10402E-03    56.665       -.12909E-05** at limit **
  25  Prefactor     .10000E-03    3.8715        .80812E-07** at limit **
  26  norm          .10000E-03    3.8670        .21209E-06** at limit **
  27  Normalizat    .78644        .17707       -.12351E-05   -.18942E-03
  28  Prefactor     1.3278        .21360       -.12846E-05   -.31891E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.42523
  Prefactor  = 90.421
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 9.04109
  Prefactor  = 18.802
  norm       = 0.0001
  Prefactor  = 2.4494
  norm       = 4.50368
  Prefactor  = 17.6911
  Prefactor  = 0.000100003
  Prefactor  = 13.4939
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100003
  Prefactor  = 11.4669
  Prefactor  = 6.31267
  norm       = 4.45627
  Prefactor  = 0.0001
  norm       = 3.937
  Prefactor  = 0.000104019
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 0.78644
  Prefactor  = 1.32778
 **********
 **   18 **HESSE 
 **********

 FCN=   5976.239     FROM HESSE     STATUS=OK           527 CALLS     4096 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    48.393        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.4252        1.3796        .85644E-04   -1.5469    
   3  Prefactor     90.421        67.082        .42261E-04   -1.3803    
   4  Prefactor     .10000E-03    10.137        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    226.67        .21322E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    20.196        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.0411        6.8672        .13329E-03   -1.5107    
   8  Prefactor     18.802        24.590        .92347E-04   -1.4840    
   9  norm          .10000E-03    4.0131        .15123E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.4494        3.9390        .15608E-03   -1.5395    
  11  norm          4.5037        6.5031        .94964E-03   -1.5283    
  12  Prefactor     17.691        28.846        .95201E-04   -1.4867    
  13  Prefactor     .10000E-03    23.583        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     13.494        29.447        .10916E-03   -1.4973    
  15  norm          .10000E-03    2.4757        .16954E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    13.136        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    45.455        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    13.909        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     11.467        20.372        .11828E-03   -1.5031    
  20  Prefactor     6.3127        7.3147        .79882E-03   -1.5205    
  21  norm          4.4563        2.8074        .91973E-04   -1.5286    
  22  Prefactor     .10000E-03    9.8201        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.9370        2.3554        .88531E-04   -1.5311    
  24  Prefactor     .10402E-03    49.643        .14908       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    3.8841        .14851E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    3.9925        .29698E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .78644        .21026        .25401E-03   -1.0057    
  28  Prefactor     1.3278        .25643        .26056E-03   -.82485    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.87556e-10
Minuit parameter uncertainties:
  1  4.29235e-05
  2  1.37962
  3  67.1385
  4  2.69213e-05
  5  0.000478616
  6  9.1444e-06
  7  6.86781
  8  24.6037
  9  8.13881e-06
  10  3.93939
  11  6.50413
  12  28.8682
  13  0.000552106
  14  29.4788
  15  1.17841e-05
  16  9.05913e-06
  17  0.000189335
  18  0.000432469
  19  20.3839
  20  7.31571
  21  2.80748
  22  1.28945e-05
  23  2.35541
  24  0.0282735
  25  9.4034e-06
  26  2.64373e-05
  27  0.210479
  28  0.25667
Done.

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

Extracting fit parameters...

4FGL J1208.9+5441
   Spectrum: LogParabola
376         norm:  1.000e-04  1.178e-05  1.000e-04  1.000e+04 ( 1.000e-11)
377        alpha:  2.511e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
378         beta:  7.229e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
379           Eb:  3.605e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
703    Prefactor:  1.328e+00  2.567e-01  0.000e+00  1.000e+01 ( 1.000e+00)
704        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
705        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
702   Normalization:  7.864e-01  2.105e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 182.226 54.700
Photon Flux Upper Limit: 7.10e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.88e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/354507/likelihoodResults_381110401_381369601_4FGL_J1208.9+5441_daily_bin547.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) = 5976.24057624
delta logL = -0.00192600554328

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5976.03182464
delta logL = 0.206825593621

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .19743       1.0000         .10000E-03   10000.    
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    .74531       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3616       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7060E+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=   5976.032     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      342 TOTAL
                     EDM=   .41E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .19748        .35059        .53245E-04   -.43130E-04
   2  alpha         5.0000        4.3312        .50000    ** at limit **
   3  Normalizat    .74532        .20651        .26040E-03   -.45797E-04
   4  Prefactor     1.3615        .26086        .25784E-03    .29542E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.197482
  alpha      = 5
  Normalizat = 0.745315
  Prefactor  = 1.36155
 **********
 **   18 **HESSE 
 **********

 FCN=   5976.032     FROM HESSE     STATUS=OK            29 CALLS      371 TOTAL
                     EDM=   .41E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .19748        .34955        .21298E-05   -1.5619    
   2  alpha         5.0000        4.3248        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .74532        .20674        .10416E-04   -1.0213    
   4  Prefactor     1.3615        .26115        .10313E-04   -.81495    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.08389e-11
Minuit parameter uncertainties:
  1  0.349552
  2  6.2748e-05
  3  0.206962
  4  0.261399
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/354507': 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) = 5976.03182462
delta logL = 0.206825614532

Extracting fit parameters...

4FGL J1208.9+5441
   Spectrum: LogParabola
376         norm:  1.975e-01  3.496e-01  1.000e-04  1.000e+04 ( 1.000e-11)
377        alpha:  5.000e+00  6.275e-05  0.000e+00  5.000e+00 ( 1.000e+00)
378         beta:  7.229e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
379           Eb:  3.605e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
703    Prefactor:  1.362e+00  2.614e-01  0.000e+00  1.000e+01 ( 1.000e+00)
704        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
705        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
702   Normalization:  7.453e-01  2.070e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 182.226 54.700

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/354507/cmap_HighResolution_381110401_381369601_4FGL_J1208.9+5441_daily_bin547.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.88e-05', job_status='DONE', photon_flux_upper_limit='7.10e-08', time_completed='2021-09-05 01:30:56.826296', job_id='354507', GAL2='1.36', fit_tolerance='1e-08', EG2='0.75', EG='0.79', time_epoch_completed='1630830656.83', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.33', dlogl='2.07e-01', ts2='0.45', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='547' AND source_name='4FGL J1208.9+5441' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 01:30:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0119>
Subject: Job 354507: <4FGL_J1208.9+5441_daily_bin547> in cluster <slac> Done

Job <4FGL_J1208.9+5441_daily_bin547> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sun Sep  5 01:15:39 2021
Job was executed on host(s) <bullet0119>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 01:15:41 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep  5 01:15:41 2021
Terminated at Sun Sep  5 01:30:57 2021
Results reported at Sun Sep  5 01:30:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1208.9+5441_daily_bin547 182.226 54.6995 381110401 381369601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1208.9+5441 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   887.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             324.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   916 sec.
    Turnaround time :                            918 sec.

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

