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


Performing analysis on: 4FGL_J1945.1-4007_daily_bin1722
RA = 296.292, Dec = -40.1209
tmin = 685670401, tmax = 685929601
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='248639', job_status='RUN', time_executed='2022-09-27 01:06:48.858814', time_epoch_executed='1664266008.86' WHERE source_name='4FGL J1945.1-4007' and cadence='daily' and bin_id='1722'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/248639

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/248639/ft1_4FGL_J1945.1-4007_daily_bin1722.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/248639/ft2_4FGL_J1945.1-4007_daily_bin1722.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/248639/ft1_4FGL_J1945.1-4007_daily_bin1722.fits outfile=/scratch/kocevski/248639/ft1_filteredMKT_4FGL_J1945.1-4007_daily_bin1722.fits ra=296.292 dec=-40.1209 rad=12.0 tmin=685670401.0 tmax=685929601.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.80
user 3.55
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/248639/ft2_4FGL_J1945.1-4007_daily_bin1722.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/248639/ft2_4FGL_J1945.1-4007_daily_bin1722.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/248639/ft1_filteredMKT_4FGL_J1945.1-4007_daily_bin1722.fits evtable="EVENTS" outfile="/scratch/kocevski/248639/ft1_filtered_4FGL_J1945.1-4007_daily_bin1722.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.52
user 0.36
sys 0.14

Number of photons that the gtmktime cut: 1491

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/248639/ft1_filtered_4FGL_J1945.1-4007_daily_bin1722.fits" evtable="EVENTS" scfile=/scratch/kocevski/248639/ft2_4FGL_J1945.1-4007_daily_bin1722.fits sctable="SC_DATA" outfile=/scratch/kocevski/248639/ltcube_685670401_685929601_4FGL_J1945.1-4007_daily_bin1722.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/248639/ft2_4FGL_J1945.1-4007_daily_bin1722.fits
.....................!
real 14.82
user 14.36
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/248639/ft1_filtered_4FGL_J1945.1-4007_daily_bin1722.fits evtable="EVENTS" scfile=/scratch/kocevski/248639/ft2_4FGL_J1945.1-4007_daily_bin1722.fits sctable="SC_DATA" expcube=/scratch/kocevski/248639/ltcube_685670401_685929601_4FGL_J1945.1-4007_daily_bin1722.fits outfile=/scratch/kocevski/248639/expmap_685670401_685929601_4FGL_J1945.1-4007_daily_bin1722.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/248639/ltcube_685670401_685929601_4FGL_J1945.1-4007_daily_bin1722.fits
.....................!
real 193.13
user 187.03
sys 5.65

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 228 point sources and 0 extended sources

Setting source of interest to:
4FGL J1945.1-4007 @ 296.292 -40.1209

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/248639/ft1_filtered_4FGL_J1945.1-4007_daily_bin1722.fits scfile=/scratch/kocevski/248639/ft2_4FGL_J1945.1-4007_daily_bin1722.fits outfile=/scratch/kocevski/248639/cmap_685670401_685929601_4FGL_J1945.1-4007_daily_bin1722.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.292 yref=-40.1209 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.58
user 0.40
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/248639/ft1_filtered_4FGL_J1945.1-4007_daily_bin1722.fits scfile=/scratch/kocevski/248639/ft2_4FGL_J1945.1-4007_daily_bin1722.fits outfile=/scratch/kocevski/248639/cmap_HighResolution_685670401_685929601_4FGL_J1945.1-4007_daily_bin1722.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.292 yref=-40.1209 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.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/248639/ft1_filtered_4FGL_J1945.1-4007_daily_bin1722.fits evtable="EVENTS" scfile=/scratch/kocevski/248639/ft2_4FGL_J1945.1-4007_daily_bin1722.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/248639/Model_4FGL_J1945.1-4007_daily_bin1722.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/248639/ft1_filtered_4FGL_J1945.1-4007_daily_bin1722.fits.....................!
real 122.42
user 120.71
sys 1.39

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/248639/ft1_filtered_4FGL_J1945.1-4007_daily_bin1722.fits', '/scratch/kocevski/248639/ft2_4FGL_J1945.1-4007_daily_bin1722.fits', expMap='/scratch/kocevski/248639/expmap_685670401_685929601_4FGL_J1945.1-4007_daily_bin1722.fits', expCube='/scratch/kocevski/248639/ltcube_685670401_685929601_4FGL_J1945.1-4007_daily_bin1722.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/248639/Model_4FGL_J1945.1-4007_daily_bin1722.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1945.1-4007'

4FGL J1945.1-4007
   Spectrum: LogParabola
