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


Performing analysis on: 4FGL_J1208.4+6121_daily_bin1750
RA = 182.114, Dec = 61.3559
tmin = 692928001, tmax = 693187201
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='10705', job_status='RUN', time_executed='2022-12-20 00:45:59.600558', time_epoch_executed='1671525959.6' WHERE source_name='4FGL J1208.4+6121' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/10705

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/10705/ft1_4FGL_J1208.4+6121_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/10705/ft2_4FGL_J1208.4+6121_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/10705/ft1_4FGL_J1208.4+6121_daily_bin1750.fits outfile=/scratch/kocevski/10705/ft1_filteredMKT_4FGL_J1208.4+6121_daily_bin1750.fits ra=182.114 dec=61.3559 rad=12.0 tmin=692928001.0 tmax=693187201.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.46
user 3.27
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/10705/ft2_4FGL_J1208.4+6121_daily_bin1750.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/10705/ft2_4FGL_J1208.4+6121_daily_bin1750.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/10705/ft1_filteredMKT_4FGL_J1208.4+6121_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/10705/ft1_filtered_4FGL_J1208.4+6121_daily_bin1750.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.34
sys 0.15

Number of photons that the gtmktime cut: 589

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/10705/ft1_filtered_4FGL_J1208.4+6121_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/10705/ft2_4FGL_J1208.4+6121_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/10705/ltcube_692928001_693187201_4FGL_J1208.4+6121_daily_bin1750.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/10705/ft2_4FGL_J1208.4+6121_daily_bin1750.fits
.....................!
real 11.55
user 11.16
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/10705/ft1_filtered_4FGL_J1208.4+6121_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/10705/ft2_4FGL_J1208.4+6121_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/10705/ltcube_692928001_693187201_4FGL_J1208.4+6121_daily_bin1750.fits outfile=/scratch/kocevski/10705/expmap_692928001_693187201_4FGL_J1208.4+6121_daily_bin1750.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/10705/ltcube_692928001_693187201_4FGL_J1208.4+6121_daily_bin1750.fits
.....................!
real 191.19
user 184.72
sys 6.11

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

Setting source of interest to:
4FGL J1208.4+6121 @ 182.114 61.3559

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/10705/ft1_filtered_4FGL_J1208.4+6121_daily_bin1750.fits scfile=/scratch/kocevski/10705/ft2_4FGL_J1208.4+6121_daily_bin1750.fits outfile=/scratch/kocevski/10705/cmap_692928001_693187201_4FGL_J1208.4+6121_daily_bin1750.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.114 yref=61.3559 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/10705/ft1_filtered_4FGL_J1208.4+6121_daily_bin1750.fits scfile=/scratch/kocevski/10705/ft2_4FGL_J1208.4+6121_daily_bin1750.fits outfile=/scratch/kocevski/10705/cmap_HighResolution_692928001_693187201_4FGL_J1208.4+6121_daily_bin1750.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.114 yref=61.3559 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/10705/ft1_filtered_4FGL_J1208.4+6121_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/10705/ft2_4FGL_J1208.4+6121_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/10705/Model_4FGL_J1208.4+6121_daily_bin1750.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/10705/ft1_filtered_4FGL_J1208.4+6121_daily_bin1750.fits.....................!
real 60.46
user 59.04
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/10705/ft1_filtered_4FGL_J1208.4+6121_daily_bin1750.fits', '/scratch/kocevski/10705/ft2_4FGL_J1208.4+6121_daily_bin1750.fits', expMap='/scratch/kocevski/10705/expmap_692928001_693187201_4FGL_J1208.4+6121_daily_bin1750.fits', expCube='/scratch/kocevski/10705/ltcube_692928001_693187201_4FGL_J1208.4+6121_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/10705/Model_4FGL_J1208.4+6121_daily_bin1750.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1208.4+6121'

4FGL J1208.4+6121
   Spectrum: PowerLaw
