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 90 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_J2149.6+0323_daily_bin1712
RA = 327.424, Dec = 3.3959
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='237298', job_status='RUN', time_executed='2022-09-16 23:33:00.782635', time_epoch_executed='1663396380.78' WHERE source_name='4FGL J2149.6+0323' and cadence='daily' and bin_id='1712'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/237298

Creating custom pfile directory:
/scratch/kocevski/237298/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/237298/ft1_4FGL_J2149.6+0323_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/237298/ft2_4FGL_J2149.6+0323_daily_bin1712.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/237298/ft1_4FGL_J2149.6+0323_daily_bin1712.fits outfile=/scratch/kocevski/237298/ft1_filteredMKT_4FGL_J2149.6+0323_daily_bin1712.fits ra=327.424 dec=3.3959 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 4.81
user 4.51
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/237298/ft2_4FGL_J2149.6+0323_daily_bin1712.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/237298/ft2_4FGL_J2149.6+0323_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/237298/ft1_filteredMKT_4FGL_J2149.6+0323_daily_bin1712.fits evtable="EVENTS" outfile="/scratch/kocevski/237298/ft1_filtered_4FGL_J2149.6+0323_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.52
user 0.37
sys 0.14

Number of photons that the gtmktime cut: 534

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/237298/ft1_filtered_4FGL_J2149.6+0323_daily_bin1712.fits" evtable="EVENTS" scfile=/scratch/kocevski/237298/ft2_4FGL_J2149.6+0323_daily_bin1712.fits sctable="SC_DATA" outfile=/scratch/kocevski/237298/ltcube_683078401_683337601_4FGL_J2149.6+0323_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/237298/ft2_4FGL_J2149.6+0323_daily_bin1712.fits
.....................!
real 15.53
user 15.07
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/237298/ft1_filtered_4FGL_J2149.6+0323_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/237298/ft2_4FGL_J2149.6+0323_daily_bin1712.fits sctable="SC_DATA" expcube=/scratch/kocevski/237298/ltcube_683078401_683337601_4FGL_J2149.6+0323_daily_bin1712.fits outfile=/scratch/kocevski/237298/expmap_683078401_683337601_4FGL_J2149.6+0323_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/237298/ltcube_683078401_683337601_4FGL_J2149.6+0323_daily_bin1712.fits
.....................!
real 193.74
user 187.42
sys 5.62

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

Setting source of interest to:
4FGL J2149.6+0323 @ 327.424 3.3959

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/237298/ft1_filtered_4FGL_J2149.6+0323_daily_bin1712.fits scfile=/scratch/kocevski/237298/ft2_4FGL_J2149.6+0323_daily_bin1712.fits outfile=/scratch/kocevski/237298/cmap_683078401_683337601_4FGL_J2149.6+0323_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=327.424 yref=3.3959 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.57
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/237298/ft1_filtered_4FGL_J2149.6+0323_daily_bin1712.fits scfile=/scratch/kocevski/237298/ft2_4FGL_J2149.6+0323_daily_bin1712.fits outfile=/scratch/kocevski/237298/cmap_HighResolution_683078401_683337601_4FGL_J2149.6+0323_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=327.424 yref=3.3959 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.56
user 0.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/237298/ft1_filtered_4FGL_J2149.6+0323_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/237298/ft2_4FGL_J2149.6+0323_daily_bin1712.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/237298/Model_4FGL_J2149.6+0323_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/237298/ft1_filtered_4FGL_J2149.6+0323_daily_bin1712.fits.....................!
real 58.21
user 56.79
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/237298/ft1_filtered_4FGL_J2149.6+0323_daily_bin1712.fits', '/scratch/kocevski/237298/ft2_4FGL_J2149.6+0323_daily_bin1712.fits', expMap='/scratch/kocevski/237298/expmap_683078401_683337601_4FGL_J2149.6+0323_daily_bin1712.fits', expCube='/scratch/kocevski/237298/ltcube_683078401_683337601_4FGL_J2149.6+0323_daily_bin1712.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/237298/Model_4FGL_J2149.6+0323_daily_bin1712.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2149.6+0323'

4FGL J2149.6+0323
   Spectrum: PowerLaw
