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


Performing analysis on: 4FGL_J1753.9+2443_weekly_bin715
RA = 268.496, Dec = 24.7297
tmin = 671414401, tmax = 672019201
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='935299', job_status='RUN', time_executed='2022-04-19 02:37:18.739064', time_epoch_executed='1650361038.74' WHERE source_name='4FGL J1753.9+2443' and cadence='weekly' and bin_id='715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/935299

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/935299/ft1_4FGL_J1753.9+2443_weekly_bin715.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/935299/ft2_4FGL_J1753.9+2443_weekly_bin715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/935299/ft1_4FGL_J1753.9+2443_weekly_bin715.fits outfile=/scratch/kocevski/935299/ft1_filteredMKT_4FGL_J1753.9+2443_weekly_bin715.fits ra=268.496 dec=24.7297 rad=12.0 tmin=671414401.0 tmax=672019201.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 7.58
user 7.26
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/935299/ft2_4FGL_J1753.9+2443_weekly_bin715.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/935299/ft1_filteredMKT_4FGL_J1753.9+2443_weekly_bin715.fits evtable="EVENTS" outfile="/scratch/kocevski/935299/ft1_filtered_4FGL_J1753.9+2443_weekly_bin715.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.56
user 0.35
sys 0.19

Number of photons that the gtmktime cut: 2545

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/935299/ft1_filtered_4FGL_J1753.9+2443_weekly_bin715.fits" evtable="EVENTS" scfile=/scratch/kocevski/935299/ft2_4FGL_J1753.9+2443_weekly_bin715.fits sctable="SC_DATA" outfile=/scratch/kocevski/935299/ltcube_671414401_672019201_4FGL_J1753.9+2443_weekly_bin715.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/935299/ft2_4FGL_J1753.9+2443_weekly_bin715.fits
.....................!
real 27.50
user 26.52
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/935299/ft1_filtered_4FGL_J1753.9+2443_weekly_bin715.fits evtable="EVENTS" scfile=/scratch/kocevski/935299/ft2_4FGL_J1753.9+2443_weekly_bin715.fits sctable="SC_DATA" expcube=/scratch/kocevski/935299/ltcube_671414401_672019201_4FGL_J1753.9+2443_weekly_bin715.fits outfile=/scratch/kocevski/935299/expmap_671414401_672019201_4FGL_J1753.9+2443_weekly_bin715.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/935299/ltcube_671414401_672019201_4FGL_J1753.9+2443_weekly_bin715.fits
.....................!
real 191.19
user 185.61
sys 4.82

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/935299/ft1_filtered_4FGL_J1753.9+2443_weekly_bin715.fits scfile=/scratch/kocevski/935299/ft2_4FGL_J1753.9+2443_weekly_bin715.fits outfile=/scratch/kocevski/935299/cmap_671414401_672019201_4FGL_J1753.9+2443_weekly_bin715.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.59
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/935299/ft1_filtered_4FGL_J1753.9+2443_weekly_bin715.fits scfile=/scratch/kocevski/935299/ft2_4FGL_J1753.9+2443_weekly_bin715.fits outfile=/scratch/kocevski/935299/cmap_HighResolution_671414401_672019201_4FGL_J1753.9+2443_weekly_bin715.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.59
user 0.42
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/935299/ft1_filtered_4FGL_J1753.9+2443_weekly_bin715.fits', '/scratch/kocevski/935299/ft2_4FGL_J1753.9+2443_weekly_bin715.fits', expMap='/scratch/kocevski/935299/expmap_671414401_672019201_4FGL_J1753.9+2443_weekly_bin715.fits', expCube='/scratch/kocevski/935299/ltcube_671414401_672019201_4FGL_J1753.9+2443_weekly_bin715.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/935299/Model_4FGL_J1753.9+2443_weekly_bin715.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  1.000e-04  1.000e+04 ( 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/935299/ft1_filtered_4FGL_J1753.9+2443_weekly_bin715.fits
Spacecraft file(s): /scratch/kocevski/935299/ft2_4FGL_J1753.9+2443_weekly_bin715.fits
Exposure map: /scratch/kocevski/935299/expmap_671414401_672019201_4FGL_J1753.9+2443_weekly_bin715.fits
Exposure cube: /scratch/kocevski/935299/ltcube_671414401_672019201_4FGL_J1753.9+2443_weekly_bin715.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/935299/Model_4FGL_J1753.9+2443_weekly_bin715.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) = 27331.1293941

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .81202       1.0000         .10000E-03   10000.    
     3 'norm      '    31.863       1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.988       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10613E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.1392       1.0000         .10000E-03   10000.    
    10 'norm      '    .29070       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.9856       1.0000         .10000E-03   10000.    
    13 'norm      '    4.1023       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .52642E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.8493       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.4126       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.5246       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0981       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .98449       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   27331.09     FROM MIGRAD    STATUS=CONVERGED    466 CALLS     1902 TOTAL
                     EDM=   .25E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    67.485       -.27973E-06** at limit **
   2  norm          .81143        1.2074       -.24965E-07   -.20471E-03
   3  norm          31.860        30.306       -.75871E-06   -.35611E-06
   4  Prefactor     13.974        46.575       -.17145E-04   -.84647E-06
   5  Prefactor     .10000E-03    2.5373        .59436E-07** at limit **
   6  Prefactor     .10000E-03    15.077        .15737E-06** at limit **
   7  Prefactor     .10000E-03    6.8565        .30419E-07** at limit **
   8  Prefactor     .10000E-03    46.837        .20725E-06** at limit **
   9  Prefactor     2.1413        .64794        .13981E-07   -.11154E-02
  10  norm          .29060        .63112        .53831E-07   -.29847E-04
  11  norm          .10000E-03    10.202        .13802E-06** at limit **
  12  Prefactor     2.9850        3.3914       -.48550E-07   -.46770E-04
  13  norm          4.1018        4.4481       -.15303E-06   -.42189E-04
  14  Prefactor     .10000E-03    9.2438       -.17303E-06** at limit **
  15  Prefactor     1.8492        2.0210       -.94833E-07   -.11641E-03
  16  Prefactor     3.4114        10.407        .15610E-05   -.61286E-06
  17  norm          .10000E-03    4.5492        .13559E-07** at limit **
  18  Prefactor     2.5229        4.8356       -.13151E-06   -.39537E-04
  19  Normalizat    1.0980        .13749        .82999E-06   -.55258E-04
  20  Prefactor     .98457        .47197E-01   -.11095E-06    .16935E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.811428
  norm       = 31.8603
  Prefactor  = 13.9742
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.14127
  norm       = 0.290601
  norm       = 0.0001
  Prefactor  = 2.98498
  norm       = 4.10179
  Prefactor  = 0.000100002
  Prefactor  = 1.84924
  Prefactor  = 3.41136
  norm       = 0.0001
  Prefactor  = 2.52285
  Normalizat = 1.09798
  Prefactor  = 0.984574
 **********
 **   18 **HESSE 
 **********

 FCN=   27331.09     FROM HESSE     STATUS=OK           307 CALLS     2209 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    68.984        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .81143        1.0004        .21502E-02   -1.5528    
   3  norm          31.860        30.311        .70985E-04   -1.4578    
   4  Prefactor     13.974        46.604        .10709E-03   -1.4960    
   5  Prefactor     .10000E-03    2.5533        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    15.166        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.8713        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    48.050        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.1413        3.1552        .14091E-02   -1.5415    
  10  norm          .29060        .75154        .18820E-02   -1.5600    
  11  norm          .10000E-03    10.209        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.9850        3.3879        .23495E-03   -1.5362    
  13  norm          4.1018        4.4308        .19904E-03   -1.5303    
  14  Prefactor     .10000E-03    9.1227        .14842       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.8492        1.9991        .23452E-03   -1.5436    
  16  Prefactor     3.4114        10.329        .21898E-03   -1.5339    
  17  norm          .10000E-03    4.5551        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.5229        4.8311        .25710E-03   -1.5390    
  19  Normalizat    1.0980        .15517        .41255E-03   -.89817    
  20  Prefactor     .98457        .53838E-01    .15174E-03   -.93245    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21312e-07
