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


Performing analysis on: 4FGL_J1753.9+2443_daily_bin1763
RA = 268.496, Dec = 24.7297
tmin = 696297601, tmax = 696556801
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='291099', job_status='RUN', time_executed='2023-01-28 01:29:24.817673', time_epoch_executed='1674898164.82' WHERE source_name='4FGL J1753.9+2443' and cadence='daily' and bin_id='1763'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/291099

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/291099/ft1_4FGL_J1753.9+2443_daily_bin1763.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/291099/ft2_4FGL_J1753.9+2443_daily_bin1763.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/291099/ft1_4FGL_J1753.9+2443_daily_bin1763.fits outfile=/scratch/kocevski/291099/ft1_filteredMKT_4FGL_J1753.9+2443_daily_bin1763.fits ra=268.496 dec=24.7297 rad=12.0 tmin=696297601.0 tmax=696556801.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.65
user 3.39
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/291099/ft2_4FGL_J1753.9+2443_daily_bin1763.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/291099/ft1_filteredMKT_4FGL_J1753.9+2443_daily_bin1763.fits evtable="EVENTS" outfile="/scratch/kocevski/291099/ft1_filtered_4FGL_J1753.9+2443_daily_bin1763.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.52
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 888

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/291099/ft1_filtered_4FGL_J1753.9+2443_daily_bin1763.fits" evtable="EVENTS" scfile=/scratch/kocevski/291099/ft2_4FGL_J1753.9+2443_daily_bin1763.fits sctable="SC_DATA" outfile=/scratch/kocevski/291099/ltcube_696297601_696556801_4FGL_J1753.9+2443_daily_bin1763.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/291099/ft2_4FGL_J1753.9+2443_daily_bin1763.fits
.....................!
real 16.01
user 15.49
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/291099/ft1_filtered_4FGL_J1753.9+2443_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/291099/ft2_4FGL_J1753.9+2443_daily_bin1763.fits sctable="SC_DATA" expcube=/scratch/kocevski/291099/ltcube_696297601_696556801_4FGL_J1753.9+2443_daily_bin1763.fits outfile=/scratch/kocevski/291099/expmap_696297601_696556801_4FGL_J1753.9+2443_daily_bin1763.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/291099/ltcube_696297601_696556801_4FGL_J1753.9+2443_daily_bin1763.fits
.....................!
real 192.68
user 187.09
sys 4.56

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/291099/ft1_filtered_4FGL_J1753.9+2443_daily_bin1763.fits scfile=/scratch/kocevski/291099/ft2_4FGL_J1753.9+2443_daily_bin1763.fits outfile=/scratch/kocevski/291099/cmap_696297601_696556801_4FGL_J1753.9+2443_daily_bin1763.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.41
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/291099/ft1_filtered_4FGL_J1753.9+2443_daily_bin1763.fits scfile=/scratch/kocevski/291099/ft2_4FGL_J1753.9+2443_daily_bin1763.fits outfile=/scratch/kocevski/291099/cmap_HighResolution_696297601_696556801_4FGL_J1753.9+2443_daily_bin1763.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/291099/ft1_filtered_4FGL_J1753.9+2443_daily_bin1763.fits evtable="EVENTS" scfile=/scratch/kocevski/291099/ft2_4FGL_J1753.9+2443_daily_bin1763.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/291099/Model_4FGL_J1753.9+2443_daily_bin1763.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/291099/ft1_filtered_4FGL_J1753.9+2443_daily_bin1763.fits.....................!
real 87.27
user 84.95
sys 1.36

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/291099/ft1_filtered_4FGL_J1753.9+2443_daily_bin1763.fits', '/scratch/kocevski/291099/ft2_4FGL_J1753.9+2443_daily_bin1763.fits', expMap='/scratch/kocevski/291099/expmap_696297601_696556801_4FGL_J1753.9+2443_daily_bin1763.fits', expCube='/scratch/kocevski/291099/ltcube_696297601_696556801_4FGL_J1753.9+2443_daily_bin1763.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/291099/Model_4FGL_J1753.9+2443_daily_bin1763.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/291099/ft1_filtered_4FGL_J1753.9+2443_daily_bin1763.fits
Spacecraft file(s): /scratch/kocevski/291099/ft2_4FGL_J1753.9+2443_daily_bin1763.fits
Exposure map: /scratch/kocevski/291099/expmap_696297601_696556801_4FGL_J1753.9+2443_daily_bin1763.fits
Exposure cube: /scratch/kocevski/291099/ltcube_696297601_696556801_4FGL_J1753.9+2443_daily_bin1763.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/291099/Model_4FGL_J1753.9+2443_daily_bin1763.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) = 9418.82229577

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .93346E-03   1.0000          .0000       .10000E+07
     2 'norm      '    2.3958       1.0000          .0000       .10000E+07
     3 'norm      '    .13954E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.4806       1.0000          .0000       .10000E+07
     5 'Prefactor '    .18937E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .19762E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .26044E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .45720       1.0000          .0000       .10000E+07
     9 'norm      '    2.1924       1.0000          .0000       .10000E+07
    10 'norm      '    55.871       1.0000          .0000       .10000E+07
    11 'Prefactor '    .73003E-06   1.0000          .0000       .10000E+07
    12 'norm      '    4.2383       1.0000          .0000       .10000E+07
    13 'Prefactor '    .94731E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .20877E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    20.626       1.0000          .0000       .10000E+07
    16 'Prefactor '    .34214E-03   1.0000          .0000       .10000E+07
    17 'Normalizat'    1.3424       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .75828       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=   9418.816     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     1317 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .63394E-07    18.736       -.26856E-06** at limit **
   2  norm          2.3945        2.0752        .34038E-07    .50640E-03
   3  norm          .17236E-05    46.225        .10476E-05** at limit **
   4  Prefactor     .11214E-03    781.56        .16183E-05** at limit **
   5  Prefactor     .12945E-06    19.207       -.40100E-06** at limit **
   6  Prefactor     .55511E-10    24.667       -.22931E-06** at limit **
   7  Prefactor     .13031E-05    41.041        .65701E-06** at limit **
   8  Prefactor     .45120        21.525        .19329E-05    .12107E-02
   9  norm          2.1942        1.5290       -.44765E-07   -.14816E-02
  10  norm          56.279        8.8864       -.54768E-07    .39363    
  11  Prefactor      .0000        1.3032        .42720E-07** at limit **
  12  norm          4.1703        6.9936       -.12193E-06    .21101E-02
  13  Prefactor     .11102E-09    10.653       -.13696E-06** at limit **
  14  Prefactor      .0000        5.3761        .38129E-06** at limit **
  15  Prefactor     20.604        2.4402        .49502E-09   -.46506E-01
  16  Prefactor      .0000        3.6266       -.15548E-06** at limit **
  17  Normalizat    1.3447        .23360        .10766E-04    .14514E-03
  18  Prefactor     .75789        .81230E-01   -.21829E-05    .24385E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.33937e-08
  norm       = 2.39448
  norm       = 1.72357e-06
  Prefactor  = 0.000112138
  Prefactor  = 1.29452e-07
  Prefactor  = 5.55112e-11
  Prefactor  = 1.30312e-06
  Prefactor  = 0.4512
  norm       = 2.1942
  norm       = 56.279
  Prefactor  = 0
  norm       = 4.17032
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  Prefactor  = 20.6042
  Prefactor  = 0
  Normalizat = 1.34468
  Prefactor  = 0.757894
 **********
 **   18 **HESSE 
 **********

 FCN=   9418.816     FROM HESSE     STATUS=OK           276 CALLS     1593 TOTAL
                     EDM=   .87E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .63394E-07    18.991        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.3945        2.0755        .66133E-03   -1.5677    
   3  norm          .17236E-05    46.512        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11214E-03    799.63        .54175E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .12945E-06    19.274        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    24.539        .17052E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .13031E-05    41.270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .45120        4.1926        .83138E-02   -1.5695    
   9  norm          2.1942        1.5265        .69476E-03   -1.5678    
  10  norm          56.279        55.527        .13379E-03   -1.5558    
  11  Prefactor      .0000        1.3031        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.1703        7.2122        .48921E-03   -1.5667    
  13  Prefactor     .11102E-09    10.675        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        5.3327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     20.604        18.811        .22025E-03   -1.5617    
  16  Prefactor      .0000        3.6180        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3447        .20463        .77566E-01   -.82242    
  18  Prefactor     .75789        .69506E-01    .43172E-01   -1.0130    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.74546e-06
