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


Performing analysis on: 4FGL_J1209.4+7608_daily_bin1712
RA = 182.363, Dec = 76.137
tmin = 683078401, tmax = 683337601
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='115708', job_status='RUN', time_executed='2022-09-16 16:36:01.467824', time_epoch_executed='1663371361.47' WHERE source_name='4FGL J1209.4+7608' and cadence='daily' and bin_id='1712'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/115708

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/115708/ft1_4FGL_J1209.4+7608_daily_bin1712.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/115708/ft2_4FGL_J1209.4+7608_daily_bin1712.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/115708/ft1_4FGL_J1209.4+7608_daily_bin1712.fits outfile=/scratch/kocevski/115708/ft1_filteredMKT_4FGL_J1209.4+7608_daily_bin1712.fits ra=182.363 dec=76.137 rad=12.0 tmin=683078401.0 tmax=683337601.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.97
user 3.69
sys 0.21

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

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

Number of photons that the gtmktime cut: 796

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/115708/ft1_filtered_4FGL_J1209.4+7608_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/115708/ft2_4FGL_J1209.4+7608_daily_bin1712.fits sctable="SC_DATA" expcube=/scratch/kocevski/115708/ltcube_683078401_683337601_4FGL_J1209.4+7608_daily_bin1712.fits outfile=/scratch/kocevski/115708/expmap_683078401_683337601_4FGL_J1209.4+7608_daily_bin1712.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/115708/ltcube_683078401_683337601_4FGL_J1209.4+7608_daily_bin1712.fits
.....................!
real 175.63
user 152.29
sys 4.45

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/115708/ft1_filtered_4FGL_J1209.4+7608_daily_bin1712.fits scfile=/scratch/kocevski/115708/ft2_4FGL_J1209.4+7608_daily_bin1712.fits outfile=/scratch/kocevski/115708/cmap_683078401_683337601_4FGL_J1209.4+7608_daily_bin1712.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.65
user 0.33
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/115708/ft1_filtered_4FGL_J1209.4+7608_daily_bin1712.fits scfile=/scratch/kocevski/115708/ft2_4FGL_J1209.4+7608_daily_bin1712.fits outfile=/scratch/kocevski/115708/cmap_HighResolution_683078401_683337601_4FGL_J1209.4+7608_daily_bin1712.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.52
user 0.32
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/115708/ft1_filtered_4FGL_J1209.4+7608_daily_bin1712.fits', '/scratch/kocevski/115708/ft2_4FGL_J1209.4+7608_daily_bin1712.fits', expMap='/scratch/kocevski/115708/expmap_683078401_683337601_4FGL_J1209.4+7608_daily_bin1712.fits', expCube='/scratch/kocevski/115708/ltcube_683078401_683337601_4FGL_J1209.4+7608_daily_bin1712.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/115708/Model_4FGL_J1209.4+7608_daily_bin1712.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/115708/ft1_filtered_4FGL_J1209.4+7608_daily_bin1712.fits
Spacecraft file(s): /scratch/kocevski/115708/ft2_4FGL_J1209.4+7608_daily_bin1712.fits
Exposure map: /scratch/kocevski/115708/expmap_683078401_683337601_4FGL_J1209.4+7608_daily_bin1712.fits
Exposure cube: /scratch/kocevski/115708/ltcube_683078401_683337601_4FGL_J1209.4+7608_daily_bin1712.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/115708/Model_4FGL_J1209.4+7608_daily_bin1712.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) = 8508.92255242

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17382E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .57946E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    1.4240       1.0000          .0000       .10000E+07
     4 'Prefactor '    16.675       1.0000          .0000       .10000E+07
     5 'norm      '    4.6549       1.0000          .0000       .10000E+07
     6 'Prefactor '    .25732E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .95394E-04   1.0000          .0000       .10000E+07
     8 'norm      '    2.0260       1.0000          .0000       .10000E+07
     9 'norm      '    .64886       1.0000          .0000       .10000E+07
    10 'Prefactor '    .70546E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .17141E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .37271E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .10962E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .21281E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    21.850       1.0000          .0000       .10000E+07
    16 'norm      '    .37362E-03   1.0000          .0000       .10000E+07
    17 'norm      '    .12768E-08   1.0000          .0000       .10000E+07
    18 'Prefactor '    .94835E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    12.921       1.0000          .0000       .10000E+07
    20 'Prefactor '    .10622E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .11772E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    .24210E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    .10621E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    78.246       1.0000          .0000       .10000E+07
    25 'Prefactor '    .58496E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    .16908E-02   1.0000          .0000       .10000E+07
    27 'Normalizat'    .93192       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0951       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=   8508.785     FROM MIGRAD    STATUS=CONVERGED    191 CALLS     2004 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .32196E-08    6.2416        .29082E-06** at limit **
   2  Prefactor     .93259E-08    3.8341        .23341E-06** at limit **
   3  Prefactor     1.4256        9.9907        .11050E-05    .41816E-03
   4  Prefactor     16.479        6.5932       -.83962E-08   -.21293E-01
   5  norm          4.6426        4.3673       -.12222E-06    .26735E-03
   6  Prefactor     .77198E-04    9.6353       -.63988E-06** at limit **
   7  Prefactor      .0000        1.5629       -.99783E-07** at limit **
   8  norm          2.0265        .65565       -.20212E-07   -.23041E-02
   9  norm          .64894        1.3882       -.92906E-07   -.87323E-03
  10  Prefactor     .97200E-07    21.068        .15499E-06** at limit **
  11  Prefactor      .0000        18.517        .32614E-06** at limit **
  12  Prefactor     .11102E-09    4.1353        .83768E-06** at limit **
  13  Prefactor     .26368E-07    3.3610        .25041E-06** at limit **
  14  Prefactor     .52103E-06    52.667       -.10413E-05** at limit **
  15  Prefactor     21.861        1.2105       -.31483E-08   -.20438E-02
  16  norm           .0000        2.3087       -.14199E-06** at limit **
  17  norm           .0000        2.0757       -.29231E-06** at limit **
  18  Prefactor     .86542E-07    5.8241        .30954E-06** at limit **
  19  Prefactor     12.134        10.787        .11315E-06   -.12567    
  20  Prefactor     .26029E-06    7.1390       -.34673E-06** at limit **
  21  Prefactor     .22443E-06    6.9017        .37878E-06** at limit **
  22  Prefactor     .20539E-08    5.9627        .22530E-06** at limit **
  23  Prefactor     .16098E-08    4.5662        .45878E-06** at limit **
  24  Prefactor     81.365        62.447        .73944E-07   -.42049E-01
  25  Prefactor     .17131E-06    5.6525        .34469E-06** at limit **
  26  Prefactor     .10225E-06    12.236        .51085E-06** at limit **
  27  Normalizat    .93178        .15355       -.38856E-05    .81923E-05
  28  Prefactor     1.0952        .13293        .28565E-05    .39483E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.21965e-09
  Prefactor  = 9.32587e-09
  Prefactor  = 1.42556
  Prefactor  = 16.4792
  norm       = 4.64263
  Prefactor  = 7.71976e-05
  Prefactor  = 0
  norm       = 2.02648
  norm       = 0.648945
  Prefactor  = 9.72e-08
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  Prefactor  = 2.63678e-08
  Prefactor  = 5.21028e-07
  Prefactor  = 21.8612
  norm       = 0
  norm       = 0
  Prefactor  = 8.65419e-08
  Prefactor  = 12.134
  Prefactor  = 2.60292e-07
  Prefactor  = 2.24432e-07
  Prefactor  = 2.05391e-09
  Prefactor  = 1.60982e-09
  Prefactor  = 81.3652
  Prefactor  = 1.71307e-07
  Prefactor  = 1.02252e-07
  Normalizat = 0.931784
  Prefactor  = 1.09516
 **********
 **   18 **HESSE 
 **********

 FCN=   8508.785     FROM HESSE     STATUS=OK           561 CALLS     2565 TOTAL
                     EDM=   .29E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .32196E-08    6.2307        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .93259E-08    12.817        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.4256        10.253        .90578E-03   -1.5684    
   4  Prefactor     16.479        17.409        .24500E-03   -1.5627    
   5  norm          4.6426        4.4415        .46623E-03   -1.5665    
   6  Prefactor     .77198E-04    579.24        .16685E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        1.5623        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.0265        .66111        .72662E-03   -1.5679    
   9  norm          .64894        1.4163        .64960E-03   -1.5692    
  10  Prefactor     .97200E-07    21.166        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        18.171        .17232E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .11102E-09    4.0963        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .26368E-07    12.573        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .52103E-06    53.086        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     21.861        16.162        .21399E-03   -1.5614    
  16  norm           .0000        2.2995        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        2.0621        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .86542E-07    9.8725        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     12.134        44.113        .27841E-03   -1.5638    
  20  Prefactor     .26029E-06    7.4497        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .22443E-06    7.1452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .20539E-08    5.9475        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .16098E-08    10.193        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     81.365        63.464        .11306E-03   -1.5528    
  25  Prefactor     .17131E-06    11.891        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10225E-06    14.614        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .93178        .13992        .45308E-01   -.95352    
  28  Prefactor     1.0952        .11948        .37777E-01   -.89621    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.87409e-06
