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


Performing analysis on: 4FGL_J1349.5-1131_daily_bin1771
RA = 207.387, Dec = -11.5188
tmin = 698371201, tmax = 698630401
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='550127', job_status='RUN', time_executed='2023-02-21 01:01:41.320865', time_epoch_executed='1676970101.32' WHERE source_name='4FGL J1349.5-1131' and cadence='daily' and bin_id='1771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/550127

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/550127/ft1_4FGL_J1349.5-1131_daily_bin1771.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/550127/ft2_4FGL_J1349.5-1131_daily_bin1771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/550127/ft1_4FGL_J1349.5-1131_daily_bin1771.fits outfile=/scratch/kocevski/550127/ft1_filteredMKT_4FGL_J1349.5-1131_daily_bin1771.fits ra=207.387 dec=-11.5188 rad=12.0 tmin=698371201.0 tmax=698630401.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.09
user 2.87
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/550127/ft2_4FGL_J1349.5-1131_daily_bin1771.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/550127/ft2_4FGL_J1349.5-1131_daily_bin1771.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/550127/ft1_filteredMKT_4FGL_J1349.5-1131_daily_bin1771.fits evtable="EVENTS" outfile="/scratch/kocevski/550127/ft1_filtered_4FGL_J1349.5-1131_daily_bin1771.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 588

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/550127/ft1_filtered_4FGL_J1349.5-1131_daily_bin1771.fits" evtable="EVENTS" scfile=/scratch/kocevski/550127/ft2_4FGL_J1349.5-1131_daily_bin1771.fits sctable="SC_DATA" outfile=/scratch/kocevski/550127/ltcube_698371201_698630401_4FGL_J1349.5-1131_daily_bin1771.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/550127/ft2_4FGL_J1349.5-1131_daily_bin1771.fits
.....................!
real 13.14
user 12.67
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/550127/ft1_filtered_4FGL_J1349.5-1131_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/550127/ft2_4FGL_J1349.5-1131_daily_bin1771.fits sctable="SC_DATA" expcube=/scratch/kocevski/550127/ltcube_698371201_698630401_4FGL_J1349.5-1131_daily_bin1771.fits outfile=/scratch/kocevski/550127/expmap_698371201_698630401_4FGL_J1349.5-1131_daily_bin1771.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/550127/ltcube_698371201_698630401_4FGL_J1349.5-1131_daily_bin1771.fits
.....................!
real 191.29
user 185.90
sys 4.77

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

Setting source of interest to:
4FGL J1349.5-1131 @ 207.387 -11.5188

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/550127/ft1_filtered_4FGL_J1349.5-1131_daily_bin1771.fits scfile=/scratch/kocevski/550127/ft2_4FGL_J1349.5-1131_daily_bin1771.fits outfile=/scratch/kocevski/550127/cmap_698371201_698630401_4FGL_J1349.5-1131_daily_bin1771.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=207.387 yref=-11.5188 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/550127/ft1_filtered_4FGL_J1349.5-1131_daily_bin1771.fits scfile=/scratch/kocevski/550127/ft2_4FGL_J1349.5-1131_daily_bin1771.fits outfile=/scratch/kocevski/550127/cmap_HighResolution_698371201_698630401_4FGL_J1349.5-1131_daily_bin1771.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=207.387 yref=-11.5188 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.60
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/550127/ft1_filtered_4FGL_J1349.5-1131_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/550127/ft2_4FGL_J1349.5-1131_daily_bin1771.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/550127/Model_4FGL_J1349.5-1131_daily_bin1771.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/550127/ft1_filtered_4FGL_J1349.5-1131_daily_bin1771.fits.....................!
real 55.22
user 53.43
sys 1.46

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/550127/ft1_filtered_4FGL_J1349.5-1131_daily_bin1771.fits', '/scratch/kocevski/550127/ft2_4FGL_J1349.5-1131_daily_bin1771.fits', expMap='/scratch/kocevski/550127/expmap_698371201_698630401_4FGL_J1349.5-1131_daily_bin1771.fits', expCube='/scratch/kocevski/550127/ltcube_698371201_698630401_4FGL_J1349.5-1131_daily_bin1771.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/550127/Model_4FGL_J1349.5-1131_daily_bin1771.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1349.5-1131'

4FGL J1349.5-1131
   Spectrum: PowerLaw
