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


Performing analysis on: 4FGL_J1751.6+2921_daily_bin1748
RA = 267.904, Dec = 29.3582
tmin = 692409601, tmax = 692668801
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='892551', job_status='RUN', time_executed='2022-12-14 01:03:58.618748', time_epoch_executed='1671008638.62' WHERE source_name='4FGL J1751.6+2921' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/892551

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/892551/ft1_4FGL_J1751.6+2921_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/892551/ft2_4FGL_J1751.6+2921_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/892551/ft1_4FGL_J1751.6+2921_daily_bin1748.fits outfile=/scratch/kocevski/892551/ft1_filteredMKT_4FGL_J1751.6+2921_daily_bin1748.fits ra=267.904 dec=29.3582 rad=12.0 tmin=692409601.0 tmax=692668801.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.58
user 3.37
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/892551/ft2_4FGL_J1751.6+2921_daily_bin1748.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/892551/ft2_4FGL_J1751.6+2921_daily_bin1748.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/892551/ft1_filteredMKT_4FGL_J1751.6+2921_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/892551/ft1_filtered_4FGL_J1751.6+2921_daily_bin1748.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.49
user 0.34
sys 0.14

Number of photons that the gtmktime cut: 843

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/892551/ft1_filtered_4FGL_J1751.6+2921_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/892551/ft2_4FGL_J1751.6+2921_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/892551/ltcube_692409601_692668801_4FGL_J1751.6+2921_daily_bin1748.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/892551/ft2_4FGL_J1751.6+2921_daily_bin1748.fits
.....................!
real 12.98
user 12.61
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/892551/ft1_filtered_4FGL_J1751.6+2921_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/892551/ft2_4FGL_J1751.6+2921_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/892551/ltcube_692409601_692668801_4FGL_J1751.6+2921_daily_bin1748.fits outfile=/scratch/kocevski/892551/expmap_692409601_692668801_4FGL_J1751.6+2921_daily_bin1748.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/892551/ltcube_692409601_692668801_4FGL_J1751.6+2921_daily_bin1748.fits
.....................!
real 190.86
user 185.53
sys 4.68

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

Setting source of interest to:
4FGL J1751.6+2921 @ 267.904 29.3582

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/892551/ft1_filtered_4FGL_J1751.6+2921_daily_bin1748.fits scfile=/scratch/kocevski/892551/ft2_4FGL_J1751.6+2921_daily_bin1748.fits outfile=/scratch/kocevski/892551/cmap_692409601_692668801_4FGL_J1751.6+2921_daily_bin1748.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=267.904 yref=29.3582 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/892551/ft1_filtered_4FGL_J1751.6+2921_daily_bin1748.fits scfile=/scratch/kocevski/892551/ft2_4FGL_J1751.6+2921_daily_bin1748.fits outfile=/scratch/kocevski/892551/cmap_HighResolution_692409601_692668801_4FGL_J1751.6+2921_daily_bin1748.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=267.904 yref=29.3582 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.55
user 0.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/892551/ft1_filtered_4FGL_J1751.6+2921_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/892551/ft2_4FGL_J1751.6+2921_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/892551/Model_4FGL_J1751.6+2921_daily_bin1748.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/892551/ft1_filtered_4FGL_J1751.6+2921_daily_bin1748.fits.....................!
real 73.04
user 71.11
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/892551/ft1_filtered_4FGL_J1751.6+2921_daily_bin1748.fits', '/scratch/kocevski/892551/ft2_4FGL_J1751.6+2921_daily_bin1748.fits', expMap='/scratch/kocevski/892551/expmap_692409601_692668801_4FGL_J1751.6+2921_daily_bin1748.fits', expCube='/scratch/kocevski/892551/ltcube_692409601_692668801_4FGL_J1751.6+2921_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/892551/Model_4FGL_J1751.6+2921_daily_bin1748.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1751.6+2921'

4FGL J1751.6+2921
   Spectrum: PowerLaw
