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


Performing analysis on: 4FGL_J1944.9-2143_daily_bin1751
RA = 296.229, Dec = -21.7216
tmin = 693187201, tmax = 693446401
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='84145', job_status='RUN', time_executed='2022-12-23 01:05:46.856888', time_epoch_executed='1671786346.86' WHERE source_name='4FGL J1944.9-2143' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/84145

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/84145/ft1_4FGL_J1944.9-2143_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/84145/ft2_4FGL_J1944.9-2143_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/84145/ft1_4FGL_J1944.9-2143_daily_bin1751.fits outfile=/scratch/kocevski/84145/ft1_filteredMKT_4FGL_J1944.9-2143_daily_bin1751.fits ra=296.229 dec=-21.7216 rad=12.0 tmin=693187201.0 tmax=693446401.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.62
user 3.39
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/84145/ft2_4FGL_J1944.9-2143_daily_bin1751.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/84145/ft2_4FGL_J1944.9-2143_daily_bin1751.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/84145/ft1_filteredMKT_4FGL_J1944.9-2143_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/84145/ft1_filtered_4FGL_J1944.9-2143_daily_bin1751.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.33
sys 0.15

Number of photons that the gtmktime cut: 978

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/84145/ft1_filtered_4FGL_J1944.9-2143_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/84145/ft2_4FGL_J1944.9-2143_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/84145/ltcube_693187201_693446401_4FGL_J1944.9-2143_daily_bin1751.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/84145/ft2_4FGL_J1944.9-2143_daily_bin1751.fits
.....................!
real 12.00
user 11.67
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/84145/ft1_filtered_4FGL_J1944.9-2143_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/84145/ft2_4FGL_J1944.9-2143_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/84145/ltcube_693187201_693446401_4FGL_J1944.9-2143_daily_bin1751.fits outfile=/scratch/kocevski/84145/expmap_693187201_693446401_4FGL_J1944.9-2143_daily_bin1751.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/84145/ltcube_693187201_693446401_4FGL_J1944.9-2143_daily_bin1751.fits
.....................!
real 190.97
user 185.73
sys 4.92

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 HESS J1813-178 in ROI with RadialDisk spatial model.
Extended source HESS J1825-137 in ROI with RadialGaussian spatial model.
Extended source W 41 in ROI with RadialGaussian spatial model.
Extended source FGES J1838.9-0704 in ROI with RadialDisk spatial model.
Added 262 point sources and 4 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 J1944.9-2143 @ 296.229 -21.7216

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/84145/ft1_filtered_4FGL_J1944.9-2143_daily_bin1751.fits scfile=/scratch/kocevski/84145/ft2_4FGL_J1944.9-2143_daily_bin1751.fits outfile=/scratch/kocevski/84145/cmap_693187201_693446401_4FGL_J1944.9-2143_daily_bin1751.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=296.229 yref=-21.7216 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/84145/ft1_filtered_4FGL_J1944.9-2143_daily_bin1751.fits scfile=/scratch/kocevski/84145/ft2_4FGL_J1944.9-2143_daily_bin1751.fits outfile=/scratch/kocevski/84145/cmap_HighResolution_693187201_693446401_4FGL_J1944.9-2143_daily_bin1751.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=296.229 yref=-21.7216 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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/84145/ft1_filtered_4FGL_J1944.9-2143_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/84145/ft2_4FGL_J1944.9-2143_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/84145/Model_4FGL_J1944.9-2143_daily_bin1751.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 J1838.9-0704
adding source GAL_V02
adding source HESS J1813-178
adding source HESS J1825-137
adding source W 41
Working on...
/scratch/kocevski/84145/ft1_filtered_4FGL_J1944.9-2143_daily_bin1751.fits.....................!
real 104.78
user 103.34
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/84145/ft1_filtered_4FGL_J1944.9-2143_daily_bin1751.fits', '/scratch/kocevski/84145/ft2_4FGL_J1944.9-2143_daily_bin1751.fits', expMap='/scratch/kocevski/84145/expmap_693187201_693446401_4FGL_J1944.9-2143_daily_bin1751.fits', expCube='/scratch/kocevski/84145/ltcube_693187201_693446401_4FGL_J1944.9-2143_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/84145/Model_4FGL_J1944.9-2143_daily_bin1751.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1944.9-2143'

4FGL J1944.9-2143
   Spectrum: PowerLaw
