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 220 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1753.6-5014_daily_bin1707
RA = 268.408, Dec = -50.2408
tmin = 681782401, tmax = 682041601
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='549953', job_status='RUN', time_executed='2022-08-13 00:34:05.341224', time_epoch_executed='1660376045.34' WHERE source_name='4FGL J1753.6-5014' and cadence='daily' and bin_id='1707'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/549953

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/549953/ft1_4FGL_J1753.6-5014_daily_bin1707.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/549953/ft2_4FGL_J1753.6-5014_daily_bin1707.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/549953/ft1_4FGL_J1753.6-5014_daily_bin1707.fits outfile=/scratch/kocevski/549953/ft1_filteredMKT_4FGL_J1753.6-5014_daily_bin1707.fits ra=268.408 dec=-50.2408 rad=12.0 tmin=681782401.0 tmax=682041601.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 5.51
user 5.21
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/549953/ft2_4FGL_J1753.6-5014_daily_bin1707.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/549953/ft2_4FGL_J1753.6-5014_daily_bin1707.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/549953/ft1_filteredMKT_4FGL_J1753.6-5014_daily_bin1707.fits evtable="EVENTS" outfile="/scratch/kocevski/549953/ft1_filtered_4FGL_J1753.6-5014_daily_bin1707.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.33
sys 0.16

Number of photons that the gtmktime cut: 4520

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/549953/ft1_filtered_4FGL_J1753.6-5014_daily_bin1707.fits" evtable="EVENTS" scfile=/scratch/kocevski/549953/ft2_4FGL_J1753.6-5014_daily_bin1707.fits sctable="SC_DATA" outfile=/scratch/kocevski/549953/ltcube_681782401_682041601_4FGL_J1753.6-5014_daily_bin1707.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/549953/ft2_4FGL_J1753.6-5014_daily_bin1707.fits
.....................!
real 11.72
user 11.36
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/549953/ft1_filtered_4FGL_J1753.6-5014_daily_bin1707.fits evtable="EVENTS" scfile=/scratch/kocevski/549953/ft2_4FGL_J1753.6-5014_daily_bin1707.fits sctable="SC_DATA" expcube=/scratch/kocevski/549953/ltcube_681782401_682041601_4FGL_J1753.6-5014_daily_bin1707.fits outfile=/scratch/kocevski/549953/expmap_681782401_682041601_4FGL_J1753.6-5014_daily_bin1707.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/549953/ltcube_681782401_682041601_4FGL_J1753.6-5014_daily_bin1707.fits
.....................!
real 190.27
user 185.21
sys 4.74

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source G337.0-0.1 in ROI with RadialDisk spatial model.
Extended source FHES J1642.1-5428 in ROI with RadialDisk spatial model.
Extended source FGES J1652.2-4633 in ROI with RadialDisk spatial model.
Extended source FGES J1655.5-4737 in ROI with RadialDisk spatial model.
Extended source RX J1713.7-3946 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/RXJ1713_2016_250GeV.fits is the correct path to the extended template.
Extended source FHES J1741.6-3917 in ROI with RadialDisk spatial model.
Extended source HESS J1614-518 in ROI with RadialDisk spatial model.
Extended source HESS J1616-508 in ROI with RadialDisk spatial model.
Extended source FGES J1631.6-4756 in ROI with RadialDisk spatial model.
Extended source FGES J1633.0-4746 in ROI with RadialDisk spatial model.
Extended source HESS J1534-571 in ROI with RadialDisk spatial model.
Extended source MSH 15-56 PWN in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/MSH15-56_PWN.fits is the correct path to the extended template.
Extended source MSH 15-56 SNR in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/MSH15-56_SNRmask.fits is the correct path to the extended template.
Extended source FGES J1553.8-5325 in ROI with RadialDisk spatial model.
Extended source FGES J1745.8-3028 in ROI with RadialDisk spatial model.
Added 489 point sources and 15 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1753.6-5014 @ 268.408 -50.2408

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/549953/ft1_filtered_4FGL_J1753.6-5014_daily_bin1707.fits scfile=/scratch/kocevski/549953/ft2_4FGL_J1753.6-5014_daily_bin1707.fits outfile=/scratch/kocevski/549953/cmap_681782401_682041601_4FGL_J1753.6-5014_daily_bin1707.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=268.408 yref=-50.2408 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.56
user 0.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/549953/ft1_filtered_4FGL_J1753.6-5014_daily_bin1707.fits scfile=/scratch/kocevski/549953/ft2_4FGL_J1753.6-5014_daily_bin1707.fits outfile=/scratch/kocevski/549953/cmap_HighResolution_681782401_682041601_4FGL_J1753.6-5014_daily_bin1707.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=268.408 yref=-50.2408 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.65
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/549953/ft1_filtered_4FGL_J1753.6-5014_daily_bin1707.fits evtable="EVENTS" scfile=/scratch/kocevski/549953/ft2_4FGL_J1753.6-5014_daily_bin1707.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/549953/Model_4FGL_J1753.6-5014_daily_bin1707.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source FGES J1553.8-5325
adding source FGES J1631.6-4756
adding source FGES J1633.0-4746
adding source FGES J1652.2-4633
adding source FGES J1655.5-4737
adding source FGES J1745.8-3028
adding source FHES J1642.1-5428
adding source FHES J1741.6-3917
adding source G337.0-0.1
adding source GAL_V02
adding source HESS J1534-571
adding source HESS J1614-518
adding source HESS J1616-508
adding source MSH 15-56 PWN
adding source MSH 15-56 SNR
adding source RX J1713.7-3946
Working on...
/scratch/kocevski/549953/ft1_filtered_4FGL_J1753.6-5014_daily_bin1707.fits....................!
real 2477.53
user 2471.93
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/549953/ft1_filtered_4FGL_J1753.6-5014_daily_bin1707.fits', '/scratch/kocevski/549953/ft2_4FGL_J1753.6-5014_daily_bin1707.fits', expMap='/scratch/kocevski/549953/expmap_681782401_682041601_4FGL_J1753.6-5014_daily_bin1707.fits', expCube='/scratch/kocevski/549953/ltcube_681782401_682041601_4FGL_J1753.6-5014_daily_bin1707.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/549953/Model_4FGL_J1753.6-5014_daily_bin1707.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1753.6-5014'

