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


Performing analysis on: 4FGL_J1727.2+0644_daily_bin1750
RA = 261.806, Dec = 6.7445
tmin = 692928001, tmax = 693187201
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='18842', job_status='RUN', time_executed='2022-12-20 01:16:55.813351', time_epoch_executed='1671527815.81' WHERE source_name='4FGL J1727.2+0644' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/18842

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/18842/ft1_4FGL_J1727.2+0644_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/18842/ft2_4FGL_J1727.2+0644_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/18842/ft1_4FGL_J1727.2+0644_daily_bin1750.fits outfile=/scratch/kocevski/18842/ft1_filteredMKT_4FGL_J1727.2+0644_daily_bin1750.fits ra=261.806 dec=6.7445 rad=12.0 tmin=692928001.0 tmax=693187201.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.51
user 3.31
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/18842/ft2_4FGL_J1727.2+0644_daily_bin1750.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/18842/ft2_4FGL_J1727.2+0644_daily_bin1750.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/18842/ft1_filteredMKT_4FGL_J1727.2+0644_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/18842/ft1_filtered_4FGL_J1727.2+0644_daily_bin1750.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 1134

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/18842/ft1_filtered_4FGL_J1727.2+0644_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/18842/ft2_4FGL_J1727.2+0644_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/18842/ltcube_692928001_693187201_4FGL_J1727.2+0644_daily_bin1750.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/18842/ft2_4FGL_J1727.2+0644_daily_bin1750.fits
.....................!
real 11.65
user 11.15
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/18842/ft1_filtered_4FGL_J1727.2+0644_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/18842/ft2_4FGL_J1727.2+0644_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/18842/ltcube_692928001_693187201_4FGL_J1727.2+0644_daily_bin1750.fits outfile=/scratch/kocevski/18842/expmap_692928001_693187201_4FGL_J1727.2+0644_daily_bin1750.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/18842/ltcube_692928001_693187201_4FGL_J1727.2+0644_daily_bin1750.fits
.....................!
real 190.53
user 185.37
sys 4.85

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
Extended source FHES J1723.5-0501 in ROI with RadialGaussian spatial model.
Extended source G24.7+0.6 in ROI with RadialDisk spatial model.
Extended source Kes 73 in ROI with RadialDisk spatial model.
Added 208 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1727.2+0644 @ 261.806 6.7445

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/18842/ft1_filtered_4FGL_J1727.2+0644_daily_bin1750.fits scfile=/scratch/kocevski/18842/ft2_4FGL_J1727.2+0644_daily_bin1750.fits outfile=/scratch/kocevski/18842/cmap_692928001_693187201_4FGL_J1727.2+0644_daily_bin1750.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=261.806 yref=6.7445 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.56
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/18842/ft1_filtered_4FGL_J1727.2+0644_daily_bin1750.fits scfile=/scratch/kocevski/18842/ft2_4FGL_J1727.2+0644_daily_bin1750.fits outfile=/scratch/kocevski/18842/cmap_HighResolution_692928001_693187201_4FGL_J1727.2+0644_daily_bin1750.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=261.806 yref=6.7445 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/18842/ft1_filtered_4FGL_J1727.2+0644_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/18842/ft2_4FGL_J1727.2+0644_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/18842/Model_4FGL_J1727.2+0644_daily_bin1750.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 FHES J1723.5-0501
adding source G24.7+0.6
adding source GAL_V02
adding source Kes 73
Working on...
/scratch/kocevski/18842/ft1_filtered_4FGL_J1727.2+0644_daily_bin1750.fits.....................!
real 105.76
user 104.36
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/18842/ft1_filtered_4FGL_J1727.2+0644_daily_bin1750.fits', '/scratch/kocevski/18842/ft2_4FGL_J1727.2+0644_daily_bin1750.fits', expMap='/scratch/kocevski/18842/expmap_692928001_693187201_4FGL_J1727.2+0644_daily_bin1750.fits', expCube='/scratch/kocevski/18842/ltcube_692928001_693187201_4FGL_J1727.2+0644_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/18842/Model_4FGL_J1727.2+0644_daily_bin1750.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1727.2+0644'

4FGL J1727.2+0644
   Spectrum: PowerLaw
