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 138 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_J1751.6+2921_daily_bin1770
RA = 267.904, Dec = 29.3582
tmin = 698112001, tmax = 698371201
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='493799', job_status='RUN', time_executed='2023-02-18 01:22:52.235678', time_epoch_executed='1676712172.24' WHERE source_name='4FGL J1751.6+2921' and cadence='daily' and bin_id='1770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/493799

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/493799/ft1_4FGL_J1751.6+2921_daily_bin1770.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/493799/ft2_4FGL_J1751.6+2921_daily_bin1770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/493799/ft1_4FGL_J1751.6+2921_daily_bin1770.fits outfile=/scratch/kocevski/493799/ft1_filteredMKT_4FGL_J1751.6+2921_daily_bin1770.fits ra=267.904 dec=29.3582 rad=12.0 tmin=698112001.0 tmax=698371201.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 4.47
user 4.24
sys 0.21

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

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

Number of photons that the gtmktime cut: 1107

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/493799/ft1_filtered_4FGL_J1751.6+2921_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/493799/ft2_4FGL_J1751.6+2921_daily_bin1770.fits sctable="SC_DATA" expcube=/scratch/kocevski/493799/ltcube_698112001_698371201_4FGL_J1751.6+2921_daily_bin1770.fits outfile=/scratch/kocevski/493799/expmap_698112001_698371201_4FGL_J1751.6+2921_daily_bin1770.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/493799/ltcube_698112001_698371201_4FGL_J1751.6+2921_daily_bin1770.fits
.....................!
real 189.34
user 184.76
sys 4.27

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/493799/ft1_filtered_4FGL_J1751.6+2921_daily_bin1770.fits scfile=/scratch/kocevski/493799/ft2_4FGL_J1751.6+2921_daily_bin1770.fits outfile=/scratch/kocevski/493799/cmap_698112001_698371201_4FGL_J1751.6+2921_daily_bin1770.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/493799/ft1_filtered_4FGL_J1751.6+2921_daily_bin1770.fits scfile=/scratch/kocevski/493799/ft2_4FGL_J1751.6+2921_daily_bin1770.fits outfile=/scratch/kocevski/493799/cmap_HighResolution_698112001_698371201_4FGL_J1751.6+2921_daily_bin1770.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.54
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/493799/ft1_filtered_4FGL_J1751.6+2921_daily_bin1770.fits', '/scratch/kocevski/493799/ft2_4FGL_J1751.6+2921_daily_bin1770.fits', expMap='/scratch/kocevski/493799/expmap_698112001_698371201_4FGL_J1751.6+2921_daily_bin1770.fits', expCube='/scratch/kocevski/493799/ltcube_698112001_698371201_4FGL_J1751.6+2921_daily_bin1770.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/493799/Model_4FGL_J1751.6+2921_daily_bin1770.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/493799/ft1_filtered_4FGL_J1751.6+2921_daily_bin1770.fits
Spacecraft file(s): /scratch/kocevski/493799/ft2_4FGL_J1751.6+2921_daily_bin1770.fits
Exposure map: /scratch/kocevski/493799/expmap_698112001_698371201_4FGL_J1751.6+2921_daily_bin1770.fits
Exposure cube: /scratch/kocevski/493799/ltcube_698112001_698371201_4FGL_J1751.6+2921_daily_bin1770.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/493799/Model_4FGL_J1751.6+2921_daily_bin1770.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) = 11662.992211

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.3382       1.0000          .0000       .10000E+07
     2 'norm      '    .96573E-06   1.0000          .0000       .10000E+07
     3 'norm      '    27.488       1.0000          .0000       .10000E+07
     4 'Prefactor '    77.040       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.9941       1.0000          .0000       .10000E+07
     6 'Prefactor '    .13004E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.2927       1.0000          .0000       .10000E+07
     8 'Prefactor '    113.84       1.0000          .0000       .10000E+07
     9 'Prefactor '    .37066E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .79074       1.0000          .0000       .10000E+07
    11 'norm      '    .28368E-01   1.0000          .0000       .10000E+07
    12 'Prefactor '    .21216       1.0000          .0000       .10000E+07
    13 'norm      '    4.6831       1.0000          .0000       .10000E+07
    14 'Prefactor '    .13728E-06   1.0000          .0000       .10000E+07
    15 'Prefactor '    17.720       1.0000          .0000       .10000E+07
    16 'Prefactor '    .14767E-02   1.0000          .0000       .10000E+07
    17 'norm      '    .19070E-02   1.0000          .0000       .10000E+07
    18 'Normalizat'    .46126       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1715       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=   11662.99     FROM MIGRAD    STATUS=CONVERGED    124 CALLS     1512 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7688        45.187        .12224E-05   -.17087E-01
   2  norm           .0000        1.8737       -.21824E-06** at limit **
   3  norm          27.227        23.448        .25518E-06   -.75393E-01
   4  Prefactor     76.598        39.501        .30525E-06   -.83470E-01
   5  Prefactor     4.9819        1.8404        .60138E-07    .53682E-02
   6  Prefactor      .0000        6.7934        .24955E-06** at limit **
   7  Prefactor     4.4205        9.7625       -.23188E-07   -.23575E-01
   8  Prefactor     113.70        25.055        .22028E-06    .28800    
   9  Prefactor      .0000        9.4932       -.35293E-06** at limit **
  10  norm          .79033        1.1490        .12408E-06    .18062E-02
  11  norm           .0000        19.778        .11238E-06** at limit **
  12  Prefactor     .21626        26.155       -.84245E-06** at limit **
  13  norm          4.6849        4.4486       -.25262E-07   -.19720E-03
  14  Prefactor      .0000        1.6810        .48295E-07** at limit **
  15  Prefactor     17.723        1.6277        .29355E-07    .12807E-02
  16  Prefactor     .55511E-10    6.2886        .52560E-06** at limit **
  17  norm          .16653E-09    11.211       -.62550E-06** at limit **
  18  Normalizat    .46123        .19744       -.47263E-05   -.18932E-04
  19  Prefactor     1.1715        .88465E-01    .75013E-06   -.26674E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.76884
  norm       = 0
  norm       = 27.2269
  Prefactor  = 76.5979
  Prefactor  = 4.98189
  Prefactor  = 0
  Prefactor  = 4.42049
  Prefactor  = 113.699
  Prefactor  = 0
  norm       = 0.790325
  norm       = 0
  Prefactor  = 0.216256
  norm       = 4.6849
  Prefactor  = 0
  Prefactor  = 17.7233
  Prefactor  = 5.55112e-11
  norm       = 1.66533e-10
  Normalizat = 0.461233
  Prefactor  = 1.17146
 **********
 **   18 **HESSE 
 **********

 FCN=   11662.99     FROM HESSE     STATUS=OK           310 CALLS     1822 TOTAL
                     EDM=   .19E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7688        48.321        .43475E-03   -1.5660    
   2  norm           .0000        1.8727        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          27.227        43.138        .19077E-03   -1.5604    
   4  Prefactor     76.598        48.100        .11394E-03   -1.5533    
   5  Prefactor     4.9819        201.50        .44976E-03   -1.5663    
   6  Prefactor      .0000        6.7587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.4205        237.08        .48601E-03   -1.5666    
   8  Prefactor     113.70        136.64        .93731E-04   -1.5495    
   9  Prefactor      .0000        9.4242        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .79033        1.1623        .53628E-03   -1.5690    
  11  norm           .0000        19.674        .16538E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .21626        1.8982        .88121E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.6849        4.4769        .46479E-03   -1.5665    
  14  Prefactor      .0000        1.6774        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     17.723        15.727        .23765E-03   -1.5624    
  16  Prefactor     .55511E-10    6.2584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .16653E-09    11.258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .46123        .20271        .11210       -1.1425    
  19  Prefactor     1.1715        .86317E-01    .35343E-01   -.87214    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.94814e-05