259    Prefactor:  2.801e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
260        Index:  2.494e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
261        Scale:  7.359e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/550127/ft1_filtered_4FGL_J1349.5-1131_daily_bin1771.fits
Spacecraft file(s): /scratch/kocevski/550127/ft2_4FGL_J1349.5-1131_daily_bin1771.fits
Exposure map: /scratch/kocevski/550127/expmap_698371201_698630401_4FGL_J1349.5-1131_daily_bin1771.fits
Exposure cube: /scratch/kocevski/550127/ltcube_698371201_698630401_4FGL_J1349.5-1131_daily_bin1771.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/550127/Model_4FGL_J1349.5-1131_daily_bin1771.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) = 6402.8543469

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    18.592       1.0000          .0000       .10000E+07
     2 'norm      '    13.664       1.0000          .0000       .10000E+07
     3 'Prefactor '    10.307       1.0000          .0000       .10000E+07
     4 'Prefactor '    .92536E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .53091       1.0000          .0000       .10000E+07
     6 'norm      '    1.5174       1.0000          .0000       .10000E+07
     7 'norm      '    9.7180       1.0000          .0000       .10000E+07
     8 'norm      '    9.2122       1.0000          .0000       .10000E+07
     9 'Prefactor '    16.231       1.0000          .0000       .10000E+07
    10 'norm      '    .72880E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .54416E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .79179E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.6429       1.0000          .0000       .10000E+07
    14 'norm      '    .13810E-03   1.0000          .0000       .10000E+07
    15 'norm      '    36.177       1.0000          .0000       .10000E+07
    16 'norm      '    15.979       1.0000          .0000       .10000E+07
    17 'norm      '    .15429E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    14.536       1.0000          .0000       .10000E+07
    19 'Prefactor '    .28265E-03   1.0000          .0000       .10000E+07
    20 'Normalizat'    .95009       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .98795       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6402.810     FROM MIGRAD    STATUS=CONVERGED    135 CALLS     1290 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.869        7.7494        .14988E-05   -.10264    
   2  norm          13.658        4.6161       -.15183E-05   -.31668E-01
   3  Prefactor     10.052        6.2114       -.13723E-05    .16090E-02
   4  Prefactor     .61617E-08    11.601        .13003E-05** at limit **
   5  Prefactor     .11526E-05    109.07        .83133E-05** at limit **
   6  norm          1.5163        1.4026       -.91875E-07    .25981E-02
   7  norm          9.8617        5.8333        .41266E-06   -.22256E-02
   8  norm          9.2123        9.5387        .85557E-07    .66064E-03
   9  Prefactor     16.295        11.758        .35572E-05    .30490E-01
  10  norm          .78271E-08    13.093       -.39797E-06** at limit **
  11  Prefactor      .0000        5.8549       -.72144E-06** at limit **
  12  norm           .0000        1.7940       -.32936E-07** at limit **
  13  Prefactor     1.6372        4.0758        .55827E-06   -.34581E-03
  14  norm           .0000        1.9290       -.38982E-06** at limit **
  15  norm          36.225        5.4801       -.62672E-07    .13010E-02
  16  norm          15.992        1.7839        .45921E-06    .50413E-02
  17  norm           .0000        2.4665        .36780E-06** at limit **
  18  Prefactor     14.552        4.8064        .15314E-05    .20772E-01
  19  Prefactor     .71998E-07    78.382        .78471E-06** at limit **
  20  Normalizat    .95021        .29216       -.11903E-04    .84924E-04
  21  Prefactor     .98786        .14564        .23100E-05    .76427E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 18.8692
  norm       = 13.6578
  Prefactor  = 10.0523
  Prefactor  = 6.16174e-09
  Prefactor  = 1.15258e-06
  norm       = 1.51627
  norm       = 9.86167
  norm       = 9.21235
  Prefactor  = 16.2953
  norm       = 7.82707e-09
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.63718
  norm       = 0
  norm       = 36.2255
  norm       = 15.9917
  norm       = 0
  Prefactor  = 14.5523
  Prefactor  = 7.1998e-08
  Normalizat = 0.950211
  Prefactor  = 0.987861
 **********
 **   18 **HESSE 
 **********

 FCN=   6402.810     FROM HESSE     STATUS=OK           363 CALLS     1653 TOTAL
                     EDM=   .35E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.869        23.629        .23200E-03   -1.5621    
   2  norm          13.658        13.612        .27071E-03   -1.5634    
   3  Prefactor     10.052        16.523        .31185E-03   -1.5645    
   4  Prefactor     .61617E-08    12.162        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .11526E-05    113.86        .75659E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.5163        1.3953        .86732E-03   -1.5683    
   7  norm          9.8617        6.0392        .32121E-03   -1.5645    
   8  norm          9.2123        9.5663        .32996E-03   -1.5647    
   9  Prefactor     16.295        14.698        .24833E-03   -1.5627    
  10  norm          .78271E-08    13.582        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        5.8540        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        1.7923        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.6372        4.1166        .82390E-03   -1.5682    
  14  norm           .0000        1.9294        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          36.225        5.4875        .16628E-03   -1.5588    
  16  norm          15.992        13.714        .25029E-03   -1.5628    
  17  norm           .0000        2.4685        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     14.552        13.892        .26244E-03   -1.5632    
  19  Prefactor     .71998E-07    77.948        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .95021        .25760        .86324E-01   -.94718    
  21  Prefactor     .98786        .12542        .46116E-01   -.93135    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.49761e-07