296    Prefactor:  1.704e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
297        Index:  2.157e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  1.798e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/237298/ft1_filtered_4FGL_J2149.6+0323_daily_bin1712.fits
Spacecraft file(s): /scratch/kocevski/237298/ft2_4FGL_J2149.6+0323_daily_bin1712.fits
Exposure map: /scratch/kocevski/237298/expmap_683078401_683337601_4FGL_J2149.6+0323_daily_bin1712.fits
Exposure cube: /scratch/kocevski/237298/ltcube_683078401_683337601_4FGL_J2149.6+0323_daily_bin1712.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/237298/Model_4FGL_J2149.6+0323_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) = 5749.94350073

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.624       1.0000          .0000       .10000E+07
     2 'Prefactor '    .81102E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .35502E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    5.4099       1.0000          .0000       .10000E+07
     5 'Prefactor '    49.071       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.9155       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.9522       1.0000          .0000       .10000E+07
     8 'Prefactor '    .85458E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    21.105       1.0000          .0000       .10000E+07
    10 'norm      '    .44157       1.0000          .0000       .10000E+07
    11 'norm      '    .68384E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .33338E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .31100E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .17104E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    60.508       1.0000          .0000       .10000E+07
    16 'Prefactor '    13.728       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0056       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .77489       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5550E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5749.511     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1387 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.396        15.566        .97460E-07    .40718E-01
   2  Prefactor     .66613E-09    6.9095       -.45049E-06** at limit **
   3  Prefactor     .11102E-09    35.690        .65071E-06** at limit **
   4  Prefactor     5.2480        19.322       -.83796E-06    .26118E-01
   5  Prefactor     50.688        55.529       -.12666E-06   -.11776E-01
   6  Prefactor     8.9112        5.8244        .84698E-08   -.19544E-03
   7  Prefactor     3.9094        2.9897       -.75765E-07    .15186E-02
   8  Prefactor     .11202E-06    18.823       -.63840E-07** at limit **
   9  Prefactor     19.338        44.043       -.25925E-06   -.10190E-01
  10  norm          .44354        2.6235        .29460E-06   -.69024E-03
  11  norm          .57732E-08    11.238       -.17366E-06** at limit **
  12  Prefactor     .10748E-05    10.041        .54467E-06** at limit **
  13  Prefactor     .53030E-06    6.6884        .36215E-06** at limit **
  14  Prefactor     .11540E-05    14.050        .22435E-06** at limit **
  15  Prefactor     59.997        10.605        .13053E-06   -.15383E-01
  16  Prefactor     13.857        12.469       -.67883E-07    .30210E-02
  17  Normalizat    1.0072        .27836        .62342E-05    .16036E-04
  18  Prefactor     .77486        .13516       -.41671E-05    .66239E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.3957
  Prefactor  = 6.66134e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 5.24798
  Prefactor  = 50.688
  Prefactor  = 8.91121
  Prefactor  = 3.90937
  Prefactor  = 1.12022e-07
  Prefactor  = 19.3383
  norm       = 0.443536
  norm       = 5.77316e-09
  Prefactor  = 1.07481e-06
  Prefactor  = 5.30298e-07
  Prefactor  = 1.15397e-06
  Prefactor  = 59.9966
  Prefactor  = 13.8574
  Normalizat = 1.00724
  Prefactor  = 0.774857
 **********
 **   18 **HESSE 
 **********

 FCN=   5749.511     FROM HESSE     STATUS=OK           282 CALLS     1669 TOTAL
                     EDM=   .29E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.396        16.246        .24538E-03   -1.5627    
   2  Prefactor     .66613E-09    6.9117        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11102E-09    35.540        .16173E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.2480        32.462        .43180E-03   -1.5662    
   5  Prefactor     50.688        56.294        .14277E-03   -1.5566    
   6  Prefactor     8.9112        5.8290        .33544E-03   -1.5648    
   7  Prefactor     3.9094        3.0124        .50716E-03   -1.5668    
   8  Prefactor     .11202E-06    21.184        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     19.338        44.778        .21774E-03   -1.5620    
  10  norm          .44354        2.5871        .84821E-03   -1.5695    
  11  norm          .57732E-08    11.272        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10748E-05    21.817        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .53030E-06    20.043        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .11540E-05    18.405        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     59.997        25.920        .12856E-03   -1.5553    
  16  Prefactor     13.857        12.469        .27007E-03   -1.5634    
  17  Normalizat    1.0072        .23711        .69651E-01   -.92788    
  18  Prefactor     .77486        .11305        .43390E-01   -1.0066    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85772e-07
