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


Performing analysis on: 4FGL_J1208.9+5441_daily_bin1780
RA = 182.226, Dec = 54.6995
tmin = 700704001, tmax = 700963201
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='62545', job_status='RUN', time_executed='2023-03-20 00:50:46.862425', time_epoch_executed='1679298646.86' WHERE source_name='4FGL J1208.9+5441' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/62545

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/62545/ft1_4FGL_J1208.9+5441_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/62545/ft2_4FGL_J1208.9+5441_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/62545/ft1_4FGL_J1208.9+5441_daily_bin1780.fits outfile=/scratch/kocevski/62545/ft1_filteredMKT_4FGL_J1208.9+5441_daily_bin1780.fits ra=182.226 dec=54.6995 rad=12.0 tmin=700704001.0 tmax=700963201.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.13
user 3.90
sys 0.20

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

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

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

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

Number of photons that the gtmktime cut: 860

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/62545/ft1_filtered_4FGL_J1208.9+5441_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/62545/ft2_4FGL_J1208.9+5441_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/62545/ltcube_700704001_700963201_4FGL_J1208.9+5441_daily_bin1780.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/62545/ft2_4FGL_J1208.9+5441_daily_bin1780.fits
.....................!
real 12.56
user 12.14
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/62545/ft1_filtered_4FGL_J1208.9+5441_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/62545/ft2_4FGL_J1208.9+5441_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/62545/ltcube_700704001_700963201_4FGL_J1208.9+5441_daily_bin1780.fits outfile=/scratch/kocevski/62545/expmap_700704001_700963201_4FGL_J1208.9+5441_daily_bin1780.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/62545/ltcube_700704001_700963201_4FGL_J1208.9+5441_daily_bin1780.fits
.....................!
real 191.83
user 186.07
sys 5.28

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/62545/ft1_filtered_4FGL_J1208.9+5441_daily_bin1780.fits scfile=/scratch/kocevski/62545/ft2_4FGL_J1208.9+5441_daily_bin1780.fits outfile=/scratch/kocevski/62545/cmap_700704001_700963201_4FGL_J1208.9+5441_daily_bin1780.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/62545/ft1_filtered_4FGL_J1208.9+5441_daily_bin1780.fits scfile=/scratch/kocevski/62545/ft2_4FGL_J1208.9+5441_daily_bin1780.fits outfile=/scratch/kocevski/62545/cmap_HighResolution_700704001_700963201_4FGL_J1208.9+5441_daily_bin1780.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.55
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35716E-03   1.0000          .0000       .10000E+07
     2 'norm      '    2.7300       1.0000          .0000       .10000E+07
     3 'Prefactor '    .23147E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .87483E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .91445E-02   1.0000          .0000       .10000E+07
     6 'norm      '    38.644       1.0000          .0000       .10000E+07
     7 'Prefactor '    .95673E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    27.148       1.0000          .0000       .10000E+07
     9 'norm      '    .57657E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .26154E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .13779E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    13.201       1.0000          .0000       .10000E+07
    13 'Prefactor '    6.8527       1.0000          .0000       .10000E+07
    14 'Prefactor '    .68984       1.0000          .0000       .10000E+07
    15 'norm      '    .14266E-07   1.0000          .0000       .10000E+07
    16 'Prefactor '    .20447E-02   1.0000          .0000       .10000E+07
    17 'norm      '    .21514E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    5.4974       1.0000          .0000       .10000E+07
    19 'Prefactor '    .80680E-06   1.0000          .0000       .10000E+07
    20 'norm      '    2.5232       1.0000          .0000       .10000E+07
    21 'Prefactor '    8.2870       1.0000          .0000       .10000E+07
    22 'norm      '    3.8612       1.0000          .0000       .10000E+07
    23 'Prefactor '    .14453E-04   1.0000          .0000       .10000E+07
    24 'Prefactor '    .41012E-04   1.0000          .0000       .10000E+07
    25 'norm      '    .70699E-05   1.0000          .0000       .10000E+07
    26 'Normalizat'    1.2086       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .82330       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=   9356.102     FROM MIGRAD    STATUS=CONVERGED    168 CALLS     1864 TOTAL
                     EDM=   .84E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .23587E-06    42.063       -.69370E-05** at limit **
   2  norm          2.7300        1.5863        .29241E-07    .59259E-02
   3  Prefactor     .55511E-10    38.954       -.37837E-06** at limit **
   4  Prefactor     .46052E-06    36.724        .67223E-05** at limit **
   5  Prefactor     .17764E-07    21.802       -.14340E-05** at limit **
   6  norm          37.878        4.0701       -.42921E-07   -.17535E-02
   7  Prefactor     .11979E-06    7.7657       -.23085E-05** at limit **
   8  Prefactor     26.972        2.7271       -.24311E-06   -.14922E-01
   9  norm          .49960E-09    3.0342       -.19781E-07** at limit **
  10  Prefactor      .0000        1.3554       -.36609E-07** at limit **
  11  norm           .0000        2.5755        .29088E-06** at limit **
  12  Prefactor     13.162        3.6705        .29187E-06   -.17408E-01
  13  Prefactor     6.8665        4.6850        .39262E-07    .38559E-03
  14  Prefactor     .63658        .56683       -.12642E-06   -.70535E-04
  15  norm          .55511E-10    .66159       -.12309E-06** at limit **
  16  Prefactor     .56727E-06    7.5823        .89079E-06** at limit **
  17  norm          .97922E-07    7.1139        .13268E-05** at limit **
  18  Prefactor     5.5694        4.6258        .13443E-06   -.70822E-02
  19  Prefactor      .0000        1.1847        .40081E-07** at limit **
  20  norm          2.5230        1.3316        .30268E-07   -.32025E-02
  21  Prefactor     8.1740        11.444       -.26471E-05   -.17585E-01
  22  norm          3.8613        1.7798       -.81549E-07    .73954E-02
  23  Prefactor     .39507E-06    7.0748        .32147E-06** at limit **
  24  Prefactor     .55511E-10    2.8312        .15065E-06** at limit **
  25  norm           .0000        1.4546        .15255E-06** at limit **
  26  Normalizat    1.2089        .14723        .18417E-05    .10053E-02
  27  Prefactor     .82338        .18201        .35347E-07    .48968E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.35867e-07
  norm       = 2.72999
  Prefactor  = 5.55112e-11
  Prefactor  = 4.60521e-07
  Prefactor  = 1.77636e-08
  norm       = 37.8778
  Prefactor  = 1.19793e-07
  Prefactor  = 26.9724
  norm       = 4.996e-10
  Prefactor  = 0
  norm       = 0
  Prefactor  = 13.1616
  Prefactor  = 6.86654
  Prefactor  = 0.636575
  norm       = 5.55112e-11
  Prefactor  = 5.67268e-07
  norm       = 9.79217e-08
  Prefactor  = 5.56943
  Prefactor  = 0
  norm       = 2.52305
  Prefactor  = 8.17404
  norm       = 3.86131
  Prefactor  = 3.95073e-07
  Prefactor  = 5.55112e-11
  norm       = 0
  Normalizat = 1.20889
  Prefactor  = 0.823375
 **********
 **   18 **HESSE 
 **********

 FCN=   9356.102     FROM HESSE     STATUS=OK           536 CALLS     2400 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .23587E-06    43.975        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.7300        1.5862        .61603E-03   -1.5675    
   3  Prefactor     .55511E-10    38.531        .16838E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .46052E-06    39.914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .17764E-07    21.996        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          37.878        30.289        .16088E-03   -1.5585    
   7  Prefactor     .11979E-06    8.6691        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     26.972        21.152        .19196E-03   -1.5604    
   9  norm          .49960E-09    3.0309        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        1.3510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        2.5600        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     13.162        15.751        .27543E-03   -1.5635    
  13  Prefactor     6.8665        4.9647        .38303E-03   -1.5656    
  14  Prefactor     .63658        43.893        .61537E-03   -1.5692    
  15  norm          .55511E-10    .65773        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .56727E-06    12.096        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .97922E-07    7.9511        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.5694        14.844        .42829E-03   -1.5661    
  19  Prefactor      .0000        1.1821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.5230        1.3319        .64285E-03   -1.5676    
  21  Prefactor     8.1740        11.870        .34801E-03   -1.5651    
  22  norm          3.8613        1.7799        .51331E-03   -1.5669    
  23  Prefactor     .39507E-06    11.459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .55511E-10    2.8253        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm           .0000        1.4503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.2089        .13002        .34682E-01   -.86329    
  27  Prefactor     .82338        .15798        .68378E-01   -.98872    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.76309e-07
