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


Performing analysis on: 4FGL_J1208.9+5441_daily_bin1589
RA = 182.226, Dec = 54.6995
tmin = 651196801, tmax = 651456001
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='361192', job_status='RUN', time_executed='2021-09-05 01:35:59.563716', time_epoch_executed='1630830959.56' WHERE source_name='4FGL J1208.9+5441' and cadence='daily' and bin_id='1589'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/361192

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/361192/ft1_4FGL_J1208.9+5441_daily_bin1589.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/361192/ft2_4FGL_J1208.9+5441_daily_bin1589.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/361192/ft1_4FGL_J1208.9+5441_daily_bin1589.fits outfile=/scratch/kocevski/361192/ft1_filteredMKT_4FGL_J1208.9+5441_daily_bin1589.fits ra=182.226 dec=54.6995 rad=12.0 tmin=651196801.0 tmax=651456001.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 2.86
user 2.62
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/361192/ft2_4FGL_J1208.9+5441_daily_bin1589.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/361192/ft1_filteredMKT_4FGL_J1208.9+5441_daily_bin1589.fits evtable="EVENTS" outfile="/scratch/kocevski/361192/ft1_filtered_4FGL_J1208.9+5441_daily_bin1589.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.43
user 0.28
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/361192/ft1_filtered_4FGL_J1208.9+5441_daily_bin1589.fits" evtable="EVENTS" scfile=/scratch/kocevski/361192/ft2_4FGL_J1208.9+5441_daily_bin1589.fits sctable="SC_DATA" outfile=/scratch/kocevski/361192/ltcube_651196801_651456001_4FGL_J1208.9+5441_daily_bin1589.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/361192/ft2_4FGL_J1208.9+5441_daily_bin1589.fits
.....................!
real 15.19
user 14.87
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/361192/ft1_filtered_4FGL_J1208.9+5441_daily_bin1589.fits evtable="EVENTS" scfile=/scratch/kocevski/361192/ft2_4FGL_J1208.9+5441_daily_bin1589.fits sctable="SC_DATA" expcube=/scratch/kocevski/361192/ltcube_651196801_651456001_4FGL_J1208.9+5441_daily_bin1589.fits outfile=/scratch/kocevski/361192/expmap_651196801_651456001_4FGL_J1208.9+5441_daily_bin1589.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/361192/ltcube_651196801_651456001_4FGL_J1208.9+5441_daily_bin1589.fits
.....................!
real 150.74
user 146.08
sys 4.40

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/361192/ft1_filtered_4FGL_J1208.9+5441_daily_bin1589.fits scfile=/scratch/kocevski/361192/ft2_4FGL_J1208.9+5441_daily_bin1589.fits outfile=/scratch/kocevski/361192/cmap_651196801_651456001_4FGL_J1208.9+5441_daily_bin1589.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.54
user 0.31
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/361192/ft1_filtered_4FGL_J1208.9+5441_daily_bin1589.fits scfile=/scratch/kocevski/361192/ft2_4FGL_J1208.9+5441_daily_bin1589.fits outfile=/scratch/kocevski/361192/cmap_HighResolution_651196801_651456001_4FGL_J1208.9+5441_daily_bin1589.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.47
user 0.30
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .83776       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10301E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10395E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10956E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    25.386       1.0000         .10000E-03   10000.    
     9 'norm      '    5.2959       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.8219       1.0000         .10000E-03   10000.    
    11 'norm      '    .10044E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.8667       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .16052E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.120       1.0000         .10000E-03   10000.    
    15 'norm      '    .96965       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.9335       1.0000         .10000E-03   10000.    
    17 'Prefactor '    20.712       1.0000         .10000E-03   10000.    
    18 'norm      '    7.5557       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .16298E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    2.0451       1.0000         .10000E-03   10000.    
    22 'Prefactor '    12.585       1.0000         .10000E-03   10000.    
    23 'norm      '    2.0759       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10241E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.2554       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .65400       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=   6223.413     FROM MIGRAD    STATUS=CONVERGED    694 CALLS     3526 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    63.143        .30162E-04** at limit **
   2  norm          .83694        1.6639       -.97773E-06   -.21262E-02
   3  Prefactor     .10000E-03    21.488        .17994E-04** at limit **
   4  Prefactor     .10000E-03    6.9820       -.83303E-06** at limit **
   5  Prefactor     .10000E-03    32.101       -.28102E-04** at limit **
   6  norm          .10000E-03    14.925       -.13368E-04** at limit **
   7  Prefactor     .10000E-03    6.0021        .10336E-05** at limit **
   8  Prefactor     25.360        20.684       -.95131E-06    .25949E-04
   9  norm          5.2899        11.738       -.18110E-05   -.64245E-04
  10  Prefactor     2.8219        3.3443       -.19020E-06   -.25557E-03
  11  norm          .10000E-03    5.5871       -.78391E-06** at limit **
  12  Prefactor     5.8703        27.117       -.48170E-05   -.26693E-04
  13  Prefactor     .10001E-03    5.3137        .71090E-09** at limit **
  14  Prefactor     10.092        23.904        .61818E-04    .27714E-03
  15  norm          .96974        1.6593       -.37623E-06   -.77190E-03
  16  Prefactor     8.9180        15.997        .26699E-05    .11847E-04
  17  Prefactor     20.568        58.937       -.21519E-03   -.27395E-04
  18  norm          7.5628        6.6661       -.23929E-05   -.15488E-03
  19  Prefactor     .10000E-03    25.086        .24455E-05** at limit **
  20  Prefactor     .10000E-03    3.1099        .14964E-06** at limit **
  21  norm          2.0452        1.4079        .20941E-06    .46687E-03
  22  Prefactor     12.599        20.316       -.33899E-05   -.29205E-05
  23  norm          2.0760        1.6827       -.19508E-06   -.31888E-04
  24  Prefactor     .10000E-03    13.086        .85215E-05** at limit **
  25  Prefactor     .10000E-03    2.5580       -.11963E-08** at limit **
  26  norm          .10000E-03    4.9974       -.18522E-06** at limit **
  27  Normalizat    1.2553        .16405        .40625E-05   -.12822E-03
  28  Prefactor     .65415        .20064        .37117E-05    .96360E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.83694
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.3599
  norm       = 5.28991
  Prefactor  = 2.82186
  norm       = 0.0001
  Prefactor  = 5.8703
  Prefactor  = 0.000100012
  Prefactor  = 10.0923
  norm       = 0.969741
  Prefactor  = 8.918
  Prefactor  = 20.5676
  norm       = 7.56276
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.04516
  Prefactor  = 12.5988
  norm       = 2.07597
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.2553
  Prefactor  = 0.654149
 **********
 **   18 **HESSE 
 **********

 FCN=   6223.413     FROM HESSE     STATUS=OK           523 CALLS     4049 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    63.164        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .83694        1.4683        .13885E-02   -1.5525    
   3  Prefactor     .10000E-03    21.496        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.9944        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    32.111        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    14.925        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.1317        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     25.360        20.707        .79506E-04   -1.4700    
   9  norm          5.2899        11.727        .17465E-03   -1.5248    
  10  Prefactor     2.8219        3.2769        .12951E-03   -1.5372    
  11  norm          .10000E-03    5.7839        .36225E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.8703        26.186        .16580E-03   -1.5223    
  13  Prefactor     .10001E-03    13.541        .32768E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.092        22.760        .12595E-03   -1.5072    
  15  norm          .96974        1.6098        .12626E-03   -1.5511    
  16  Prefactor     8.9180        15.991        .13410E-03   -1.5111    
  17  Prefactor     20.568        58.976        .88009E-04   -1.4801    
  18  norm          7.5628        6.6496        .14590E-03   -1.5158    
  19  Prefactor     .10000E-03    25.434        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    3.1810        .13577E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.0452        1.4118        .75523E-04   -1.5422    
  22  Prefactor     12.599        20.312        .11292E-03   -1.4998    
  23  norm          2.0760        1.6810        .89214E-04   -1.5420    
  24  Prefactor     .10000E-03    13.096        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    2.5652        .12321E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    5.1761        .34423E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.2553        .18863        .19568E-03   -.84911    
  28  Prefactor     .65415        .22982        .32655E-03   -1.0535    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.8307e-09
