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 106 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 17327
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1925.7+1227_weekly_bin716
RA = 291.431, Dec = 12.4639
tmin = 672019201, tmax = 672624001
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='659222', job_status='RUN', time_executed='2022-04-26 01:20:15.085914', time_epoch_executed='1650961215.09' WHERE source_name='4FGL J1925.7+1227' and cadence='weekly' and bin_id='716'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/659222

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/659222/ft1_4FGL_J1925.7+1227_weekly_bin716.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/659222/ft2_4FGL_J1925.7+1227_weekly_bin716.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/659222/ft1_4FGL_J1925.7+1227_weekly_bin716.fits outfile=/scratch/kocevski/659222/ft1_filteredMKT_4FGL_J1925.7+1227_weekly_bin716.fits ra=291.431 dec=12.4639 rad=12.0 tmin=672019201.0 tmax=672624001.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 8.85
user 8.50
sys 0.31

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/659222/ft2_4FGL_J1925.7+1227_weekly_bin716.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/659222/ft2_4FGL_J1925.7+1227_weekly_bin716.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/659222/ft1_filteredMKT_4FGL_J1925.7+1227_weekly_bin716.fits evtable="EVENTS" outfile="/scratch/kocevski/659222/ft1_filtered_4FGL_J1925.7+1227_weekly_bin716.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 15074

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/659222/ft1_filtered_4FGL_J1925.7+1227_weekly_bin716.fits" evtable="EVENTS" scfile=/scratch/kocevski/659222/ft2_4FGL_J1925.7+1227_weekly_bin716.fits sctable="SC_DATA" outfile=/scratch/kocevski/659222/ltcube_672019201_672624001_4FGL_J1925.7+1227_weekly_bin716.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/659222/ft2_4FGL_J1925.7+1227_weekly_bin716.fits
.....................!
real 28.77
user 28.38
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/659222/ft1_filtered_4FGL_J1925.7+1227_weekly_bin716.fits evtable="EVENTS" scfile=/scratch/kocevski/659222/ft2_4FGL_J1925.7+1227_weekly_bin716.fits sctable="SC_DATA" expcube=/scratch/kocevski/659222/ltcube_672019201_672624001_4FGL_J1925.7+1227_weekly_bin716.fits outfile=/scratch/kocevski/659222/expmap_672019201_672624001_4FGL_J1925.7+1227_weekly_bin716.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/659222/ltcube_672019201_672624001_4FGL_J1925.7+1227_weekly_bin716.fits
.....................!
real 190.09
user 184.87
sys 4.86

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 W 51C in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W51C.fits is the correct path to the extended template.
Extended source G42.8+0.6 in ROI with RadialDisk spatial model.
Extended source HESS J1857+026 in ROI with RadialDisk spatial model.
Extended source Kes 79 in ROI with RadialDisk spatial model.
Extended source W 44 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W44.fits is the correct path to the extended template.
Extended source Kes 73 in ROI with RadialDisk spatial model.
Extended source HESS J1841-055 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/HESSJ1841-055.fits is the correct path to the extended template.
Added 283 point sources and 7 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 J1925.7+1227 @ 291.431 12.4639

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/659222/ft1_filtered_4FGL_J1925.7+1227_weekly_bin716.fits scfile=/scratch/kocevski/659222/ft2_4FGL_J1925.7+1227_weekly_bin716.fits outfile=/scratch/kocevski/659222/cmap_672019201_672624001_4FGL_J1925.7+1227_weekly_bin716.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=291.431 yref=12.4639 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.61
user 0.45
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/659222/ft1_filtered_4FGL_J1925.7+1227_weekly_bin716.fits scfile=/scratch/kocevski/659222/ft2_4FGL_J1925.7+1227_weekly_bin716.fits outfile=/scratch/kocevski/659222/cmap_HighResolution_672019201_672624001_4FGL_J1925.7+1227_weekly_bin716.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=291.431 yref=12.4639 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.61
user 0.44
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/659222/ft1_filtered_4FGL_J1925.7+1227_weekly_bin716.fits evtable="EVENTS" scfile=/scratch/kocevski/659222/ft2_4FGL_J1925.7+1227_weekly_bin716.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/659222/Model_4FGL_J1925.7+1227_weekly_bin716.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 G42.8+0.6
adding source GAL_V02
adding source HESS J1841-055
adding source HESS J1857+026
adding source Kes 73
adding source Kes 79
adding source W 44
adding source W 51C
Working on...
/scratch/kocevski/659222/ft1_filtered_4FGL_J1925.7+1227_weekly_bin716.fits.....................!
real 4720.40
user 4710.19
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/659222/ft1_filtered_4FGL_J1925.7+1227_weekly_bin716.fits', '/scratch/kocevski/659222/ft2_4FGL_J1925.7+1227_weekly_bin716.fits', expMap='/scratch/kocevski/659222/expmap_672019201_672624001_4FGL_J1925.7+1227_weekly_bin716.fits', expCube='/scratch/kocevski/659222/ltcube_672019201_672624001_4FGL_J1925.7+1227_weekly_bin716.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/659222/Model_4FGL_J1925.7+1227_weekly_bin716.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1925.7+1227'