Minuit parameter uncertainties:
  1  0.00644098
  2  1.58624
  3  0.000101092
  4  0.00857487
  5  0.00125056
  6  30.2891
  7  0.00203835
  8  21.152
  9  7.95874e-05
  10  3.13561e-06
  11  1.09156e-05
  12  15.7507
  13  4.96472
  14  10.5719
  15  1.0675e-05
  16  0.00523897
  17  0.0017648
  18  14.8437
  19  3.17737e-06
  20  1.33194
  21  11.8697
  22  1.77995
  23  0.00425548
  24  2.91206e-05
  25  1.2293e-05
  26  0.130055
  27  0.158069
Done.

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

Extracting fit parameters...

4FGL J1208.9+5441
   Spectrum: LogParabola
376         norm:  5.551e-11  1.067e-05  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:  8.234e-01  1.581e-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.209e+00  1.301e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/62545/likelihoodResults_700704001_700963201_4FGL_J1208.9+5441_daily_bin1780.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) = 9355.49930655
delta logL = 0.602729622356

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9355.43397173
delta logL = 0.668064439447

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .31120       1.0000          .0000       .10000E+07
     2 'alpha     '    5.0000       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1478       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87195       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   9355.434     FROM MIGRAD    STATUS=FAILED       100 CALLS      334 TOTAL
                     EDM=   .39E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .31139        .29642        .47906E-05    .26342E-01
   2  alpha         5.0000        .66293        .34962E-01** at limit **
   3  Normalizat    1.1476        .15564        .20997E-03    .26855E-04
   4  Prefactor     .87212        .18764        .29490E-03   -.78105E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   9355.434     FROM SIMPLEX   STATUS=UNCHANGED     88 CALLS      422 TOTAL
                     EDM=   .84E-05    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .31139        .29642        .16330E-05   -1.5697    
   2  alpha         5.0000        .66293        .40105E-02    1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1476        .15564        .83631E-04   -.88239    
   4  Prefactor     .87212        .18764        .34583E-04   -.97122    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9355.434     FROM MIGRAD    STATUS=CONVERGED     17 CALLS      439 TOTAL
                     EDM=   .38E-16  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .31139        .29664        .93790E-09   -.16888E-04
   2  alpha         5.0000        .66285       -.75030E-04** at limit **
   3  Normalizat    1.1476        .15564       -.73816E-07   -.30080E-07
   4  Prefactor     .87212        .18765       -.12690E-07   -.41101E-08
                               ERR DEF=  .500    
