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


Performing analysis on: 4FGL_J1753.9+2443_daily_bin1713
RA = 268.496, Dec = 24.7297
tmin = 683337601, tmax = 683596801
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='186145', job_status='RUN', time_executed='2022-09-16 20:34:08.630753', time_epoch_executed='1663385648.63' WHERE source_name='4FGL J1753.9+2443' and cadence='daily' and bin_id='1713'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/186145

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/186145/ft1_4FGL_J1753.9+2443_daily_bin1713.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/186145/ft2_4FGL_J1753.9+2443_daily_bin1713.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/186145/ft1_4FGL_J1753.9+2443_daily_bin1713.fits outfile=/scratch/kocevski/186145/ft1_filteredMKT_4FGL_J1753.9+2443_daily_bin1713.fits ra=268.496 dec=24.7297 rad=12.0 tmin=683337601.0 tmax=683596801.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.52
user 3.29
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/186145/ft2_4FGL_J1753.9+2443_daily_bin1713.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/186145/ft2_4FGL_J1753.9+2443_daily_bin1713.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/186145/ft1_filteredMKT_4FGL_J1753.9+2443_daily_bin1713.fits evtable="EVENTS" outfile="/scratch/kocevski/186145/ft1_filtered_4FGL_J1753.9+2443_daily_bin1713.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: 1029

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/186145/ft1_filtered_4FGL_J1753.9+2443_daily_bin1713.fits" evtable="EVENTS" scfile=/scratch/kocevski/186145/ft2_4FGL_J1753.9+2443_daily_bin1713.fits sctable="SC_DATA" outfile=/scratch/kocevski/186145/ltcube_683337601_683596801_4FGL_J1753.9+2443_daily_bin1713.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/186145/ft2_4FGL_J1753.9+2443_daily_bin1713.fits
.....................!
real 13.65
user 13.12
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/186145/ft1_filtered_4FGL_J1753.9+2443_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/186145/ft2_4FGL_J1753.9+2443_daily_bin1713.fits sctable="SC_DATA" expcube=/scratch/kocevski/186145/ltcube_683337601_683596801_4FGL_J1753.9+2443_daily_bin1713.fits outfile=/scratch/kocevski/186145/expmap_683337601_683596801_4FGL_J1753.9+2443_daily_bin1713.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/186145/ltcube_683337601_683596801_4FGL_J1753.9+2443_daily_bin1713.fits
.....................!
real 195.14
user 188.47
sys 4.46

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

Setting source of interest to:
4FGL J1753.9+2443 @ 268.496 24.7297

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/186145/ft1_filtered_4FGL_J1753.9+2443_daily_bin1713.fits scfile=/scratch/kocevski/186145/ft2_4FGL_J1753.9+2443_daily_bin1713.fits outfile=/scratch/kocevski/186145/cmap_683337601_683596801_4FGL_J1753.9+2443_daily_bin1713.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.496 yref=24.7297 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.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/186145/ft1_filtered_4FGL_J1753.9+2443_daily_bin1713.fits scfile=/scratch/kocevski/186145/ft2_4FGL_J1753.9+2443_daily_bin1713.fits outfile=/scratch/kocevski/186145/cmap_HighResolution_683337601_683596801_4FGL_J1753.9+2443_daily_bin1713.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.496 yref=24.7297 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.58
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/186145/ft1_filtered_4FGL_J1753.9+2443_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/186145/ft2_4FGL_J1753.9+2443_daily_bin1713.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/186145/Model_4FGL_J1753.9+2443_daily_bin1713.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/186145/ft1_filtered_4FGL_J1753.9+2443_daily_bin1713.fits.....................!
real 89.82
user 87.38
sys 1.35

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/186145/ft1_filtered_4FGL_J1753.9+2443_daily_bin1713.fits', '/scratch/kocevski/186145/ft2_4FGL_J1753.9+2443_daily_bin1713.fits', expMap='/scratch/kocevski/186145/expmap_683337601_683596801_4FGL_J1753.9+2443_daily_bin1713.fits', expCube='/scratch/kocevski/186145/ltcube_683337601_683596801_4FGL_J1753.9+2443_daily_bin1713.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/186145/Model_4FGL_J1753.9+2443_daily_bin1713.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1753.9+2443'

4FGL J1753.9+2443
   Spectrum: PowerLaw