Minuit parameter uncertainties:
  1  0.000282584
  2  0.000691204
  3  7.64635
  4  17.4088
  5  4.44149
  6  0.422965
  7  2.31318e-06
  8  0.66111
  9  1.41633
  10  0.00286897
  11  3.16072e-05
  12  4.57903e-05
  13  0.00115128
  14  0.0105184
  15  16.1622
  16  2.83618e-06
  17  1.35379e-06
  18  0.0018486
  19  44.114
  20  0.00278496
  21  0.00253263
  22  0.000221718
  23  0.000255226
  24  63.4642
  25  0.00285461
  26  0.00244465
  27  0.139976
  28  0.119507
Done.

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

Extracting fit parameters...

4FGL J1209.4+7608
   Spectrum: PowerLaw
397    Prefactor:  5.210e-07  1.052e-02  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.095e+00  1.195e-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:  9.318e-01  1.400e-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.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.21e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/115708/likelihoodResults_683078401_683337601_4FGL_J1209.4+7608_daily_bin1712.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) = 8508.79386216
delta logL = -0.00907088519671

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8507.43196067
delta logL = 1.35283059871

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14390E-02   1.0000          .0000       .10000E+07
     2 'Index     '    6.6310       1.0000          .0000       10.000    
     3 'Normalizat'    .86515       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1269       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=   8508.785     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      381 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    .84017        .42118E-03** at limit **
   2  Index         .67164        5.7987        .50000       -.10914E-09
   3  Normalizat    .93179        .12772E-02    .44455E-01    .27809E-03
   4  Prefactor     1.0952        .11208E-02    .36645E-01    .63009E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Index      = 0.671642
  Normalizat = 0.931785
  Prefactor  = 1.09516
 **********
 **   18 **HESSE 
 **********

 FCN=   8508.785     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      408 TOTAL
                     EDM=   .90E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    4.1987        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .67164        7.9797        .50000       -82.728    
   3  Normalizat    .93179        .28543E-02    .25769E-03   -2.1881    
   4  Prefactor     1.0952        .25060E-02    .20937E-03   -2.2454    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.98093e-11
