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


Performing analysis on: 4FGL_J2149.7+1917_daily_bin1748
RA = 327.444, Dec = 19.2859
tmin = 692409601, tmax = 692668801
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='896947', job_status='RUN', time_executed='2022-12-14 01:16:16.215172', time_epoch_executed='1671009376.22' WHERE source_name='4FGL J2149.7+1917' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/896947

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/896947/ft1_4FGL_J2149.7+1917_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/896947/ft2_4FGL_J2149.7+1917_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/896947/ft1_4FGL_J2149.7+1917_daily_bin1748.fits outfile=/scratch/kocevski/896947/ft1_filteredMKT_4FGL_J2149.7+1917_daily_bin1748.fits ra=327.444 dec=19.2859 rad=12.0 tmin=692409601.0 tmax=692668801.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.56
user 3.33
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/896947/ft2_4FGL_J2149.7+1917_daily_bin1748.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/896947/ft2_4FGL_J2149.7+1917_daily_bin1748.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/896947/ft1_filteredMKT_4FGL_J2149.7+1917_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/896947/ft1_filtered_4FGL_J2149.7+1917_daily_bin1748.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.49
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 812

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/896947/ft1_filtered_4FGL_J2149.7+1917_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/896947/ft2_4FGL_J2149.7+1917_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/896947/ltcube_692409601_692668801_4FGL_J2149.7+1917_daily_bin1748.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/896947/ft2_4FGL_J2149.7+1917_daily_bin1748.fits
.....................!
real 11.91
user 11.55
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/896947/ft1_filtered_4FGL_J2149.7+1917_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/896947/ft2_4FGL_J2149.7+1917_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/896947/ltcube_692409601_692668801_4FGL_J2149.7+1917_daily_bin1748.fits outfile=/scratch/kocevski/896947/expmap_692409601_692668801_4FGL_J2149.7+1917_daily_bin1748.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/896947/ltcube_692409601_692668801_4FGL_J2149.7+1917_daily_bin1748.fits
.....................!
real 193.08
user 187.37
sys 5.38

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
Extended source Cygnus Loop in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template.
Added 161 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2149.7+1917 @ 327.444 19.2859

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/896947/ft1_filtered_4FGL_J2149.7+1917_daily_bin1748.fits scfile=/scratch/kocevski/896947/ft2_4FGL_J2149.7+1917_daily_bin1748.fits outfile=/scratch/kocevski/896947/cmap_692409601_692668801_4FGL_J2149.7+1917_daily_bin1748.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.444 yref=19.2859 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/896947/ft1_filtered_4FGL_J2149.7+1917_daily_bin1748.fits scfile=/scratch/kocevski/896947/ft2_4FGL_J2149.7+1917_daily_bin1748.fits outfile=/scratch/kocevski/896947/cmap_HighResolution_692409601_692668801_4FGL_J2149.7+1917_daily_bin1748.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.444 yref=19.2859 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/896947/ft1_filtered_4FGL_J2149.7+1917_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/896947/ft2_4FGL_J2149.7+1917_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/896947/Model_4FGL_J2149.7+1917_daily_bin1748.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 Cygnus Loop
adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/896947/ft1_filtered_4FGL_J2149.7+1917_daily_bin1748.fits.....................!
real 120.60
user 119.16
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/896947/ft1_filtered_4FGL_J2149.7+1917_daily_bin1748.fits', '/scratch/kocevski/896947/ft2_4FGL_J2149.7+1917_daily_bin1748.fits', expMap='/scratch/kocevski/896947/expmap_692409601_692668801_4FGL_J2149.7+1917_daily_bin1748.fits', expCube='/scratch/kocevski/896947/ltcube_692409601_692668801_4FGL_J2149.7+1917_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/896947/Model_4FGL_J2149.7+1917_daily_bin1748.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2149.7+1917'

4FGL J2149.7+1917
   Spectrum: PowerLaw
