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


Performing analysis on: 4FGL_J1208.9+5441_daily_bin1216
RA = 182.226, Dec = 54.6995
tmin = 554515201, tmax = 554774401
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='359769', job_status='RUN', time_executed='2021-09-05 01:36:00.307537', time_epoch_executed='1630830960.31' WHERE source_name='4FGL J1208.9+5441' and cadence='daily' and bin_id='1216'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/359769

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/359769/ft1_4FGL_J1208.9+5441_daily_bin1216.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/359769/ft2_4FGL_J1208.9+5441_daily_bin1216.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/359769/ft1_4FGL_J1208.9+5441_daily_bin1216.fits outfile=/scratch/kocevski/359769/ft1_filteredMKT_4FGL_J1208.9+5441_daily_bin1216.fits ra=182.226 dec=54.6995 rad=12.0 tmin=554515201.0 tmax=554774401.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.08
user 3.84
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/359769/ft1_filtered_4FGL_J1208.9+5441_daily_bin1216.fits" evtable="EVENTS" scfile=/scratch/kocevski/359769/ft2_4FGL_J1208.9+5441_daily_bin1216.fits sctable="SC_DATA" outfile=/scratch/kocevski/359769/ltcube_554515201_554774401_4FGL_J1208.9+5441_daily_bin1216.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/359769/ft2_4FGL_J1208.9+5441_daily_bin1216.fits
.....................!
real 11.96
user 11.56
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/359769/ft1_filtered_4FGL_J1208.9+5441_daily_bin1216.fits evtable="EVENTS" scfile=/scratch/kocevski/359769/ft2_4FGL_J1208.9+5441_daily_bin1216.fits sctable="SC_DATA" expcube=/scratch/kocevski/359769/ltcube_554515201_554774401_4FGL_J1208.9+5441_daily_bin1216.fits outfile=/scratch/kocevski/359769/expmap_554515201_554774401_4FGL_J1208.9+5441_daily_bin1216.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/359769/ltcube_554515201_554774401_4FGL_J1208.9+5441_daily_bin1216.fits
.....................!
real 190.76
user 185.23
sys 5.09

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/359769/ft1_filtered_4FGL_J1208.9+5441_daily_bin1216.fits scfile=/scratch/kocevski/359769/ft2_4FGL_J1208.9+5441_daily_bin1216.fits outfile=/scratch/kocevski/359769/cmap_554515201_554774401_4FGL_J1208.9+5441_daily_bin1216.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/359769/ft1_filtered_4FGL_J1208.9+5441_daily_bin1216.fits scfile=/scratch/kocevski/359769/ft2_4FGL_J1208.9+5441_daily_bin1216.fits outfile=/scratch/kocevski/359769/cmap_HighResolution_554515201_554774401_4FGL_J1208.9+5441_daily_bin1216.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.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/359769/ft1_filtered_4FGL_J1208.9+5441_daily_bin1216.fits', '/scratch/kocevski/359769/ft2_4FGL_J1208.9+5441_daily_bin1216.fits', expMap='/scratch/kocevski/359769/expmap_554515201_554774401_4FGL_J1208.9+5441_daily_bin1216.fits', expCube='/scratch/kocevski/359769/ltcube_554515201_554774401_4FGL_J1208.9+5441_daily_bin1216.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/359769/Model_4FGL_J1208.9+5441_daily_bin1216.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/359769/ft1_filtered_4FGL_J1208.9+5441_daily_bin1216.fits
Spacecraft file(s): /scratch/kocevski/359769/ft2_4FGL_J1208.9+5441_daily_bin1216.fits
Exposure map: /scratch/kocevski/359769/expmap_554515201_554774401_4FGL_J1208.9+5441_daily_bin1216.fits
Exposure cube: /scratch/kocevski/359769/ltcube_554515201_554774401_4FGL_J1208.9+5441_daily_bin1216.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/359769/Model_4FGL_J1208.9+5441_daily_bin1216.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 201.490887917

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 200.931526511

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7572       1.0000         .10000E-03   10000.    
     2 'norm      '    2.5251       1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.3174       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.7144       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.0161       1.0000         .10000E-03   10000.    
     6 'norm      '    4.2547       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.9060       1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.7272       1.0000         .10000E-03   10000.    
     9 'norm      '    2.0568       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .12420E-02   1.0000         .10000E-03   10000.    
    11 'norm      '    1.8412       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .51079E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.2788       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.7725       1.0000         .10000E-03   10000.    
    15 'norm      '    .16172E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.2531       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.4032       1.0000         .10000E-03   10000.    
    18 'norm      '    18.270       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.9727       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.1042       1.0000         .10000E-03   10000.    
    21 'norm      '    3.6111       1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.2697       1.0000         .10000E-03   10000.    
    23 'norm      '    .72589E-02   1.0000         .10000E-03   10000.    
    24 'Prefactor '    7.9973       1.0000         .10000E-03   10000.    
    25 'Prefactor '    1.9880       1.0000         .10000E-03   10000.    
    26 'norm      '    .50268E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.6913       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   200.9105     FROM MIGRAD    STATUS=CONVERGED    129 CALLS      299 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7572        1.0038         .0000         .0000    
   2  norm          2.5251        1.0211         .0000         .0000    
   3  Prefactor     8.9324        .98055       -.77984E-06    .10433E-01
   4  Prefactor     2.7144        1.0181         .0000         .0000    
   5  Prefactor     .10376E-03    .41832        .50109E-05** at limit **
   6  norm          .57180E-03    .59620E-01   -.77919E-06** at limit **
   7  Prefactor     1.9060        1.0394         .0000         .0000    
   8  Prefactor     9.7272        1.0013         .0000         .0000    
   9  norm          2.0568        1.0331         .0000         .0000    
  10  Prefactor     .10000E-03    .26556        .22821E-05** at limit **
  11  norm          1.8412        1.0427         .0000         .0000    
  12  Prefactor     .10000E-03    .21508        .65035E-05** at limit **
  13  Prefactor     3.2788        1.0121         .0000         .0000    
  14  Prefactor     1.7725        1.0467         .0000         .0000    
  15  norm          .10000E-03    .20719       -.69739E-07** at limit **
  16  Prefactor     3.2531        1.0123         .0000         .0000    
  17  Prefactor     7.4032        1.0023         .0000         .0000    
  18  norm          18.401        1.0039        .40888E-05    .26674E-02
  19  Prefactor     .12952E-03    .42180E-01   -.17604E-05** at limit **
  20  Prefactor     1.1042        1.1851         .0000         .0000    
  21  norm          3.6111        1.0099         .0000         .0000    
  22  Prefactor     .22489E-02    .11612       -.18579E-05** at limit **
  23  norm          .10001E-03    .21717        .47648E-05** at limit **
  24  Prefactor     7.9973        1.0020         .0000         .0000    
  25  Prefactor     1.9880        1.0358         .0000         .0000    
  26  norm          .10000E-03    .27970       -.19506E-05** at limit **
  27  Normalizat    .10000E-01    .25717       -.13653E-04** at limit **
  28  Prefactor     1.7024        1.0364       -.60360E-05   -.66585E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.75724
  norm       = 2.52509
  Prefactor  = 8.93237
  Prefactor  = 2.71437
  Prefactor  = 0.000103762
  norm       = 0.000571804
  Prefactor  = 1.90603
  Prefactor  = 9.72722
  norm       = 2.05675
  Prefactor  = 0.000100001
  norm       = 1.84122
  Prefactor  = 0.000100003
  Prefactor  = 3.27881
  Prefactor  = 1.77245
  norm       = 0.0001
  Prefactor  = 3.2531
  Prefactor  = 7.4032
  norm       = 18.4008
  Prefactor  = 0.000129518
  Prefactor  = 1.10422
  norm       = 3.61115
  Prefactor  = 0.00224887
  norm       = 0.000100005
  Prefactor  = 7.99726
  Prefactor  = 1.98797
  norm       = 0.000100001
  Normalizat = 0.01
  Prefactor  = 1.70245
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   200.9105     FROM HESSE     STATUS=FAILED        11 CALLS      310 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     524.20        518.40         .0000       -1.5228    
   2  norm          2.5251        1.0211         .0000       -1.5390    
   3  Prefactor     8.9324        .98055       -.77984E-06   -1.5110    
   4  Prefactor     2.7144        1.0181         .0000       -1.5378    
   5  Prefactor     .10376E-03    .41832        .50109E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .57180E-03    .59620E-01   -.77919E-06   -1.5712    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.9060        1.0394         .0000       -1.5432    
   8  Prefactor     9.7272        1.0013         .0000       -1.5084    
   9  norm          2.0568        1.0331         .0000       -1.5421    
  10  Prefactor     .10000E-03    .26556        .22821E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.8412        1.0427         .0000       -1.5437    
  12  Prefactor     .10000E-03    .21508        .65035E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.2788        1.0121         .0000       -1.5346    
  14  Prefactor     1.7725        1.0467         .0000       -1.5442    
  15  norm          .10000E-03    .20719       -.69739E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.2531        1.0123         .0000       -1.5347    
  17  Prefactor     7.4032        1.0023         .0000       -1.5164    
  18  norm          18.401        1.0039        .40888E-05   -1.4850    
  19  Prefactor     .12952E-03    .42180E-01   -.17604E-05   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.1042        1.1851         .0000       -1.5498    
  21  norm          3.6111        1.0099         .0000       -1.5328    
  22  Prefactor     .22489E-02    .11612       -.18579E-05   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10001E-03    .21717        .47648E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     7.9973        1.0020         .0000       -1.5142    
  25  Prefactor     1.9880        1.0358         .0000       -1.5426    
  26  norm          .10000E-03    .27970       -.19506E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .10000E-01    .25717       -.13653E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     1.7024        1.0364       -.60360E-05   -.72017    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.5191e-09