4FGL J1753.6-5014
   Spectrum: LogParabola
1232         norm:  3.914e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
1233        alpha:  2.403e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
1234         beta:  2.614e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
1235           Eb:  6.655e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/549953/ft1_filtered_4FGL_J1753.6-5014_daily_bin1707.fits
Spacecraft file(s): /scratch/kocevski/549953/ft2_4FGL_J1753.6-5014_daily_bin1707.fits
Exposure map: /scratch/kocevski/549953/expmap_681782401_682041601_4FGL_J1753.6-5014_daily_bin1707.fits
Exposure cube: /scratch/kocevski/549953/ltcube_681782401_682041601_4FGL_J1753.6-5014_daily_bin1707.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/549953/Model_4FGL_J1753.6-5014_daily_bin1707.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) = 38826.2941828

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3331       1.0000         .10000E-03   10000.    
     2 'Prefactor '    16.018       1.0000         .10000E-03   10000.    
     3 'norm      '    10.898       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.1281       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12261E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.6204       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.0173       1.0000         .10000E-03   10000.    
     9 'Prefactor '    22.966       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .40304       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .84835       1.0000         .10000E-03   10000.    
    17 'norm      '    .10767E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10060E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    138.92       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10379E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .15457E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    11.020       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .62693       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .95601       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1815E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   38826.28     FROM MIGRAD    STATUS=CONVERGED    607 CALLS     2941 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3331        1.3456       -.49609E-07    .50868E-03
   2  Prefactor     16.025        19.874        .72017E-06   -.11745E-04
   3  norm          10.899        4.6189       -.14946E-06    .13438E-03
   4  Prefactor     5.1263        5.9717       -.75920E-07    .14912E-04
   5  Prefactor     .10000E-03    5.1798       -.51763E-06** at limit **
   6  Prefactor     .10000E-03    27.360       -.14856E-06** at limit **
   7  norm          5.6213        10.856        .11876E-08   -.27644E-04
   8  Prefactor     1.0128        4.1559       -.10089E-05   -.40858E-03
   9  Prefactor     22.984        31.139       -.44045E-06   -.83509E-04
  10  norm          .10000E-03    3.1997       -.36144E-06** at limit **
  11  norm          .10000E-03    9.7419        .62490E-07** at limit **
  12  Prefactor     .10000E-03    7.0722       -.62887E-06** at limit **
  13  norm          .40293        .37791       -.37361E-06   -.42713E-02
  14  Prefactor     .10000E-03    4.9503       -.32755E-06** at limit **
  15  norm          .10000E-03    .80876       -.18858E-06** at limit **
  16  norm          .84763        2.0779        .18857E-05   -.12450E-02
  17  norm          .10000E-03    .92562       -.14204E-05** at limit **
  18  norm          .10000E-03    5.1703       -.50415E-06** at limit **
  19  Prefactor     138.82        77.417       -.50114E-06   -.59682E-04
  20  Prefactor     .10000E-03    151.62        .20204E-05** at limit **
  21  Prefactor     .10000E-03    16.589       -.29252E-06** at limit **
  22  Prefactor     .10000E-03    27.889        .18702E-06** at limit **
  23  norm          11.035        14.044        .10216E-05   -.48760E-04
  24  Normalizat    .62668        .20420        .19062E-05   -.48171E-04
  25  Prefactor     .95600        .26573E-01   -.49341E-06    .12622E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33313
  Prefactor  = 16.0248
  norm       = 10.8991
  Prefactor  = 5.12633
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.62126
  Prefactor  = 1.01284
  Prefactor  = 22.984
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.40293
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.847627
  norm       = 0.000100002
  norm       = 0.0001
  Prefactor  = 138.821
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 11.0351
  Normalizat = 0.626684
  Prefactor  = 0.956003
 **********
 **   18 **HESSE 
 **********

 FCN=   38826.28     FROM HESSE     STATUS=OK           429 CALLS     3370 TOTAL
                     EDM=   .29E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3331        1.3455        .13912E-03   -1.5343    
   2  Prefactor     16.025        19.857        .10007E-03   -1.4907    
   3  norm          10.899        4.6171        .12136E-03   -1.5048    
   4  Prefactor     5.1263        5.9701        .88769E-03   -1.5255    
   5  Prefactor     .10000E-03    5.2168        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    27.670        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.6213        10.829        .16945E-03   -1.5234    
   8  Prefactor     1.0128        17.858        .70257E-02   -1.5507    
   9  Prefactor     22.984        31.062        .83584E-04   -1.4749    
  10  norm          .10000E-03    3.2151        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    9.7672        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    7.1542        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .40293        .34313        .12739E-02   -1.5581    
  14  Prefactor     .10000E-03    4.9491        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    .81135        .17283E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .84763        2.5082        .25238E-02   -1.5524    
  17  norm          .10000E-03    2.4844        .17654E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    5.1926        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     138.82        78.014        .17088E-03   -1.3346    
  20  Prefactor     .10000E-03    151.77        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    16.619        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    27.895        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          11.035        14.011        .12069E-03   -1.5043    
  24  Normalizat    .62668        .20409        .11728E-02   -1.0686    
  25  Prefactor     .95600        .25477E-01    .12168E-03   -.94211    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.87586e-07
