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


Performing analysis on: 4FGL_J1925.7+1227_weekly_bin715
RA = 291.431, Dec = 12.4639
tmin = 671414401, tmax = 672019201
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='974477', job_status='RUN', time_executed='2022-04-19 02:57:39.196447', time_epoch_executed='1650362259.2' WHERE source_name='4FGL J1925.7+1227' and cadence='weekly' and bin_id='715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/974477

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/974477/ft1_4FGL_J1925.7+1227_weekly_bin715.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/974477/ft2_4FGL_J1925.7+1227_weekly_bin715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/974477/ft1_4FGL_J1925.7+1227_weekly_bin715.fits outfile=/scratch/kocevski/974477/ft1_filteredMKT_4FGL_J1925.7+1227_weekly_bin715.fits ra=291.431 dec=12.4639 rad=12.0 tmin=671414401.0 tmax=672019201.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 7.66
user 7.31
sys 0.32

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/974477/ft2_4FGL_J1925.7+1227_weekly_bin715.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/974477/ft1_filteredMKT_4FGL_J1925.7+1227_weekly_bin715.fits evtable="EVENTS" outfile="/scratch/kocevski/974477/ft1_filtered_4FGL_J1925.7+1227_weekly_bin715.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.59
user 0.39
sys 0.18

Number of photons that the gtmktime cut: 15024

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/974477/ft1_filtered_4FGL_J1925.7+1227_weekly_bin715.fits" evtable="EVENTS" scfile=/scratch/kocevski/974477/ft2_4FGL_J1925.7+1227_weekly_bin715.fits sctable="SC_DATA" outfile=/scratch/kocevski/974477/ltcube_671414401_672019201_4FGL_J1925.7+1227_weekly_bin715.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/974477/ft2_4FGL_J1925.7+1227_weekly_bin715.fits
.....................!
real 37.27
user 36.64
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/974477/ft1_filtered_4FGL_J1925.7+1227_weekly_bin715.fits evtable="EVENTS" scfile=/scratch/kocevski/974477/ft2_4FGL_J1925.7+1227_weekly_bin715.fits sctable="SC_DATA" expcube=/scratch/kocevski/974477/ltcube_671414401_672019201_4FGL_J1925.7+1227_weekly_bin715.fits outfile=/scratch/kocevski/974477/expmap_671414401_672019201_4FGL_J1925.7+1227_weekly_bin715.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/974477/ltcube_671414401_672019201_4FGL_J1925.7+1227_weekly_bin715.fits
.....................!
real 195.63
user 189.29
sys 5.90

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/974477/ft1_filtered_4FGL_J1925.7+1227_weekly_bin715.fits scfile=/scratch/kocevski/974477/ft2_4FGL_J1925.7+1227_weekly_bin715.fits outfile=/scratch/kocevski/974477/cmap_671414401_672019201_4FGL_J1925.7+1227_weekly_bin715.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.63
user 0.45
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/974477/ft1_filtered_4FGL_J1925.7+1227_weekly_bin715.fits scfile=/scratch/kocevski/974477/ft2_4FGL_J1925.7+1227_weekly_bin715.fits outfile=/scratch/kocevski/974477/cmap_HighResolution_671414401_672019201_4FGL_J1925.7+1227_weekly_bin715.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.63
user 0.44
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/974477/ft1_filtered_4FGL_J1925.7+1227_weekly_bin715.fits evtable="EVENTS" scfile=/scratch/kocevski/974477/ft2_4FGL_J1925.7+1227_weekly_bin715.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/974477/Model_4FGL_J1925.7+1227_weekly_bin715.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/974477/ft1_filtered_4FGL_J1925.7+1227_weekly_bin715.fits.....................!
real 4946.06
user 4935.00
sys 1.44

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/974477/ft1_filtered_4FGL_J1925.7+1227_weekly_bin715.fits', '/scratch/kocevski/974477/ft2_4FGL_J1925.7+1227_weekly_bin715.fits', expMap='/scratch/kocevski/974477/expmap_671414401_672019201_4FGL_J1925.7+1227_weekly_bin715.fits', expCube='/scratch/kocevski/974477/ltcube_671414401_672019201_4FGL_J1925.7+1227_weekly_bin715.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/974477/Model_4FGL_J1925.7+1227_weekly_bin715.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/974477/ft1_filtered_4FGL_J1925.7+1227_weekly_bin715.fits
Spacecraft file(s): /scratch/kocevski/974477/ft2_4FGL_J1925.7+1227_weekly_bin715.fits
Exposure map: /scratch/kocevski/974477/expmap_671414401_672019201_4FGL_J1925.7+1227_weekly_bin715.fits
Exposure cube: /scratch/kocevski/974477/ltcube_671414401_672019201_4FGL_J1925.7+1227_weekly_bin715.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/974477/Model_4FGL_J1925.7+1227_weekly_bin715.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) = 134016.509

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.065       1.0000         .10000E-03   10000.    
     2 'norm      '    5.8625       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    14.989       1.0000         .10000E-03   10000.    
     5 'norm      '    1.3264       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .90750       1.0000         .10000E-03   10000.    
    11 'Normalizat'    1.1710       1.0000         .10000E-01   10.000    
    12 'Prefactor '    1.0330       1.0000          .0000       10.000    
    13 'norm      '    6.3662       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   134016.5     FROM MIGRAD    STATUS=CONVERGED    231 CALLS     1086 TOTAL
                     EDM=   .69E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.058        16.556       -.28421E-05   -.51480E-03
   2  norm          5.8624        4.5520        .63002E-07   -.12456E-04
   3  Prefactor     .10000E-03    3.5039        .55094E-08** at limit **
   4  norm          14.984        14.747       -.18242E-05   -.40742E-03
   5  norm          1.3263        1.2714       -.48099E-06    .82196E-03
   6  Prefactor     .10000E-03    .44797        .79645E-08** at limit **
   7  Prefactor     .10000E-03    .75514       -.79734E-08** at limit **
   8  Prefactor     .10000E-03    11.998       -.22125E-06** at limit **
   9  Prefactor     .10000E-03    4.5376       -.11367E-07** at limit **
  10  norm          .90695        1.2936        .78984E-06   -.22579E-02
  11  Normalizat    1.1712        .22260        .32037E-06   -.18721E-03
  12  Prefactor     1.0330        .14848E-01   -.26445E-07   -.11039E-02
  13  norm          6.3666        1.2877        .10025E-06   -.42456E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.0578
  norm       = 5.86237
  Prefactor  = 0.0001
  norm       = 14.9841
  norm       = 1.32634
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.906954
  Normalizat = 1.17124
  Prefactor  = 1.03299
  norm       = 6.36656
 **********
 **   18 **HESSE 
 **********

 FCN=   134016.5     FROM HESSE     STATUS=OK           147 CALLS     1233 TOTAL
                     EDM=   .39E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.058        17.449        .99927E-04   -1.4906    
   2  norm          5.8624        4.5491        .16586E-03   -1.5224    
   3  Prefactor     .10000E-03    3.5165        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          14.984        15.146        .10345E-03   -1.4934    
   5  norm          1.3263        1.3323        .38162E-03   -1.5478    
   6  Prefactor     .10000E-03    .45708        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    .76547        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    12.086        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.5426        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .90695        1.5259        .46871E-02   -1.5518    
  11  Normalizat    1.1712        .20250        .16538E-02   -.87496    
  12  Prefactor     1.0330        .14092E-01    .11707E-03   -.91638    
  13  norm          6.3666        1.2917        .15908E-03   -1.5203    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.9345e-07