Minuit parameter uncertainties:
  1  33.3925
  2  7.25091e-06
  3  43.1388
  4  48.0998
  5  63.3691
  6  5.35152e-06
  7  64.7491
  8  136.645
  9  8.11986e-06
  10  1.16226
  11  1.32992e-05
  12  1.28141
  13  4.47695
  14  2.18151e-06
  15  15.7266
  16  3.16675e-05
  17  9.16396e-05
  18  0.203032
  19  0.086327
Done.

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

Extracting fit parameters...

4FGL J1751.6+2921
   Spectrum: PowerLaw
339    Prefactor:  4.420e+00  6.475e+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:  1.171e+00  8.633e-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:  4.612e-01  2.030e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 267.904 29.358
Photon Flux Upper Limit: 1.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.93e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/493799/likelihoodResults_698112001_698371201_4FGL_J1751.6+2921_daily_bin1770.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) = 11662.3966614
delta logL = 0.593441746669

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11662.2513696
delta logL = 0.73873358843

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0472       1.0000          .0000       .10000E+07
     2 'Index     '    4.8721       1.0000          .0000       10.000    
     3 'Normalizat'    .39755       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1873       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.

 FCN=   11662.25     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      252 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0462        13.115        .12136E-02    .18818E-01
   2  Index         4.8726        2.7561        .13659        .26198E-03
   3  Normalizat    .39741        .39173E-01    .12033        .10161E-03
   4  Prefactor     1.1874        .17853E-01    .34937E-01   -.48218E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.0462
  Index      = 4.87265
  Normalizat = 0.397407
  Prefactor  = 1.18739
 **********
 **   18 **HESSE 
 **********

 FCN=   11662.25     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      285 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0462        38.466        .92794E-05   -1.5688    
   2  Index         4.8726        7.3604        .74822E-02   -.25473E-01
   3  Normalizat    .39741        .15851        .53314E-03   -1.1744    
   4  Prefactor     1.1874        .71251E-01    .14505E-03   -.86720    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.86328e-06