Minuit parameter uncertainties:
  1  1.00382
  2  1.02109
  3  0.980556
  4  1.01806
  5  0.00250896
  6  0.0106074
  7  1.03938
  8  1.00133
  9  1.03311
  10  3.4483e-05
  11  1.04267
  12  5.45287e-05
  13  1.01213
  14  1.04666
  15  1.28681e-05
  16  1.01233
  17  1.0023
  18  1.00395
  19  0.00223165
  20  1.18513
  21  1.00992
  22  0.0315923
  23  6.88279e-05
  24  1.00197
  25  1.03576
  26  3.32144e-05
  27  7.21083e-06
  28  1.04998
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 200.910474707

Extracting fit parameters...

4FGL J1208.9+5441
   Spectrum: LogParabola
376         norm:  1.000e-04  1.287e-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.702e+00  1.050e+00  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.000e-02  7.211e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 182.226 54.700
Photon Flux Upper Limit: 9.30e-06 ph cm-2 s-1
Energy Flux Upper Limit: 2.46e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/359769/likelihoodResults_554515201_554774401_4FGL_J1208.9+5441_daily_bin1216.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) = 200.910520066
delta logL = -4.53591498513e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 200.910475303
delta logL = -5.96475160819e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10117E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.8764       1.0000          .0000       5.0000    
     3 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.7026       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=   200.9105     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      291 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7480.9        .10873E-01** at limit **
   2  alpha         2.4745        3.6883        .20000        .17941E-08
   3  Normalizat    .10000E-01    .39411        .88179E-02** at limit **
   4  Prefactor     1.7025        .20696        .20393E-03    .13687E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100003
  alpha      = 2.47446
  Normalizat = 0.01
  Prefactor  = 1.70245
 **********
 **   18 **HESSE 
 **********

 FCN=   200.9105     FROM HESSE     STATUS=OK            23 CALLS      314 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    99.116        .13805E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.4745        2.8825        .80000E-02   -.10215E-01
   3  Normalizat    .10000E-01    6.2922        .17636E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.7025        .55107        .40786E-04   -.72017    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.35201e-11
Minuit parameter uncertainties:
  1  0.00105887
  2  1744.27
  3  5.42854e-07
  4  0.553065
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/359769': 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) = 200.910474706
delta logL = 2.80095946437e-10

Extracting fit parameters...

4FGL J1208.9+5441
   Spectrum: LogParabola
376         norm:  1.000e-04  1.059e-03  1.000e-04  1.000e+04 ( 1.000e-11)
377        alpha:  2.474e+00  1.744e+03  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.702e+00  5.531e-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.000e-02  5.429e-07  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/359769/cmap_HighResolution_554515201_554774401_4FGL_J1208.9+5441_daily_bin1216.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.46e-03', job_status='DONE', photon_flux_upper_limit='9.30e-06', time_completed='2021-09-05 01:42:17.679497', job_id='359769', GAL2='1.70', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1630831337.68', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='101', GAL='1.70', dlogl='2.80e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.51' WHERE bin_id='1216' AND source_name='4FGL J1208.9+5441' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep  5 01:42:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 359769: <4FGL_J1208.9+5441_daily_bin1216> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1208.9+5441_daily_bin1216 182.226 54.6995 554515201 554774401 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 :                                   336.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             313.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   629 sec.
    Turnaround time :                            633 sec.

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