339    Prefactor:  9.593e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
340        Index:  2.618e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
341        Scale:  7.773e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/892551/ft1_filtered_4FGL_J1751.6+2921_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/892551/ft2_4FGL_J1751.6+2921_daily_bin1748.fits
Exposure map: /scratch/kocevski/892551/expmap_692409601_692668801_4FGL_J1751.6+2921_daily_bin1748.fits
Exposure cube: /scratch/kocevski/892551/ltcube_692409601_692668801_4FGL_J1751.6+2921_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/892551/Model_4FGL_J1751.6+2921_daily_bin1748.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) = 8783.04676366

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .26182E-03   1.0000          .0000       .10000E+07
     2 'norm      '    3.9805       1.0000          .0000       .10000E+07
     3 'norm      '    59.974       1.0000          .0000       .10000E+07
     4 'Prefactor '    29.617       1.0000          .0000       .10000E+07
     5 'Prefactor '    5.2342       1.0000          .0000       .10000E+07
     6 'Prefactor '    .92887E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    59.577       1.0000          .0000       .10000E+07
     8 'Prefactor '    .36273       1.0000          .0000       .10000E+07
     9 'Prefactor '    .99005E-03   1.0000          .0000       .10000E+07
    10 'norm      '    1.2234       1.0000          .0000       .10000E+07
    11 'norm      '    14.321       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.4284       1.0000          .0000       .10000E+07
    13 'norm      '    15.067       1.0000          .0000       .10000E+07
    14 'Prefactor '    3.7250       1.0000          .0000       .10000E+07
    15 'Prefactor '    .60145E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    17.358       1.0000          .0000       .10000E+07
    17 'norm      '    .28296E-03   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0813       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .85895       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8783.014     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     1405 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .96589E-07    19.154        .20800E-06** at limit **
   2  norm          3.9975        3.7779       -.19052E-07    .72151E-03
   3  norm          60.426        16.702       -.41096E-07   -.24060E-01
   4  Prefactor     28.649        29.701        .13686E-06   -.14687    
   5  Prefactor     6.6884        143.76       -.43691E-06   -.31085E-01
   6  Prefactor     .10036E-06    38.420        .13171E-05** at limit **
   7  Prefactor     59.418        2.1633        .91721E-08   -.65257E-04
   8  Prefactor     .12934E-06    77.853       -.27912E-06** at limit **
   9  Prefactor      .0000        5.9406        .13411E-07** at limit **
  10  norm          1.2210        1.3237        .25418E-07    .11462E-02
  11  norm          15.830        35.820       -.27798E-06   -.26960E-01
  12  Prefactor     4.4556        6.0769       -.11518E-07   -.65610E-05
  13  norm          15.000        8.9940        .17956E-07    .65583E-04
  14  Prefactor     3.7249        4.7024        .38527E-07    .38037E-03
  15  Prefactor      .0000        9.9950        .17945E-07** at limit **
  16  Prefactor     17.164        8.5790       -.46615E-08   -.48554E-03
  17  norm          .65725E-07    17.857       -.32818E-06** at limit **
  18  Normalizat    1.0805        .23473       -.77865E-06    .17314E-04
  19  Prefactor     .85924        .10134        .69573E-06    .66499E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.65894e-08
  norm       = 3.99751
  norm       = 60.4265
  Prefactor  = 28.6485
  Prefactor  = 6.68838
  Prefactor  = 1.00364e-07
  Prefactor  = 59.4183
  Prefactor  = 1.29341e-07
  Prefactor  = 0
  norm       = 1.22102
  norm       = 15.8303
  Prefactor  = 4.45558
  norm       = 14.9999
  Prefactor  = 3.72492
  Prefactor  = 0
  Prefactor  = 17.1644
  norm       = 6.57252e-08
  Normalizat = 1.08054
  Prefactor  = 0.859241
 **********
 **   18 **HESSE 
 **********

 FCN=   8783.014     FROM HESSE     STATUS=OK           310 CALLS     1715 TOTAL
                     EDM=   .34E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .96589E-07    19.116        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.9975        3.8712        .50529E-03   -1.5668    
   3  norm          60.426        67.581        .12914E-03   -1.5552    
   4  Prefactor     28.649        55.613        .18378E-03   -1.5601    
   5  Prefactor     6.6884        209.28        .43912E-03   -1.5656    
   6  Prefactor     .10036E-06    37.937        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     59.418        33.904        .12957E-03   -1.5554    
   8  Prefactor     .12934E-06    77.576        .93938E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        5.9219        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.2210        1.3429        .10185E-02   -1.5686    
  11  norm          15.830        36.200        .26442E-03   -1.5628    
  12  Prefactor     4.4556        6.0786        .47830E-03   -1.5666    
  13  norm          15.000        8.9886        .25777E-03   -1.5631    
  14  Prefactor     3.7249        4.7195        .52295E-03   -1.5669    
  15  Prefactor      .0000        9.9834        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     17.164        8.5733        .24012E-03   -1.5625    
  17  norm          .65725E-07    17.838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.0805        .20422        .76892E-01   -.90379    
  19  Prefactor     .85924        .85555E-01    .44480E-01   -.97580    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.35091e-06