Minuit parameter uncertainties:
  1  23.6296
  2  13.6123
  3  16.523
  4  0.000548462
  5  0.0229123
  6  1.39527
  7  6.0392
  8  9.56636
  9  14.6983
  10  0.000653193
  11  1.3295e-05
  12  6.03153e-07
  13  4.11659
  14  8.44825e-06
  15  5.48754
  16  13.7141
  17  9.82118e-06
  18  13.892
  19  0.00473865
  20  0.257935
  21  0.125454
Done.

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

Extracting fit parameters...

4FGL J1349.5-1131
   Spectrum: PowerLaw
259    Prefactor:  1.637e+00  4.117e+00  0.000e+00  1.000e+06 ( 1.000e-12)
260        Index:  2.494e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
261        Scale:  7.359e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  9.879e-01  1.255e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  9.502e-01  2.579e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.19
Ra Dec: 207.387 -11.519
Photon Flux Upper Limit: 1.22e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.47e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/550127/likelihoodResults_698371201_698630401_4FGL_J1349.5-1131_daily_bin1771.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) = 6402.77657156
delta logL = 0.0332449389425

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6402.76697326
delta logL = 0.0428432360995

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.2760       1.0000          .0000       .10000E+07
     2 'Index     '    2.1107       1.0000          .0000       10.000    
     3 'Normalizat'    .95549       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98519       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+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=   6402.767     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      264 TOTAL
                     EDM=   .86E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2747        4.8719        .24793E-04    .65113E-04
   2  Index         2.1103        1.1321        .16141E-01   -.32815E-04
   3  Normalizat    .95560        .28141        .38124E-03   -.17922E-04
   4  Prefactor     .98513        .14488        .19214E-03   -.40827E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.27473
  Index      = 2.11028
  Normalizat = 0.955602
  Prefactor  = 0.985131
 **********
 **   18 **HESSE 
 **********

 FCN=   6402.767     FROM HESSE     STATUS=OK            25 CALLS      289 TOTAL
                     EDM=   .25E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2747        4.8335        .99172E-06   -1.5678    
   2  Index         2.1103        1.1241        .32281E-02   -.61621    
   3  Normalizat    .95560        .28160        .15250E-04   -.94533    
   4  Prefactor     .98513        .14497        .76855E-05   -.93227    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.52641e-12
Minuit parameter uncertainties:
  1  4.83355
  2  1.13883
  3  0.282034
  4  0.145025
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/550127': 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) = 6402.76697305
delta logL = 0.0428434490523

Extracting fit parameters...

4FGL J1349.5-1131
   Spectrum: PowerLaw
259    Prefactor:  2.275e+00  4.834e+00  0.000e+00  1.000e+06 ( 1.000e-12)
260        Index:  2.110e+00  1.139e+00  0.000e+00  1.000e+01 (-1.000e+00)
261        Scale:  7.359e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  9.851e-01  1.450e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  9.556e-01  2.820e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.19
Ra Dec: 207.387 -11.519

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/550127/cmap_HighResolution_698371201_698630401_4FGL_J1349.5-1131_daily_bin1771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.47e-03', job_status='DONE', photon_flux_upper_limit='1.22e-07', time_completed='2023-02-21 01:10:11.229182', job_id='550127', GAL2='0.99', fit_tolerance='1e-08', EG2='0.96', EG='0.95', time_epoch_completed='1676970611.23', return_code2='0', ts='0.19', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='4.28e-02', ts2='0.28', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='1771' AND source_name='4FGL J1349.5-1131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb 21 01:10:11 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 550127: <4FGL_J1349.5-1131_daily_bin1771> in cluster <slac> Done

Job <4FGL_J1349.5-1131_daily_bin1771> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Feb 21 01:00:17 2023
Job was executed on host(s) <bullet0037>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 01:00:18 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 01:00:18 2023
Terminated at Tue Feb 21 01:10:11 2023
Results reported at Tue Feb 21 01:10:11 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1349.5-1131_daily_bin1771 207.387 -11.5188 698371201 698630401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1349.5-1131 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   511.37 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             265.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   593 sec.
    Turnaround time :                            594 sec.

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