Minuit parameter uncertainties:
  1  17.455
  2  4.54936
  3  9.45037e-08
  4  15.15
  5  1.33234
  6  1.62349e-07
  7  2.25127e-07
  8  2.67795e-05
  9  1.2501e-06
  10  1.52601
  11  0.202636
  12  0.0140917
  13  1.29167
Done.

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

Extracting fit parameters...

4FGL J1925.7+1227
   Spectrum: LogParabola
626         norm:  1.498e+01  1.515e+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.033e+00  1.409e-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:  1.171e+00  2.026e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.20
Ra Dec: 291.431 12.464
Photon Index (Fixed Index): 2.33 +/- 0.00
Photon Flux (Fixed Index): 3.64e-08 +/- 3.68e-08
Energy Flux (Fixed Index): 1.79e-05 +/- 1.81e-05

TS (Fixed Index): 1.20
Ra Dec: 291.431 12.464
Photon Flux Upper Limit: 1.11e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.44e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/974477/likelihoodResults_671414401_672019201_4FGL_J1925.7+1227_weekly_bin715.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): 0
logL (Free Index) = 134016.132404
delta logL = 0.36900641484

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 134015.81097
delta logL = 0.690440031118

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.1707       1.0000         .10000E-03   10000.    
     2 'alpha     '    .56828       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1674       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0345       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   134015.8     FROM MIGRAD    STATUS=CONVERGED     70 CALLS      249 TOTAL
                     EDM=   .27E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.1609        3.3074         .0000       -.10243E-03
   2  alpha         .56702        .54498         .0000       -.65781E-03
   3  Normalizat    1.1675        .21640         .0000        .19051E-03
   4  Prefactor     1.0345        .14572E-01     .0000        .17694E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 3.16091
  alpha      = 0.567016
  Normalizat = 1.16746
  Prefactor  = 1.0345
 **********
 **   18 **HESSE 
 **********

 FCN=   134015.8     FROM HESSE     STATUS=OK            33 CALLS      282 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.1609        4.3670        .22760E-03   -1.5352    
   2  alpha         .56702        .59330        .11840       -.88386    
   3  Normalizat    1.1675        .20040        .16562E-02   -.87614    
   4  Prefactor     1.0345        .13775E-01    .11700E-03   -.91588    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04823e-06
