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


Performing analysis on: 4FGL_J1849.4-4313_daily_bin1757
RA = 282.362, Dec = -43.2214
tmin = 694742401, tmax = 695001601
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='216006', job_status='RUN', time_executed='2023-01-10 02:02:22.693111', time_epoch_executed='1673344942.69' WHERE source_name='4FGL J1849.4-4313' and cadence='daily' and bin_id='1757'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/216006

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/216006/ft1_4FGL_J1849.4-4313_daily_bin1757.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/216006/ft2_4FGL_J1849.4-4313_daily_bin1757.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/216006/ft1_4FGL_J1849.4-4313_daily_bin1757.fits outfile=/scratch/kocevski/216006/ft1_filteredMKT_4FGL_J1849.4-4313_daily_bin1757.fits ra=282.362 dec=-43.2214 rad=12.0 tmin=694742401.0 tmax=695001601.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.97
user 2.74
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/216006/ft2_4FGL_J1849.4-4313_daily_bin1757.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/216006/ft2_4FGL_J1849.4-4313_daily_bin1757.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/216006/ft1_filteredMKT_4FGL_J1849.4-4313_daily_bin1757.fits evtable="EVENTS" outfile="/scratch/kocevski/216006/ft1_filtered_4FGL_J1849.4-4313_daily_bin1757.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.53
user 0.35
sys 0.17

Number of photons that the gtmktime cut: 230

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/216006/ft1_filtered_4FGL_J1849.4-4313_daily_bin1757.fits" evtable="EVENTS" scfile=/scratch/kocevski/216006/ft2_4FGL_J1849.4-4313_daily_bin1757.fits sctable="SC_DATA" outfile=/scratch/kocevski/216006/ltcube_694742401_695001601_4FGL_J1849.4-4313_daily_bin1757.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/216006/ft2_4FGL_J1849.4-4313_daily_bin1757.fits
.....................!
real 16.10
user 15.61
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/216006/ft1_filtered_4FGL_J1849.4-4313_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/216006/ft2_4FGL_J1849.4-4313_daily_bin1757.fits sctable="SC_DATA" expcube=/scratch/kocevski/216006/ltcube_694742401_695001601_4FGL_J1849.4-4313_daily_bin1757.fits outfile=/scratch/kocevski/216006/expmap_694742401_695001601_4FGL_J1849.4-4313_daily_bin1757.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/216006/ltcube_694742401_695001601_4FGL_J1849.4-4313_daily_bin1757.fits
.....................!
real 193.11
user 186.72
sys 5.30

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 FHES J1741.6-3917 in ROI with RadialDisk spatial model.
Extended source FGES J1652.2-4633 in ROI with RadialDisk spatial model.
Extended source FGES J1655.5-4737 in ROI with RadialDisk spatial model.
Extended source RX J1713.7-3946 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/RXJ1713_2016_250GeV.fits is the correct path to the extended template.
Extended source FGES J1745.8-3028 in ROI with RadialDisk spatial model.
Added 445 point sources and 5 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 J1849.4-4313 @ 282.362 -43.2214

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/216006/ft1_filtered_4FGL_J1849.4-4313_daily_bin1757.fits scfile=/scratch/kocevski/216006/ft2_4FGL_J1849.4-4313_daily_bin1757.fits outfile=/scratch/kocevski/216006/cmap_694742401_695001601_4FGL_J1849.4-4313_daily_bin1757.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=282.362 yref=-43.2214 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.59
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/216006/ft1_filtered_4FGL_J1849.4-4313_daily_bin1757.fits scfile=/scratch/kocevski/216006/ft2_4FGL_J1849.4-4313_daily_bin1757.fits outfile=/scratch/kocevski/216006/cmap_HighResolution_694742401_695001601_4FGL_J1849.4-4313_daily_bin1757.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=282.362 yref=-43.2214 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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/216006/ft1_filtered_4FGL_J1849.4-4313_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/216006/ft2_4FGL_J1849.4-4313_daily_bin1757.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/216006/Model_4FGL_J1849.4-4313_daily_bin1757.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 FGES J1652.2-4633
adding source FGES J1655.5-4737
adding source FGES J1745.8-3028
adding source FHES J1741.6-3917
adding source GAL_V02
adding source RX J1713.7-3946
Working on...
/scratch/kocevski/216006/ft1_filtered_4FGL_J1849.4-4313_daily_bin1757.fits.....................!
real 66.89
user 65.20
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/216006/ft1_filtered_4FGL_J1849.4-4313_daily_bin1757.fits', '/scratch/kocevski/216006/ft2_4FGL_J1849.4-4313_daily_bin1757.fits', expMap='/scratch/kocevski/216006/expmap_694742401_695001601_4FGL_J1849.4-4313_daily_bin1757.fits', expCube='/scratch/kocevski/216006/ltcube_694742401_695001601_4FGL_J1849.4-4313_daily_bin1757.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/216006/Model_4FGL_J1849.4-4313_daily_bin1757.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1849.4-4313'

