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


Performing analysis on: 4FGL_J1209.4+7608_daily_bin1716
RA = 182.363, Dec = 76.137
tmin = 684115201, tmax = 684374401
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='115714', job_status='RUN', time_executed='2022-09-16 16:37:41.786325', time_epoch_executed='1663371461.79' WHERE source_name='4FGL J1209.4+7608' and cadence='daily' and bin_id='1716'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/115714

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/115714/ft1_4FGL_J1209.4+7608_daily_bin1716.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/115714/ft2_4FGL_J1209.4+7608_daily_bin1716.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/115714/ft1_4FGL_J1209.4+7608_daily_bin1716.fits outfile=/scratch/kocevski/115714/ft1_filteredMKT_4FGL_J1209.4+7608_daily_bin1716.fits ra=182.363 dec=76.137 rad=12.0 tmin=684115201.0 tmax=684374401.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 3.43
user 3.14
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/115714/ft2_4FGL_J1209.4+7608_daily_bin1716.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/115714/ft2_4FGL_J1209.4+7608_daily_bin1716.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/115714/ft1_filteredMKT_4FGL_J1209.4+7608_daily_bin1716.fits evtable="EVENTS" outfile="/scratch/kocevski/115714/ft1_filtered_4FGL_J1209.4+7608_daily_bin1716.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.44
user 0.28
sys 0.15

Number of photons that the gtmktime cut: 808

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/115714/ft1_filtered_4FGL_J1209.4+7608_daily_bin1716.fits" evtable="EVENTS" scfile=/scratch/kocevski/115714/ft2_4FGL_J1209.4+7608_daily_bin1716.fits sctable="SC_DATA" outfile=/scratch/kocevski/115714/ltcube_684115201_684374401_4FGL_J1209.4+7608_daily_bin1716.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/115714/ft2_4FGL_J1209.4+7608_daily_bin1716.fits
.....................!
real 10.47
user 10.03
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/115714/ft1_filtered_4FGL_J1209.4+7608_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/115714/ft2_4FGL_J1209.4+7608_daily_bin1716.fits sctable="SC_DATA" expcube=/scratch/kocevski/115714/ltcube_684115201_684374401_4FGL_J1209.4+7608_daily_bin1716.fits outfile=/scratch/kocevski/115714/expmap_684115201_684374401_4FGL_J1209.4+7608_daily_bin1716.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/115714/ltcube_684115201_684374401_4FGL_J1209.4+7608_daily_bin1716.fits
.....................!
real 157.64
user 151.83
sys 4.32

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 223 point sources and 0 extended sources

Setting source of interest to:
4FGL J1209.4+7608 @ 182.363 76.137

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/115714/ft1_filtered_4FGL_J1209.4+7608_daily_bin1716.fits scfile=/scratch/kocevski/115714/ft2_4FGL_J1209.4+7608_daily_bin1716.fits outfile=/scratch/kocevski/115714/cmap_684115201_684374401_4FGL_J1209.4+7608_daily_bin1716.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.363 yref=76.137 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.32
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/115714/ft1_filtered_4FGL_J1209.4+7608_daily_bin1716.fits scfile=/scratch/kocevski/115714/ft2_4FGL_J1209.4+7608_daily_bin1716.fits outfile=/scratch/kocevski/115714/cmap_HighResolution_684115201_684374401_4FGL_J1209.4+7608_daily_bin1716.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.363 yref=76.137 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.34
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/115714/ft1_filtered_4FGL_J1209.4+7608_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/115714/ft2_4FGL_J1209.4+7608_daily_bin1716.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/115714/Model_4FGL_J1209.4+7608_daily_bin1716.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/115714/ft1_filtered_4FGL_J1209.4+7608_daily_bin1716.fits.....................!
real 84.03
user 82.46
sys 1.06

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/115714/ft1_filtered_4FGL_J1209.4+7608_daily_bin1716.fits', '/scratch/kocevski/115714/ft2_4FGL_J1209.4+7608_daily_bin1716.fits', expMap='/scratch/kocevski/115714/expmap_684115201_684374401_4FGL_J1209.4+7608_daily_bin1716.fits', expCube='/scratch/kocevski/115714/ltcube_684115201_684374401_4FGL_J1209.4+7608_daily_bin1716.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/115714/Model_4FGL_J1209.4+7608_daily_bin1716.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1209.4+7608'

