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


Performing analysis on: 4FGL_J1349.5-1131_daily_bin1754
RA = 207.387, Dec = -11.5188
tmin = 693964801, tmax = 694224001
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='644892', job_status='RUN', time_executed='2023-01-01 01:16:48.006774', time_epoch_executed='1672564608.01' WHERE source_name='4FGL J1349.5-1131' and cadence='daily' and bin_id='1754'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/644892

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/644892/ft1_4FGL_J1349.5-1131_daily_bin1754.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/644892/ft2_4FGL_J1349.5-1131_daily_bin1754.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/644892/ft1_4FGL_J1349.5-1131_daily_bin1754.fits outfile=/scratch/kocevski/644892/ft1_filteredMKT_4FGL_J1349.5-1131_daily_bin1754.fits ra=207.387 dec=-11.5188 rad=12.0 tmin=693964801.0 tmax=694224001.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.99
user 3.72
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/644892/ft2_4FGL_J1349.5-1131_daily_bin1754.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/644892/ft1_filteredMKT_4FGL_J1349.5-1131_daily_bin1754.fits evtable="EVENTS" outfile="/scratch/kocevski/644892/ft1_filtered_4FGL_J1349.5-1131_daily_bin1754.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.35
sys 0.14

Number of photons that the gtmktime cut: 684

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/644892/ft1_filtered_4FGL_J1349.5-1131_daily_bin1754.fits" evtable="EVENTS" scfile=/scratch/kocevski/644892/ft2_4FGL_J1349.5-1131_daily_bin1754.fits sctable="SC_DATA" outfile=/scratch/kocevski/644892/ltcube_693964801_694224001_4FGL_J1349.5-1131_daily_bin1754.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/644892/ft2_4FGL_J1349.5-1131_daily_bin1754.fits
.....................!
real 14.30
user 13.78
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/644892/ft1_filtered_4FGL_J1349.5-1131_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/644892/ft2_4FGL_J1349.5-1131_daily_bin1754.fits sctable="SC_DATA" expcube=/scratch/kocevski/644892/ltcube_693964801_694224001_4FGL_J1349.5-1131_daily_bin1754.fits outfile=/scratch/kocevski/644892/expmap_693964801_694224001_4FGL_J1349.5-1131_daily_bin1754.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/644892/ltcube_693964801_694224001_4FGL_J1349.5-1131_daily_bin1754.fits
.....................!
real 196.17
user 190.53
sys 4.55

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/644892/ft1_filtered_4FGL_J1349.5-1131_daily_bin1754.fits scfile=/scratch/kocevski/644892/ft2_4FGL_J1349.5-1131_daily_bin1754.fits outfile=/scratch/kocevski/644892/cmap_693964801_694224001_4FGL_J1349.5-1131_daily_bin1754.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/644892/ft1_filtered_4FGL_J1349.5-1131_daily_bin1754.fits scfile=/scratch/kocevski/644892/ft2_4FGL_J1349.5-1131_daily_bin1754.fits outfile=/scratch/kocevski/644892/cmap_HighResolution_693964801_694224001_4FGL_J1349.5-1131_daily_bin1754.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/644892/ft1_filtered_4FGL_J1349.5-1131_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/644892/ft2_4FGL_J1349.5-1131_daily_bin1754.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/644892/Model_4FGL_J1349.5-1131_daily_bin1754.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/644892/ft1_filtered_4FGL_J1349.5-1131_daily_bin1754.fits.....................!
real 61.00
user 59.63
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/644892/ft1_filtered_4FGL_J1349.5-1131_daily_bin1754.fits', '/scratch/kocevski/644892/ft2_4FGL_J1349.5-1131_daily_bin1754.fits', expMap='/scratch/kocevski/644892/expmap_693964801_694224001_4FGL_J1349.5-1131_daily_bin1754.fits', expCube='/scratch/kocevski/644892/ltcube_693964801_694224001_4FGL_J1349.5-1131_daily_bin1754.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/644892/Model_4FGL_J1349.5-1131_daily_bin1754.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/644892/ft1_filtered_4FGL_J1349.5-1131_daily_bin1754.fits
Spacecraft file(s): /scratch/kocevski/644892/ft2_4FGL_J1349.5-1131_daily_bin1754.fits
Exposure map: /scratch/kocevski/644892/expmap_693964801_694224001_4FGL_J1349.5-1131_daily_bin1754.fits
Exposure cube: /scratch/kocevski/644892/ltcube_693964801_694224001_4FGL_J1349.5-1131_daily_bin1754.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/644892/Model_4FGL_J1349.5-1131_daily_bin1754.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) = 7316.39497301

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.7021       1.0000          .0000       .10000E+07
     2 'norm      '    .97012E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    7.0287       1.0000          .0000       .10000E+07
     4 'Prefactor '    .13165E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .77893E-01   1.0000          .0000       .10000E+07
     6 'norm      '    1.0454       1.0000          .0000       .10000E+07
     7 'norm      '    .25348E-03   1.0000          .0000       .10000E+07
     8 'norm      '    8.6598       1.0000          .0000       .10000E+07
     9 'Prefactor '    17.513       1.0000          .0000       .10000E+07
    10 'norm      '    .26228E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.2158       1.0000          .0000       .10000E+07
    12 'norm      '    .16950E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    2.5538       1.0000          .0000       .10000E+07
    14 'norm      '    .44450E-04   1.0000          .0000       .10000E+07
    15 'norm      '    17.704       1.0000          .0000       .10000E+07
    16 'norm      '    5.0666       1.0000          .0000       .10000E+07
    17 'norm      '    .11394E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .12719E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    .62989E-01   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.3042       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .85793       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=   7316.290     FROM MIGRAD    STATUS=CONVERGED    105 CALLS     1562 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.6964        1.0619        .53924E-07    .13362E-02
   2  norm           .0000        2.6330       -.58214E-07** at limit **
   3  Prefactor     7.0189        2.9101        .51291E-06    .79557E-02
   4  Prefactor     .13378E-07    2.5596       -.17413E-06** at limit **
   5  Prefactor     .63949E-07    1.9211       -.54085E-06** at limit **
   6  norm          1.0433        1.2549        .28789E-07   -.21391E-03
   7  norm           .0000        2.0152       -.14665E-06** at limit **
   8  norm          8.7228        5.6187       -.19870E-06   -.69233E-03
   9  Prefactor     16.793        19.538       -.43653E-06   -.79184E-02
  10  norm          .11102E-09    .91740       -.15316E-06** at limit **
  11  Prefactor     1.4099        7.4502       -.11480E-05   -.88053E-02
  12  norm           .0000        1.2328        .38314E-07** at limit **
  13  Prefactor     2.5403        4.0618       -.11483E-06    .46447E-03
  14  norm          .17153E-07    2.5556        .10165E-05** at limit **
  15  norm          17.709        3.8502       -.18980E-07   -.65509E-03
  16  norm          5.0618        1.3385       -.20872E-06   -.65018E-02
  17  norm          .27200E-08    5.6819       -.89946E-06** at limit **
  18  Prefactor     .10547E-08    6.3243        .66820E-06** at limit **
  19  Prefactor     .16709E-07    18.046       -.42073E-05** at limit **
  20  Normalizat    1.3048        .24822       -.12023E-04    .35057E-05
  21  Prefactor     .85823        .12985        .89503E-05    .85303E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 8.69636
  norm       = 0
  Prefactor  = 7.01891
  Prefactor  = 1.33782e-08
  Prefactor  = 6.39488e-08
  norm       = 1.04335
  norm       = 0
  norm       = 8.7228
  Prefactor  = 16.7929
  norm       = 1.11022e-10
  Prefactor  = 1.40986
  norm       = 0
  Prefactor  = 2.54026
  norm       = 1.71529e-08
  norm       = 17.7086
  norm       = 5.06182
  norm       = 2.72005e-09
  Prefactor  = 1.05471e-09
  Prefactor  = 1.67089e-08
  Normalizat = 1.30476
  Prefactor  = 0.858232
 **********
 **   18 **HESSE 
 **********

 FCN=   7316.290     FROM HESSE     STATUS=OK           365 CALLS     1927 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.6964        8.4541        .33956E-03   -1.5649    
   2  norm           .0000        2.6391        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.0189        8.2311        .37816E-03   -1.5655    
   4  Prefactor     .13378E-07    3.8693        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .63949E-07    10.688        .88285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.0433        1.2546        .12171E-03   -1.5688    
   7  norm           .0000        2.0016        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          8.7228        5.7658        .34039E-03   -1.5649    
   9  Prefactor     16.793        20.660        .23905E-03   -1.5626    
  10  norm          .11102E-09    17.133        .16657E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.4099        21.273        .10240E-02   -1.5684    
  12  norm           .0000        1.2332        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.5403        4.0891        .63864E-03   -1.5676    
  14  norm          .17153E-07    4.0168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          17.709        3.8510        .23776E-03   -1.5624    
  16  norm          5.0618        7.3652        .44647E-03   -1.5663    
  17  norm          .27200E-08    5.8619        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10547E-08    6.3998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .16709E-07    38.585        .15056E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.3048        .21560        .69569E-01   -.83424    
  21  Prefactor     .85823        .11158        .44467E-01   -.97616    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.34014e-06