Minuit parameter uncertainties:
  1  12.6875
  2  6.48947
  3  0.158688
  4  0.0712568
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/493799': 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): 102
logL (Free Index) = 11662.2513693
delta logL = 0.738733898712

Extracting fit parameters...

4FGL J1751.6+2921
   Spectrum: PowerLaw
339    Prefactor:  1.046e+00  1.269e+01  0.000e+00  1.000e+06 ( 1.000e-13)
340        Index:  4.873e+00  6.489e+00  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:  1.187e+00  7.126e-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:  3.974e-01  1.587e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.61
Ra Dec: 267.904 29.358
Photon Index (Free Index): 4.87 +/- 6.49
Photon Flux (Free Index): 5.94e-08 +/- 5.71e-08
Energy Flux (Free Index): 7.99e-06 +/- 1.07e-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/493799/cmap_HighResolution_698112001_698371201_4FGL_J1751.6+2921_daily_bin1770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.93e-03', comment='SUCCESS', energy_flux2='7.99e-06', dlogl='7.39e-01', photon_flux2='5.94e-08', job_status='DONE', time_completed='2023-02-18 01:36:47.833790', photon_index_error2='6.49', photon_index2='4.87', ts='0.02', fit_tolerance='1e-08', GAL='1.17', photon_index_error='0.00', photon_flux_upper_limit='1.01e-07', energy_flux_error2='1.07e-05', EG='0.46', time_epoch_completed='1676713007.83', return_code='0', job_id='493799', GAL2='1.19', EG2='0.40', return_code2='102', photon_flux_error2='5.71e-08', ts2='1.61', photon_index='2.62' WHERE bin_id='1770' AND source_name='4FGL J1751.6+2921' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb 18 01:36:47 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0199>
Subject: Job 493799: <4FGL_J1751.6+2921_daily_bin1770> in cluster <slac> Done

Job <4FGL_J1751.6+2921_daily_bin1770> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Feb 18 01:20:18 2023
Job was executed on host(s) <bullet0199>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 01:20:20 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 01:20:20 2023
Terminated at Sat Feb 18 01:36:48 2023
Results reported at Sat Feb 18 01:36:48 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1751.6+2921_daily_bin1770 267.904 29.3582 698112001 698371201 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 :                                   837.25 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             334.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   988 sec.
    Turnaround time :                            990 sec.

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

