aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 88 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J1208.9+5441_daily_bin1759
RA = 182.226, Dec = 54.6995
tmin = 695260801, tmax = 695520001
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='556977', job_status='RUN', time_executed='2023-01-16 01:07:55.086250', time_epoch_executed='1673860075.09' WHERE source_name='4FGL J1208.9+5441' and cadence='daily' and bin_id='1759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/556977

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/556977/ft1_4FGL_J1208.9+5441_daily_bin1759.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/556977/ft2_4FGL_J1208.9+5441_daily_bin1759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/556977/ft1_4FGL_J1208.9+5441_daily_bin1759.fits outfile=/scratch/kocevski/556977/ft1_filteredMKT_4FGL_J1208.9+5441_daily_bin1759.fits ra=182.226 dec=54.6995 rad=12.0 tmin=695260801.0 tmax=695520001.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.32
user 2.09
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/556977/ft2_4FGL_J1208.9+5441_daily_bin1759.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/556977/ft1_filteredMKT_4FGL_J1208.9+5441_daily_bin1759.fits evtable="EVENTS" outfile="/scratch/kocevski/556977/ft1_filtered_4FGL_J1208.9+5441_daily_bin1759.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.46
user 0.29
sys 0.15

Number of photons that the gtmktime cut: 574

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/556977/ft1_filtered_4FGL_J1208.9+5441_daily_bin1759.fits evtable="EVENTS" scfile=/scratch/kocevski/556977/ft2_4FGL_J1208.9+5441_daily_bin1759.fits sctable="SC_DATA" expcube=/scratch/kocevski/556977/ltcube_695260801_695520001_4FGL_J1208.9+5441_daily_bin1759.fits outfile=/scratch/kocevski/556977/expmap_695260801_695520001_4FGL_J1208.9+5441_daily_bin1759.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/556977/ltcube_695260801_695520001_4FGL_J1208.9+5441_daily_bin1759.fits
.....................!
real 158.74
user 154.02
sys 4.29

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/556977/ft1_filtered_4FGL_J1208.9+5441_daily_bin1759.fits scfile=/scratch/kocevski/556977/ft2_4FGL_J1208.9+5441_daily_bin1759.fits outfile=/scratch/kocevski/556977/cmap_695260801_695520001_4FGL_J1208.9+5441_daily_bin1759.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.51
user 0.33
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/556977/ft1_filtered_4FGL_J1208.9+5441_daily_bin1759.fits scfile=/scratch/kocevski/556977/ft2_4FGL_J1208.9+5441_daily_bin1759.fits outfile=/scratch/kocevski/556977/cmap_HighResolution_695260801_695520001_4FGL_J1208.9+5441_daily_bin1759.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.50
user 0.33
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/556977/ft1_filtered_4FGL_J1208.9+5441_daily_bin1759.fits', '/scratch/kocevski/556977/ft2_4FGL_J1208.9+5441_daily_bin1759.fits', expMap='/scratch/kocevski/556977/expmap_695260801_695520001_4FGL_J1208.9+5441_daily_bin1759.fits', expCube='/scratch/kocevski/556977/ltcube_695260801_695520001_4FGL_J1208.9+5441_daily_bin1759.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/556977/Model_4FGL_J1208.9+5441_daily_bin1759.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  0.000e+00  1.000e+06 ( 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 -5.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/556977/ft1_filtered_4FGL_J1208.9+5441_daily_bin1759.fits
Spacecraft file(s): /scratch/kocevski/556977/ft2_4FGL_J1208.9+5441_daily_bin1759.fits
Exposure map: /scratch/kocevski/556977/expmap_695260801_695520001_4FGL_J1208.9+5441_daily_bin1759.fits
Exposure cube: /scratch/kocevski/556977/ltcube_695260801_695520001_4FGL_J1208.9+5441_daily_bin1759.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/556977/Model_4FGL_J1208.9+5441_daily_bin1759.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) = 6222.92150378

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    59.076       1.0000          .0000       .10000E+07
     2 'norm      '    .17336E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .69940E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    11.936       1.0000          .0000       .10000E+07
     5 'Prefactor '    .78452E-02   1.0000          .0000       .10000E+07
     6 'norm      '    28.327       1.0000          .0000       .10000E+07
     7 'Prefactor '    8.6871       1.0000          .0000       .10000E+07
     8 'Prefactor '    16.743       1.0000          .0000       .10000E+07
     9 'norm      '    .27426E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    2.5833       1.0000          .0000       .10000E+07
    11 'norm      '    2.2835       1.0000          .0000       .10000E+07
    12 'Prefactor '    .16316E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .60043       1.0000          .0000       .10000E+07
    14 'Prefactor '    .26527E-02   1.0000          .0000       .10000E+07
    15 'norm      '    3.0980       1.0000          .0000       .10000E+07
    16 'Prefactor '    7.2915       1.0000          .0000       .10000E+07
    17 'norm      '    7.0776       1.0000          .0000       .10000E+07
    18 'Prefactor '    .78850E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .56516E-06   1.0000          .0000       .10000E+07
    20 'norm      '    2.4234       1.0000          .0000       .10000E+07
    21 'Prefactor '    .78239E-04   1.0000          .0000       .10000E+07
    22 'norm      '    3.5563       1.0000          .0000       .10000E+07
    23 'Prefactor '    41.680       1.0000          .0000       .10000E+07
    24 'Prefactor '    .20579E-02   1.0000          .0000       .10000E+07
    25 'norm      '    5.7884       1.0000          .0000       .10000E+07
    26 'Normalizat'    1.5274       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .58363       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6222.894     FROM MIGRAD    STATUS=CONVERGED    209 CALLS     2407 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     57.061        102.35       -.65260E-06    .11807E-01
   2  norm           .0000        1.3417        .67529E-06** at limit **
   3  Prefactor     .73275E-08    38.547        .14547E-06** at limit **
   4  Prefactor     11.965        12.779       -.19860E-06    .88228E-01
   5  Prefactor     .50418E-05    95.281        .52300E-06** at limit **
   6  norm          29.862        35.907       -.22492E-06    .72147E-01
   7  Prefactor     8.7052        10.564       -.40057E-06   -.50975E-02
   8  Prefactor     16.835        12.793       -.25908E-06   -.24525E-01
   9  norm           .0000        3.9589       -.54419E-06** at limit **
  10  Prefactor     2.5844        2.8430        .27267E-06    .55093E-03
  11  norm          2.2696        6.0490        .70765E-06    .34987E-03
  12  Prefactor     .83267E-09    13.793        .26724E-06** at limit **
  13  Prefactor     .63640        42.465       -.12476E-05   -.17273E-03
  14  Prefactor     .14155E-07    30.725       -.10130E-05** at limit **
  15  norm          3.0991        2.1532       -.15717E-06   -.44623E-03
  16  Prefactor     7.1926        12.835        .54152E-06    .42757E-01
  17  norm          7.0326        6.3153       -.11843E-06    .68776E-03
  18  Prefactor      .0000        7.1544        .22825E-06** at limit **
  19  Prefactor      .0000        2.4944       -.15634E-06** at limit **
  20  norm          2.4237        1.7639       -.70493E-07   -.33351E-03
  21  Prefactor      .0000        6.8120       -.21186E-06** at limit **
  22  norm          3.5562        1.9675       -.11382E-06   -.53516E-03
  23  Prefactor     42.036        25.146        .99820E-07    .54949E-01
  24  Prefactor      .0000        5.2255       -.42938E-07** at limit **
  25  norm          5.7870        4.1754       -.13021E-07    .25776E-03
  26  Normalizat    1.5277        .20669       -.25172E-05   -.17502E-04
  27  Prefactor     .58312        .23916        .29868E-05   -.60204E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 57.061
  norm       = 0
  Prefactor  = 7.32747e-09
  Prefactor  = 11.9651
  Prefactor  = 5.0418e-06
  norm       = 29.862
  Prefactor  = 8.70524
  Prefactor  = 16.8355
  norm       = 0
  Prefactor  = 2.58442
  norm       = 2.26962
  Prefactor  = 8.32667e-10
  Prefactor  = 0.636401
  Prefactor  = 1.41553e-08
  norm       = 3.0991
  Prefactor  = 7.19265
  norm       = 7.03262
  Prefactor  = 0
  Prefactor  = 0
  norm       = 2.42373
  Prefactor  = 0
  norm       = 3.5562
  Prefactor  = 42.0357
  Prefactor  = 0
  norm       = 5.78696
  Normalizat = 1.52769
  Prefactor  = 0.583116
 **********
 **   18 **HESSE 
 **********

 FCN=   6222.894     FROM HESSE     STATUS=OK           548 CALLS     2955 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     57.061        103.53        .13011E-03   -1.5557    
   2  norm           .0000        1.3434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .73275E-08    38.670        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.965        22.489        .28970E-03   -1.5639    
   5  Prefactor     .50418E-05    101.07        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          29.862        51.846        .18792E-03   -1.5599    
   7  Prefactor     8.7052        10.677        .33985E-03   -1.5649    
   8  Prefactor     16.835        20.307        .24450E-03   -1.5626    
   9  norm           .0000        3.9536        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.5844        2.8605        .63466E-03   -1.5676    
  11  norm          2.2696        7.6683        .67913E-03   -1.5678    
  12  Prefactor     .83267E-09    13.823        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .63640        66.085        .69189E-03   -1.5692    
  14  Prefactor     .14155E-07    30.849        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.0991        2.1563        .57591E-03   -1.5673    
  16  Prefactor     7.1926        19.769        .37121E-03   -1.5654    
  17  norm          7.0326        6.3230        .37684E-03   -1.5655    
  18  Prefactor      .0000        7.1576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        2.4917        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.4237        1.7660        .65718E-03   -1.5677    
  21  Prefactor      .0000        6.8109        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.5562        1.9691        .53571E-03   -1.5670    
  23  Prefactor     42.036        37.750        .15491E-03   -1.5578    
  24  Prefactor      .0000        5.2168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          5.7870        4.1722        .41722E-03   -1.5660    
  26  Normalizat    1.5277        .18092        .46849E-01   -.77003    
  27  Prefactor     .58312        .21425        .85987E-01   -1.0830    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.07451e-06