277    Prefactor:  7.294e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
278        Index:  2.521e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
279        Scale:  8.988e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/896947/ft1_filtered_4FGL_J2149.7+1917_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/896947/ft2_4FGL_J2149.7+1917_daily_bin1748.fits
Exposure map: /scratch/kocevski/896947/expmap_692409601_692668801_4FGL_J2149.7+1917_daily_bin1748.fits
Exposure cube: /scratch/kocevski/896947/ltcube_692409601_692668801_4FGL_J2149.7+1917_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/896947/Model_4FGL_J2149.7+1917_daily_bin1748.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) = 8522.83306866

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.921       1.0000          .0000       .10000E+07
     2 'Prefactor '    .26698E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    20.397       1.0000          .0000       .10000E+07
     4 'Prefactor '    27.711       1.0000          .0000       .10000E+07
     5 'norm      '    .84761E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .12964E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .59061       1.0000          .0000       .10000E+07
     8 'norm      '    2.4184       1.0000          .0000       .10000E+07
     9 'norm      '    2.2693       1.0000          .0000       .10000E+07
    10 'Prefactor '    .33498E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .26974       1.0000          .0000       .10000E+07
    12 'norm      '    .33240       1.0000          .0000       .10000E+07
    13 'Prefactor '    .90317E-07   1.0000          .0000       .10000E+07
    14 'norm      '    .34127E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .17009E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    6.1609       1.0000          .0000       .10000E+07
    17 'Normalizat'    .83584       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0060       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5400E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8522.762     FROM MIGRAD    STATUS=CONVERGED    113 CALLS     1307 TOTAL
                     EDM=   .14E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.017        21.260       -.29164E-06    .12994E-02
   2  Prefactor     .50016E-07    58.617        .47644E-06** at limit **
   3  Prefactor     20.408        1.2283        .24417E-08   -.47401E-02
   4  Prefactor     29.079        20.342       -.97151E-07   -.23502E-02
   5  norm          .55511E-10    4.5088       -.36981E-06** at limit **
   6  Prefactor     .55511E-10    2.3232        .17173E-07** at limit **
   7  Prefactor     .24092E-07    109.82        .44818E-06** at limit **
   8  norm          2.4219        2.0666        .67372E-07    .79394E-04
   9  norm          2.2715        1.8342        .11621E-06    .86579E-03
  10  Prefactor     .38858E-09    13.816        .21284E-06** at limit **
  11  Prefactor     .89928E-08    47.757       -.11807E-05** at limit **
  12  norm          .33188        .70947        .67852E-08    .86570E-04
  13  Prefactor     .11102E-09    5.9946        .72109E-07** at limit **
  14  norm          .11841        2.7198       -.37732E-06** at limit **
  15  Prefactor      .0000        8.4017        .29567E-07** at limit **
  16  Prefactor     6.2351        6.6626       -.94753E-07   -.74871E-02
  17  Normalizat    .83519        .25121       -.52186E-07    .20799E-04
  18  Prefactor     1.0055        .11306        .23444E-05    .45522E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.017
  Prefactor  = 5.00155e-08
  Prefactor  = 20.4077
  Prefactor  = 29.0789
  norm       = 5.55112e-11
  Prefactor  = 5.55112e-11
  Prefactor  = 2.40918e-08
  norm       = 2.42185
  norm       = 2.2715
  Prefactor  = 3.88578e-10
  Prefactor  = 8.99281e-09
  norm       = 0.33188
  Prefactor  = 1.11022e-10
  norm       = 0.118408
  Prefactor  = 0
  Prefactor  = 6.2351
  Normalizat = 0.835187
  Prefactor  = 1.00551
 **********
 **   18 **HESSE 
 **********

 FCN=   8522.762     FROM HESSE     STATUS=OK           286 CALLS     1593 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.017        21.583        .26819E-03   -1.5633    
   2  Prefactor     .50016E-07    87.869        .16630E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     20.408        18.016        .22149E-03   -1.5618    
   4  Prefactor     29.079        36.415        .19000E-03   -1.5600    
   5  norm          .55511E-10    4.5479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    2.3581        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .24092E-07    158.58        .70073E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.4219        2.0745        .65793E-03   -1.5677    
   9  norm          2.2715        1.8368        .68149E-03   -1.5678    
  10  Prefactor     .38858E-09    14.165        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .89928E-08    57.435        .10647E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .33188        .72999        .97778E-03   -1.5696    
  13  Prefactor     .11102E-09    6.0509        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .11841        1.6940        .62321E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        8.1285        .17242E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     6.2351        11.212        .40423E-03   -1.5658    
  17  Normalizat    .83519        .22302        .87007E-01   -.98776    
  18  Prefactor     1.0055        .96467E-01    .43997E-01   -.92546    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.65918e-09