372    Prefactor:  1.772e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
373        Index:  2.073e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
374        Scale:  2.978e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/10705/ft1_filtered_4FGL_J1208.4+6121_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/10705/ft2_4FGL_J1208.4+6121_daily_bin1750.fits
Exposure map: /scratch/kocevski/10705/expmap_692928001_693187201_4FGL_J1208.4+6121_daily_bin1750.fits
Exposure cube: /scratch/kocevski/10705/ltcube_692928001_693187201_4FGL_J1208.4+6121_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/10705/Model_4FGL_J1208.4+6121_daily_bin1750.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) = 6335.45188125

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.450       1.0000          .0000       .10000E+07
     2 'norm      '    4.7077       1.0000          .0000       .10000E+07
     3 'Prefactor '    .23383E-01   1.0000          .0000       .10000E+07
     4 'norm      '    1.7139       1.0000          .0000       .10000E+07
     5 'Prefactor '    .66813E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .94784       1.0000          .0000       .10000E+07
     7 'Prefactor '    19.751       1.0000          .0000       .10000E+07
     8 'Prefactor '    5.9674       1.0000          .0000       .10000E+07
     9 'Prefactor '    5.5014       1.0000          .0000       .10000E+07
    10 'Prefactor '    16.152       1.0000          .0000       .10000E+07
    11 'Prefactor '    2.3089       1.0000          .0000       .10000E+07
    12 'norm      '    .39531E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .38206E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .33052E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .62578E-04   1.0000          .0000       .10000E+07
    16 'norm      '    .51515       1.0000          .0000       .10000E+07
    17 'Prefactor '    .37762E-01   1.0000          .0000       .10000E+07
    18 'norm      '    .23501E-05   1.0000          .0000       .10000E+07
    19 'norm      '    .78835E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    1.2394       1.0000          .0000       .10000E+07
    21 'norm      '    2.6588       1.0000          .0000       .10000E+07
    22 'norm      '    .23143E-06   1.0000          .0000       .10000E+07
    23 'Prefactor '    .49620E-01   1.0000          .0000       .10000E+07
    24 'Prefactor '    .60299E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    .56249E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    24.247       1.0000          .0000       .10000E+07
    27 'Prefactor '    3.7195       1.0000          .0000       .10000E+07
    28 'Normalizat'    1.0403       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .87750       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6335.444     FROM MIGRAD    STATUS=CONVERGED    184 CALLS     2708 TOTAL
                     EDM=   .45E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.414        10.642       -.53765E-07    .16827E-01
   2  norm          4.7098        2.6222       -.16084E-07   -.24933E-03
   3  Prefactor      .0000        60.916        .15048E-06** at limit **
   4  norm          1.7132        2.2568       -.17116E-07    .19262E-03
   5  Prefactor     .55511E-10    54.026       -.56311E-06** at limit **
   6  norm          .94779        1.0898       -.10845E-06    .20982E-02
   7  Prefactor     19.820        2.9340       -.49072E-08    .29567E-02
   8  Prefactor     5.9852        7.7197        .58439E-07   -.70082E-03
   9  Prefactor     5.4357        3.5403        .30431E-07    .67325E-02
  10  Prefactor     16.174        2.2993        .76287E-08    .12047E-01
  11  Prefactor     2.3108        2.9908       -.11937E-07    .68714E-04
  12  norm           .0000        7.0679        .10216E-06** at limit **
  13  norm           .0000        1.8444       -.70153E-07** at limit **
  14  Prefactor      .0000        1.8293        .11904E-06** at limit **
  15  Prefactor      .0000        4.5724        .26217E-06** at limit **
  16  norm          .51039        1.8692       -.11974E-06    .47668E-03
  17  Prefactor     .55822E-06    2.9574       -.55980E-07** at limit **
  18  norm           .0000        2.0619       -.79898E-07** at limit **
  19  norm           .0000        8.7800        .19760E-07** at limit **
  20  Prefactor     1.2751        4.8979        .90143E-07   -.44216E-04
  21  norm          2.6568        1.6717        .36986E-07   -.80805E-03
  22  norm           .0000        .60060        .37775E-07** at limit **
  23  Prefactor     .37481E-06    197.35       -.52190E-06** at limit **
  24  Prefactor     .22204E-09    10.128       -.18191E-07** at limit **
  25  Prefactor      .0000        16.501       -.15157E-06** at limit **
  26  Prefactor     25.529        51.133        .25095E-06   -.92334E-03
  27  Prefactor     3.6765        4.1759       -.20581E-07    .29145E-03
  28  Normalizat    1.0402        .18073       -.23248E-05    .35903E-04
  29  Prefactor     .87760        .21662        .23355E-05    .11967E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.4138
  norm       = 4.70976
  Prefactor  = 0
  norm       = 1.71319
  Prefactor  = 5.55112e-11
  norm       = 0.94779
  Prefactor  = 19.8196
  Prefactor  = 5.98523
  Prefactor  = 5.43574
  Prefactor  = 16.1742
  Prefactor  = 2.31075
  norm       = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.510387
  Prefactor  = 5.5822e-07
  norm       = 0
  norm       = 0
  Prefactor  = 1.27507
  norm       = 2.65679
  norm       = 0
  Prefactor  = 3.74811e-07
  Prefactor  = 2.22045e-10
  Prefactor  = 0
  Prefactor  = 25.5285
  Prefactor  = 3.67645
  Normalizat = 1.04018
  Prefactor  = 0.8776
 **********
 **   18 **HESSE 
 **********

 FCN=   6335.444     FROM HESSE     STATUS=OK           619 CALLS     3327 TOTAL
                     EDM=   .58E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.414        23.675        .29581E-03   -1.5640    
   2  norm          4.7098        3.0110        .46354E-03   -1.5665    
   3  Prefactor      .0000        60.863        .16824E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.7132        2.2752        .80245E-03   -1.5682    
   5  Prefactor     .55511E-10    54.053        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .94779        1.1001        .42507E-03   -1.5688    
   7  Prefactor     19.820        24.272        .22508E-03   -1.5619    
   8  Prefactor     5.9852        8.1927        .41082E-03   -1.5659    
   9  Prefactor     5.4357        18.030        .42814E-03   -1.5661    
  10  Prefactor     16.174        17.398        .24894E-03   -1.5628    
  11  Prefactor     2.3108        3.0085        .67497E-03   -1.5678    
  12  norm           .0000        7.0613        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        1.8366        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        1.8279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        4.5690        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .51039        1.8804        .77200E-03   -1.5694    
  17  Prefactor     .55822E-06    17.258        .10585E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        2.0558        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        8.7067        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.2751        4.9510        .10072E-02   -1.5685    
  21  norm          2.6568        1.6791        .62486E-03   -1.5675    
  22  norm           .0000        .59944        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .37481E-06    25.137        .15556E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .22204E-09    10.082        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor      .0000        16.522        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     25.529        51.071        .20313E-03   -1.5607    
  27  Prefactor     3.6765        4.1892        .52335E-03   -1.5670    
  28  Normalizat    1.0402        .15957        .41254E-01   -.91696    
  29  Prefactor     .87760        .18689        .44718E-01   -.96928    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.76271e-08
