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


Performing analysis on: 4FGL_J1208.4+6121_daily_bin1749
RA = 182.114, Dec = 61.3559
tmin = 692668801, tmax = 692928001
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='950511', job_status='RUN', time_executed='2022-12-17 00:42:15.196154', time_epoch_executed='1671266535.2' WHERE source_name='4FGL J1208.4+6121' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/950511

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/950511/ft1_4FGL_J1208.4+6121_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/950511/ft2_4FGL_J1208.4+6121_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/950511/ft1_4FGL_J1208.4+6121_daily_bin1749.fits outfile=/scratch/kocevski/950511/ft1_filteredMKT_4FGL_J1208.4+6121_daily_bin1749.fits ra=182.114 dec=61.3559 rad=12.0 tmin=692668801.0 tmax=692928001.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.69
user 3.44
sys 0.22

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

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

Number of photons that the gtmktime cut: 629

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/950511/ft1_filtered_4FGL_J1208.4+6121_daily_bin1749.fits" evtable="EVENTS" scfile=/scratch/kocevski/950511/ft2_4FGL_J1208.4+6121_daily_bin1749.fits sctable="SC_DATA" outfile=/scratch/kocevski/950511/ltcube_692668801_692928001_4FGL_J1208.4+6121_daily_bin1749.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/950511/ft2_4FGL_J1208.4+6121_daily_bin1749.fits
.....................!
real 12.74
user 12.25
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/950511/ft1_filtered_4FGL_J1208.4+6121_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/950511/ft2_4FGL_J1208.4+6121_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/950511/ltcube_692668801_692928001_4FGL_J1208.4+6121_daily_bin1749.fits outfile=/scratch/kocevski/950511/expmap_692668801_692928001_4FGL_J1208.4+6121_daily_bin1749.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/950511/ltcube_692668801_692928001_4FGL_J1208.4+6121_daily_bin1749.fits
.....................!
real 192.37
user 185.87
sys 5.35

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/950511/ft1_filtered_4FGL_J1208.4+6121_daily_bin1749.fits scfile=/scratch/kocevski/950511/ft2_4FGL_J1208.4+6121_daily_bin1749.fits outfile=/scratch/kocevski/950511/cmap_692668801_692928001_4FGL_J1208.4+6121_daily_bin1749.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.55
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/950511/ft1_filtered_4FGL_J1208.4+6121_daily_bin1749.fits scfile=/scratch/kocevski/950511/ft2_4FGL_J1208.4+6121_daily_bin1749.fits outfile=/scratch/kocevski/950511/cmap_HighResolution_692668801_692928001_4FGL_J1208.4+6121_daily_bin1749.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/950511/ft1_filtered_4FGL_J1208.4+6121_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/950511/ft2_4FGL_J1208.4+6121_daily_bin1749.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/950511/Model_4FGL_J1208.4+6121_daily_bin1749.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/950511/ft1_filtered_4FGL_J1208.4+6121_daily_bin1749.fits.....................!
real 65.18
user 63.54
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/950511/ft1_filtered_4FGL_J1208.4+6121_daily_bin1749.fits', '/scratch/kocevski/950511/ft2_4FGL_J1208.4+6121_daily_bin1749.fits', expMap='/scratch/kocevski/950511/expmap_692668801_692928001_4FGL_J1208.4+6121_daily_bin1749.fits', expCube='/scratch/kocevski/950511/ltcube_692668801_692928001_4FGL_J1208.4+6121_daily_bin1749.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/950511/Model_4FGL_J1208.4+6121_daily_bin1749.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/950511/ft1_filtered_4FGL_J1208.4+6121_daily_bin1749.fits
Spacecraft file(s): /scratch/kocevski/950511/ft2_4FGL_J1208.4+6121_daily_bin1749.fits
Exposure map: /scratch/kocevski/950511/expmap_692668801_692928001_4FGL_J1208.4+6121_daily_bin1749.fits
Exposure cube: /scratch/kocevski/950511/ltcube_692668801_692928001_4FGL_J1208.4+6121_daily_bin1749.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/950511/Model_4FGL_J1208.4+6121_daily_bin1749.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) = 6832.44887213

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.0677       1.0000          .0000       .10000E+07
     2 'norm      '    5.0092       1.0000          .0000       .10000E+07
     3 'Prefactor '    .76977E-01   1.0000          .0000       .10000E+07
     4 'norm      '    .21028E-06   1.0000          .0000       .10000E+07
     5 'Prefactor '    .11333E-03   1.0000          .0000       .10000E+07
     6 'norm      '    2.9556       1.0000          .0000       .10000E+07
     7 'Prefactor '    .22790E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .24245E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    35.291       1.0000          .0000       .10000E+07
    10 'Prefactor '    .17178E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    4.9516       1.0000          .0000       .10000E+07
    12 'norm      '    .19439E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .50783E-05   1.0000          .0000       .10000E+07
    14 'Prefactor '    .50205E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .30103E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .12907E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    19.088       1.0000          .0000       .10000E+07
    18 'norm      '    2.8528       1.0000          .0000       .10000E+07
    19 'norm      '    .68653E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    2.0627       1.0000          .0000       .10000E+07
    21 'norm      '    2.5099       1.0000          .0000       .10000E+07
    22 'norm      '    2.5105       1.0000          .0000       .10000E+07
    23 'Prefactor '    28.534       1.0000          .0000       .10000E+07
    24 'Prefactor '    .25718E-03   1.0000          .0000       .10000E+07
    25 'Prefactor '    .31137E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    .65430E-02   1.0000          .0000       .10000E+07
    27 'Prefactor '    .36728E-04   1.0000          .0000       .10000E+07
    28 'Normalizat'    .85135       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.1913       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=   6832.422     FROM MIGRAD    STATUS=CONVERGED    171 CALLS     2665 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1027        1.5681        .47321E-07   -.15701E-01
   2  norm          5.0047        2.5878       -.17822E-07    .47368E-03
   3  Prefactor     .22204E-09    39.184        .75424E-06** at limit **
   4  norm          .55511E-10    .85967        .69331E-08** at limit **
   5  Prefactor     .15810E-04    67.005        .27605E-05** at limit **
   6  norm          2.9553        2.0226       -.15497E-06   -.23188E-02
   7  Prefactor     .21427E-06    7.0580       -.24621E-06** at limit **
   8  Prefactor     .16653E-09    2.4051        .59256E-07** at limit **
   9  Prefactor     35.320        1.5500        .20870E-07   -.26543E-01
  10  Prefactor     .56227E-06    5.2195       -.11479E-06** at limit **
  11  Prefactor     4.9527        3.6518       -.36723E-07   -.36266E-03
  12  norm          .13323E-07    3.8169       -.39942E-06** at limit **
  13  norm          .77716E-09    3.7161       -.20925E-07** at limit **
  14  Prefactor     .27756E-09    2.9469        .22835E-07** at limit **
  15  Prefactor     .92315E-07    4.6578       -.64270E-06** at limit **
  16  norm          .70000E-07    7.4289       -.96324E-06** at limit **
  17  Prefactor     19.101        1.2270        .92468E-08    .30901E-02
  18  norm          2.8508        2.8874        .15763E-06    .91951E-03
  19  norm          .13204E-04    19.182        .11983E-05** at limit **
  20  Prefactor     2.0611        3.2124       -.59972E-07   -.29758E-03
  21  norm          2.5108        1.5865       -.20078E-07   -.25252E-03
  22  norm          2.5093        1.9415        .10876E-06    .14667E-02
  23  Prefactor     27.669        9.1305        .18754E-06   -.23334    
  24  Prefactor     .60996E-06    7.7179        .58243E-06** at limit **
  25  Prefactor     .26590E-06    13.949       -.11186E-05** at limit **
  26  Prefactor     .63416E-06    24.490       -.51046E-06** at limit **
  27  Prefactor     .55511E-10    2.0804       -.25340E-06** at limit **
  28  Normalizat    .85134        .17432        .52436E-05    .44364E-04
  29  Prefactor     1.1916        .22227       -.36435E-05    .18903E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.10273
  norm       = 5.00468
  Prefactor  = 2.22045e-10
  norm       = 5.55112e-11
  Prefactor  = 1.58097e-05
  norm       = 2.95533
  Prefactor  = 2.14273e-07
  Prefactor  = 1.66533e-10
  Prefactor  = 35.3204
  Prefactor  = 5.62272e-07
  Prefactor  = 4.95267
  norm       = 1.33227e-08
  norm       = 7.77156e-10
  Prefactor  = 2.77556e-10
  Prefactor  = 9.2315e-08
  norm       = 6.99996e-08
  Prefactor  = 19.1011
  norm       = 2.85079
  norm       = 1.32037e-05
  Prefactor  = 2.06105
  norm       = 2.51076
  norm       = 2.50933
  Prefactor  = 27.6691
  Prefactor  = 6.09957e-07
  Prefactor  = 2.65898e-07
  Prefactor  = 6.34159e-07
  Prefactor  = 5.55112e-11
  Normalizat = 0.851341
  Prefactor  = 1.19159
 **********
 **   18 **HESSE 
 **********

 FCN=   6832.422     FROM HESSE     STATUS=OK           617 CALLS     3282 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1027        28.049        .35275E-03   -1.5651    
   2  norm          5.0047        3.3458        .44907E-03   -1.5663    
   3  Prefactor     .22204E-09    39.182        .14594E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .55511E-10    .85549        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .15810E-04    81.945        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.9553        2.0311        .59045E-03   -1.5674    
   7  Prefactor     .21427E-06    7.3557        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .16653E-09    2.4035        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     35.320        23.070        .16835E-03   -1.5589    
  10  Prefactor     .56227E-06    10.693        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.9527        3.6551        .45173E-03   -1.5663    
  12  norm          .13323E-07    12.016        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .77716E-09    3.6982        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .27756E-09    2.9447        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .92315E-07    12.232        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .70000E-07    .98300        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     19.101        20.956        .22897E-03   -1.5621    
  18  norm          2.8508        2.8892        .60169E-03   -1.5674    
  19  norm          .13204E-04    6.7873        .62745E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.0611        3.2356        .71918E-03   -1.5679    
  21  norm          2.5108        1.5837        .64470E-03   -1.5676    
  22  norm          2.5093        1.9521        .64461E-03   -1.5676    
  23  Prefactor     27.669        34.685        .18724E-03   -1.5603    
  24  Prefactor     .60996E-06    8.6091        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .26590E-06    14.904        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .63416E-06    24.961        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .55511E-10    2.0760        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .85134        .15161        .44277E-01   -.98192    
  29  Prefactor     1.1916        .18614        .58228E-01   -.86590    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.83207e-06