Minuit parameter uncertainties:
  1  8.45413
  2  1.16521e-05
  3  8.23113
  4  0.000454828
  5  0.00165343
  6  1.2546
  7  3.47025e-06
  8  5.76579
  9  20.6602
  10  8.91187e-05
  11  10.953
  12  4.05694e-07
  13  4.08908
  14  0.000525172
  15  3.85097
  16  7.3652
  17  0.00025156
  18  0.000163927
  19  0.00160678
  20  0.215751
  21  0.111606
Done.

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

Extracting fit parameters...

4FGL J1349.5-1131
   Spectrum: PowerLaw
259    Prefactor:  2.540e+00  4.089e+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:  8.582e-01  1.116e-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:  1.305e+00  2.158e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/644892/likelihoodResults_693964801_694224001_4FGL_J1349.5-1131_daily_bin1754.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) = 7316.22781321
delta logL = 0.0623623886813

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7316.221303
delta logL = 0.0688725949458

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9956       1.0000          .0000       .10000E+07
     2 'Index     '    2.0771       1.0000          .0000       10.000    
     3 'Normalizat'    1.3155       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85420       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7316.221     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      254 TOTAL
                     EDM=   .40E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9953        4.4684        .21411E-04    .29734E-04
   2  Index         2.0768        .97655        .15738E-01   -.77927E-05
   3  Normalizat    1.3156        .24050        .30672E-03   -.20349E-04
   4  Prefactor     .85417        .12941        .19932E-03   -.15857E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.99534
  Index      = 2.07682
  Normalizat = 1.31555
  Prefactor  = 0.85417
 **********
 **   18 **HESSE 
 **********

 FCN=   7316.221     FROM HESSE     STATUS=OK            25 CALLS      279 TOTAL
                     EDM=   .10E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9953        4.4849        .85646E-06   -1.5673    
   2  Index         2.0768        .98037        .62954E-03   -.62443    
   3  Normalizat    1.3156        .24065        .12269E-04   -.83103    
   4  Prefactor     .85417        .12949        .79727E-05   -.97761    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03379e-12
