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 87 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2149.6+0323_daily_bin1701
RA = 327.424, Dec = 3.3959
tmin = 680227201, tmax = 680486401
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='192012', job_status='RUN', time_executed='2022-07-26 02:13:27.637897', time_epoch_executed='1658826807.64' WHERE source_name='4FGL J2149.6+0323' and cadence='daily' and bin_id='1701'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/192012

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/192012/ft1_4FGL_J2149.6+0323_daily_bin1701.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/192012/ft2_4FGL_J2149.6+0323_daily_bin1701.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/192012/ft1_4FGL_J2149.6+0323_daily_bin1701.fits outfile=/scratch/kocevski/192012/ft1_filteredMKT_4FGL_J2149.6+0323_daily_bin1701.fits ra=327.424 dec=3.3959 rad=12.0 tmin=680227201.0 tmax=680486401.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 2.89
user 2.67
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/192012/ft2_4FGL_J2149.6+0323_daily_bin1701.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/192012/ft1_filteredMKT_4FGL_J2149.6+0323_daily_bin1701.fits evtable="EVENTS" outfile="/scratch/kocevski/192012/ft1_filtered_4FGL_J2149.6+0323_daily_bin1701.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.51
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 282

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/192012/ft1_filtered_4FGL_J2149.6+0323_daily_bin1701.fits" evtable="EVENTS" scfile=/scratch/kocevski/192012/ft2_4FGL_J2149.6+0323_daily_bin1701.fits sctable="SC_DATA" outfile=/scratch/kocevski/192012/ltcube_680227201_680486401_4FGL_J2149.6+0323_daily_bin1701.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/192012/ft2_4FGL_J2149.6+0323_daily_bin1701.fits
.....................!
real 14.45
user 14.01
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/192012/ft1_filtered_4FGL_J2149.6+0323_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/192012/ft2_4FGL_J2149.6+0323_daily_bin1701.fits sctable="SC_DATA" expcube=/scratch/kocevski/192012/ltcube_680227201_680486401_4FGL_J2149.6+0323_daily_bin1701.fits outfile=/scratch/kocevski/192012/expmap_680227201_680486401_4FGL_J2149.6+0323_daily_bin1701.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/192012/ltcube_680227201_680486401_4FGL_J2149.6+0323_daily_bin1701.fits
.....................!
real 192.70
user 187.73
sys 4.37

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/192012/ft1_filtered_4FGL_J2149.6+0323_daily_bin1701.fits scfile=/scratch/kocevski/192012/ft2_4FGL_J2149.6+0323_daily_bin1701.fits outfile=/scratch/kocevski/192012/cmap_680227201_680486401_4FGL_J2149.6+0323_daily_bin1701.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.55
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/192012/ft1_filtered_4FGL_J2149.6+0323_daily_bin1701.fits scfile=/scratch/kocevski/192012/ft2_4FGL_J2149.6+0323_daily_bin1701.fits outfile=/scratch/kocevski/192012/cmap_HighResolution_680227201_680486401_4FGL_J2149.6+0323_daily_bin1701.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.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/192012/ft1_filtered_4FGL_J2149.6+0323_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/192012/ft2_4FGL_J2149.6+0323_daily_bin1701.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/192012/Model_4FGL_J2149.6+0323_daily_bin1701.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/192012/ft1_filtered_4FGL_J2149.6+0323_daily_bin1701.fits.....................!
real 41.17
user 39.65
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/192012/ft1_filtered_4FGL_J2149.6+0323_daily_bin1701.fits', '/scratch/kocevski/192012/ft2_4FGL_J2149.6+0323_daily_bin1701.fits', expMap='/scratch/kocevski/192012/expmap_680227201_680486401_4FGL_J2149.6+0323_daily_bin1701.fits', expCube='/scratch/kocevski/192012/ltcube_680227201_680486401_4FGL_J2149.6+0323_daily_bin1701.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/192012/Model_4FGL_J2149.6+0323_daily_bin1701.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  1.000e-04  1.000e+04 ( 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/192012/ft1_filtered_4FGL_J2149.6+0323_daily_bin1701.fits
Spacecraft file(s): /scratch/kocevski/192012/ft2_4FGL_J2149.6+0323_daily_bin1701.fits
Exposure map: /scratch/kocevski/192012/expmap_680227201_680486401_4FGL_J2149.6+0323_daily_bin1701.fits
Exposure cube: /scratch/kocevski/192012/ltcube_680227201_680486401_4FGL_J2149.6+0323_daily_bin1701.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/192012/Model_4FGL_J2149.6+0323_daily_bin1701.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) = 3410.42187179

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    136.42       1.0000         .10000E-03   10000.    
     2 'Prefactor '    79.814       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    57.436       1.0000         .10000E-03   10000.    
     6 'Prefactor '    49.736       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.7006       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    84.684       1.0000         .10000E-03   10000.    
    13 'Prefactor '    100.50       1.0000         .10000E-03   10000.    
    14 'norm      '    6.0537       1.0000         .10000E-03   10000.    
    15 'norm      '    15.378       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12060E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    16.422       1.0000         .10000E-03   10000.    
    19 'Prefactor '    23.857       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.0551       1.0000         .10000E-03   10000.    
    22 'Prefactor '    21.957       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .10551E-01   1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0772       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.

 FCN=   3410.415     FROM MIGRAD    STATUS=CONVERGED    555 CALLS     2811 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     136.40        140.22       -.50179E-06    .36586E-04
   2  Prefactor     79.822        42.164       -.54977E-06   -.99049E-05
   3  Prefactor     .10000E-03    12.527       -.97483E-07** at limit **
   4  Prefactor     .10000E-03    135.48        .15618E-05** at limit **
   5  Prefactor     57.449        50.609       -.10809E-05   -.30565E-04
   6  Prefactor     49.729        98.414       -.50031E-06    .24438E-04
   7  Prefactor     .10000E-03    11.175        .19376E-06** at limit **
   8  Prefactor     8.7062        13.393       -.92135E-06    .72661E-04
   9  Prefactor     .10000E-03    1.9789        .57888E-07** at limit **
  10  Prefactor     .10000E-03    61.606        .41541E-08** at limit **
  11  Prefactor     .10000E-03    120.17        .11221E-06** at limit **
  12  Prefactor     84.688        83.815       -.14197E-07    .60445E-05
  13  Prefactor     100.52        111.60        .92143E-05    .67249E-04
  14  norm          6.0563        4.5939       -.31438E-06    .47665E-03
  15  norm          15.377        38.874       -.18955E-05    .69973E-04
  16  Prefactor     .10000E-03    112.31        .12573E-04** at limit **
  17  Prefactor     .10000E-03    17.249        .11231E-06** at limit **
  18  Prefactor     16.429        37.921       -.20069E-06    .67648E-04
  19  Prefactor     23.858        28.789       -.18209E-06    .36457E-04
  20  Prefactor     .10000E-03    19.144       -.69297E-07** at limit **
  21  Prefactor     7.0727        82.304       -.31172E-05   -.98243E-05
  22  Prefactor     21.969        33.431       -.98542E-06   -.59138E-05
  23  Normalizat    .10000E-01    .23806       -.40268E-05** at limit **
  24  Prefactor     1.0775        .11033        .13786E-06   -.28739E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 136.397
  Prefactor  = 79.8224
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 57.4491
  Prefactor  = 49.7295
  Prefactor  = 0.0001
  Prefactor  = 8.70617
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 84.6876
  Prefactor  = 100.516
  norm       = 6.05634
  norm       = 15.3767
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 16.4294
  Prefactor  = 23.8585
  Prefactor  = 0.0001
  Prefactor  = 7.07272
  Prefactor  = 21.9692
  Normalizat = 0.01
  Prefactor  = 1.0775
 **********
 **   18 **HESSE 
 **********

 FCN=   3410.415     FROM HESSE     STATUS=OK           399 CALLS     3210 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     136.40        140.70        .17242E-03   -1.3367    
   2  Prefactor     79.822        42.278        .44954E-04   -1.3919    
   3  Prefactor     .10000E-03    12.526        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    135.49        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     57.449        50.894        .52934E-04   -1.4191    
   6  Prefactor     49.729        98.477        .56863E-04   -1.4296    
   7  Prefactor     .10000E-03    11.492        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.7062        13.493        .13589E-03   -1.5118    
   9  Prefactor     .10000E-03    1.9791        .80209E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    61.693        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    120.35        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     84.688        83.994        .43653E-04   -1.3865    
  13  Prefactor     100.52        112.68        .40103E-04   -1.3699    
  14  norm          6.0563        4.6904        .89917E-04   -1.5216    
  15  norm          15.377        38.741        .10214E-03   -1.4924    
  16  Prefactor     .10000E-03    111.31        .40900E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    17.280        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     16.429        37.879        .98834E-04   -1.4897    
  19  Prefactor     23.858        28.798        .82011E-04   -1.4731    
  20  Prefactor     .10000E-03    19.164        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     7.0727        83.184        .15103E-03   -1.5176    
  22  Prefactor     21.969        33.805        .85479E-04   -1.4770    
  23  Normalizat    .10000E-01    1.2568        .20105       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     1.0775        .16781        .15858E-03   -.90189    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.85446e-10