504         norm:  1.355e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
505        alpha:  1.961e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
506         beta:  5.304e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
507           Eb:  1.769e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/248639/ft1_filtered_4FGL_J1945.1-4007_daily_bin1722.fits
Spacecraft file(s): /scratch/kocevski/248639/ft2_4FGL_J1945.1-4007_daily_bin1722.fits
Exposure map: /scratch/kocevski/248639/expmap_685670401_685929601_4FGL_J1945.1-4007_daily_bin1722.fits
Exposure cube: /scratch/kocevski/248639/ltcube_685670401_685929601_4FGL_J1945.1-4007_daily_bin1722.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/248639/Model_4FGL_J1945.1-4007_daily_bin1722.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) = 15247.6653927

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0312       1.0000          .0000       .10000E+07
     2 'norm      '    6.0160       1.0000          .0000       .10000E+07
     3 'norm      '    .30985       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.8696       1.0000          .0000       .10000E+07
     5 'Prefactor '    .66019E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .70585E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .10636E-03   1.0000          .0000       .10000E+07
     8 'norm      '    19.765       1.0000          .0000       .10000E+07
     9 'Prefactor '    9.9130       1.0000          .0000       .10000E+07
    10 'norm      '    3.8479       1.0000          .0000       .10000E+07
    11 'Prefactor '    .13395E-06   1.0000          .0000       .10000E+07
    12 'norm      '    5.6222       1.0000          .0000       .10000E+07
    13 'norm      '    .10714E-07   1.0000          .0000       .10000E+07
    14 'norm      '    .90696       1.0000          .0000       .10000E+07
    15 'norm      '    4.5245       1.0000          .0000       .10000E+07
    16 'norm      '    4.1656       1.0000          .0000       .10000E+07
    17 'norm      '    .31955E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .30012E-02   1.0000          .0000       .10000E+07
    19 'Normalizat'    .92271       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .96288       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15247.61     FROM MIGRAD    STATUS=CONVERGED    132 CALLS     1241 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0353        5.1595       -.57522E-07    .50774E-04
   2  norm          6.0110        5.5399       -.62462E-07   -.28563E-04
   3  norm          .31003        .79844        .12467E-06   -.59630E-03
   4  Prefactor     1.8689        2.3546        .33747E-07    .27919E-04
   5  Prefactor     .15227E-05    3.4060        .97492E-07** at limit **
   6  Prefactor     .21094E-08    5.0664        .76379E-07** at limit **
   7  Prefactor     .57176E-08    63.047       -.51968E-06** at limit **
   8  norm          19.747        1.1403        .19712E-09   -.83260E-03
   9  Prefactor     9.9021        4.2408       -.26951E-07   -.35125E-03
  10  norm          3.8477        .97019        .16959E-07   -.18026E-03
  11  Prefactor     .17986E-07    8.3345        .31440E-07** at limit **
  12  norm          5.6128        4.9776       -.64263E-07    .30815E-03
  13  norm          .66613E-09    3.2581       -.82444E-07** at limit **
  14  norm          .90674        .97004        .63631E-07    .13326E-03
  15  norm          4.5233        2.8014       -.89359E-07    .40888E-03
  16  norm          4.1631        6.0475        .23048E-06    .17270E-03
  17  norm          .22760E-08    6.9514        .16310E-07** at limit **
  18  Prefactor     .37692E-06    10.370        .16842E-06** at limit **
  19  Normalizat    .92275        .21707        .44621E-05    .22830E-04
  20  Prefactor     .96292        .71823E-01    .63978E-06    .67313E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.03532
  norm       = 6.01104
  norm       = 0.310031
  Prefactor  = 1.86887
  Prefactor  = 1.52267e-06
  Prefactor  = 2.10942e-09
  Prefactor  = 5.71765e-09
  norm       = 19.7467
  Prefactor  = 9.90215
  norm       = 3.84766
  Prefactor  = 1.79856e-08
  norm       = 5.61277
  norm       = 6.66134e-10
  norm       = 0.906736
  norm       = 4.52326
  norm       = 4.16305
  norm       = 2.27596e-09
  Prefactor  = 3.76921e-07
  Normalizat = 0.922749
  Prefactor  = 0.962918
 **********
 **   18 **HESSE 
 **********

 FCN=   15247.61     FROM HESSE     STATUS=OK           341 CALLS     1582 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0353        5.1759        .58258E-03   -1.5673    
   2  norm          6.0110        5.5350        .40913E-03   -1.5659    
   3  norm          .31003        .76837        .41552E-02   -1.5697    
   4  Prefactor     1.8689        2.3799        .76146E-03   -1.5681    
   5  Prefactor     .15227E-05    14.237        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .21094E-08    5.0850        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .57176E-08    60.784        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          19.747        13.087        .22500E-03   -1.5619    
   9  Prefactor     9.9021        4.2441        .31802E-03   -1.5645    
  10  norm          3.8477        .97182        .51422E-03   -1.5669    
  11  Prefactor     .17986E-07    8.4831        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          5.6128        4.9837        .42343E-03   -1.5661    
  13  norm          .66613E-09    3.2723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .90674        .97304        .45280E-03   -1.5689    
  15  norm          4.5233        2.8011        .47306E-03   -1.5665    
  16  norm          4.1631        6.0618        .49358E-03   -1.5667    
  17  norm          .22760E-08    6.9659        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .37692E-06    13.118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .92275        .19374        .10064       -.95665    
  20  Prefactor     .96292        .63421E-01    .32738E-01   -.93976    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75859e-07
