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


Performing analysis on: 4FGL_J2245.9+1544_daily_bin1732
RA = 341.491, Dec = 15.7479
tmin = 688262401, tmax = 688521601
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='647667', job_status='RUN', time_executed='2022-10-27 00:38:45.926941', time_epoch_executed='1666856325.93' WHERE source_name='4FGL J2245.9+1544' and cadence='daily' and bin_id='1732'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/647667

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/647667/ft1_4FGL_J2245.9+1544_daily_bin1732.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/647667/ft2_4FGL_J2245.9+1544_daily_bin1732.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/647667/ft1_4FGL_J2245.9+1544_daily_bin1732.fits outfile=/scratch/kocevski/647667/ft1_filteredMKT_4FGL_J2245.9+1544_daily_bin1732.fits ra=341.491 dec=15.7479 rad=12.0 tmin=688262401.0 tmax=688521601.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.27
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/647667/ft2_4FGL_J2245.9+1544_daily_bin1732.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/647667/ft2_4FGL_J2245.9+1544_daily_bin1732.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/647667/ft1_filteredMKT_4FGL_J2245.9+1544_daily_bin1732.fits evtable="EVENTS" outfile="/scratch/kocevski/647667/ft1_filtered_4FGL_J2245.9+1544_daily_bin1732.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.33
sys 0.15

Number of photons that the gtmktime cut: 888

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/647667/ft1_filtered_4FGL_J2245.9+1544_daily_bin1732.fits" evtable="EVENTS" scfile=/scratch/kocevski/647667/ft2_4FGL_J2245.9+1544_daily_bin1732.fits sctable="SC_DATA" outfile=/scratch/kocevski/647667/ltcube_688262401_688521601_4FGL_J2245.9+1544_daily_bin1732.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/647667/ft2_4FGL_J2245.9+1544_daily_bin1732.fits
.....................!
real 12.16
user 11.82
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/647667/ft1_filtered_4FGL_J2245.9+1544_daily_bin1732.fits evtable="EVENTS" scfile=/scratch/kocevski/647667/ft2_4FGL_J2245.9+1544_daily_bin1732.fits sctable="SC_DATA" expcube=/scratch/kocevski/647667/ltcube_688262401_688521601_4FGL_J2245.9+1544_daily_bin1732.fits outfile=/scratch/kocevski/647667/expmap_688262401_688521601_4FGL_J2245.9+1544_daily_bin1732.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/647667/ltcube_688262401_688521601_4FGL_J2245.9+1544_daily_bin1732.fits
.....................!
real 190.89
user 185.55
sys 5.02

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