4FGL J1849.4-4313
   Spectrum: LogParabola
1283         norm:  8.097e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
1284        alpha:  2.123e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
1285         beta:  1.147e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
1286           Eb:  1.357e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/216006/ft1_filtered_4FGL_J1849.4-4313_daily_bin1757.fits
Spacecraft file(s): /scratch/kocevski/216006/ft2_4FGL_J1849.4-4313_daily_bin1757.fits
Exposure map: /scratch/kocevski/216006/expmap_694742401_695001601_4FGL_J1849.4-4313_daily_bin1757.fits
Exposure cube: /scratch/kocevski/216006/ltcube_694742401_695001601_4FGL_J1849.4-4313_daily_bin1757.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/216006/Model_4FGL_J1849.4-4313_daily_bin1757.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) = 2213.00626802

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.740       1.0000          .0000       .10000E+07
     2 'norm      '    13.858       1.0000          .0000       .10000E+07
     3 'Prefactor '    19.619       1.0000          .0000       .10000E+07
     4 'norm      '    2.0639       1.0000          .0000       .10000E+07
     5 'Prefactor '    21.775       1.0000          .0000       .10000E+07
     6 'norm      '    7.2292       1.0000          .0000       .10000E+07
     7 'norm      '    .85127E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .46452E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .46190E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .47654E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .11619E+06   1.0000          .0000       .10000E+07
    12 'norm      '    77537.       1.0000          .0000       .10000E+07
    13 'Prefactor '    68481.       1.0000          .0000       .10000E+07
    14 'Prefactor '    .41331E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    .88372       1.0000          .0000       .10000E+07
    16 'norm      '    .24986E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    18 'Prefactor '    .36590       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1617E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2213.004     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     2112 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.791        19.482       -.37574E-05    .19137E-02
   2  norm          14.622        55.949        .26676E-04   -.58701E-03
   3  Prefactor     19.647        23.456        .59844E-05    .45600E-02
   4  norm          2.0565        1.2194       -.30017E-06   -.35799E-01
   5  Prefactor     21.597        30.787        .13717E-05    .91329E-03
   6  norm          7.2336        7.3563       -.66865E-06    .45831E-03
   7  norm          .27200E-08    8.6675        .37448E-06** at limit **
   8  norm          .27756E-09    1.5356        .59598E-06** at limit **
   9  norm          .21649E-08    11.036       -.23080E-05** at limit **
  10  norm          .19984E-08    20.672       -.51168E-08** at limit **
  11  norm          .11619E+06    1.0612       -.49993E-08    .53766E-01
  12  norm          77537.        1.0445       -.51096E-08    .37927E-01
  13  Prefactor     68481.        1.0293       -.43581E-08    .29118E-01
  14  Prefactor     .11824E-07    1075.5        .14631E-03** at limit **
  15  Prefactor      .0000        808.04       -.21464E-03** at limit **
  16  norm          .59619E-07    397.85        .79598E-04** at limit **
  17  Normalizat    .10000E-01    .72621E-01    .28004E-04** at limit **
  18  Prefactor     .36595        .62649E-01   -.12688E-04   -.66445E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 17.7906
  norm       = 14.6216
  Prefactor  = 19.6473
  norm       = 2.05652
  Prefactor  = 21.5966
  norm       = 7.23356
  norm       = 2.72005e-09
  norm       = 2.77556e-10
  norm       = 2.16493e-09
  norm       = 1.9984e-09
  norm       = 116190
  norm       = 77537.5
  Prefactor  = 68480.9
  Prefactor  = 1.18239e-08
  Prefactor  = 0
  norm       = 5.9619e-08
  Normalizat = 0.01
  Prefactor  = 0.365947
 **********
 **   18 **HESSE 
 **********

 FCN=   2213.004     FROM HESSE     STATUS=OK           276 CALLS     2388 TOTAL
                     EDM=   .35E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.791        19.498        .23752E-03   -1.5624    
   2  norm          14.622        55.710        .26880E-03   -1.5631    
   3  Prefactor     19.647        23.460        .22584E-03   -1.5619    
   4  norm          2.0565        1.2201        .71894E-03   -1.5679    
   5  Prefactor     21.597        30.823        .21436E-03   -1.5615    
   6  norm          7.2336        7.4043        .37282E-03   -1.5654    
   7  norm          .27200E-08    8.6696        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .27756E-09    1.5353        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .21649E-08    11.039        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .19984E-08    20.679        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .11619E+06    43189.        .41729E-04   -.87512    
  12  norm          77537.        30863.        .47990E-05   -1.0064    
  13  Prefactor     68481.        22304.        .49651E-05   -1.0413    
  14  Prefactor     .11824E-07    1075.7        .15904E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        807.87        .46892E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .59619E-07    397.87        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    .10000E-01    .72338E-01    .17747       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .36595        .67502E-01    .37758E-01   -1.1858    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.46202e-05