Minuit parameter uncertainties:
  1  6.82991e-05
  2  105683
  3  0.00285432
  4  0.00250596
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/115708': 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) = 8508.78479127
delta logL = 4.75483830087e-09

Extracting fit parameters...

4FGL J1209.4+7608
   Spectrum: PowerLaw
397    Prefactor:  2.776e-10  6.830e-05  0.000e+00  1.000e+06 ( 1.000e-14)
398        Index:  6.716e-01  1.057e+05  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.095e+00  2.506e-03  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:  9.318e-01  2.854e-03  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/115708/cmap_HighResolution_683078401_683337601_4FGL_J1209.4+7608_daily_bin1712.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.21e-03', job_status='DONE', photon_flux_upper_limit='5.54e-08', time_completed='2022-09-16 16:50:18.539318', job_id='115708', GAL2='1.10', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1663372218.54', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='4.75e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='1712' AND source_name='4FGL J1209.4+7608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 16:50:18 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 115708: <4FGL_J1209.4+7608_daily_bin1712> in cluster <slac> Done

Job <4FGL_J1209.4+7608_daily_bin1712> 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) <bullet0168>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 16:35:29 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:29 2022
Terminated at Fri Sep 16 16:50:19 2022
Results reported at Fri Sep 16 16:50:19 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1209.4+7608_daily_bin1712 182.363 76.137 683078401 683337601 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 :                                   776.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             351.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   890 sec.
    Turnaround time :                            903 sec.

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

