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


Performing analysis on: 4FGL_J2149.6+0323_daily_bin1750
RA = 327.424, Dec = 3.3959
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='27178', job_status='RUN', time_executed='2022-12-20 01:53:29.262585', time_epoch_executed='1671530009.26' WHERE source_name='4FGL J2149.6+0323' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/27178

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


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/27178/ft1_4FGL_J2149.6+0323_daily_bin1750.fits outfile=/scratch/kocevski/27178/ft1_filteredMKT_4FGL_J2149.6+0323_daily_bin1750.fits ra=327.424 dec=3.3959 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.52
user 3.30
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/27178/ft2_4FGL_J2149.6+0323_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/27178/ft1_filteredMKT_4FGL_J2149.6+0323_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/27178/ft1_filtered_4FGL_J2149.6+0323_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: 564

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/27178/ft1_filtered_4FGL_J2149.6+0323_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/27178/ft2_4FGL_J2149.6+0323_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/27178/ltcube_692928001_693187201_4FGL_J2149.6+0323_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/27178/ft2_4FGL_J2149.6+0323_daily_bin1750.fits
.....................!
real 11.88
user 11.52
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/27178/ft1_filtered_4FGL_J2149.6+0323_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/27178/ft2_4FGL_J2149.6+0323_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/27178/ltcube_692928001_693187201_4FGL_J2149.6+0323_daily_bin1750.fits outfile=/scratch/kocevski/27178/expmap_692928001_693187201_4FGL_J2149.6+0323_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/27178/ltcube_692928001_693187201_4FGL_J2149.6+0323_daily_bin1750.fits
.....................!
real 192.58
user 186.76
sys 5.48

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/27178/ft1_filtered_4FGL_J2149.6+0323_daily_bin1750.fits scfile=/scratch/kocevski/27178/ft2_4FGL_J2149.6+0323_daily_bin1750.fits outfile=/scratch/kocevski/27178/cmap_692928001_693187201_4FGL_J2149.6+0323_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=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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/27178/ft1_filtered_4FGL_J2149.6+0323_daily_bin1750.fits scfile=/scratch/kocevski/27178/ft2_4FGL_J2149.6+0323_daily_bin1750.fits outfile=/scratch/kocevski/27178/cmap_HighResolution_692928001_693187201_4FGL_J2149.6+0323_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=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.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/27178/ft1_filtered_4FGL_J2149.6+0323_daily_bin1750.fits', '/scratch/kocevski/27178/ft2_4FGL_J2149.6+0323_daily_bin1750.fits', expMap='/scratch/kocevski/27178/expmap_692928001_693187201_4FGL_J2149.6+0323_daily_bin1750.fits', expCube='/scratch/kocevski/27178/ltcube_692928001_693187201_4FGL_J2149.6+0323_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/27178/Model_4FGL_J2149.6+0323_daily_bin1750.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/27178/ft1_filtered_4FGL_J2149.6+0323_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/27178/ft2_4FGL_J2149.6+0323_daily_bin1750.fits
Exposure map: /scratch/kocevski/27178/expmap_692928001_693187201_4FGL_J2149.6+0323_daily_bin1750.fits
Exposure cube: /scratch/kocevski/27178/ltcube_692928001_693187201_4FGL_J2149.6+0323_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/27178/Model_4FGL_J2149.6+0323_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) = 6270.6852564

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.9310       1.0000          .0000       .10000E+07
     2 'Prefactor '    .39060E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .17011E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .20978E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    85.383       1.0000          .0000       .10000E+07
     6 'Prefactor '    .18893E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .71543E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    4.4021       1.0000          .0000       .10000E+07
     9 'Prefactor '    .59093E-01   1.0000          .0000       .10000E+07
    10 'norm      '    1.1322       1.0000          .0000       .10000E+07
    11 'norm      '    .18341E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    19.353       1.0000          .0000       .10000E+07
    13 'Prefactor '    .15346E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    29.862       1.0000          .0000       .10000E+07
    15 'Prefactor '    .15743E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .21929E-04   1.0000          .0000       .10000E+07
    17 'Normalizat'    .55095       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0839       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=   6270.683     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1385 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.9804        2.7835       -.79439E-06    .25270E-01
   2  Prefactor     .26645E-08    11.844       -.39267E-06** at limit **
   3  Prefactor     .21044E-05    14.524       -.10153E-05** at limit **
   4  Prefactor     .27920E-05    17.609       -.36696E-06** at limit **
   5  Prefactor     85.547        7.4130        .28495E-06   -.29743    
   6  Prefactor     .27756E-09    4.3687        .23292E-06** at limit **
   7  Prefactor      .0000        2.3468       -.55985E-07** at limit **
   8  Prefactor     4.4301        4.2367       -.82558E-06    .20714E-01
   9  Prefactor      .0000        40.722       -.36471E-06** at limit **
  10  norm          1.1328        2.1648       -.35588E-06    .12178E-03
  11  norm          .66613E-09    8.3801       -.19409E-06** at limit **
  12  Prefactor     19.352        10.370        .25130E-05    .69103E-01
  13  Prefactor      .0000        3.6854        .14653E-06** at limit **
  14  Prefactor     29.863        16.990       -.12890E-05    .45379E-01
  15  Prefactor     .99709E-06    83.256        .59229E-05** at limit **
  16  Prefactor     .55511E-10    4.5312       -.55387E-06** at limit **
  17  Normalizat    .55100        .26996       -.30504E-04   -.86113E-04
  18  Prefactor     1.0838        .14055        .53359E-05   -.15923E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.98043
  Prefactor  = 2.66454e-09
  Prefactor  = 2.10437e-06
  Prefactor  = 2.79204e-06
  Prefactor  = 85.5467
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Prefactor  = 4.43008
  Prefactor  = 0
  norm       = 1.1328
  norm       = 6.66134e-10
  Prefactor  = 19.3523
  Prefactor  = 0
  Prefactor  = 29.8633
  Prefactor  = 9.97091e-07
  Prefactor  = 5.55112e-11
  Normalizat = 0.550998
  Prefactor  = 1.08376
 **********
 **   18 **HESSE 
 **********

 FCN=   6270.683     FROM HESSE     STATUS=OK           274 CALLS     1659 TOTAL
                     EDM=   .40E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.9804        25.585        .38084E-03   -1.5655    
   2  Prefactor     .26645E-08    11.851        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .21044E-05    20.238        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .27920E-05    22.911        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     85.547        58.877        .10823E-03   -1.5523    
   6  Prefactor     .27756E-09    4.3496        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        2.3266        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.4301        36.233        .47976E-03   -1.5666    
   9  Prefactor      .0000        40.586        .15195E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.1328        2.2206        .10967E-02   -1.5687    
  11  norm          .66613E-09    8.3883        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     19.352        10.489        .22739E-03   -1.5620    
  13  Prefactor      .0000        3.6861        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     29.863        23.637        .18302E-03   -1.5599    
  15  Prefactor     .99709E-06    86.269        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .55511E-10    4.5226        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .55100        .25632        .95812E-01   -1.1011    
  18  Prefactor     1.0838        .12673        .38232E-01   -.89987    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.03945e-06