244    Prefactor:  8.444e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
245        Index:  2.760e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  6.438e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/18842/ft1_filtered_4FGL_J1727.2+0644_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/18842/ft2_4FGL_J1727.2+0644_daily_bin1750.fits
Exposure map: /scratch/kocevski/18842/expmap_692928001_693187201_4FGL_J1727.2+0644_daily_bin1750.fits
Exposure cube: /scratch/kocevski/18842/ltcube_692928001_693187201_4FGL_J1727.2+0644_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/18842/Model_4FGL_J1727.2+0644_daily_bin1750.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) = 11363.3179191

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35624E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .41703E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .26886E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    4.3083       1.0000          .0000       .10000E+07
     5 'Prefactor '    2.0078       1.0000          .0000       .10000E+07
     6 'Prefactor '    166.84       1.0000          .0000       .10000E+07
     7 'norm      '    .36970E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .23493E-04   1.0000          .0000       .10000E+07
     9 'norm      '    5.4932       1.0000          .0000       .10000E+07
    10 'Prefactor '    .12057E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .85192       1.0000          .0000       .10000E+07
    12 'norm      '    17.161       1.0000          .0000       .10000E+07
    13 'norm      '    5.1599       1.0000          .0000       .10000E+07
    14 'norm      '    .60004       1.0000          .0000       .10000E+07
    15 'norm      '    .32447E-04   1.0000          .0000       .10000E+07
    16 'norm      '    14.376       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.8304       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .89853       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11363.28     FROM MIGRAD    STATUS=CONVERGED    163 CALLS     1386 TOTAL
                     EDM=   .32E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.1194        .69806E-07** at limit **
   2  Prefactor      .0000        3.1805        .83319E-07** at limit **
   3  Prefactor      .0000        59.859       -.46976E-06** at limit **
   4  Prefactor     4.3370        8.9207        .11554E-06   -.71383E-05
   5  Prefactor     2.0176        11.201       -.62776E-07   -.76278E-05
   6  Prefactor     174.91        244.70       -.60458E-06   -.21417E-04
   7  norm           .0000        .64050       -.94624E-09** at limit **
   8  Prefactor      .0000        6.2595        .19330E-07** at limit **
   9  norm          5.5041        8.3876       -.65684E-07    .51477E-05
  10  Prefactor      .0000        31.167        .19964E-06** at limit **
  11  Prefactor     .86993        3.4222        .10905E-07   -.80537E-04
  12  norm          17.517        12.479       -.92540E-07   -.20835E-04
  13  norm          5.1809        4.8774       -.61042E-07    .77538E-04
  14  norm          .60146        .72798        .93755E-08   -.35625E-03
  15  norm           .0000        37.398       -.17675E-06** at limit **
  16  norm          14.222        13.228        .40036E-07   -.36739E-04
  17  Normalizat    1.8282        .35383        .10141E-05   -.84690E-05
  18  Prefactor     .89840        .73842E-01    .75579E-06   -.22934E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 4.33703
  Prefactor  = 2.01757
  Prefactor  = 174.908
  norm       = 0
  Prefactor  = 0
  norm       = 5.50411
  Prefactor  = 0
  Prefactor  = 0.869925
  norm       = 17.5174
  norm       = 5.18086
  norm       = 0.601459
  norm       = 0
  norm       = 14.2216
  Normalizat = 1.82822
  Prefactor  = 0.8984
 **********
 **   18 **HESSE 
 **********

 FCN=   11363.28     FROM HESSE     STATUS=OK           284 CALLS     1670 TOTAL
                     EDM=   .87E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.1174        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        3.1791        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        60.048        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.3370        8.8493        .48510E-03   -1.5666    
   5  Prefactor     2.0176        11.111        .73042E-03   -1.5680    
   6  Prefactor     174.91        242.69        .77427E-04   -1.5443    
   7  norm           .0000        .64057        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        6.2559        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          5.5041        8.4565        .42846E-03   -1.5661    
  10  Prefactor      .0000        31.146        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .86993        3.4095        .49143E-03   -1.5689    
  12  norm          17.517        12.476        .24150E-03   -1.5624    
  13  norm          5.1809        4.8773        .44233E-03   -1.5662    
  14  norm          .60146        .74055        .69225E-03   -1.5692    
  15  norm           .0000        36.701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          14.222        13.223        .26391E-03   -1.5633    
  17  Normalizat    1.8282        .31225        .11054       -.68929    
  18  Prefactor     .89840        .64690E-01    .32793E-01   -.96197    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.66128e-07
