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


Performing analysis on: 4FGL_J1208.9+5441_daily_bin1164
RA = 182.226, Dec = 54.6995
tmin = 541036801, tmax = 541296001
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='359668', job_status='RUN', time_executed='2021-09-05 01:32:09.451989', time_epoch_executed='1630830729.45' WHERE source_name='4FGL J1208.9+5441' and cadence='daily' and bin_id='1164'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/359668

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/359668/ft1_4FGL_J1208.9+5441_daily_bin1164.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/359668/ft2_4FGL_J1208.9+5441_daily_bin1164.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/359668/ft1_4FGL_J1208.9+5441_daily_bin1164.fits outfile=/scratch/kocevski/359668/ft1_filteredMKT_4FGL_J1208.9+5441_daily_bin1164.fits ra=182.226 dec=54.6995 rad=12.0 tmin=541036801.0 tmax=541296001.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.02
user 3.46
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/359668/ft2_4FGL_J1208.9+5441_daily_bin1164.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/359668/ft1_filteredMKT_4FGL_J1208.9+5441_daily_bin1164.fits evtable="EVENTS" outfile="/scratch/kocevski/359668/ft1_filtered_4FGL_J1208.9+5441_daily_bin1164.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.94
user 0.32
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/359668/ft1_filtered_4FGL_J1208.9+5441_daily_bin1164.fits" evtable="EVENTS" scfile=/scratch/kocevski/359668/ft2_4FGL_J1208.9+5441_daily_bin1164.fits sctable="SC_DATA" outfile=/scratch/kocevski/359668/ltcube_541036801_541296001_4FGL_J1208.9+5441_daily_bin1164.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/359668/ft2_4FGL_J1208.9+5441_daily_bin1164.fits
.....................!
real 12.00
user 11.55
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/359668/ft1_filtered_4FGL_J1208.9+5441_daily_bin1164.fits evtable="EVENTS" scfile=/scratch/kocevski/359668/ft2_4FGL_J1208.9+5441_daily_bin1164.fits sctable="SC_DATA" expcube=/scratch/kocevski/359668/ltcube_541036801_541296001_4FGL_J1208.9+5441_daily_bin1164.fits outfile=/scratch/kocevski/359668/expmap_541036801_541296001_4FGL_J1208.9+5441_daily_bin1164.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/359668/ltcube_541036801_541296001_4FGL_J1208.9+5441_daily_bin1164.fits
.....................!
real 192.10
user 186.47
sys 4.46

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/359668/ft1_filtered_4FGL_J1208.9+5441_daily_bin1164.fits scfile=/scratch/kocevski/359668/ft2_4FGL_J1208.9+5441_daily_bin1164.fits outfile=/scratch/kocevski/359668/cmap_541036801_541296001_4FGL_J1208.9+5441_daily_bin1164.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/359668/ft1_filtered_4FGL_J1208.9+5441_daily_bin1164.fits scfile=/scratch/kocevski/359668/ft2_4FGL_J1208.9+5441_daily_bin1164.fits outfile=/scratch/kocevski/359668/cmap_HighResolution_541036801_541296001_4FGL_J1208.9+5441_daily_bin1164.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.54
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/359668/ft1_filtered_4FGL_J1208.9+5441_daily_bin1164.fits', '/scratch/kocevski/359668/ft2_4FGL_J1208.9+5441_daily_bin1164.fits', expMap='/scratch/kocevski/359668/expmap_541036801_541296001_4FGL_J1208.9+5441_daily_bin1164.fits', expCube='/scratch/kocevski/359668/ltcube_541036801_541296001_4FGL_J1208.9+5441_daily_bin1164.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/359668/Model_4FGL_J1208.9+5441_daily_bin1164.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/359668/ft1_filtered_4FGL_J1208.9+5441_daily_bin1164.fits
Spacecraft file(s): /scratch/kocevski/359668/ft2_4FGL_J1208.9+5441_daily_bin1164.fits
Exposure map: /scratch/kocevski/359668/expmap_541036801_541296001_4FGL_J1208.9+5441_daily_bin1164.fits
Exposure cube: /scratch/kocevski/359668/ltcube_541036801_541296001_4FGL_J1208.9+5441_daily_bin1164.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/359668/Model_4FGL_J1208.9+5441_daily_bin1164.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) = 5896.36850641

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.128       1.0000         .10000E-03   10000.    
     2 'norm      '    1.7238       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    23.898       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    11.315       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.9033       1.0000         .10000E-03   10000.    
     8 'Prefactor '    33.852       1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.0611       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    36.051       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .92239       1.0000         .10000E-03   10000.    
    16 'Prefactor '    19.578       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10940E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10802E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    3.9892       1.0000         .10000E-03   10000.    
    22 'Prefactor '    39.617       1.0000         .10000E-03   10000.    
    23 'norm      '    .10083E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    35.613       1.0000         .10000E-03   10000.    
    25 'Prefactor '    12.085       1.0000         .10000E-03   10000.    
    26 'norm      '    .10067E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .95129       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0315       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=   5896.293     FROM MIGRAD    STATUS=CONVERGED    684 CALLS     3524 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.917        100.84        .22839E-04    .13559E-03
   2  norm          1.7251        2.1878       -.59815E-06   -.97667E-04
   3  Prefactor     .10000E-03    48.121        .11424E-05** at limit **
   4  Prefactor     23.892        21.775        .26297E-06    .87424E-04
   5  Prefactor     .10000E-03    29.379       -.88068E-06** at limit **
   6  norm          11.312        34.441        .27138E-06    .92117E-05
   7  Prefactor     2.9029        5.4116        .88898E-06    .44093E-03
   8  Prefactor     33.846        28.401        .33160E-06    .85597E-04
   9  norm          .10000E-03    3.3021       -.11854E-07** at limit **
  10  Prefactor     2.0611        3.3621        .27228E-07    .11234E-03
  11  norm          .10000E-03    1.3071       -.21175E-07** at limit **
  12  Prefactor     36.050        24.756        .73705E-07    .81711E-04
  13  Prefactor     .10000E-03    3.9982       -.58839E-07** at limit **
  14  Prefactor     .10000E-03    6.9733       -.21741E-07** at limit **
  15  norm          .92202        2.0621        .82222E-07    .15666E-03
  16  Prefactor     19.575        18.101        .78889E-07    .15850E-04
  17  Prefactor     .10000E-03    21.468        .11173E-05** at limit **
  18  norm          .10001E-03    6.5308       -.19587E-05** at limit **
  19  Prefactor     .10000E-03    36.048       -.17333E-05** at limit **
  20  Prefactor     .10000E-03    2.8005       -.58561E-08** at limit **
  21  norm          3.9891        2.5145       -.15096E-08    .35830E-04
  22  Prefactor     39.623        29.355        .20137E-06   -.71296E-04
  23  norm          .10000E-03    .75942        .68331E-07** at limit **
  24  Prefactor     35.611        35.289        .18076E-06    .12859E-04
  25  Prefactor     12.084        12.339        .23997E-06    .60689E-04
  26  norm          .10008E-03    7.5879        .37697E-05** at limit **
  27  Normalizat    .95137        .17239       -.73569E-06    .11479E-03
  28  Prefactor     1.0316        .20454        .79478E-06    .87328E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.9165
  norm       = 1.72508
  Prefactor  = 0.0001
  Prefactor  = 23.8919
  Prefactor  = 0.0001
  norm       = 11.3118
  Prefactor  = 2.90288
  Prefactor  = 33.8463
  norm       = 0.0001
  Prefactor  = 2.06114
  norm       = 0.0001
  Prefactor  = 36.05
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.922017
  Prefactor  = 19.5752
  Prefactor  = 0.0001
  norm       = 0.000100012
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.98906
  Prefactor  = 39.6231
  norm       = 0.0001
  Prefactor  = 35.611
  Prefactor  = 12.0836
  norm       = 0.000100083
  Normalizat = 0.951366
  Prefactor  = 1.03158
 **********
 **   18 **HESSE 
 **********

 FCN=   5896.293     FROM HESSE     STATUS=OK           523 CALLS     4047 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.917        108.77        .39957E-03   -1.4709    
   2  norm          1.7251        2.1723        .11680E-03   -1.5445    
   3  Prefactor     .10000E-03    48.275        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.892        21.738        .81940E-04   -1.4730    
   5  Prefactor     .10000E-03    29.397        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          11.312        34.461        .11910E-03   -1.5035    
   7  Prefactor     2.9029        5.5253        .11751E-02   -1.5367    
   8  Prefactor     33.846        28.442        .68874E-04   -1.4544    
   9  norm          .10000E-03    3.3025        .13628E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.0611        3.3079        .15955E-03   -1.5421    
  11  norm          .10000E-03    1.3121        .85711E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     36.050        24.492        .66747E-04   -1.4506    
  13  Prefactor     .10000E-03    4.0477        .14992E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.9830        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .92202        2.0362        .15368E-03   -1.5516    
  16  Prefactor     19.575        18.095        .90520E-04   -1.4823    
  17  Prefactor     .10000E-03    21.494        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10001E-03    18.926        .35036E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    36.340        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.8163        .12538E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          3.9891        2.5079        .89715E-04   -1.5308    
  22  Prefactor     39.623        29.179        .63682E-04   -1.4448    
  23  norm          .10000E-03    1.3047        .13007E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     35.611        35.299        .67154E-04   -1.4514    
  25  Prefactor     12.084        12.354        .57615E-03   -1.5013    
  26  norm          .10008E-03    17.045        .30974E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .95137        .20430        .22948E-03   -.94678    
  28  Prefactor     1.0316        .24319        .27888E-03   -.91684    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.4883e-09