Minuit parameter uncertainties:
  1  25.5851
  2  0.000355828
  3  0.0130518
  4  0.0159962
  5  58.877
  6  7.01019e-05
  7  1.069e-05
  8  25.339
  9  5.32785e-05
  10  2.22057
  11  0.000151671
  12  10.489
  13  1.21999e-05
  14  23.6368
  15  0.0185497
  16  3.74702e-05
  17  0.256871
  18  0.126765
Done.

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

Extracting fit parameters...

4FGL J2149.6+0323
   Spectrum: PowerLaw
296    Prefactor:  1.935e+01  1.049e+01  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:  1.084e+00  1.268e-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:  5.510e-01  2.569e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.25
Ra Dec: 327.424 3.396
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 8.51e-08 +/- 4.61e-08
Energy Flux (Fixed Index): 4.15e-05 +/- 2.25e-05

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): 0
logL (Free Index) = 6270.63628454
delta logL = 0.0471261247021

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6270.63196049
delta logL = 0.0514501735788

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.277       1.0000          .0000       .10000E+07
     2 'Index     '    2.3010       1.0000          .0000       10.000    
     3 'Normalizat'    .53605       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0886       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=   6270.632     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      287 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.275        14.346        .99195E-05    .21776E-02
   2  Index         2.3006        .49536        .43099E-02    .56037E-04
   3  Normalizat    .53609        .27094        .43004E-03   -.24356E-03
   4  Prefactor     1.0886        .14159        .16270E-03   -.82307E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.2747
  Index      = 2.30064
  Normalizat = 0.536085
  Prefactor  = 1.08861
 **********
 **   18 **HESSE 
 **********

 FCN=   6270.632     FROM HESSE     STATUS=OK            25 CALLS      312 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.275        13.267        .39678E-06   -1.5627    
   2  Index         2.3006        .45783        .17240E-03   -.57028    
   3  Normalizat    .53609        .27041        .17202E-04   -1.1077    
   4  Prefactor     1.0886        .14144        .32539E-04   -.89831    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.72391e-10
Minuit parameter uncertainties:
  1  13.2674
  2  0.458738
  3  0.271079
  4  0.141487
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/27178': 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) = 6270.6319596
delta logL = 0.0514510622006

Extracting fit parameters...

4FGL J2149.6+0323
   Spectrum: PowerLaw
296    Prefactor:  1.627e+01  1.327e+01  0.000e+00  1.000e+06 ( 1.000e-13)
297        Index:  2.301e+00  4.587e-01  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.089e+00  1.415e-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:  5.361e-01  2.711e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.36
Ra Dec: 327.424 3.396
Photon Index (Free Index): 2.30 +/- 0.46
Photon Flux (Free Index): 9.65e-08 +/- 6.07e-08
Energy Flux (Free Index): 3.65e-05 +/- 2.34e-05

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/27178/cmap_HighResolution_692928001_693187201_4FGL_J2149.6+0323_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.51e-08', energy_flux2='3.65e-05', photon_flux_error='4.61e-08', dlogl='5.15e-02', energy_flux='4.15e-05', photon_flux2='9.65e-08', job_status='DONE', time_completed='2022-12-20 02:01:55.208269', photon_index_error2='0.46', photon_index2='2.30', ts='6.25', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='2.34e-05', EG='0.55', time_epoch_completed='1671530515.21', return_code='0', job_id='27178', GAL2='1.09', EG2='0.54', return_code2='0', energy_flux_error='2.25e-05', photon_flux_error2='6.07e-08', ts2='6.36', photon_index='2.16' WHERE bin_id='1750' AND source_name='4FGL J2149.6+0323' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 02:01:55 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 27178: <4FGL_J2149.6+0323_daily_bin1750> in cluster <slac> Done

Job <4FGL_J2149.6+0323_daily_bin1750> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Dec 20 01:50:12 2022
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 01:50:12 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 01:50:12 2022
Terminated at Tue Dec 20 02:01:55 2022
Results reported at Tue Dec 20 02:01:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2149.6+0323_daily_bin1750 327.424 3.3959 692928001 693187201 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 :                                   507.52 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             288.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   703 sec.
    Turnaround time :                            703 sec.

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