Minuit parameter uncertainties:
  1  4.48495
  2  0.990175
  3  0.240852
  4  0.129537
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/644892': 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) = 7316.22130292
delta logL = 0.0688726751787

Extracting fit parameters...

4FGL J1349.5-1131
   Spectrum: PowerLaw
259    Prefactor:  2.995e+00  4.485e+00  0.000e+00  1.000e+06 ( 1.000e-12)
260        Index:  2.077e+00  9.902e-01  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:  8.542e-01  1.295e-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:  1.316e+00  2.409e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/644892/cmap_HighResolution_693964801_694224001_4FGL_J1349.5-1131_daily_bin1754.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.36e-03', job_status='DONE', photon_flux_upper_limit='1.20e-07', time_completed='2023-01-01 01:26:22.169096', job_id='644892', GAL2='0.85', fit_tolerance='1e-08', EG2='1.32', EG='1.30', time_epoch_completed='1672565182.17', return_code2='0', ts='0.50', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='6.89e-02', ts2='0.63', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='1754' AND source_name='4FGL J1349.5-1131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan  1 01:26:22 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 644892: <4FGL_J1349.5-1131_daily_bin1754> in cluster <slac> Done

Job <4FGL_J1349.5-1131_daily_bin1754> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Sun Jan  1 01:15:16 2023
Job was executed on host(s) <bullet0098>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan  1 01:15:51 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan  1 01:15:51 2023
Terminated at Sun Jan  1 01:26:23 2023
Results reported at Sun Jan  1 01:26:23 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1349.5-1131_daily_bin1754 207.387 -11.5188 693964801 694224001 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 :                                   575.54 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             314.17 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   631 sec.
    Turnaround time :                            667 sec.

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