321    Prefactor:  1.323e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  2.200e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
323        Scale:  1.730e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/186145/ft1_filtered_4FGL_J1753.9+2443_daily_bin1713.fits
Spacecraft file(s): /scratch/kocevski/186145/ft2_4FGL_J1753.9+2443_daily_bin1713.fits
Exposure map: /scratch/kocevski/186145/expmap_683337601_683596801_4FGL_J1753.9+2443_daily_bin1713.fits
Exposure cube: /scratch/kocevski/186145/ltcube_683337601_683596801_4FGL_J1753.9+2443_daily_bin1713.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/186145/Model_4FGL_J1753.9+2443_daily_bin1713.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) = 10503.1006154

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .33802E-01   1.0000          .0000       .10000E+07
     2 'norm      '    .78487E-06   1.0000          .0000       .10000E+07
     3 'norm      '    .46378E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .10432       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.6818       1.0000          .0000       .10000E+07
     6 'Prefactor '    .87111E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    43.334       1.0000          .0000       .10000E+07
     8 'Prefactor '    2.3575       1.0000          .0000       .10000E+07
     9 'norm      '    1.3290       1.0000          .0000       .10000E+07
    10 'norm      '    .19131E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .29476E-06   1.0000          .0000       .10000E+07
    12 'norm      '    .87624E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .37344E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    2.5450       1.0000          .0000       .10000E+07
    15 'Prefactor '    23.022       1.0000          .0000       .10000E+07
    16 'Prefactor '    19.842       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0757       1.0000         .10000E-01   10.000    
    18 'Prefactor '    1.0307       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10503.09     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     1297 TOTAL
                     EDM=   .44E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        16.949        .35337E-06** at limit **
   2  norm           .0000        .86088        .22334E-06** at limit **
   3  norm          .55511E-10    36.319       -.88499E-06** at limit **
   4  Prefactor      .0000        44.949       -.28443E-06** at limit **
   5  Prefactor     2.6758        5.5284       -.30103E-06    .19849E-03
   6  Prefactor      .0000        46.008        .14689E-05** at limit **
   7  Prefactor     45.243        60.773       -.31567E-06    .33870E-04
   8  Prefactor     2.3500        6.7084        .14303E-05   -.34743E-03
   9  norm          1.3279        1.1684       -.10867E-07    .41522E-03
  10  norm           .0000        26.778       -.10399E-05** at limit **
  11  Prefactor      .0000        1.6846       -.26839E-07** at limit **
  12  norm           .0000        2.1246        .37089E-06** at limit **
  13  Prefactor      .0000        6.5418       -.20587E-06** at limit **
  14  Prefactor     2.5928        5.1029        .88923E-07   -.46019E-04
  15  Prefactor     22.915        19.956        .25393E-06   -.61113E-04
  16  Prefactor     19.807        10.412       -.25422E-06    .17069E-03
  17  Normalizat    1.0744        .24616       -.12713E-05    .10226E-04
  18  Prefactor     1.0308        .88551E-01    .94693E-06    .17312E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 0
  norm       = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 2.6758
  Prefactor  = 0
  Prefactor  = 45.2428
  Prefactor  = 2.35
  norm       = 1.32791
  norm       = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 0
  Prefactor  = 2.59285
  Prefactor  = 22.9148
  Prefactor  = 19.8066
  Normalizat = 1.07444
  Prefactor  = 1.03081
 **********
 **   18 **HESSE 
 **********

 FCN=   10503.09     FROM HESSE     STATUS=OK           278 CALLS     1575 TOTAL
                     EDM=   .73E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        16.938        .16256E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .85952        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-10    36.257        .15688E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        44.748        .13815E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.6758        5.5506        .62196E-03   -1.5675    
   6  Prefactor      .0000        45.701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     45.243        60.484        .15192E-03   -1.5573    
   8  Prefactor     2.3500        6.7244        .66722E-03   -1.5677    
   9  norm          1.3279        1.1642        .95250E-03   -1.5685    
  10  norm           .0000        26.778        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        1.6840        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        2.1238        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        6.5494        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.5928        5.1661        .63983E-03   -1.5676    
  15  Prefactor     22.915        20.114        .20847E-03   -1.5612    
  16  Prefactor     19.807        10.415        .22457E-03   -1.5619    
  17  Normalizat    1.0744        .21549        .92782E-01   -.90577    
  18  Prefactor     1.0308        .77076E-01    .41207E-01   -.91709    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.33987e-07