Minuit parameter uncertainties:
  1  19.4983
  2  55.712
  3  23.4597
  4  1.22006
  5  30.8233
  6  7.40431
  7  0.000305615
  8  4.21441e-05
  9  0.000308169
  10  0.000404452
  11  43320.6
  12  30932.3
  13  22333.1
  14  0.00712996
  15  0.000191612
  16  0.00973985
  17  2.90694e-06
  18  0.0675168
Done.

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

Extracting fit parameters...

4FGL J1849.4-4313
   Spectrum: LogParabola
1283         norm:  1.998e-09  4.045e-04  0.000e+00  1.000e+06 ( 1.000e-13)
1284        alpha:  2.123e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
1285         beta:  1.147e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
1286           Eb:  1.357e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1610    Prefactor:  3.659e-01  6.752e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1597   Normalization:  1.000e-02  2.907e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 282.362 -43.221
Photon Flux Upper Limit: 1.87e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.02e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/216006/likelihoodResults_694742401_695001601_4FGL_J1849.4-4313_daily_bin1757.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) = 2213.02632922
delta logL = -0.0228275494155

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2213.00350171
delta logL = -3.11788426188e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .33690E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    .28584E-02   1.0000          .0000       5.0000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .36595       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1617E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   2213.004     FROM MIGRAD    STATUS=CONVERGED     37 CALLS      199 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        23.867        .42118E-03** at limit **
   2  alpha         .74500        .79582        .53345E-03     .0000    
   3  Normalizat    .10000E-01    .25505        .78795E-05** at limit **
   4  Prefactor     .36595        .69225        .98823E-06    .84756E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 0.745005
  Normalizat = 0.01
  Prefactor  = 0.365949
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   2213.004     FROM HESSE     STATUS=FAILED         9 CALLS      208 TOTAL
                     EDM=   .51E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        23.867        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .99164E-01    .83091        .53345E-03   -.77820    
   3  Normalizat    .10000E-01    .25505        .78795E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .36595        .69225        .98823E-06   -1.1858    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.09775e-12
Minuit parameter uncertainties:
  1  7.68901e-06
  2  0.825033
  3  1.02835e-07
  4  0.708979
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/216006': 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) = 2213.00350167
delta logL = 2.51930032391e-10

Extracting fit parameters...

4FGL J1849.4-4313
   Spectrum: LogParabola
1283         norm:  0.000e+00  7.689e-06  0.000e+00  1.000e+06 ( 1.000e-13)
1284        alpha:  7.450e-01  8.250e-01  0.000e+00  5.000e+00 ( 1.000e+00)
1285         beta:  1.147e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
1286           Eb:  1.357e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1610    Prefactor:  3.659e-01  7.090e-01  0.000e+00  1.000e+01 ( 1.000e+00)
1611        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1612        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1597   Normalization:  1.000e-02  1.028e-07  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 282.362 -43.221

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/216006/cmap_HighResolution_694742401_695001601_4FGL_J1849.4-4313_daily_bin1757.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.02e-04', job_status='DONE', photon_flux_upper_limit='1.87e-07', time_completed='2023-01-10 02:14:04.962951', job_id='216006', GAL2='0.37', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1673345644.96', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.37', dlogl='2.52e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='1757' AND source_name='4FGL J1849.4-4313' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 10 02:14:04 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0150>
Subject: Job 216006: <4FGL_J1849.4-4313_daily_bin1757> in cluster <slac> Done

Job <4FGL_J1849.4-4313_daily_bin1757> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Jan 10 02:00:21 2023
Job was executed on host(s) <bullet0150>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 10 02:00:30 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 10 02:00:30 2023
Terminated at Tue Jan 10 02:14:05 2023
Results reported at Tue Jan 10 02:14:05 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1849.4-4313_daily_bin1757 282.362 -43.2214 694742401 695001601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1849.4-4313 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   701.38 sec.
    Max Memory :                                 1264 MB
    Average Memory :                             356.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   815 sec.
    Turnaround time :                            824 sec.

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