Minuit parameter uncertainties:
  1  103.537
  2  5.86949e-07
  3  0.00106519
  4  22.4888
  5  0.0451474
  6  51.8467
  7  10.6773
  8  20.3074
  9  9.85866e-06
  10  2.86047
  11  7.66837
  12  0.000214206
  13  12.9703
  14  0.00132161
  15  2.15628
  16  19.7694
  17  6.32296
  18  2.63178e-06
  19  6.40906e-06
  20  1.76604
  21  7.22444e-06
  22  1.96906
  23  37.7502
  24  4.3192e-06
  25  4.17222
  26  0.180997
  27  0.214547
Done.

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

Extracting fit parameters...

4FGL J1208.9+5441
   Spectrum: LogParabola
376         norm:  3.099e+00  2.156e+00  0.000e+00  1.000e+06 ( 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 -5.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:  5.831e-01  2.145e-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.528e+00  1.810e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.33
Ra Dec: 182.226 54.700
Photon Index (Fixed Index): 2.51 +/- 0.00
Photon Flux (Fixed Index): 4.85e-08 +/- 3.37e-08
Energy Flux (Fixed Index): 1.28e-05 +/- 8.92e-06

TS (Fixed Index): 3.33
Ra Dec: 182.226 54.700
Photon Flux Upper Limit: 1.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.20e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/556977/likelihoodResults_695260801_695520001_4FGL_J1208.9+5441_daily_bin1759.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) = 6221.93483385
delta logL = 0.959404673315

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6221.38733769
delta logL = 1.50690083741

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .12109       1.0000          .0000       .10000E+07
     2 'alpha     '    .61301       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5647       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .57464       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=   6221.387     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      234 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .12028        .13872        .60716E-03** at limit **
   2  alpha         .61103        .36639        .30373        .31309E-04
   3  Normalizat    1.5648        .17555        .46407E-01   -.44492E-05
   4  Prefactor     .57466        .21103        .86690E-01    .34513E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.120284
  alpha      = 0.61103
  Normalizat = 1.56475
  Prefactor  = 0.574658
 **********
 **   18 **HESSE 
 **********

 FCN=   6221.387     FROM HESSE     STATUS=OK            33 CALLS      267 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .12028        .67489        .24062E-04   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .61103        1.1958        .13576E-02   -.85655    
   3  Normalizat    1.5648        .19834        .20513E-03   -.75975    
   4  Prefactor     .57466        .23785        .38404E-03   -1.0866    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56277e-10