Minuit parameter uncertainties:
  1  1.60864e-05
  2  1.85896e-06
  3  6.51406e-05
  4  2.38693e-05
  5  5.55057
  6  3.88245e-05
  7  60.4851
  8  6.72446
  9  1.16417
  10  3.60847e-05
  11  6.779e-08
  12  5.30175e-06
  13  4.22977e-06
  14  5.1661
  15  20.1138
  16  10.4148
  17  0.215665
  18  0.0770844
Done.

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

Extracting fit parameters...

4FGL J1753.9+2443
   Spectrum: PowerLaw
321    Prefactor:  2.350e+00  6.724e+00  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  2.200e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
323        Scale:  1.730e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
692    Prefactor:  1.031e+00  7.708e-02  0.000e+00  1.000e+01 ( 1.000e+00)
693        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
694        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
691   Normalization:  1.074e+00  2.157e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.15
Ra Dec: 268.496 24.730
Photon Flux Upper Limit: 8.78e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.69e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/186145/likelihoodResults_683337601_683596801_4FGL_J1753.9+2443_daily_bin1713.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) = 10503.0517802
delta logL = 0.0413440859138

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10503.0477033
delta logL = 0.0454209741602

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.8636       1.0000          .0000       .10000E+07
     2 'Index     '    2.5407       1.0000          .0000       10.000    
     3 'Normalizat'    1.0690       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0313       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6950E+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=   10503.05     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      257 TOTAL
                     EDM=   .24E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.8624        6.3087        .30142E-04    .30626E-03
   2  Index         2.5422        1.3265        .10267E-01    .18946E-04
   3  Normalizat    1.0691        .24068        .41187E-03    .20260E-04
   4  Prefactor     1.0313        .88221E-01    .15294E-03    .55751E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.86237
  Index      = 2.54221
  Normalizat = 1.06907
  Prefactor  = 1.03126
 **********
 **   18 **HESSE 
 **********

 FCN=   10503.05     FROM HESSE     STATUS=OK            25 CALLS      282 TOTAL
                     EDM=   .18E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.8624        5.3834        .12057E-05   -1.5681    
   2  Index         2.5422        1.1372        .41069E-03   -.51388    
   3  Normalizat    1.0691        .24077        .16475E-04   -.90751    
   4  Prefactor     1.0313        .88232E-01    .61175E-05   -.91695    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76131e-12
Minuit parameter uncertainties:
  1  5.38341
  2  1.15053
  3  0.241016
  4  0.0882444
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/186145': 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) = 10503.0477021
delta logL = 0.0454222112839

Extracting fit parameters...

4FGL J1753.9+2443
   Spectrum: PowerLaw
321    Prefactor:  1.862e+00  5.383e+00  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  2.542e+00  1.151e+00  0.000e+00  1.000e+01 (-1.000e+00)
323        Scale:  1.730e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
692    Prefactor:  1.031e+00  8.824e-02  0.000e+00  1.000e+01 ( 1.000e+00)
693        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
694        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
691   Normalization:  1.069e+00  2.410e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.15
Ra Dec: 268.496 24.730

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/186145/cmap_HighResolution_683337601_683596801_4FGL_J1753.9+2443_daily_bin1713.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.69e-03', job_status='DONE', photon_flux_upper_limit='8.78e-08', time_completed='2022-09-16 20:46:58.210410', job_id='186145', GAL2='1.03', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1663386418.21', return_code2='0', ts='0.15', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='4.54e-02', ts2='0.24', photon_index_error='0.00', photon_index='2.20' WHERE bin_id='1713' AND source_name='4FGL J1753.9+2443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 20:46:58 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0075>
Subject: Job 186145: <4FGL_J1753.9+2443_daily_bin1713> in cluster <slac> Done

Job <4FGL_J1753.9+2443_daily_bin1713> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 16 20:30:20 2022
Job was executed on host(s) <bullet0075>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 20:33:49 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 20:33:49 2022
Terminated at Fri Sep 16 20:46:59 2022
Results reported at Fri Sep 16 20:46:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1753.9+2443_daily_bin1713 268.496 24.7297 683337601 683596801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1753.9+2443 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   759.31 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             340.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   790 sec.
    Turnaround time :                            999 sec.

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