Minuit parameter uncertainties:
  1  28.0496
  2  3.34583
  3  0.000189591
  4  1.02548e-05
  5  0.0719877
  6  2.03106
  7  0.00251104
  8  3.97931e-05
  9  23.0701
  10  0.00490416
  11  3.65507
  12  0.000799671
  13  0.000107432
  14  5.81561e-05
  15  0.0021256
  16  0.000524668
  17  20.9557
  18  2.88924
  19  0.0189333
  20  3.23555
  21  1.58373
  22  1.95205
  23  34.6852
  24  0.00458304
  25  0.00398158
  26  0.00795729
  27  2.04924e-05
  28  0.151687
  29  0.186241
Done.

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

Extracting fit parameters...

4FGL J1208.4+6121
   Spectrum: PowerLaw
372    Prefactor:  9.232e-08  2.126e-03  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:  1.192e+00  1.862e-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:  8.513e-01  1.517e-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: 3.97e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.99e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/950511/likelihoodResults_692668801_692928001_4FGL_J1208.4+6121_daily_bin1749.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) = 6832.46167369
delta logL = -0.0401050197106

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6832.42157118
delta logL = -2.51172878052e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34838E-04   1.0000          .0000       .10000E+07
     2 'Index     '    .96414       1.0000          .0000       10.000    
     3 'Normalizat'    .85142       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1916       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=   6832.422     FROM MIGRAD    STATUS=CONVERGED     26 CALLS      188 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .57732E-08    19.801        .30167E-05** at limit **
   2  Index         1.6873        2.9691       -.77697E-04    .38624E-09
   3  Normalizat    .85134        .17287        .42696E-05   -.27085E-03
   4  Prefactor     1.1916        .22141       -.16824E-04   -.31753E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.77316e-09
  Index      = 1.6873
  Normalizat = 0.851341
  Prefactor  = 1.19159
 **********
 **   18 **HESSE 
 **********

 FCN=   6832.422     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      223 TOTAL
                     EDM=   .98E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .57732E-08    .97105        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6873        5.9556        .45817       -.72420    
   3  Normalizat    .85134        .80166E-03    .44278E-01   -.98192    
   4  Prefactor     1.1916        .10252E-02    .58228E-01   -.86590    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.81801e-12
