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 39 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_bin1769
RA = 207.387, Dec = -11.5188
tmin = 697852801, tmax = 698112001
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='435888', job_status='RUN', time_executed='2023-02-15 00:51:32.933334', time_epoch_executed='1676451092.93' WHERE source_name='4FGL J1349.5-1131' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/435888

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/435888/ft1_4FGL_J1349.5-1131_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/435888/ft2_4FGL_J1349.5-1131_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/435888/ft1_4FGL_J1349.5-1131_daily_bin1769.fits outfile=/scratch/kocevski/435888/ft1_filteredMKT_4FGL_J1349.5-1131_daily_bin1769.fits ra=207.387 dec=-11.5188 rad=12.0 tmin=697852801.0 tmax=698112001.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 4.35
user 4.14
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/435888/ft2_4FGL_J1349.5-1131_daily_bin1769.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/435888/ft1_filteredMKT_4FGL_J1349.5-1131_daily_bin1769.fits evtable="EVENTS" outfile="/scratch/kocevski/435888/ft1_filtered_4FGL_J1349.5-1131_daily_bin1769.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.48
user 0.34
sys 0.13

Number of photons that the gtmktime cut: 677

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/435888/ft1_filtered_4FGL_J1349.5-1131_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/435888/ft2_4FGL_J1349.5-1131_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/435888/ltcube_697852801_698112001_4FGL_J1349.5-1131_daily_bin1769.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/435888/ft2_4FGL_J1349.5-1131_daily_bin1769.fits
.....................!
real 11.80
user 11.48
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/435888/ft1_filtered_4FGL_J1349.5-1131_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/435888/ft2_4FGL_J1349.5-1131_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/435888/ltcube_697852801_698112001_4FGL_J1349.5-1131_daily_bin1769.fits outfile=/scratch/kocevski/435888/expmap_697852801_698112001_4FGL_J1349.5-1131_daily_bin1769.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/435888/ltcube_697852801_698112001_4FGL_J1349.5-1131_daily_bin1769.fits
.....................!
real 189.59
user 185.29
sys 3.99

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/435888/ft1_filtered_4FGL_J1349.5-1131_daily_bin1769.fits scfile=/scratch/kocevski/435888/ft2_4FGL_J1349.5-1131_daily_bin1769.fits outfile=/scratch/kocevski/435888/cmap_697852801_698112001_4FGL_J1349.5-1131_daily_bin1769.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.53
user 0.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/435888/ft1_filtered_4FGL_J1349.5-1131_daily_bin1769.fits scfile=/scratch/kocevski/435888/ft2_4FGL_J1349.5-1131_daily_bin1769.fits outfile=/scratch/kocevski/435888/cmap_HighResolution_697852801_698112001_4FGL_J1349.5-1131_daily_bin1769.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.54
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/435888/ft1_filtered_4FGL_J1349.5-1131_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/435888/ft2_4FGL_J1349.5-1131_daily_bin1769.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/435888/Model_4FGL_J1349.5-1131_daily_bin1769.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/435888/ft1_filtered_4FGL_J1349.5-1131_daily_bin1769.fits.....................!
real 59.68
user 58.44
sys 1.10

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6670       1.0000          .0000       .10000E+07
     2 'norm      '    .15340E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    3.3428       1.0000          .0000       .10000E+07
     4 'Prefactor '    .57500E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .13722E-02   1.0000          .0000       .10000E+07
     6 'norm      '    3.0921       1.0000          .0000       .10000E+07
     7 'norm      '    10.431       1.0000          .0000       .10000E+07
     8 'norm      '    .78875E-05   1.0000          .0000       .10000E+07
     9 'Prefactor '    34.083       1.0000          .0000       .10000E+07
    10 'norm      '    .88035E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .16504       1.0000          .0000       .10000E+07
    12 'norm      '    .70416E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .19365E-05   1.0000          .0000       .10000E+07
    14 'norm      '    .11312E-02   1.0000          .0000       .10000E+07
    15 'norm      '    26.633       1.0000          .0000       .10000E+07
    16 'norm      '    17.180       1.0000          .0000       .10000E+07
    17 'norm      '    .30842E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .10043E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .87240E-03   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.4821       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .86300       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=   7333.127     FROM MIGRAD    STATUS=CONVERGED    163 CALLS     1305 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.6737        7.2790       -.28610E-07   -.20683E-03
   2  norm           .0000        10.351       -.13407E-06** at limit **
   3  Prefactor     3.3492        5.0748        .19356E-07    .67705E-04
   4  Prefactor      .0000        2.8681        .86202E-07** at limit **
   5  Prefactor     .43854E-08    23.352        .32422E-07** at limit **
   6  norm          3.0892        1.6479       -.10756E-07   -.71821E-03
   7  norm          10.422        4.4926       -.39662E-08   -.81435E-03
   8  norm          .30309E-07    104.55        .16512E-05** at limit **
   9  Prefactor     33.764        2.2965        .22847E-07   -.75914E-01
  10  norm          .55511E-10    7.6113        .92164E-07** at limit **
  11  Prefactor     .73830E-07    3.3984        .24222E-08** at limit **
  12  norm           .0000        2.0824       -.17803E-07** at limit **
  13  Prefactor      .0000        3.4128        .79946E-07** at limit **
  14  norm           .0000        3.8111       -.36772E-08** at limit **
  15  norm          26.593        4.9143       -.71246E-08   -.17601E-02
  16  norm          17.182        1.3860       -.31791E-09    .69065E-01
  17  norm           .0000        6.3076       -.48125E-07** at limit **
  18  Prefactor     .64948E-08    35.831       -.20170E-07** at limit **
  19  Prefactor     .55511E-09    11.186        .22017E-06** at limit **
  20  Normalizat    1.4832        .27304       -.47952E-06   -.28324E-04
  21  Prefactor     .86321        .13829        .25535E-06   -.31772E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.67366
  norm       = 0
  Prefactor  = 3.34921
  Prefactor  = 0
  Prefactor  = 4.38538e-09
  norm       = 3.08923
  norm       = 10.4221
  norm       = 3.03091e-08
  Prefactor  = 33.7643
  norm       = 5.55112e-11
  Prefactor  = 7.38298e-08
  norm       = 0
  Prefactor  = 0
  norm       = 0
  norm       = 26.5927
  norm       = 17.1817
  norm       = 0
  Prefactor  = 6.4948e-09
  Prefactor  = 5.55112e-10
  Normalizat = 1.48319
  Prefactor  = 0.863207
 **********
 **   18 **HESSE 
 **********

 FCN=   7333.127     FROM HESSE     STATUS=OK           365 CALLS     1670 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.6737        7.3000        .52723E-03   -1.5670    
   2  norm           .0000        10.376        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.3492        5.0825        .55332E-03   -1.5671    
   4  Prefactor      .0000        2.8781        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .43854E-08    23.744        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.0892        1.6482        .57648E-03   -1.5673    
   7  norm          10.422        4.9362        .30999E-03   -1.5643    
   8  norm          .30309E-07    7.5287        .60820E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     33.764        22.675        .17131E-03   -1.5592    
  10  norm          .55511E-10    7.6206        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .73830E-07    9.4074        .12434E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        2.0813        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        3.4116        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        3.8184        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          26.593        4.9070        .19381E-03   -1.5605    
  16  norm          17.182        11.612        .24137E-03   -1.5625    
  17  norm           .0000        6.3041        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .64948E-08    35.825        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .55511E-09    11.252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.4832        .23669        .73943E-01   -.78252    
  21  Prefactor     .86321        .11995        .44532E-01   -.97439    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50349e-07