Minuit parameter uncertainties:
  1  0.569835
  2  1.34053
  3  0.198439
  4  0.238271
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/556977': 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) = 6221.38733578
delta logL = 1.50690274778

Extracting fit parameters...

4FGL J1208.9+5441
   Spectrum: LogParabola
376         norm:  1.203e-01  5.698e-01  0.000e+00  1.000e+06 ( 1.000e-11)
377        alpha:  6.110e-01  1.341e+00  0.000e+00  5.000e+00 ( 1.000e+00)
378         beta:  7.229e-02  0.000e+00 -5.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:  5.747e-01  2.383e-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.565e+00  1.984e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.33
Ra Dec: 182.226 54.700
Photon Index (Free Index): 0.61 +/- 1.34
Photon Flux (Free Index): 3.87e-09 +/- 6.69e-09
Energy Flux (Free Index): 5.29e-05 +/- 9.02e-05

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/556977/cmap_HighResolution_695260801_695520001_4FGL_J1208.9+5441_daily_bin1759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.20e-05', comment='SUCCESS', photon_flux='4.85e-08', energy_flux2='5.29e-05', photon_flux_error='3.37e-08', dlogl='1.51e+00', energy_flux='1.28e-05', photon_flux2='3.87e-09', job_status='DONE', time_completed='2023-01-16 01:18:31.086217', photon_index_error2='1.34', photon_index2='0.61', ts='3.33', fit_tolerance='1e-08', GAL='0.58', photon_index_error='0.00', photon_flux_upper_limit='1.21e-07', energy_flux_error2='9.02e-05', EG='1.53', time_epoch_completed='1673860711.09', return_code='0', job_id='556977', GAL2='0.57', EG2='1.56', return_code2='0', energy_flux_error='8.92e-06', photon_flux_error2='6.69e-09', ts2='6.33', photon_index='2.51' WHERE bin_id='1759' AND source_name='4FGL J1208.9+5441' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jan 16 01:18:31 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 556977: <4FGL_J1208.9+5441_daily_bin1759> in cluster <slac> Done

Job <4FGL_J1208.9+5441_daily_bin1759> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Jan 16 01:05:20 2023
Job was executed on host(s) <bullet0071>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jan 16 01:06:15 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jan 16 01:06:15 2023
Terminated at Mon Jan 16 01:18:31 2023
Results reported at Mon Jan 16 01:18:31 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1208.9+5441_daily_bin1759 182.226 54.6995 695260801 695520001 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 :                                   634.12 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             312.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   736 sec.
    Turnaround time :                            791 sec.

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