Minuit parameter uncertainties:
  1  0.00219495
  2  2.07553
  3  0.0179074
  4  0.598977
  5  0.00315924
  6  7.39029e-05
  7  0.0146672
  8  2.7508
  9  1.52655
  10  55.5277
  11  3.11664e-07
  12  7.21224
  13  7.14234e-05
  14  1.10574e-05
  15  18.8109
  16  1.44107e-05
  17  0.204753
  18  0.0695143
Done.

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

Extracting fit parameters...

4FGL J1753.9+2443
   Spectrum: PowerLaw
321    Prefactor:  4.512e-01  2.751e+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:  7.579e-01  6.951e-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.345e+00  2.048e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/291099/likelihoodResults_696297601_696556801_4FGL_J1753.9+2443_daily_bin1763.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) = 9418.76479716
delta logL = 0.0512022541716

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9418.73837027
delta logL = 0.0776291454804

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16291       1.0000          .0000       .10000E+07
     2 'Index     '    3.7440       1.0000          .0000       10.000    
     3 'Normalizat'    1.3196       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76191       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   9418.738     FROM MIGRAD    STATUS=FAILED        92 CALLS      278 TOTAL
                     EDM=   .41E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16290        47.166        .76586E-04** at limit **
   2  Index         3.7441        5.6520        .41689E-02   -.13939E-03
   3  Normalizat    1.3198        .16059        .34601E-03   -.13432E-03
   4  Prefactor     .76186        .55264E-01    .15314E-03    .27596E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   9418.738     FROM SIMPLEX   STATUS=UNCHANGED     91 CALLS      369 TOTAL
                     EDM=   .15E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16290        47.166        .10310E-04** at limit **
   2  Index         3.7441        5.6520        .23500E-02   -.13939E-03
   3  Normalizat    1.3198        .16059        .22188E-03   -.13432E-03
   4  Prefactor     .76186        .55264E-01    .27343E-04    .27596E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9418.738     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      403 TOTAL
                     EDM=   .60E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16284        3.6729        .15317E-04** at limit **
   2  Index         3.7443        3.5088        .16675E-03   -.14181E-04
   3  Normalizat    1.3198        .24305        .13841E-04   -.41070E-04
   4  Prefactor     .76186        .82098E-01    .30628E-04    .13007E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.162841
  Index      = 3.74427
  Normalizat = 1.31975
  Prefactor  = 0.761863
 **********
 **   18 **HESSE 
 **********

 FCN=   9418.738     FROM HESSE     STATUS=OK            25 CALLS      428 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16284        1.7076        .61269E-06   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.7443        2.5449        .66702E-05   -.25386    
   3  Normalizat    1.3198        .24306        .27681E-05   -.82979    
   4  Prefactor     .76186        .82025E-01    .61255E-05   -1.0115    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.99898e-11