Minuit parameter uncertainties:
  1  21.5829
  2  0.00419244
  3  18.0159
  4  36.4152
  5  3.68856e-05
  6  1.83141e-05
  7  0.0039106
  8  2.07454
  9  1.83679
  10  0.000143659
  11  0.00143785
  12  0.729986
  13  5.31615e-05
  14  0.895736
  15  1.02236e-05
  16  11.212
  17  0.223269
  18  0.0964831
Done.

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

Extracting fit parameters...

4FGL J2149.7+1917
   Spectrum: PowerLaw
277    Prefactor:  3.886e-10  1.437e-04  0.000e+00  1.000e+06 ( 1.000e-13)
278        Index:  2.521e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
279        Scale:  8.988e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.006e+00  9.648e-02  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  8.352e-01  2.233e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 327.444 19.286
Photon Flux Upper Limit: 7.92e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.17e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/896947/likelihoodResults_692409601_692668801_4FGL_J2149.7+1917_daily_bin1748.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): 0
logL (Free Index) = 8522.79558347
delta logL = -0.0340473020206

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8522.76153618
delta logL = -1.24528014567e-08

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8522.762     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      213 TOTAL
                     EDM=   .60E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        13.871        .84578E-06** at limit **
   2  Index         2.5810        6.2723       -.24846E-04     .0000    
   3  Normalizat    .83519        .24210       -.26108E-05    .35641E-05
   4  Prefactor     1.0055        .11153        .11756E-06    .22465E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.58096
  Normalizat = 0.835187
  Prefactor  = 1.00551
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8522.762     FROM HESSE     STATUS=FAILED        11 CALLS      224 TOTAL
                     EDM=   .60E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        13.916        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .75260        2.0146       -.24846E-04   -.50500    
   3  Normalizat    .83519        1.1730       -.26108E-05   -.98776    
   4  Prefactor     1.0055        1.2833        .11756E-06   -.92546    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.96758e-14
Minuit parameter uncertainties:
  1  6.18186e-06
  2  1.72808
  3  1.21187
  4  1.32581
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/896947': 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): 101
logL (Free Index) = 8522.76153617
delta logL = 1.45519152284e-11

Extracting fit parameters...

4FGL J2149.7+1917
   Spectrum: PowerLaw
277    Prefactor:  0.000e+00  6.182e-06  0.000e+00  1.000e+06 ( 1.000e-13)
278        Index:  2.581e+00  1.728e+00  0.000e+00  1.000e+01 (-1.000e+00)
279        Scale:  8.988e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
537    Prefactor:  1.006e+00  1.326e+00  0.000e+00  1.000e+01 ( 1.000e+00)
538        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
539        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
536   Normalization:  8.352e-01  1.212e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 327.444 19.286

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/896947/cmap_HighResolution_692409601_692668801_4FGL_J2149.7+1917_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.17e-03', job_status='DONE', photon_flux_upper_limit='7.92e-08', time_completed='2022-12-14 01:26:46.919566', job_id='896947', GAL2='1.01', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1671010006.92', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='1.46e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='1748' AND source_name='4FGL J2149.7+1917' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:26:46 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 896947: <4FGL_J2149.7+1917_daily_bin1748> in cluster <slac> Done

Job <4FGL_J2149.7+1917_daily_bin1748> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Dec 14 01:15:26 2022
Job was executed on host(s) <bullet0075>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 01:15:27 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 01:15:27 2022
Terminated at Wed Dec 14 01:26:47 2022
Results reported at Wed Dec 14 01:26:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2149.7+1917_daily_bin1748 327.444 19.2859 692409601 692668801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2149.7+1917 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   633.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             388.91 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   680 sec.
    Turnaround time :                            681 sec.

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