Minuit parameter uncertainties:
  1  141.042
  2  42.2941
  3  2.83386e-05
  4  0.00121562
  5  50.9327
  6  98.8013
  7  5.60709e-05
  8  13.4979
  9  7.43303e-06
  10  4.14504e-05
  11  0.000703463
  12  84.1123
  13  112.919
  14  4.69066
  15  38.8041
  16  0.00122646
  17  2.91896e-05
  18  37.9341
  19  28.8149
  20  7.75642e-06
  21  48.5956
  22  33.8346
  23  0.000120538
  24  0.167893
Done.

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

Extracting fit parameters...

4FGL J2149.6+0323
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  1.226e-03  1.000e-04  1.000e+04 ( 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:  1.077e+00  1.679e-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.000e-02  1.205e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 327.424 3.396
Photon Flux Upper Limit: 1.75e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.33e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/192012/likelihoodResults_680227201_680486401_4FGL_J2149.6+0323_daily_bin1701.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) = 3410.41468578
delta logL = -4.29851443187e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3410.41468576
delta logL = -4.29696524407e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96315E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1565       1.0000          .0000       10.000    
     3 'Normalizat'    .10009E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0775       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.

 FCN=   3410.415     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      244 TOTAL
                     EDM=   .79E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    .36598        .90717E-01** at limit **
   2  Index         2.1024        8.9486        .50000        .20926E-05
   3  Normalizat    .10000E-01    .68837E-05    .32095    ** at limit **
   4  Prefactor     1.0775        .62546E-03    .38512E-01   -.23976E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100005
  Index      = 2.1024
  Normalizat = 0.01
  Prefactor  = 1.0775
 **********
 **   18 **HESSE 
 **********

 FCN=   3410.415     FROM HESSE     STATUS=NOT POSDEF    43 CALLS      287 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    122.24        .42508E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1024        5.2621        .50000       -.61814    
   3  Normalizat    .10000E-01    .62595E-03    .20105       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.0775        .38755E-02    .15858E-03   -.90189    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.5e-09