Setting source of interest to:
4FGL J2245.9+1544 @ 341.491 15.7479

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/647667/ft1_filtered_4FGL_J2245.9+1544_daily_bin1732.fits scfile=/scratch/kocevski/647667/ft2_4FGL_J2245.9+1544_daily_bin1732.fits outfile=/scratch/kocevski/647667/cmap_688262401_688521601_4FGL_J2245.9+1544_daily_bin1732.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=341.491 yref=15.7479 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/647667/ft1_filtered_4FGL_J2245.9+1544_daily_bin1732.fits scfile=/scratch/kocevski/647667/ft2_4FGL_J2245.9+1544_daily_bin1732.fits outfile=/scratch/kocevski/647667/cmap_HighResolution_688262401_688521601_4FGL_J2245.9+1544_daily_bin1732.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=341.491 yref=15.7479 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.68
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/647667/ft1_filtered_4FGL_J2245.9+1544_daily_bin1732.fits evtable="EVENTS" scfile=/scratch/kocevski/647667/ft2_4FGL_J2245.9+1544_daily_bin1732.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/647667/Model_4FGL_J2245.9+1544_daily_bin1732.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/647667/ft1_filtered_4FGL_J2245.9+1544_daily_bin1732.fits.....................!
real 96.35
user 94.96
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/647667/ft1_filtered_4FGL_J2245.9+1544_daily_bin1732.fits', '/scratch/kocevski/647667/ft2_4FGL_J2245.9+1544_daily_bin1732.fits', expMap='/scratch/kocevski/647667/expmap_688262401_688521601_4FGL_J2245.9+1544_daily_bin1732.fits', expCube='/scratch/kocevski/647667/ltcube_688262401_688521601_4FGL_J2245.9+1544_daily_bin1732.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/647667/Model_4FGL_J2245.9+1544_daily_bin1732.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2245.9+1544'

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  5.169e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
284        Index:  1.964e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
285        Scale:  3.328e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/647667/ft1_filtered_4FGL_J2245.9+1544_daily_bin1732.fits
Spacecraft file(s): /scratch/kocevski/647667/ft2_4FGL_J2245.9+1544_daily_bin1732.fits
Exposure map: /scratch/kocevski/647667/expmap_688262401_688521601_4FGL_J2245.9+1544_daily_bin1732.fits
Exposure cube: /scratch/kocevski/647667/ltcube_688262401_688521601_4FGL_J2245.9+1544_daily_bin1732.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/647667/Model_4FGL_J2245.9+1544_daily_bin1732.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) = 9121.36122872

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .92711       1.0000          .0000       .10000E+07
     2 'Prefactor '    35.854       1.0000          .0000       .10000E+07
     3 'norm      '    .22526E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .50749E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    8.8599       1.0000          .0000       .10000E+07
     6 'Prefactor '    .77060       1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.5758       1.0000         .10000E-03   10000.    
     8 'norm      '    1.5737       1.0000          .0000       .10000E+07
     9 'Prefactor '    .53141E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .24245E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    3.5001       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .58245E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .20067E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    31.922       1.0000          .0000       .10000E+07
    15 'Prefactor '    .47976E-05   1.0000          .0000       .10000E+07
    16 'Prefactor '    4.6430       1.0000          .0000       .10000E+07
    17 'norm      '    2.8625       1.0000          .0000       .10000E+07
    18 'Prefactor '    .23648E-02   1.0000          .0000       .10000E+07
    19 'norm      '    .20153E-05   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1105       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .95788       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9121.255     FROM MIGRAD    STATUS=CONVERGED    114 CALLS     1294 TOTAL
                     EDM=   .38E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .92741        .93349        .65084E-06    .21254E-02
   2  Prefactor     35.262        3.0425        .13956E-06    .15339E-01
   3  norm          .55511E-10    1.7989       -.24534E-05** at limit **
   4  Prefactor     .12625E-05    10.300        .13662E-05** at limit **
   5  Prefactor     9.0110        4.7318       -.67773E-06   -.39824E-02
   6  Prefactor     .77078        .23685        .12999E-05   -.26602E-03
   7  Prefactor     7.6007        7.4203        .39741E-05    .42637E-04
   8  norm          1.5730        1.1221        .28116E-06   -.85109E-02
   9  Prefactor     .12799E-05    8.3940        .77259E-06** at limit **
  10  Prefactor     .18874E-08    6.9248       -.37580E-05** at limit **
  11  Prefactor     3.5003        .30902       -.10412E-06    .18894E-02
  12  Prefactor     .11147E-06    8.8528       -.44013E-05** at limit **
  13  Prefactor     .10436E-07    4.9757       -.36778E-05** at limit **
  14  Prefactor     33.738        28.444        .27166E-05   -.13627E-01
  15  Prefactor     .17208E-08    4.3873       -.39493E-06** at limit **
  16  Prefactor     4.5975        3.7802        .21755E-07    .14945E-01
  17  norm          2.6608        8.1702       -.21246E-06    .13232E-02
  18  Prefactor     .58287E-08    4.8688       -.29467E-06** at limit **
  19  norm          .11102E-09    6.0924       -.87473E-07** at limit **
  20  Normalizat    1.1093        .26691        .50699E-05    .59802E-04
  21  Prefactor     .95822        .14232        .79890E-05    .19352E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.927407
  Prefactor  = 35.2618
  norm       = 5.55112e-11
  Prefactor  = 1.26255e-06
  Prefactor  = 9.01104
  Prefactor  = 0.770778
  Prefactor  = 7.60075
  norm       = 1.573
  Prefactor  = 1.27987e-06
  Prefactor  = 1.88738e-09
  Prefactor  = 3.50027
  Prefactor  = 1.11466e-07
  Prefactor  = 1.04361e-08
  Prefactor  = 33.7383
  Prefactor  = 1.72085e-09
  Prefactor  = 4.5975
  norm       = 2.66083
  Prefactor  = 5.82867e-09
  norm       = 1.11022e-10
  Normalizat = 1.10927
  Prefactor  = 0.958221
 **********
 **   18 **HESSE 
 **********

 FCN=   9121.255     FROM HESSE     STATUS=OK           359 CALLS     1653 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .92741        .93896        .43904E-03   -1.5689    
   2  Prefactor     35.262        19.544        .16702E-03   -1.5589    
   3  norm          .55511E-10    1.8077        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .12625E-05    19.441        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.0110        12.761        .33650E-03   -1.5648    
   6  Prefactor     .77078        .23840        .55024E-02   -1.5532    
   7  Prefactor     7.6007        7.4128        .36425E-02   -1.5157    
   8  norm          1.5730        1.1119        .84684E-03   -1.5683    
   9  Prefactor     .12799E-05    17.511        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .18874E-08    7.2858        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.5003        .30819        .33748E-02   -1.5334    
  12  Prefactor     .11147E-06    13.476        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10436E-07    14.457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     33.738        28.791        .17702E-03   -1.5592    
  15  Prefactor     .17208E-08    9.3647        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.5975        25.923        .46683E-03   -1.5665    
  17  norm          2.6608        8.1851        .60060E-03   -1.5675    
  18  Prefactor     .58287E-08    9.1445        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .11102E-09    6.6772        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1093        .23323        .84949E-01   -.89455    
  21  Prefactor     .95822        .12101        .45738E-01   -.94135    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79915e-07