Minuit parameter uncertainties:
  1  104.442
  2  2.17242
  3  0.000126148
  4  21.7456
  5  0.000129196
  6  34.5212
  7  5.52626
  8  28.4537
  9  1.09212e-06
  10  3.30816
  11  1.22286e-06
  12  24.4991
  13  4.67504e-06
  14  2.52252e-06
  15  2.03634
  16  18.1
  17  0.000136544
  18  0.000960736
  19  0.000192562
  20  7.9137e-07
  21  2.50801
  22  29.1897
  23  2.77572e-06
  24  35.3197
  25  12.3561
  26  0.00238613
  27  0.204472
  28  0.243454
Done.

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

Extracting fit parameters...

4FGL J1208.9+5441
   Spectrum: LogParabola
376         norm:  9.220e-01  2.036e+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

GAL_V02
   Spectrum: PowerLaw
703    Prefactor:  1.032e+00  2.435e-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:  9.514e-01  2.045e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/359668/likelihoodResults_541036801_541296001_4FGL_J1208.9+5441_daily_bin1164.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): 0
logL (Free Index) = 5896.03515976
delta logL = 0.258100448875

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5896.01293526
delta logL = 0.280324943775

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .63061       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.9639       1.0000          .0000       5.0000    
     3 'Normalizat'    .92450       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0554       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.

 FCN=   5896.013     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      212 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .62813        23.137        .11793E-01    .93877E-03
   2  alpha         3.9672        2.8505        .50000        .20786E-04
   3  Normalizat    .92453        .45923E-01    .45214E-01   -.18425E-04
   4  Prefactor     1.0554        .58006E-01    .62425E-01   -.90754E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.628132
  alpha      = 3.96725
  Normalizat = 0.924527
  Prefactor  = 1.05543
 **********
 **   18 **HESSE 
 **********

 FCN=   5896.013     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      247 TOTAL
                     EDM=   .53E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .62813        48.908        .73768E-03   -1.5549    
   2  alpha         3.9672        4.4066        .44973E-01    .62722    
   3  Normalizat    .92453        .16784        .23242E-03   -.95604    
   4  Prefactor     1.0554        .21077        .27609E-03   -.90904    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.32672e-08