643    Prefactor:  7.284e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
644        Index:  1.814e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
645        Scale:  3.627e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/84145/ft1_filtered_4FGL_J1944.9-2143_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/84145/ft2_4FGL_J1944.9-2143_daily_bin1751.fits
Exposure map: /scratch/kocevski/84145/expmap_693187201_693446401_4FGL_J1944.9-2143_daily_bin1751.fits
Exposure cube: /scratch/kocevski/84145/ltcube_693187201_693446401_4FGL_J1944.9-2143_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/84145/Model_4FGL_J1944.9-2143_daily_bin1751.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) = 10595.47313

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.1201       1.0000          .0000       .10000E+07
     2 'norm      '    .45137E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .21430       1.0000          .0000       .10000E+07
     4 'Prefactor '    .12875E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .18389E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.6122       1.0000          .0000       .10000E+07
     7 'norm      '    .53609E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .19882E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    3.4810       1.0000          .0000       .10000E+07
    10 'Prefactor '    .59093E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .79614E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    8.0985       1.0000          .0000       .10000E+07
    13 'Prefactor '    .30739E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .35008E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    31.607       1.0000          .0000       .10000E+07
    16 'Prefactor '    2.1427       1.0000          .0000       .10000E+07
    17 'norm      '    .49162E-02   1.0000          .0000       .10000E+07
    18 'norm      '    .27200E-08   1.0000          .0000       .10000E+07
    19 'Prefactor '    .53968       1.0000          .0000       .10000E+07
    20 'Prefactor '    .17386E-02   1.0000          .0000       .10000E+07
    21 'Normalizat'    1.6381       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .88225       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10595.38     FROM MIGRAD    STATUS=CONVERGED    180 CALLS     1401 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9394        12.635       -.66993E-07    .52356E-01
   2  norm           .0000        1.9190        .60643E-07** at limit **
   3  norm          .21068        1.4978        .37624E-07** at limit **
   4  Prefactor     .99032E-07    20.054       -.11479E-06** at limit **
   5  Prefactor     .38858E-09    21.948       -.44511E-06** at limit **
   6  Prefactor     3.7206        12.097        .49385E-07    .16191E-02
   7  norm           .0000        2.4821        .16336E-07** at limit **
   8  norm          .11102E-09    24.339        .57739E-06** at limit **
   9  Prefactor     3.4544        4.9542        .46119E-07    .14350E-03
  10  Prefactor      .0000        3.5776       -.64816E-07** at limit **
  11  Prefactor     .91976E-06    22.558       -.44474E-06** at limit **
  12  Prefactor     8.0601        5.3786       -.29699E-07   -.62419E-03
  13  Prefactor      .0000        10.411       -.13213E-06** at limit **
  14  Prefactor      .0000        1.6549        .16381E-06** at limit **
  15  Prefactor     32.140        7.0747        .17743E-07    .84970E-03
  16  Prefactor     2.1422        1.4865        .53452E-08   -.52138E-04
  17  norm          .54956E-08    15.741       -.28933E-06** at limit **
  18  norm           .0000        5.2325       -.18437E-06** at limit **
  19  Prefactor     .49542E-05    72.352       -.20438E-06** at limit **
  20  Prefactor     .14248E-05    66.531       -.58243E-06** at limit **
  21  Normalizat    1.6384        .35401       -.15264E-05   -.34319E-04
  22  Prefactor     .88222        .86593E-01   -.24075E-06   -.10657E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.93936
  norm       = 0
  norm       = 0.21068
  Prefactor  = 9.90319e-08
  Prefactor  = 3.88578e-10
  Prefactor  = 3.72057
  norm       = 0
  norm       = 1.11022e-10
  Prefactor  = 3.45443
  Prefactor  = 0
  Prefactor  = 9.19764e-07
  Prefactor  = 8.06014
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 32.14
  Prefactor  = 2.1422
  norm       = 5.4956e-09
  norm       = 0
  Prefactor  = 4.9542e-06
  Prefactor  = 1.4248e-06
  Normalizat = 1.63838
  Prefactor  = 0.882222
 **********
 **   18 **HESSE 
 **********

 FCN=   10595.38     FROM HESSE     STATUS=OK           394 CALLS     1795 TOTAL
                     EDM=   .33E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9394        288.51        .44408E-03   -1.5664    
   2  norm           .0000        1.9207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .21068        .88700        .26733E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .99032E-07    20.097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .38858E-09    44.947        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.7206        13.103        .53138E-03   -1.5669    
   7  norm           .0000        2.4803        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .11102E-09    3.6421        .11163E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.4544        4.9730        .54172E-03   -1.5671    
  10  Prefactor      .0000        3.5851        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .91976E-06    43.053        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.0601        5.3830        .35207E-03   -1.5651    
  13  Prefactor      .0000        10.403        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        1.6546        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     32.140        25.994        .17790E-03   -1.5595    
  16  Prefactor     2.1422        1.4852        .70380E-03   -1.5679    
  17  norm          .54956E-08    15.717        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        5.2181        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .49542E-05    80.301        .74814E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .14248E-05    67.106        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.6384        .30421        .10837       -.73961    
  22  Prefactor     .88222        .74773E-01    .34222E-01   -.96765    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.28875e-06