Minuit parameter uncertainties:
  1  3.38016e-05
  2  1.46839
  3  5.61396e-05
  4  1.43265e-05
  5  3.11161e-05
  6  7.81359e-06
  7  6.32583e-05
  8  20.7133
  9  11.732
  10  3.27707
  11  2.39796e-05
  12  24.8145
  13  0.000792602
  14  22.7799
  15  1.60991
  16  15.9985
  17  59.1435
  18  6.65025
  19  0.000129538
  20  1.9479e-05
  21  1.4118
  22  20.3233
  23  1.68101
  24  3.1971e-05
  25  7.12994e-07
  26  5.22954e-05
  27  0.188732
  28  0.230149
Done.

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

Extracting fit parameters...

4FGL J1208.9+5441
   Spectrum: LogParabola
376         norm:  9.697e-01  1.610e+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:  6.541e-01  2.301e-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:  1.255e+00  1.887e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/361192/likelihoodResults_651196801_651456001_4FGL_J1208.9+5441_daily_bin1589.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) = 6223.3892399
delta logL = 0.0237842120532

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6223.38894001
delta logL = 0.0240840987262

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .95278       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7630       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2522       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65668       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=   6223.389     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      222 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .95374        90.508        .12998E-01    .98769E-03
   2  alpha         2.7638        3.5199        .41443        .98163E-05
   3  Normalizat    1.2522        .73542E-01    .33722E-01   -.39513E-05
   4  Prefactor     .65668        .90314E-01    .73638E-01    .28208E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.953738
  alpha      = 2.76378
  Normalizat = 1.25215
  Prefactor  = 0.656685
 **********
 **   18 **HESSE 
 **********

 FCN=   6223.389     FROM HESSE     STATUS=OK            31 CALLS      253 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .95374        1.5834        .11894E-03   -1.5513    
   2  alpha         2.7638        1.1416        .32739E-01    .10571    
   3  Normalizat    1.2522        .18334        .19588E-03   -.85006    
   4  Prefactor     .65668        .22663        .32596E-03   -1.0525    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.68961e-10