Minuit parameter uncertainties:
  1  7.29998
  2  2.55149e-05
  3  5.0825
  4  1.08726e-05
  5  0.000643506
  6  1.64817
  7  4.93621
  8  0.000955464
  9  22.6753
  10  3.75645e-05
  11  0.00166652
  12  7.53343e-07
  13  1.12294e-05
  14  6.37215e-06
  15  4.907
  16  11.612
  17  1.7073e-05
  18  0.000966527
  19  0.000160357
  20  0.236867
  21  0.119987
Done.

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

Extracting fit parameters...

4FGL J1349.5-1131
   Spectrum: PowerLaw
259    Prefactor:  0.000e+00  1.123e-05  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.632e-01  1.200e-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.483e+00  2.369e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 207.387 -11.519
Photon Flux Upper Limit: 9.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.51e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/435888/likelihoodResults_697852801_698112001_4FGL_J1349.5-1131_daily_bin1769.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7333.12932286
delta logL = -0.00193096342718

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7333.12740346
delta logL = -1.15625589387e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .93773E-05   1.0000          .0000       .10000E+07
     2 'Index     '    1.4674       1.0000          .0000       10.000    
     3 'Normalizat'    1.4822       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86383       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.

 FCN=   7333.127     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      260 TOTAL
                     EDM=   .40E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-09    .50056E-01    .42118E-03** at limit **
   2  Index         2.6493        8.0673        .50000        .29559E-09
   3  Normalizat    1.4832        .81267E-03    .73943E-01   -.37521E-03
   4  Prefactor     .86321        .42674E-03    .44542E-01   -.55365E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-10
  Index      = 2.64929
  Normalizat = 1.48319
  Prefactor  = 0.863207
 **********
 **   18 **HESSE 
 **********

 FCN=   7333.127     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      289 TOTAL
                     EDM=   .71E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-09    .87585        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6493        6.2904        .50000       -.48945    
   3  Normalizat    1.4832        .33872E-02    .32719E-03   -.78252    
   4  Prefactor     .86321        .17801E-02    .21670E-03   -.97439    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.09734e-12
Minuit parameter uncertainties:
  1  3.56403e-05
  2  52159.3
  3  0.00338721
  4  0.00178007
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/435888': 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): 102
logL (Free Index) = 7333.1273919
delta logL = -1.8462742446e-10

Extracting fit parameters...

4FGL J1349.5-1131
   Spectrum: PowerLaw
259    Prefactor:  3.886e-10  3.564e-05  0.000e+00  1.000e+06 ( 1.000e-12)
260        Index:  2.649e+00  5.216e+04  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.632e-01  1.780e-03  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.483e+00  3.387e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
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/435888/cmap_HighResolution_697852801_698112001_4FGL_J1349.5-1131_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.51e-03', job_status='DONE', photon_flux_upper_limit='9.66e-08', time_completed='2023-02-15 01:00:30.446273', job_id='435888', GAL2='0.86', fit_tolerance='1e-08', EG2='1.48', EG='1.48', time_epoch_completed='1676451630.45', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='-1.85e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.49' WHERE bin_id='1769' AND source_name='4FGL J1349.5-1131' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 01:00:30 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 435888: <4FGL_J1349.5-1131_daily_bin1769> in cluster <slac> Done

Job <4FGL_J1349.5-1131_daily_bin1769> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Feb 15 00:50:24 2023
Job was executed on host(s) <bullet0232>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 00:50:25 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 00:50:25 2023
Terminated at Wed Feb 15 01:00:31 2023
Results reported at Wed Feb 15 01:00:31 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1349.5-1131_daily_bin1769 207.387 -11.5188 697852801 698112001 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 :                                   540.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             281.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   605 sec.
    Turnaround time :                            607 sec.

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