4FGL J1209.4+7608
   Spectrum: PowerLaw
397    Prefactor:  7.028e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
398        Index:  2.167e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
399        Scale:  1.807e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/115714/ft1_filtered_4FGL_J1209.4+7608_daily_bin1716.fits
Spacecraft file(s): /scratch/kocevski/115714/ft2_4FGL_J1209.4+7608_daily_bin1716.fits
Exposure map: /scratch/kocevski/115714/expmap_684115201_684374401_4FGL_J1209.4+7608_daily_bin1716.fits
Exposure cube: /scratch/kocevski/115714/ltcube_684115201_684374401_4FGL_J1209.4+7608_daily_bin1716.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/115714/Model_4FGL_J1209.4+7608_daily_bin1716.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) = 8567.06846799

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.2179       1.0000          .0000       .10000E+07
     2 'Prefactor '    .20975E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .28132       1.0000          .0000       .10000E+07
     4 'Prefactor '    .30171E-02   1.0000          .0000       .10000E+07
     5 'norm      '    4.3331       1.0000          .0000       .10000E+07
     6 'Prefactor '    9.6277       1.0000          .0000       .10000E+07
     7 'Prefactor '    7.6366       1.0000          .0000       .10000E+07
     8 'norm      '    2.5249       1.0000          .0000       .10000E+07
     9 'norm      '    .26146E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    .33694E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    .11088E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .40422E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    26.131       1.0000          .0000       .10000E+07
    14 'Prefactor '    .13107E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    1.8124       1.0000          .0000       .10000E+07
    16 'norm      '    .48733E-04   1.0000          .0000       .10000E+07
    17 'norm      '    6.6195       1.0000          .0000       .10000E+07
    18 'Prefactor '    .12047E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .16487E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    17.558       1.0000          .0000       .10000E+07
    21 'Prefactor '    .56376E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .26189E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    16.472       1.0000          .0000       .10000E+07
    24 'Prefactor '    .68201E-01   1.0000          .0000       .10000E+07
    25 'Prefactor '    .32898E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    .17395E-02   1.0000          .0000       .10000E+07
    27 'Normalizat'    .86864       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0550       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8566.965     FROM MIGRAD    STATUS=CONVERGED    213 CALLS     2025 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.2203        10.806        .87346E-08   -.53263E-03
   2  Prefactor      .0000        3.0949        .18962E-08** at limit **
   3  Prefactor     .79860E-04    30.475        .58485E-07** at limit **
   4  Prefactor     .55511E-09    6.1748        .37925E-08** at limit **
   5  norm          4.3551        3.5905        .13819E-07   -.13064E-02
   6  Prefactor     11.712        394.10        .21460E-05   -.19530E-02
   7  Prefactor     7.6657        5.9709       -.18268E-07   -.15912E-02
   8  norm          2.5216        .91017       -.10367E-07   -.91613E-02
   9  norm          .27756E-09    3.6368        .15516E-06** at limit **
  10  Prefactor     .80491E-08    8.7589       -.52514E-07** at limit **
  11  Prefactor     .42744E-08    8.0180       -.10129E-08** at limit **
  12  Prefactor      .0000        1.3319        .18301E-07** at limit **
  13  Prefactor     26.195        9.1978       -.17558E-08    .65740E-01
  14  Prefactor     .29393E-06    55.179       -.21263E-06** at limit **
  15  Prefactor     1.8299        1.6359        .10732E-07   -.47497E-02
  16  norm           .0000        1.2406       -.92313E-08** at limit **
  17  norm          6.6122        3.5821       -.12992E-07   -.38039E-02
  18  Prefactor     .41336E-05    10.338       -.15575E-06** at limit **
  19  Prefactor     .55684E-05    29.983       -.18991E-06** at limit **
  20  Prefactor     17.621        9.3007       -.82749E-08   -.16139E-01
  21  Prefactor     .11102E-09    10.293       -.16728E-07** at limit **
  22  Prefactor     .35750E-05    10.097       -.90087E-07** at limit **
  23  Prefactor     16.244        17.181        .32538E-07    .47236E-01
  24  Prefactor     .22204E-08    31.471        .43986E-06** at limit **
  25  Prefactor     .67724E-08    17.285        .11345E-06** at limit **
  26  Prefactor     .11233E-05    16.887       -.91479E-07** at limit **
  27  Normalizat    .86869        .16151        .51743E-06    .23430E-03
  28  Prefactor     1.0552        .14089        .38629E-06    .29427E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.22031
  Prefactor  = 0
  Prefactor  = 7.98597e-05
  Prefactor  = 5.55112e-10
  norm       = 4.35511
  Prefactor  = 11.712
  Prefactor  = 7.66575
  norm       = 2.52159
  norm       = 2.77556e-10
  Prefactor  = 8.04912e-09
  Prefactor  = 4.27436e-09
  Prefactor  = 0
  Prefactor  = 26.1948
  Prefactor  = 2.93932e-07
  Prefactor  = 1.82995
  norm       = 0
  norm       = 6.61223
  Prefactor  = 4.13364e-06
  Prefactor  = 5.56838e-06
  Prefactor  = 17.6208
  Prefactor  = 1.11022e-10
  Prefactor  = 3.57497e-06
  Prefactor  = 16.2436
  Prefactor  = 2.22045e-09
  Prefactor  = 6.77236e-09
  Prefactor  = 1.12327e-06
  Normalizat = 0.868694
  Prefactor  = 1.05517
 **********
 **   18 **HESSE 
 **********

 FCN=   8566.965     FROM HESSE     STATUS=OK           573 CALLS     2598 TOTAL
                     EDM=   .54E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.2203        10.926        .34949E-03   -1.5651    
   2  Prefactor      .0000        3.0940        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .79860E-04    7.8969        .10477E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .55511E-09    6.1830        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.3551        3.7406        .48367E-03   -1.5666    
   6  Prefactor     11.712        394.76        .32272E-03   -1.5640    
   7  Prefactor     7.6657        5.8363        .36265E-03   -1.5653    
   8  norm          2.5216        .89259        .64260E-03   -1.5676    
   9  norm          .27756E-09    3.5068        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .80491E-08    8.8124        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .42744E-08    8.1143        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        1.3298        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     26.195        13.242        .19566E-03   -1.5606    
  14  Prefactor     .29393E-06    55.494        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.8299        29.510        .77569E-03   -1.5681    
  16  norm           .0000        1.2381        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.6122        3.6897        .38980E-03   -1.5657    
  18  Prefactor     .41336E-05    33.913        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .55684E-05    38.010        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     17.621        13.778        .23875E-03   -1.5624    
  21  Prefactor     .11102E-09    10.336        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .35750E-05    35.293        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     16.244        17.720        .24651E-03   -1.5627    
  24  Prefactor     .22204E-08    31.431        .14878E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .67724E-08    17.318        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .11233E-05    31.543        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .86869        .14621        .44500E-01   -.97569    
  28  Prefactor     1.0552        .12672        .39624E-01   -.90913    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.38066e-07