Minuit parameter uncertainties:
  1  1.58351
  2  1.18614
  3  0.183431
  4  0.226948
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/361192': 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) = 6223.38893949
delta logL = 0.0240846220549

Extracting fit parameters...

4FGL J1208.9+5441
   Spectrum: LogParabola
376         norm:  9.537e-01  1.584e+00  1.000e-04  1.000e+04 ( 1.000e-11)
377        alpha:  2.764e+00  1.186e+00  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:  6.567e-01  2.269e-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:  1.252e+00  1.834e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.46
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/361192/cmap_HighResolution_651196801_651456001_4FGL_J1208.9+5441_daily_bin1589.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.03e-05', job_status='DONE', photon_flux_upper_limit='7.67e-08', time_completed='2021-09-05 01:48:14.732007', job_id='361192', GAL2='0.66', fit_tolerance='1e-08', EG2='1.25', EG='1.26', time_epoch_completed='1630831694.73', return_code2='0', ts='0.46', comment='SUCCESS', return_code='0', GAL='0.65', dlogl='2.41e-02', ts2='0.51', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1589' AND source_name='4FGL J1208.9+5441' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 01:48:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0033>
Subject: Job 361192: <4FGL_J1208.9+5441_daily_bin1589> in cluster <slac> Done

Job <4FGL_J1208.9+5441_daily_bin1589> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Sep  5 01:35:44 2021
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep  5 01:35:45 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:35:45 2021
Terminated at Sun Sep  5 01:48:15 2021
Results reported at Sun Sep  5 01:48:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1208.9+5441_daily_bin1589 182.226 54.6995 651196801 651456001 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 :                                   719.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             338.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   749 sec.
    Turnaround time :                            751 sec.

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