Minuit parameter uncertainties:
  1  1.34556
  2  19.8653
  3  4.61727
  4  5.97084
  5  4.0659e-05
  6  9.89339e-05
  7  10.8326
  8  8.50835
  9  31.0835
  10  2.6417e-05
  11  2.27036e-05
  12  7.06271e-05
  13  0.343127
  14  2.34992e-05
  15  6.07993e-06
  16  2.50853
  17  0.000152254
  18  4.01967e-05
  19  78.0721
  20  0.000460099
  21  4.30281e-05
  22  2.20745e-05
  23  14.0155
  24  0.204337
  25  0.0254778
Done.

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

Extracting fit parameters...

4FGL J1753.6-5014
   Spectrum: LogParabola
1232         norm:  1.000e-04  2.642e-05  1.000e-04  1.000e+04 ( 1.000e-12)
1233        alpha:  2.403e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
1234         beta:  2.614e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
1235           Eb:  6.655e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1790    Prefactor:  9.560e-01  2.548e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1791        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1792        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1759   Normalization:  6.267e-01  2.043e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 268.408 -50.241
Photon Flux Upper Limit: 5.33e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.76e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/549953/likelihoodResults_681782401_682041601_4FGL_J1753.6-5014_daily_bin1707.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) = 38826.2808279
delta logL = -0.00148299668945

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 38826.2793452
delta logL = -2.14902684093e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10089E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4062       1.0000          .0000       5.0000    
     3 'Normalizat'    .62661       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95601       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1815E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   38826.28     FROM MIGRAD    STATUS=FAILED        87 CALLS      242 TOTAL
                     EDM=   .61E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10016E-03    128.74        .18142E-02** at limit **
   2  alpha         2.4622        3.7107        .16475       -.22782E-05
   3  Normalizat    .62669        .19339        .11728E-02    .65142E-05
   4  Prefactor     .95600        .24800E-01    .12168E-03    .24665E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   38826.28     FROM SIMPLEX   STATUS=UNCHANGED    138 CALLS      380 TOTAL
                     EDM=   .87E-05    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10016E-03    128.74        .25891E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.4622        3.7107        .47331E-04   -.15112E-01
   3  Normalizat    .62669        .19339        .76868E-05   -1.0686    
   4  Prefactor     .95600        .24800E-01    .69504E-06   -.94211    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   38826.28     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      410 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.2387        .36285E-03** at limit **
   2  alpha         2.5246        3.0378        .65901E-02    .30362E-07
   3  Normalizat    .62669        .19331        .46912E-04   -.19775E-04
   4  Prefactor     .95600        .24792E-01    .48673E-05   -.33635E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.52463
  Normalizat = 0.626686
  Prefactor  = 0.956003
 **********
 **   18 **HESSE 
 **********

 FCN=   38826.28     FROM HESSE     STATUS=OK            29 CALLS      439 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.2448        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.5246        3.7218        .13180        .98529E-02
   3  Normalizat    .62669        .19328        .93823E-05   -1.0686    
   4  Prefactor     .95600        .24785E-01    .97345E-06   -.94211    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.78245e-11