Minuit parameter uncertainties:
  1  16.2456
  2  0.000135723
  3  0.000128961
  4  26.1048
  5  56.2947
  6  5.82903
  7  3.01242
  8  0.00308067
  9  44.7787
  10  2.1424
  11  0.000510291
  12  0.00968492
  13  0.00652041
  14  0.00921696
  15  25.9201
  16  12.4689
  17  0.237354
  18  0.113082
Done.

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

Extracting fit parameters...

4FGL J2149.6+0323
   Spectrum: PowerLaw
296    Prefactor:  1.075e-06  9.685e-03  0.000e+00  1.000e+06 ( 1.000e-13)
297        Index:  2.157e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  1.798e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  7.749e-01  1.131e-01  0.000e+00  1.000e+01 ( 1.000e+00)
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.007e+00  2.374e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 327.424 3.396
Photon Flux Upper Limit: 9.52e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.23e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/237298/likelihoodResults_683078401_683337601_4FGL_J2149.6+0323_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) = 5749.53718251
delta logL = -0.0262839858124

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5749.34695341
delta logL = 0.163945118648

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5749.347     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      276 TOTAL
                     EDM=   .51E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .24062        35.270        .62026E-05** at limit **
   2  Index         3.6850        6.2822        .73403E-02   -.21792E-03
   3  Normalizat    .95984        .20604        .31481E-03   -.26008E-03
   4  Prefactor     .78789        .10461        .17652E-03   -.47158E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.240618
  Index      = 3.685
  Normalizat = 0.959844
  Prefactor  = 0.787892
 **********
 **   18 **HESSE 
 **********

 FCN=   5749.347     FROM HESSE     STATUS=OK            25 CALLS      301 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .24062        3.2250        .24810E-06   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.6850        2.7282        .29361E-03   -.26613    
   3  Normalizat    .95984        .27315        .12593E-04   -.94388    
   4  Prefactor     .78789        .13676        .35304E-04   -1.0018    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.18013e-09
Minuit parameter uncertainties:
  1  1.76182
  2  2.89969
  3  0.27355
  4  0.136818
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/237298': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5749.34695089
delta logL = 0.163947634894

Extracting fit parameters...

4FGL J2149.6+0323
   Spectrum: PowerLaw
296    Prefactor:  2.406e-01  1.762e+00  0.000e+00  1.000e+06 ( 1.000e-13)
297        Index:  3.685e+00  2.900e+00  0.000e+00  1.000e+01 (-1.000e+00)
298        Scale:  1.798e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  7.879e-01  1.368e-01  0.000e+00  1.000e+01 ( 1.000e+00)
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  9.598e-01  2.736e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 327.424 3.396

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/237298/cmap_HighResolution_683078401_683337601_4FGL_J2149.6+0323_daily_bin1712.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.23e-03', job_status='DONE', photon_flux_upper_limit='9.52e-08', time_completed='2022-09-16 23:41:54.782269', job_id='237298', GAL2='0.79', fit_tolerance='1e-08', EG2='0.96', EG='1.01', time_epoch_completed='1663396914.78', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='1.64e-01', ts2='0.38', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='1712' AND source_name='4FGL J2149.6+0323' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 23:41:54 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 237298: <4FGL_J2149.6+0323_daily_bin1712> in cluster <slac> Done

Job <4FGL_J2149.6+0323_daily_bin1712> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 23:30:22 2022
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 23:31:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 23:31:21 2022
Terminated at Fri Sep 16 23:41:55 2022
Results reported at Fri Sep 16 23:41:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2149.6+0323_daily_bin1712 327.424 3.3959 683078401 683337601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2149.6+0323 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   535.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             317.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   634 sec.
    Turnaround time :                            693 sec.

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