Minuit parameter uncertainties:
  1  11.0937
  2  16.4529
  3  0.16794
  4  0.210936
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/359668': 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) = 5896.01293396
delta logL = 0.280326244671

Extracting fit parameters...

4FGL J1208.9+5441
   Spectrum: LogParabola
376         norm:  6.281e-01  1.109e+01  1.000e-04  1.000e+04 ( 1.000e-11)
377        alpha:  3.967e+00  1.645e+01  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.055e+00  2.109e-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:  9.245e-01  1.679e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.24
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/359668/cmap_HighResolution_541036801_541296001_4FGL_J1208.9+5441_daily_bin1164.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.34e-05', job_status='DONE', photon_flux_upper_limit='8.84e-08', time_completed='2021-09-05 01:46:51.033576', job_id='359668', GAL2='1.06', fit_tolerance='1e-08', EG2='0.92', EG='0.95', time_epoch_completed='1630831611.03', return_code2='102', ts='0.24', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.80e-01', ts2='0.83', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1164' AND source_name='4FGL J1208.9+5441' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 01:46:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0296>
Subject: Job 359668: <4FGL_J1208.9+5441_daily_bin1164> in cluster <slac> Done

Job <4FGL_J1208.9+5441_daily_bin1164> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sun Sep  5 01:31:39 2021
Job was executed on host(s) <bullet0296>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 01:31:40 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:31:40 2021
Terminated at Sun Sep  5 01:46:51 2021
Results reported at Sun Sep  5 01:46:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1208.9+5441_daily_bin1164 182.226 54.6995 541036801 541296001 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 :                                   865.09 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             306.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   911 sec.
    Turnaround time :                            912 sec.

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