Minuit parameter uncertainties:
  1  4.36742
  2  0.608106
  3  0.20053
  4  0.0137746
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/974477': 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) = 134015.810969
delta logL = 0.69044164152

Extracting fit parameters...

4FGL J1925.7+1227
   Spectrum: LogParabola
626         norm:  3.161e+00  4.367e+00  1.000e-04  1.000e+04 ( 1.000e-13)
627        alpha:  5.670e-01  6.081e-01  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.377e-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:  1.167e+00  2.005e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.58
Ra Dec: 291.431 12.464
Photon Index (Free Index): 0.57 +/- 0.61
Photon Flux (Free Index): 2.70e-09 +/- 2.80e-09
Energy Flux (Free Index): 3.26e-05 +/- 3.89e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/974477/cmap_HighResolution_671414401_672019201_4FGL_J1925.7+1227_weekly_bin715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.44e-05', comment='SUCCESS', photon_flux='3.64e-08', energy_flux2='3.26e-05', photon_flux_error='3.68e-08', dlogl='6.90e-01', energy_flux='1.79e-05', photon_flux2='2.70e-09', job_status='DONE', time_completed='2022-04-19 06:15:44.793846', photon_index_error2='0.61', photon_index2='0.57', ts='1.20', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='1.11e-07', energy_flux_error2='3.89e-05', EG='1.17', time_epoch_completed='1650374144.79', return_code='0', job_id='974477', GAL2='1.03', EG2='1.17', return_code2='0', energy_flux_error='1.81e-05', photon_flux_error2='2.80e-09', ts2='2.58', photon_index='2.33' WHERE bin_id='715' AND source_name='4FGL J1925.7+1227' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Apr 19 06:15:44 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 974477: <4FGL_J1925.7+1227_weekly_bin715> in cluster <slac> Done

Job <4FGL_J1925.7+1227_weekly_bin715> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Apr 19 02:55:35 2022
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 19 02:56:39 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 19 02:56:39 2022
Terminated at Tue Apr 19 06:15:46 2022
Results reported at Tue Apr 19 06:15:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1925.7+1227_weekly_bin715 291.431 12.4639 671414401 672019201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1925.7+1227 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   11871.00 sec.
    Max Memory :                                 686 MB
    Average Memory :                             646.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   11947 sec.
    Turnaround time :                            12011 sec.

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