Minuit parameter uncertainties:
  1  75.5031
  2  6.49691e-06
  3  0.864575
  4  0.00282135
  5  0.000257169
  6  13.1033
  7  1.56999e-06
  8  3.87671e-05
  9  4.97298
  10  4.04787e-06
  11  0.0125854
  12  5.383
  13  5.8496e-06
  14  8.84129e-06
  15  25.9937
  16  1.4852
  17  0.000587088
  18  1.35762e-05
  19  0.0398918
  20  0.0195565
  21  0.304552
  22  0.0747815
Done.

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

Extracting fit parameters...

4FGL J1944.9-2143
   Spectrum: PowerLaw
643    Prefactor:  9.198e-07  1.259e-02  0.000e+00  1.000e+06 ( 1.000e-14)
644        Index:  1.814e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
645        Scale:  3.627e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
928    Prefactor:  8.822e-01  7.478e-02  0.000e+00  1.000e+01 ( 1.000e+00)
929        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
930        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
924   Normalization:  1.638e+00  3.046e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 296.229 -21.722
Photon Flux Upper Limit: 8.46e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.24e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/84145/likelihoodResults_693187201_693446401_4FGL_J1944.9-2143_daily_bin1751.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) = 10595.3937158
delta logL = -0.011215557688

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10595.3825086
delta logL = -8.32157638797e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .49700E-03   1.0000          .0000       .10000E+07
     2 'Index     '    2.3631       1.0000          .0000       10.000    
     3 'Normalizat'    1.6384       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88231       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9410E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10595.37     FROM MIGRAD    STATUS=CONVERGED    138 CALLS      316 TOTAL
                     EDM=   .50E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16647        2.6886        .16847E-04** at limit **
   2  Index         3.3989        .67086E-01    .47478        .55448E-05
   3  Normalizat    1.6237        .10043E-01    .48205E-03    .44809E-05
   4  Prefactor     .88380        .24369E-02    .15109E-03   -.30550E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.166467
  Index      = 3.39888
  Normalizat = 1.62367
  Prefactor  = 0.883798
 **********
 **   18 **HESSE 
 **********

 FCN=   10595.37     FROM HESSE     STATUS=OK            27 CALLS      343 TOTAL
                     EDM=   .49E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16647        7.0989        .67388E-06   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.3989        3.3072        .11154E-02   -.32597    
   3  Normalizat    1.6237        .36353        .19282E-04   -.74360    
   4  Prefactor     .88380        .85800E-01    .60435E-05   -.96710    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.92442e-12
Minuit parameter uncertainties:
  1  2.17415
  2  3.6609
  3  0.364128
  4  0.085813
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/84145': 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) = 10595.3710548
delta logL = 0.0114454565555

Extracting fit parameters...

4FGL J1944.9-2143
   Spectrum: PowerLaw
643    Prefactor:  1.665e-01  2.174e+00  0.000e+00  1.000e+06 ( 1.000e-14)
644        Index:  3.399e+00  3.661e+00  0.000e+00  1.000e+01 (-1.000e+00)
645        Scale:  3.627e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
928    Prefactor:  8.838e-01  8.581e-02  0.000e+00  1.000e+01 ( 1.000e+00)
929        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
930        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
924   Normalization:  1.624e+00  3.641e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 296.229 -21.722

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/84145/cmap_HighResolution_693187201_693446401_4FGL_J1944.9-2143_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.24e-03', job_status='DONE', photon_flux_upper_limit='8.46e-08', time_completed='2022-12-23 01:21:42.560012', job_id='84145', GAL2='0.88', fit_tolerance='1e-08', EG2='1.62', EG='1.64', time_epoch_completed='1671787302.56', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='1.14e-02', ts2='0.03', photon_index_error='0.00', photon_index='1.81' WHERE bin_id='1751' AND source_name='4FGL J1944.9-2143' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 01:21:42 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0056>
Subject: Job 84145: <4FGL_J1944.9-2143_daily_bin1751> in cluster <slac> Done

Job <4FGL_J1944.9-2143_daily_bin1751> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Dec 23 01:05:23 2022
Job was executed on host(s) <bullet0056>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 01:05:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 01:05:24 2022
Terminated at Fri Dec 23 01:21:43 2022
Results reported at Fri Dec 23 01:21:43 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1944.9-2143_daily_bin1751 296.229 -21.7216 693187201 693446401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1944.9-2143 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   957.40 sec.
    Max Memory :                                 1260 MB
    Average Memory :                             362.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   978 sec.
    Turnaround time :                            980 sec.

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