Minuit parameter uncertainties:
  1  1.05464
  2  2.67977
  3  0.243266
  4  0.0820376
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/291099': 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) = 9418.73837004
delta logL = 0.0776293753406

Extracting fit parameters...

4FGL J1753.9+2443
   Spectrum: PowerLaw
321    Prefactor:  1.628e-01  1.055e+00  0.000e+00  1.000e+06 ( 1.000e-13)
322        Index:  3.744e+00  2.680e+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:  7.619e-01  8.204e-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.320e+00  2.433e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
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/291099/cmap_HighResolution_696297601_696556801_4FGL_J1753.9+2443_daily_bin1763.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.18e-03', job_status='DONE', photon_flux_upper_limit='8.11e-08', time_completed='2023-01-28 01:41:39.201712', job_id='291099', GAL2='0.76', fit_tolerance='1e-08', EG2='1.32', EG='1.34', time_epoch_completed='1674898899.2', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='7.76e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.20' WHERE bin_id='1763' AND source_name='4FGL J1753.9+2443' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan 28 01:41:39 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 291099: <4FGL_J1753.9+2443_daily_bin1763> in cluster <slac> Done

Job <4FGL_J1753.9+2443_daily_bin1763> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Jan 28 01:25:19 2023
Job was executed on host(s) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan 28 01:25:31 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan 28 01:25:31 2023
Terminated at Sat Jan 28 01:41:40 2023
Results reported at Sat Jan 28 01:41:40 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1753.9+2443_daily_bin1763 268.496 24.7297 696297601 696556801 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 :                                   734.20 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             305.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   968 sec.
    Turnaround time :                            981 sec.

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