Minuit parameter uncertainties:
  1  5.1759
  2  5.53496
  3  0.768372
  4  2.37992
  5  0.00931189
  6  0.000207456
  7  0.00118162
  8  13.0873
  9  4.24411
  10  0.971822
  11  0.000781528
  12  4.98368
  13  9.37049e-05
  14  0.973039
  15  2.8011
  16  6.06183
  17  0.00025299
  18  0.00444711
  19  0.193889
  20  0.0634256
Done.

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

Extracting fit parameters...

4FGL J1945.1-4007
   Spectrum: LogParabola
504         norm:  1.975e+01  1.309e+01  0.000e+00  1.000e+06 ( 1.000e-13)
505        alpha:  1.961e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
506         beta:  5.304e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
507           Eb:  1.769e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
792    Prefactor:  9.629e-01  6.343e-02  0.000e+00  1.000e+01 ( 1.000e+00)
793        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
794        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
791   Normalization:  9.227e-01  1.939e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.61
Ra Dec: 296.292 -40.121
Photon Index (Fixed Index): 1.96 +/- 0.00
Photon Flux (Fixed Index): 1.29e-08 +/- 8.52e-09
Energy Flux (Fixed Index): 1.50e-05 +/- 9.97e-06

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) = 15247.6075756
delta logL = 0.00285376975808

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15247.6071427
delta logL = 0.00328667554822

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    20.156       1.0000          .0000       .10000E+07
     2 'alpha     '    1.8937       1.0000          .0000       5.0000    
     3 'Normalizat'    .92285       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96298       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7950E+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=   15247.61     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      274 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          20.157        14.500        .89125E-05   -.30614E-03
   2  alpha         1.8936        .82587        .34497E-01    .22341E-03
   3  Normalizat    .92292        .21185        .44588E-03   -.39469E-04
   4  Prefactor     .96296        .70753E-01    .14466E-03   -.52499E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 20.1571
  alpha      = 1.8936
  Normalizat = 0.922919
  Prefactor  = 0.962963
 **********
 **   18 **HESSE 
 **********

 FCN=   15247.61     FROM HESSE     STATUS=OK            25 CALLS      299 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          20.157        14.234        .35650E-06   -1.5618    
   2  alpha         1.8936        .81188        .68994E-02   -.24500    
   3  Normalizat    .92292        .21196        .17835E-04   -.95659    
   4  Prefactor     .96296        .70793E-01    .57862E-05   -.93974    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56271e-11
Minuit parameter uncertainties:
  1  14.2342
  2  0.827857
  3  0.212156
  4  0.0707997
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/248639': 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) = 15247.6071427
delta logL = 0.00328674381853

Extracting fit parameters...

4FGL J1945.1-4007
   Spectrum: LogParabola
504         norm:  2.016e+01  1.423e+01  0.000e+00  1.000e+06 ( 1.000e-13)
505        alpha:  1.894e+00  8.279e-01  0.000e+00  5.000e+00 ( 1.000e+00)
506         beta:  5.304e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
507           Eb:  1.769e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
792    Prefactor:  9.630e-01  7.080e-02  0.000e+00  1.000e+01 ( 1.000e+00)
793        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
794        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
791   Normalization:  9.229e-01  2.122e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.62
Ra Dec: 296.292 -40.121
Photon Index (Free Index): 1.89 +/- 0.83
Photon Flux (Free Index): 1.24e-08 +/- 9.79e-09
Energy Flux (Free Index): 1.54e-05 +/- 1.14e-05

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/248639/cmap_HighResolution_685670401_685929601_4FGL_J1945.1-4007_daily_bin1722.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.29e-08', energy_flux2='1.54e-05', photon_flux_error='8.52e-09', dlogl='3.29e-03', energy_flux='1.50e-05', photon_flux2='1.24e-08', job_status='DONE', time_completed='2022-09-27 01:22:15.090708', photon_index_error2='0.83', photon_index2='1.89', ts='5.61', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', energy_flux_error2='1.14e-05', EG='0.92', time_epoch_completed='1664266935.09', return_code='0', job_id='248639', GAL2='0.96', EG2='0.92', return_code2='0', energy_flux_error='9.97e-06', photon_flux_error2='9.79e-09', ts2='5.62', photon_index='1.96' WHERE bin_id='1722' AND source_name='4FGL J1945.1-4007' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 27 01:22:15 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0167>
Subject: Job 248639: <4FGL_J1945.1-4007_daily_bin1722> in cluster <slac> Done

Job <4FGL_J1945.1-4007_daily_bin1722> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Sep 27 01:05:38 2022
Job was executed on host(s) <bullet0167>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 27 01:06:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 27 01:06:21 2022
Terminated at Tue Sep 27 01:22:15 2022
Results reported at Tue Sep 27 01:22:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1945.1-4007_daily_bin1722 296.292 -40.1209 685670401 685929601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1945.1-4007 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   927.52 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             360.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   954 sec.
    Turnaround time :                            997 sec.

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