Minuit parameter uncertainties:
  1  10.9258
  2  1.50704e-05
  3  0.0502254
  4  0.000115786
  5  3.74056
  6  136
  7  5.83627
  8  0.892588
  9  6.09861e-05
  10  0.000532574
  11  0.000371375
  12  6.92898e-06
  13  13.2422
  14  0.00807759
  15  14.6972
  16  1.42332e-06
  17  3.6897
  18  0.0236801
  19  0.0290968
  20  13.7777
  21  7.41163e-05
  22  0.0224652
  23  17.7203
  24  0.000528849
  25  0.000686147
  26  0.0119049
  27  0.146279
  28  0.126752
Done.

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

Extracting fit parameters...

4FGL J1209.4+7608
   Spectrum: PowerLaw
397    Prefactor:  2.939e-07  8.078e-03  0.000e+00  1.000e+06 ( 1.000e-14)
398        Index:  2.167e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
399        Scale:  1.807e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
710    Prefactor:  1.055e+00  1.268e-01  0.000e+00  1.000e+01 ( 1.000e+00)
711        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
712        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
709   Normalization:  8.687e-01  1.463e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 182.363 76.137
Photon Flux Upper Limit: 5.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.22e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/115714/likelihoodResults_684115201_684374401_4FGL_J1209.4+7608_daily_bin1716.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): 102
logL (Free Index) = 8566.97418031
delta logL = -0.00869213023543

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8566.81801523
delta logL = 0.147472954537

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0388       1.0000          .0000       .10000E+07
     2 'Index     '    3.7857       1.0000          .0000       10.000    
     3 'Normalizat'    .84720       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0627       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7130E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8566.818     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      240 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0438        42.979        .12308E-02    .13921E-01
   2  Index         3.7840        3.0212        .12430        .16700E-03
   3  Normalizat    .84725        .27854E-01    .44223E-01   -.59343E-05
   4  Prefactor     1.0627        .24182E-01    .39215E-01    .48329E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.04384
  Index      = 3.78395
  Normalizat = 0.847247
  Prefactor  = 1.06271
 **********
 **   18 **HESSE 
 **********

 FCN=   8566.818     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      273 TOTAL
                     EDM=   .26E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0438        179.15        .17007E-04   -1.5688    
   2  Index         3.7840        6.1809        .87220E-02   -.24567    
   3  Normalizat    .84725        .12495        .27526E-03   -.98339    
   4  Prefactor     1.0627        .10715        .21510E-03   -.90667    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.63185e-06