4FGL J1925.7+1227
   Spectrum: LogParabola
626         norm:  6.669e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
627        alpha:  2.332e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
628         beta:  1.853e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
629           Eb:  1.686e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/659222/ft1_filtered_4FGL_J1925.7+1227_weekly_bin716.fits
Spacecraft file(s): /scratch/kocevski/659222/ft2_4FGL_J1925.7+1227_weekly_bin716.fits
Exposure map: /scratch/kocevski/659222/expmap_672019201_672624001_4FGL_J1925.7+1227_weekly_bin716.fits
Exposure cube: /scratch/kocevski/659222/ltcube_672019201_672624001_4FGL_J1925.7+1227_weekly_bin716.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/659222/Model_4FGL_J1925.7+1227_weekly_bin716.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) = 133916.855394

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.5355       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.4485       1.0000         .10000E-03   10000.    
     4 'norm      '    8.1317       1.0000         .10000E-03   10000.    
     5 'norm      '    2.2003       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .37384       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.798       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.5350       1.0000         .10000E-03   10000.    
    11 'Normalizat'    .97486       1.0000         .10000E-01   10.000    
    12 'Prefactor '    1.0346       1.0000          .0000       10.000    
    13 'norm      '    6.1594       1.0000         .10000E-03   10000.    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1058E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   133916.8     FROM MIGRAD    STATUS=CONVERGED    236 CALLS     1087 TOTAL
                     EDM=   .21E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.6319         .0000    ** at limit **
   2  norm          1.5367        5.9447         .0000        .90172E-03
   3  Prefactor     6.4401        11.964         .0000       -.80655E-03
   4  norm          8.1449        11.915         .0000        .17442E-02
   5  norm          2.2003        2.0753         .0000        .11249E-02
   6  Prefactor     .10000E-03    .36589         .0000    ** at limit **
   7  Prefactor     .37498        1.3283         .0000        .30042    
   8  Prefactor     10.789        15.499         .0000        .39181E-02
   9  Prefactor     .10000E-03    6.4946         .0000    ** at limit **
  10  norm          2.5351        2.0279         .0000        .31801E-02
  11  Normalizat    .97493        .22871         .0000        .70101E-03
  12  Prefactor     1.0346        .15460E-01     .0000       -.87837E-03
  13  norm          6.1594        1.3695         .0000        .11981    
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 1.53667
  Prefactor  = 6.44011
  norm       = 8.1449
  norm       = 2.20026
  Prefactor  = 0.0001
  Prefactor  = 0.374978
  Prefactor  = 10.7894
  Prefactor  = 0.0001
  norm       = 2.53512
  Normalizat = 0.974925
  Prefactor  = 1.03456
  norm       = 6.15944
 **********
 **   18 **HESSE 
 **********

 FCN=   133916.8     FROM HESSE     STATUS=OK           147 CALLS     1234 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.6507        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.5367        5.9538        .34426E-03   -1.5460    
   3  Prefactor     6.4401        11.927        .15805E-03   -1.5200    
   4  norm          8.1449        11.909        .14060E-03   -1.5137    
   5  norm          2.2003        2.0710        .27738E-03   -1.5411    
   6  Prefactor     .10000E-03    .37594        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .37498        1.3025        .21489E-02   -1.5586    
   8  Prefactor     10.789        15.406        .12192E-03   -1.5051    
   9  Prefactor     .10000E-03    6.5113        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.5351        2.0132        .25652E-03   -1.5390    
  11  Normalizat    .97493        .20108        .17534E-02   -.93875    
  12  Prefactor     1.0346        .14146E-01    .11602E-03   -.91586    
  13  norm          6.1594        1.3699        .80880E-03   -1.5212    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0308e-07
Minuit parameter uncertainties:
  1  6.33521e-05
  2  5.95611
  3  11.9315
  4  11.9121
  5  2.07106
  6  1.79286e-06
  7  1.30263
  8  15.4113
  9  5.89133e-05
  10  2.01323
  11  0.201235
  12  0.0141461
  13  1.36988
Done.

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

Extracting fit parameters...