Minuit parameter uncertainties:
  1  0.00271747
  2  3.8712
  3  67.5819
  4  55.6143
  5  74.8289
  6  0.00390222
  7  33.9038
  8  0.00633541
  9  1.22477e-07
  10  1.34288
  11  36.2009
  12  6.07863
  13  8.98863
  14  4.71954
  15  2.49212e-05
  16  8.57326
  17  0.00216545
  18  0.204367
  19  0.0855679
Done.

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

Extracting fit parameters...

4FGL J1751.6+2921
   Spectrum: PowerLaw
339    Prefactor:  5.942e+01  3.390e+01  0.000e+00  1.000e+06 ( 1.000e-13)
340        Index:  2.618e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
341        Scale:  7.773e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
696    Prefactor:  8.592e-01  8.557e-02  0.000e+00  1.000e+01 ( 1.000e+00)
697        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
698        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
695   Normalization:  1.081e+00  2.044e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.86
Ra Dec: 267.904 29.358
Photon Index (Fixed Index): 2.62 +/- 0.00
Photon Flux (Fixed Index): 7.88e-08 +/- 4.49e-08
Energy Flux (Fixed Index): 2.03e-05 +/- 1.16e-05

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) = 8783.01193758
delta logL = 0.00174241819877

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8783.00998008
delta logL = 0.00369992414562

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    62.308       1.0000          .0000       .10000E+07
     2 'Index     '    2.5681       1.0000          .0000       10.000    
     3 'Normalizat'    1.0832       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85834       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6990E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8783.010     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      272 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     62.340        51.487        .50678E-05    .82106E-03
   2  Index         2.5680        .60216        .65068E-02   -.44260E-04
   3  Normalizat    1.0833        .23444        .33995E-03   -.56717E-04
   4  Prefactor     .85838        .10077        .16330E-03   -.90617E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 62.34
  Index      = 2.568
  Normalizat = 1.08327
  Prefactor  = 0.858382
 **********
 **   18 **HESSE 
 **********

 FCN=   8783.010     FROM HESSE     STATUS=OK            25 CALLS      297 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     62.340        48.607        .10136E-05   -1.5550    
   2  Index         2.5680        .56823        .26027E-03   -.50796    
   3  Normalizat    1.0833        .23444        .13598E-04   -.90291    
   4  Prefactor     .85838        .10078        .32660E-04   -.97611    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48887e-10
Minuit parameter uncertainties:
  1  48.6068
  2  0.569846
  3  0.23467
  4  0.100801
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/892551': 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) = 8783.00997905
delta logL = 0.00370094740356

Extracting fit parameters...

4FGL J1751.6+2921
   Spectrum: PowerLaw
339    Prefactor:  6.234e+01  4.861e+01  0.000e+00  1.000e+06 ( 1.000e-13)
340        Index:  2.568e+00  5.698e-01  0.000e+00  1.000e+01 (-1.000e+00)
341        Scale:  7.773e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
696    Prefactor:  8.584e-01  1.008e-01  0.000e+00  1.000e+01 ( 1.000e+00)
697        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
698        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
695   Normalization:  1.083e+00  2.347e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.86
Ra Dec: 267.904 29.358
Photon Index (Free Index): 2.57 +/- 0.57
Photon Flux (Free Index): 7.71e-08 +/- 4.88e-08
Energy Flux (Free Index): 2.08e-05 +/- 1.33e-05

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/892551/cmap_HighResolution_692409601_692668801_4FGL_J1751.6+2921_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.88e-08', energy_flux2='2.08e-05', photon_flux_error='4.49e-08', dlogl='3.70e-03', energy_flux='2.03e-05', photon_flux2='7.71e-08', job_status='DONE', time_completed='2022-12-14 01:14:48.164509', photon_index_error2='0.57', photon_index2='2.57', ts='4.86', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='1.33e-05', EG='1.08', time_epoch_completed='1671009288.16', return_code='0', job_id='892551', GAL2='0.86', EG2='1.08', return_code2='0', energy_flux_error='1.16e-05', photon_flux_error2='4.88e-08', ts2='4.86', photon_index='2.62' WHERE bin_id='1748' AND source_name='4FGL J1751.6+2921' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:14:48 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 892551: <4FGL_J1751.6+2921_daily_bin1748> in cluster <slac> Done

Job <4FGL_J1751.6+2921_daily_bin1748> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Dec 14 01:00:19 2022
Job was executed on host(s) <bullet0080>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 01:00:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 01:00:20 2022
Terminated at Wed Dec 14 01:14:49 2022
Results reported at Wed Dec 14 01:14:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1751.6+2921_daily_bin1748 267.904 29.3582 692409601 692668801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1751.6+2921 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   651.03 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             289.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   868 sec.
    Turnaround time :                            870 sec.

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