Minuit parameter uncertainties:
  1  27.3509
  2  10.1773
  3  0.124997
  4  0.107174
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/115714': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8566.81801485
delta logL = 0.14747333505

Extracting fit parameters...

4FGL J1209.4+7608
   Spectrum: PowerLaw
397    Prefactor:  1.044e+00  2.735e+01  0.000e+00  1.000e+06 ( 1.000e-14)
398        Index:  3.784e+00  1.018e+01  0.000e+00  1.000e+01 (-1.000e+00)
399        Scale:  1.807e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
710    Prefactor:  1.063e+00  1.072e-01  0.000e+00  1.000e+01 ( 1.000e+00)
711        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
712        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
709   Normalization:  8.472e-01  1.250e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 182.363 76.137

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/115714/cmap_HighResolution_684115201_684374401_4FGL_J1209.4+7608_daily_bin1716.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.22e-03', job_status='DONE', photon_flux_upper_limit='5.55e-08', time_completed='2022-09-16 16:50:30.708786', job_id='115714', GAL2='1.06', fit_tolerance='1e-08', EG2='0.85', EG='0.87', time_epoch_completed='1663372230.71', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='1.47e-01', ts2='0.31', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='1716' AND source_name='4FGL J1209.4+7608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 16:50:30 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 115714: <4FGL_J1209.4+7608_daily_bin1716> in cluster <slac> Done

Job <4FGL_J1209.4+7608_daily_bin1716> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 16 16:35:16 2022
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 16:35:31 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 16:35:31 2022
Terminated at Fri Sep 16 16:50:31 2022
Results reported at Fri Sep 16 16:50:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1209.4+7608_daily_bin1716 182.363 76.137 684115201 684374401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1209.4+7608 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   765.10 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             312.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   899 sec.
    Turnaround time :                            915 sec.

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