4FGL J1925.7+1227
   Spectrum: LogParabola
626         norm:  8.145e+00  1.191e+01  1.000e-04  1.000e+04 ( 1.000e-13)
627        alpha:  2.332e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
628         beta:  1.853e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
629           Eb:  1.686e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1033    Prefactor:  1.035e+00  1.415e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1034        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1035        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1029   Normalization:  9.749e-01  2.012e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.59
Ra Dec: 291.431 12.464
Photon Flux Upper Limit: 8.54e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.19e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/659222/likelihoodResults_672019201_672624001_4FGL_J1925.7+1227_weekly_bin716.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) = 133916.828352
delta logL = 0.0179077748908

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 133916.827601
delta logL = 0.0186587177741

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.5722       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1070       1.0000          .0000       5.0000    
     3 'Normalizat'    .97533       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0347       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1058E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   133916.8     FROM MIGRAD    STATUS=FAILED        91 CALLS      289 TOTAL
                     EDM=   .64E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.5724        530.39        .13691E-03   -.37997E-03
   2  alpha         2.1071        2.8933        .50000        .24905E-04
   3  Normalizat    .97542        .11218        .17531E-02    .26354E-04
   4  Prefactor     1.0347        .71025E-02    .11601E-03    .45157E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   133916.8     FROM SIMPLEX   STATUS=UNCHANGED     82 CALLS      371 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.5724        530.39        .31149E-03   -.37997E-03
   2  alpha         2.1071        2.8933        .20873E-02    .24905E-04
   3  Normalizat    .97542        .11218        .74100E-04    .26354E-04
   4  Prefactor     1.0347        .71025E-02    .61610E-05    .45157E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   133916.8     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      406 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.5724        12.696        .54765E-05   -.38529E-03
   2  alpha         2.1071        1.1366        .10124       -.39821E-04
   3  Normalizat    .97542        .19688        .70125E-04    .24902E-04
   4  Prefactor     1.0347        .13781E-01    .46405E-05    .43902E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.57239
  alpha      = 2.10707
  Normalizat = 0.975417
  Prefactor  = 1.03472
 **********
 **   18 **HESSE 
 **********

 FCN=   133916.8     FROM HESSE     STATUS=OK            31 CALLS      437 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.5724        12.379        .10953E-03   -1.5122    
   2  alpha         2.1071        1.1290        .40497E-02   -.15783    
   3  Normalizat    .97542        .19708        .14025E-04   -.93859    
   4  Prefactor     1.0347        .13801E-01    .92809E-06   -.91581    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.02115e-10
Minuit parameter uncertainties:
  1  12.3822
  2  1.17262
  3  0.197232
  4  0.0138014
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/659222': 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) = 133916.827601
delta logL = 0.0186588463548

Extracting fit parameters...

4FGL J1925.7+1227
   Spectrum: LogParabola
626         norm:  8.572e+00  1.238e+01  1.000e-04  1.000e+04 ( 1.000e-13)
627        alpha:  2.107e+00  1.173e+00  0.000e+00  5.000e+00 ( 1.000e+00)
628         beta:  1.853e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
629           Eb:  1.686e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1033    Prefactor:  1.035e+00  1.380e-02  0.000e+00  1.000e+01 ( 1.000e+00)
1034        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1035        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1029   Normalization:  9.754e-01  1.972e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.59
Ra Dec: 291.431 12.464

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.003e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.223e+00 [aplpy.core]
Saving /scratch/kocevski/659222/cmap_HighResolution_672019201_672624001_4FGL_J1925.7+1227_weekly_bin716.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.19e-05', job_status='DONE', photon_flux_upper_limit='8.54e-08', time_completed='2022-04-26 04:40:00.918782', job_id='659222', GAL2='1.03', fit_tolerance='1e-08', EG2='0.98', EG='0.97', time_epoch_completed='1650973200.92', return_code2='0', ts='0.59', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='1.87e-02', ts2='0.63', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='716' AND source_name='4FGL J1925.7+1227' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Apr 26 04:40:00 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0273>
Subject: Job 659222: <4FGL_J1925.7+1227_weekly_bin716> in cluster <slac> Done

Job <4FGL_J1925.7+1227_weekly_bin716> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Apr 26 00:50:21 2022
Job was executed on host(s) <bullet0273>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 26 01:18:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 26 01:18:19 2022
Terminated at Tue Apr 26 04:40:02 2022
Results reported at Tue Apr 26 04:40:02 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   11975.00 sec.
    Max Memory :                                 1279 MB
    Average Memory :                             651.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   12103 sec.
    Turnaround time :                            13781 sec.

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