Final values: 
  norm       = 0.311387
  alpha      = 5
  Normalizat = 1.14757
  Prefactor  = 0.87212
 **********
 **   18 **HESSE 
 **********

 FCN=   9355.434     FROM HESSE     STATUS=OK            25 CALLS      464 TOTAL
                     EDM=   .70E-14    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .31139        .29638        .19162E-06   -1.5697    
   2  alpha         5.0000        .66285        .69924E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1476        .15580        .83989E-05   -.88239    
   4  Prefactor     .87212        .18784        .11796E-04   -.97122    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.03567e-15
Minuit parameter uncertainties:
  1  0.29638
  2  1.54953e-09
  3  0.155858
  4  0.187977
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/62545': 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) = 9355.43397088
delta logL = 0.668065293579

Extracting fit parameters...

4FGL J1208.9+5441
   Spectrum: LogParabola
376         norm:  3.114e-01  2.964e-01  0.000e+00  1.000e+06 ( 1.000e-11)
377        alpha:  5.000e+00  1.550e-09  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:  8.721e-01  1.880e-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.148e+00  1.559e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.45
Ra Dec: 182.226 54.700
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 4.40e-08 +/- 4.16e-08
Energy Flux (Free Index): 5.90e-06 +/- 5.60e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/62545/cmap_HighResolution_700704001_700963201_4FGL_J1208.9+5441_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.10e-05', comment='SUCCESS', energy_flux2='5.90e-06', dlogl='6.68e-01', photon_flux2='4.40e-08', job_status='DONE', time_completed='2023-03-20 01:06:12.886882', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', photon_flux_upper_limit='4.15e-08', energy_flux_error2='5.60e-06', EG='1.21', time_epoch_completed='1679299572.89', return_code='0', job_id='62545', GAL2='0.87', EG2='1.15', return_code2='0', photon_flux_error2='4.16e-08', ts2='1.45', photon_index='2.51' WHERE bin_id='1780' AND source_name='4FGL J1208.9+5441' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 01:06:12 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 62545: <4FGL_J1208.9+5441_daily_bin1780> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1208.9+5441_daily_bin1780 182.226 54.6995 700704001 700963201 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 :                                   925.34 sec.
    Max Memory :                                 1071 MB
    Average Memory :                             343.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   958 sec.
    Turnaround time :                            960 sec.

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