Minuit parameter uncertainties:
  1  0.00157001
  2  102.963
  3  5.67482e-07
  4  0.00387547
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/192012': 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) = 3410.41464275
delta logL = 4.17071532866e-08

Extracting fit parameters...

4FGL J2149.6+0323
   Spectrum: PowerLaw
296    Prefactor:  1.000e-04  1.570e-03  1.000e-04  1.000e+04 ( 1.000e-13)
297        Index:  2.102e+00  1.030e+02  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:  1.077e+00  3.875e-03  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.000e-02  5.675e-07  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/192012/cmap_HighResolution_680227201_680486401_4FGL_J2149.6+0323_daily_bin1701.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.33e-02', job_status='DONE', photon_flux_upper_limit='1.75e-07', time_completed='2022-07-26 02:21:58.138866', job_id='192012', GAL2='1.08', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1658827318.14', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='4.17e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='1701' AND source_name='4FGL J2149.6+0323' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul 26 02:21:58 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 192012: <4FGL_J2149.6+0323_daily_bin1701> in cluster <slac> Done

Job <4FGL_J2149.6+0323_daily_bin1701> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Jul 26 02:10:22 2022
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 26 02:11:52 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul 26 02:11:52 2022
Terminated at Tue Jul 26 02:21:58 2022
Results reported at Tue Jul 26 02:21:58 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2149.6+0323_daily_bin1701 327.424 3.3959 680227201 680486401 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 :                                   512.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             341.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   606 sec.
    Turnaround time :                            696 sec.

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