Minuit parameter uncertainties:
  1  3.55133e-05
  2  1.00045
  3  30.3251
  4  46.7258
  5  6.10022e-06
  6  1.27353e-06
  7  3.09827e-06
  8  1.60987e-07
  9  3.15549
  10  0.751566
  11  2.53846e-06
  12  3.38807
  13  4.43114
  14  0.000286966
  15  1.99921
  16  10.3339
  17  2.12883e-07
  18  4.83188
  19  0.155234
  20  0.0538407
Done.

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

Extracting fit parameters...

4FGL J1753.9+2443
   Spectrum: PowerLaw
321    Prefactor:  2.141e+00  3.155e+00  1.000e-04  1.000e+04 ( 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:  9.846e-01  5.384e-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.098e+00  1.552e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/935299/likelihoodResults_671414401_672019201_4FGL_J1753.9+2443_weekly_bin715.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) = 27330.9580807
delta logL = 0.127710975437

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 27330.9277903
delta logL = 0.158001326854

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0660       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7802       1.0000          .0000       10.000    
     3 'Normalizat'    1.1018       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98385       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.

 FCN=   27330.93     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      235 TOTAL
                     EDM=   .85E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.0660        29.613        .57917E-02    .85899E-03
   2  Index         1.7799        .84039        .50000        .59016E-05
   3  Normalizat    1.1017        .18026E-01    .92995E-01    .95296E-04
   4  Prefactor     .98385        .61869E-02    .34350E-01   -.19990E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.06604
  Index      = 1.77993
  Normalizat = 1.10174
  Prefactor  = 0.983846
 **********
 **   18 **HESSE 
 **********

 FCN=   27330.93     FROM HESSE     STATUS=OK            33 CALLS      268 TOTAL
                     EDM=   .65E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.0660        3.9914        .23167E-03   -1.5358    
   2  Index         1.7799        .68866        .74774E-02   -.69973    
   3  Normalizat    1.1017        .14961        .41193E-03   -.89696    
   4  Prefactor     .98385        .52834E-01    .15178E-03   -.93270    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.5085e-11