Minuit parameter uncertainties:
  1  0.938957
  2  19.5438
  3  2.43796e-05
  4  0.00990871
  5  12.761
  6  0.238399
  7  7.41373
  8  1.11188
  9  0.00946826
  10  0.000233377
  11  0.308188
  12  0.00245102
  13  0.000777676
  14  28.7906
  15  0.000253569
  16  21.8342
  17  8.18515
  18  0.000462029
  19  6.06589e-05
  20  0.233447
  21  0.12104
Done.

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

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  1.280e-06  9.468e-03  0.000e+00  1.000e+06 ( 1.000e-14)
284        Index:  1.964e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
285        Scale:  3.328e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  9.582e-01  1.210e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  1.109e+00  2.334e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 341.491 15.748
Photon Flux Upper Limit: 7.41e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.54e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/647667/likelihoodResults_688262401_688521601_4FGL_J2245.9+1544_daily_bin1732.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) = 9121.28220562
delta logL = -0.0273427574466

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9121.25486393
delta logL = -1.06335755845e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9121.203     FROM MIGRAD    STATUS=FAILED       391 CALLS      547 TOTAL
                     EDM=   .54E-01    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .73441E-07    .10604E-05     .0000    ** at limit **
   2  Index         8.1442        1.4853         .0000        .12938E-03
   3  Normalizat    1.0902        .19595E-01     .0000        .52879E-03
   4  Prefactor     .96525        .10769E-01     .0000        .99007E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   9121.203     FROM SIMPLEX   STATUS=UNCHANGED     63 CALLS      610 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .73441E-07    .10604E-05    .59333E-07** at limit **
   2  Index         8.1442        1.4853        .15842E-01    .12938E-03
   3  Normalizat    1.0902        .19595E-01    .22696E-03    .52879E-03
   4  Prefactor     .96525        .10769E-01    .57192E-04    .99007E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 FCN=   9121.203     FROM MIGRAD    STATUS=FAILED        51 CALLS      661 TOTAL
                     EDM=   .22E+00    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .73441E-07    .43054E-05     .0000    ** at limit **
   2  Index         8.1442        8.2917         .0000        .46722E-03
   3  Normalizat    1.0902        .36665E-01     .0000        .41207E-03
   4  Prefactor     .96525        .20101E-01     .0000        .85338E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.34413e-08
  Index      = 8.14421
  Normalizat = 1.09021
  Prefactor  = 0.965248
 **********
 **   18 **HESSE 
 **********

 FCN=   9121.203     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      692 TOTAL
                     EDM=   .48E+00    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .73441E-07    .46694E-05    .12152E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         8.1442        8.4069        .21264E-02    .68006    
   3  Normalizat    1.0902        .38453E-01    .15148E-04   -.90067    
   4  Prefactor     .96525        .21032E-01    .43730E-04   -.93897    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 0.480551
Minuit parameter uncertainties:
  1  1.17135e-06
  2  5.84761
  3  0.038454
  4  0.0210325
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/647667': 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): 1
logL (Free Index) = 9121.20297332
delta logL = 0.0518895425266

Extracting fit parameters...

4FGL J2245.9+1544
   Spectrum: PowerLaw
283    Prefactor:  7.344e-08  1.171e-06  0.000e+00  1.000e+06 ( 1.000e-14)
284        Index:  8.144e+00  5.848e+00  0.000e+00  1.000e+01 (-1.000e+00)
285        Scale:  3.328e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  9.652e-01  2.103e-02  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  1.090e+00  3.845e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 341.491 15.748

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/647667/cmap_HighResolution_688262401_688521601_4FGL_J2245.9+1544_daily_bin1732.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.54e-03', job_status='DONE', photon_flux_upper_limit='7.41e-08', time_completed='2022-10-27 00:49:42.637265', job_id='647667', GAL2='0.97', fit_tolerance='1e-08', EG2='1.09', EG='1.11', time_epoch_completed='1666856982.64', return_code2='1', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='5.19e-02', ts2='0.11', photon_index_error='0.00', photon_index='1.96' WHERE bin_id='1732' AND source_name='4FGL J2245.9+1544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct 27 00:49:42 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 647667: <4FGL_J2245.9+1544_daily_bin1732> in cluster <slac> Done

Job <4FGL_J2245.9+1544_daily_bin1732> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Oct 27 00:35:45 2022
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Oct 27 00:35:46 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Oct 27 00:35:46 2022
Terminated at Thu Oct 27 00:49:43 2022
Results reported at Thu Oct 27 00:49:43 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2245.9+1544_daily_bin1732 341.491 15.7479 688262401 688521601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2245.9+1544 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   659.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             271.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   836 sec.
    Turnaround time :                            838 sec.

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