Minuit parameter uncertainties:
  1  1.18376e-05
  2  255.904
  3  0.193488
  4  0.0247848
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/549953': 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) = 38826.2793448
delta logL = 1.06912921183e-07

Extracting fit parameters...

4FGL J1753.6-5014
   Spectrum: LogParabola
1232         norm:  1.000e-04  1.184e-05  1.000e-04  1.000e+04 ( 1.000e-12)
1233        alpha:  2.525e+00  2.559e+02  0.000e+00  5.000e+00 ( 1.000e+00)
1234         beta:  2.614e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
1235           Eb:  6.655e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1790    Prefactor:  9.560e-01  2.478e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1791        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1792        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1759   Normalization:  6.267e-01  1.935e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 268.408 -50.241

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/549953/cmap_HighResolution_681782401_682041601_4FGL_J1753.6-5014_daily_bin1707.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.76e-05', job_status='DONE', photon_flux_upper_limit='5.33e-08', time_completed='2022-08-13 03:43:37.239463', job_id='549953', GAL2='0.96', fit_tolerance='1e-08', EG2='0.63', EG='0.63', time_epoch_completed='1660387417.24', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='1.07e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1707' AND source_name='4FGL J1753.6-5014' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 13 03:43:37 PDT 2022

UCCESS', return_code='0', GAL='0.96', dlogl='1.07e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1707' AND source_name='4FGL J1753.6-5014' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 13 03:19:15 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0182>
Subject: Job 544716: <4FGL_J1753.6-5014_daily_bin1707> in cluster <slac> Done

Job <4FGL_J1753.6-5014_daily_bin1707> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 13 00:07:06 2022
Job was executed on host(s) <bullet0182>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 13 00:07:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 13 00:07:17 2022
Terminated at Sat Aug 13 03:19:16 2022
Results reported at Sat Aug 13 03:19:16 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1753.6-5014_daily_bin1707 268.408 -50.2408 681782401 682041601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1753.6-5014 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   11425.00 sec.
    Max Memory :                                 1274 MB
    Average Memory :                             539.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   11519 sec.
    Turnaround time :                            11530 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 549953: <4FGL_J1753.6-5014_daily_bin1707> in cluster <slac> Done

Job <4FGL_J1753.6-5014_daily_bin1707> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 13 00:30:14 2022
Job was executed on host(s) <bullet0036>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 13 00:30:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 13 00:30:15 2022
Terminated at Sat Aug 13 03:43:38 2022
Results reported at Sat Aug 13 03:43:38 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1753.6-5014_daily_bin1707 268.408 -50.2408 681782401 682041601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1753.6-5014 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   11363.00 sec.
    Max Memory :                                 640 MB
    Average Memory :                             532.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   11603 sec.
    Turnaround time :                            11604 sec.

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