Minuit parameter uncertainties:
  1  3.99172
  2  0.692435
  3  0.14967
  4  0.0528364
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/935299': 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) = 27330.9277902
delta logL = 0.158001401

Extracting fit parameters...

4FGL J1753.9+2443
   Spectrum: PowerLaw
321    Prefactor:  3.066e+00  3.992e+00  1.000e-04  1.000e+04 ( 1.000e-13)
322        Index:  1.780e+00  6.924e-01  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:  9.838e-01  5.284e-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.102e+00  1.497e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.64
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/935299/cmap_HighResolution_671414401_672019201_4FGL_J1753.9+2443_weekly_bin715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.44e-03', job_status='DONE', photon_flux_upper_limit='4.51e-08', time_completed='2022-04-19 03:07:52.942748', job_id='935299', GAL2='0.98', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1650362872.94', return_code2='0', ts='0.64', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='1.58e-01', ts2='0.95', photon_index_error='0.00', photon_index='2.20' WHERE bin_id='715' AND source_name='4FGL J1753.9+2443' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Apr 19 03:07:52 PDT 2022

------------------------------------------------------------
Sender: LSF System <lsf@bullet0161>
Subject: Job 931514: <4FGL_J1753.9+2443_weekly_bin715> in cluster <slac> Done

Job <4FGL_J1753.9+2443_weekly_bin715> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Apr 19 00:07:31 2022
Job was executed on host(s) <bullet0161>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 19 02:19:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 19 02:19:20 2022
Terminated at Tue Apr 19 02:51:30 2022
Results reported at Tue Apr 19 02:51:30 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1753.9+2443_weekly_bin715 268.496 24.7297 671414401 672019201 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 :                                   1840.00 sec.
    Max Memory :                                 1096 MB
    Average Memory :                             353.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1930 sec.
    Turnaround time :                            9839 sec.

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


------------------------------------------------------------
Sender: LSF System <scs@bullet0183>
Subject: Job 935299: <4FGL_J1753.9+2443_weekly_bin715> in cluster <slac> Done

Job <4FGL_J1753.9+2443_weekly_bin715> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Apr 19 00:18:54 2022
Job was executed on host(s) <bullet0183>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 19 02:33:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 19 02:33:19 2022
Terminated at Tue Apr 19 03:07:53 2022
Results reported at Tue Apr 19 03:07:53 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1753.9+2443_weekly_bin715 268.496 24.7297 671414401 672019201 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 :                                   1827.59 sec.
    Max Memory :                                 626 MB
    Average Memory :                             323.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2934 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   2074 sec.
    Turnaround time :                            10139 sec.

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