Minuit parameter uncertainties:
  1  23.6754
  2  3.011
  3  2.9189e-05
  4  2.27516
  5  9.43657e-05
  6  1.1001
  7  24.2719
  8  8.19275
  9  18.0305
  10  17.3979
  11  3.00848
  12  1.32307e-05
  13  1.64305e-06
  14  3.66006e-06
  15  1.38007e-05
  16  1.88037
  17  0.00620758
  18  2.69441e-06
  19  1.66596e-05
  20  4.951
  21  1.67915
  22  4.13433e-07
  23  0.00613904
  24  8.889e-05
  25  9.98155e-08
  26  51.0722
  27  4.1892
  28  0.159648
  29  0.187025
Done.

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

Extracting fit parameters...

4FGL J1208.4+6121
   Spectrum: PowerLaw
372    Prefactor:  0.000e+00  1.380e-05  0.000e+00  1.000e+06 ( 1.000e-14)
373        Index:  2.073e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
374        Scale:  2.978e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
707    Prefactor:  8.776e-01  1.870e-01  0.000e+00  1.000e+01 ( 1.000e+00)
708        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
709        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
706   Normalization:  1.040e+00  1.596e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 182.114 61.356
Photon Flux Upper Limit: 2.71e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.05e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/10705/likelihoodResults_692928001_693187201_4FGL_J1208.4+6121_daily_bin1750.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) = 6335.54846931
delta logL = -0.104339901242

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6335.44412963
delta logL = -2.28627868637e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .81984E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .55401       1.0000          .0000       10.000    
     3 'Normalizat'    1.0403       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87751       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6335.444     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      232 TOTAL
                     EDM=   .61E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    .32350E-01    .42118E-03** at limit **
   2  Index         1.8786        5.1101        .40423        .28124E-10
   3  Normalizat    1.0402        .26923E-03    .41260E-01   -.38956E-03
   4  Prefactor     .87760        .33644E-03    .44718E-01   -.23232E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  Index      = 1.87863
  Normalizat = 1.04018
  Prefactor  = 0.8776
 **********
 **   18 **HESSE 
 **********

 FCN=   6335.444     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      263 TOTAL
                     EDM=   .16E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    .87841E-01    .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8786        6.3272        .50000       -.67420    
   3  Normalizat    1.0402        .44340E-03    .20979E-03   -.91696    
   4  Prefactor     .87760        .55396E-03    .28149E-03   -.96928    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.63116e-13
Minuit parameter uncertainties:
  1  5.64986e-06
  2  6427.81
  3  0.000443397
  4  0.00055396
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/10705': 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) = 6335.44412941
delta logL = -6.54836185277e-11

Extracting fit parameters...

4FGL J1208.4+6121
   Spectrum: PowerLaw
372    Prefactor:  1.110e-10  5.650e-06  0.000e+00  1.000e+06 ( 1.000e-14)
373        Index:  1.879e+00  6.428e+03  0.000e+00  1.000e+01 (-1.000e+00)
374        Scale:  2.978e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
707    Prefactor:  8.776e-01  5.540e-04  0.000e+00  1.000e+01 ( 1.000e+00)
708        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
709        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
706   Normalization:  1.040e+00  4.434e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 182.114 61.356

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/10705/cmap_HighResolution_692928001_693187201_4FGL_J1208.4+6121_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.05e-03', job_status='DONE', photon_flux_upper_limit='2.71e-08', time_completed='2022-12-20 00:59:33.236818', job_id='10705', GAL2='0.88', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1671526773.24', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='-6.55e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.07' WHERE bin_id='1750' AND source_name='4FGL J1208.4+6121' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 00:59:33 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 10705: <4FGL_J1208.4+6121_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1208.4+6121_daily_bin1750> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Dec 20 00:45:12 2022
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 00:45:13 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 00:45:13 2022
Terminated at Tue Dec 20 00:59:34 2022
Results reported at Tue Dec 20 00:59:34 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1208.4+6121_daily_bin1750 182.114 61.3559 692928001 693187201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1208.4+6121 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   816.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             327.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   860 sec.
    Turnaround time :                            862 sec.

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