Minuit parameter uncertainties:
  1  0.000149637
  2  6243.8
  3  0.000801664
  4  0.0010252
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/950511': 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) = 6832.42156867
delta logL = 3.56976670446e-09

Extracting fit parameters...

4FGL J1208.4+6121
   Spectrum: PowerLaw
372    Prefactor:  5.773e-09  1.496e-04  0.000e+00  1.000e+06 ( 1.000e-14)
373        Index:  1.687e+00  6.244e+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:  1.192e+00  1.025e-03  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:  8.513e-01  8.017e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/950511/cmap_HighResolution_692668801_692928001_4FGL_J1208.4+6121_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.99e-03', job_status='DONE', photon_flux_upper_limit='3.97e-08', time_completed='2022-12-17 00:56:30.981663', job_id='950511', GAL2='1.19', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1671267390.98', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.19', dlogl='3.57e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.07' WHERE bin_id='1749' AND source_name='4FGL J1208.4+6121' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 00:56:31 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0212>
Subject: Job 950511: <4FGL_J1208.4+6121_daily_bin1749> in cluster <slac> Done

Job <4FGL_J1208.4+6121_daily_bin1749> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Dec 17 00:40:16 2022
Job was executed on host(s) <bullet0212>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 00:40:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 00:40:17 2022
Terminated at Sat Dec 17 00:56:31 2022
Results reported at Sat Dec 17 00:56:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1208.4+6121_daily_bin1749 182.114 61.3559 692668801 692928001 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 :                                   855.51 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             293.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   974 sec.
    Turnaround time :                            975 sec.

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