Minuit parameter uncertainties:
  1  5.44883e-07
  2  8.00844e-07
  3  1.33874e-05
  4  8.84936
  5  9.4696
  6  242.707
  7  8.99245e-08
  8  3.45108e-07
  9  8.45655
  10  1.12163e-05
  11  3.40955
  12  12.4761
  13  4.87734
  14  0.740547
  15  1.42775e-05
  16  13.2232
  17  0.312594
  18  0.0646959
Done.

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

Extracting fit parameters...

4FGL J1727.2+0644
   Spectrum: PowerLaw
244    Prefactor:  0.000e+00  1.122e-05  0.000e+00  1.000e+06 ( 1.000e-13)
245        Index:  2.760e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
246        Scale:  6.438e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
732    Prefactor:  8.984e-01  6.470e-02  0.000e+00  1.000e+01 ( 1.000e+00)
733        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
734        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
724   Normalization:  1.828e+00  3.126e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 261.806 6.745
Photon Flux Upper Limit: 1.18e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.31e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/18842/likelihoodResults_692928001_693187201_4FGL_J1727.2+0644_daily_bin1750.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) = 11363.2841585
delta logL = -6.73849990562e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11362.3097012
delta logL = 0.974389901961

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68208E-03   1.0000          .0000       .10000E+07
     2 'Index     '    9.9999       1.0000          .0000       10.000    
     3 'Normalizat'    1.7253       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91107       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   11363.28     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      412 TOTAL
                     EDM=   .59E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        30.793        .42118E-03** at limit **
   2  Index         2.6576        1.3929        .86335E-06     .0000    
   3  Normalizat    1.8282        1.0561        .40744E-05   -.16028E-04
   4  Prefactor     .89840        1.2476        .16183E-05    .23679E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.6576
  Normalizat = 1.82822
  Prefactor  = 0.8984
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   11363.28     FROM HESSE     STATUS=FAILED         9 CALLS      421 TOTAL
                     EDM=   .59E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        30.793        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .79922        1.9779        .86335E-06    30.928    
   3  Normalizat    1.8282        1.0561        .40744E-05   -.68929    
   4  Prefactor     .89840        1.2476        .16183E-05   -115.28    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.91043e-13
Minuit parameter uncertainties:
  1  2.57572e-05
  2  1.41703
  3  1.06983
  4  1.29096
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/18842': 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): 101
logL (Free Index) = 11363.2840911
delta logL = 0.0

Extracting fit parameters...

4FGL J1727.2+0644
   Spectrum: PowerLaw
244    Prefactor:  0.000e+00  2.576e-05  0.000e+00  1.000e+06 ( 1.000e-13)
245        Index:  2.658e+00  1.417e+00  0.000e+00  1.000e+01 (-1.000e+00)
246        Scale:  6.438e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
732    Prefactor:  8.984e-01  1.291e+00  0.000e+00  1.000e+01 ( 1.000e+00)
733        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
734        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
724   Normalization:  1.828e+00  1.070e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 261.806 6.745

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/18842/cmap_HighResolution_692928001_693187201_4FGL_J1727.2+0644_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.31e-03', job_status='DONE', photon_flux_upper_limit='1.18e-07', time_completed='2022-12-20 01:31:56.150912', job_id='18842', GAL2='0.90', fit_tolerance='1e-08', EG2='1.83', EG='1.83', time_epoch_completed='1671528716.15', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='2.76' WHERE bin_id='1750' AND source_name='4FGL J1727.2+0644' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 01:31:56 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 18842: <4FGL_J1727.2+0644_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1727.2+0644_daily_bin1750> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Dec 20 01:15:24 2022
Job was executed on host(s) <bullet0249>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 01:15:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 01:15:25 2022
Terminated at Tue Dec 20 01:31:56 2022
Results reported at Tue Dec 20 01:31:56 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1727.2+0644_daily_bin1750 261.806 6.7445 692928001 693187201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1727.2+0644 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   902.10 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             329.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   991 sec.
    Turnaround time :                            992 sec.

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

