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


Performing analysis on: 4FGL_J2225.6+2120_daily_bin1730
RA = 336.414, Dec = 21.3418
tmin = 687744001, tmax = 688003201
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='469113', job_status='RUN', time_executed='2022-10-21 00:36:04.603251', time_epoch_executed='1666337764.6' WHERE source_name='4FGL J2225.6+2120' and cadence='daily' and bin_id='1730'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/469113

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/469113/ft1_4FGL_J2225.6+2120_daily_bin1730.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/469113/ft2_4FGL_J2225.6+2120_daily_bin1730.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/469113/ft1_4FGL_J2225.6+2120_daily_bin1730.fits outfile=/scratch/kocevski/469113/ft1_filteredMKT_4FGL_J2225.6+2120_daily_bin1730.fits ra=336.414 dec=21.3418 rad=12.0 tmin=687744001.0 tmax=688003201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.90
user 4.64
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/469113/ft2_4FGL_J2225.6+2120_daily_bin1730.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/469113/ft2_4FGL_J2225.6+2120_daily_bin1730.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/469113/ft1_filteredMKT_4FGL_J2225.6+2120_daily_bin1730.fits evtable="EVENTS" outfile="/scratch/kocevski/469113/ft1_filtered_4FGL_J2225.6+2120_daily_bin1730.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.51
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 1201

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/469113/ft1_filtered_4FGL_J2225.6+2120_daily_bin1730.fits" evtable="EVENTS" scfile=/scratch/kocevski/469113/ft2_4FGL_J2225.6+2120_daily_bin1730.fits sctable="SC_DATA" outfile=/scratch/kocevski/469113/ltcube_687744001_688003201_4FGL_J2225.6+2120_daily_bin1730.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/469113/ft2_4FGL_J2225.6+2120_daily_bin1730.fits
.....................!
real 11.65
user 11.31
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/469113/ft1_filtered_4FGL_J2225.6+2120_daily_bin1730.fits evtable="EVENTS" scfile=/scratch/kocevski/469113/ft2_4FGL_J2225.6+2120_daily_bin1730.fits sctable="SC_DATA" expcube=/scratch/kocevski/469113/ltcube_687744001_688003201_4FGL_J2225.6+2120_daily_bin1730.fits outfile=/scratch/kocevski/469113/expmap_687744001_688003201_4FGL_J2225.6+2120_daily_bin1730.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/469113/ltcube_687744001_688003201_4FGL_J2225.6+2120_daily_bin1730.fits
.....................!
real 190.94
user 185.42
sys 5.17

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

Setting source of interest to:
4FGL J2225.6+2120 @ 336.414 21.3418

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/469113/ft1_filtered_4FGL_J2225.6+2120_daily_bin1730.fits scfile=/scratch/kocevski/469113/ft2_4FGL_J2225.6+2120_daily_bin1730.fits outfile=/scratch/kocevski/469113/cmap_687744001_688003201_4FGL_J2225.6+2120_daily_bin1730.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=336.414 yref=21.3418 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.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/469113/ft1_filtered_4FGL_J2225.6+2120_daily_bin1730.fits scfile=/scratch/kocevski/469113/ft2_4FGL_J2225.6+2120_daily_bin1730.fits outfile=/scratch/kocevski/469113/cmap_HighResolution_687744001_688003201_4FGL_J2225.6+2120_daily_bin1730.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=336.414 yref=21.3418 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.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/469113/ft1_filtered_4FGL_J2225.6+2120_daily_bin1730.fits evtable="EVENTS" scfile=/scratch/kocevski/469113/ft2_4FGL_J2225.6+2120_daily_bin1730.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/469113/Model_4FGL_J2225.6+2120_daily_bin1730.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/469113/ft1_filtered_4FGL_J2225.6+2120_daily_bin1730.fits.....................!
real 116.53
user 115.06
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/469113/ft1_filtered_4FGL_J2225.6+2120_daily_bin1730.fits', '/scratch/kocevski/469113/ft2_4FGL_J2225.6+2120_daily_bin1730.fits', expMap='/scratch/kocevski/469113/expmap_687744001_688003201_4FGL_J2225.6+2120_daily_bin1730.fits', expCube='/scratch/kocevski/469113/ltcube_687744001_688003201_4FGL_J2225.6+2120_daily_bin1730.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/469113/Model_4FGL_J2225.6+2120_daily_bin1730.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2225.6+2120'

4FGL J2225.6+2120
   Spectrum: PowerLaw
273    Prefactor:  3.284e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  2.811e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  4.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/469113/ft1_filtered_4FGL_J2225.6+2120_daily_bin1730.fits
Spacecraft file(s): /scratch/kocevski/469113/ft2_4FGL_J2225.6+2120_daily_bin1730.fits
Exposure map: /scratch/kocevski/469113/expmap_687744001_688003201_4FGL_J2225.6+2120_daily_bin1730.fits
Exposure cube: /scratch/kocevski/469113/ltcube_687744001_688003201_4FGL_J2225.6+2120_daily_bin1730.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/469113/Model_4FGL_J2225.6+2120_daily_bin1730.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 11559.2158455

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .86607E-01   1.0000          .0000       .10000E+07
     2 'norm      '    .27846E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    69.044       1.0000          .0000       .10000E+07
     4 'norm      '    .24980E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    2.5247       1.0000          .0000       .10000E+07
     6 'norm      '    .99476E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    27.941       1.0000          .0000       .10000E+07
     8 'norm      '    8.0310       1.0000          .0000       .10000E+07
     9 'Prefactor '    .78881E-07   1.0000          .0000       .10000E+07
    10 'Prefactor '    13.645       1.0000          .0000       .10000E+07
    11 'Prefactor '    .85446       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10325E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .55012E-06   1.0000          .0000       .10000E+07
    14 'norm      '    2.0333       1.0000          .0000       .10000E+07
    15 'Prefactor '    .29732E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    34.580       1.0000          .0000       .10000E+07
    17 'Prefactor '    6.9960       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .19079E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    17.632       1.0000          .0000       .10000E+07
    20 'Normalizat'    .68805       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1184       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5150E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11555.08     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     1013 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11102E-09    36.293        .24077E-07** at limit **
   2  norm          .44464E-06    1.3702        .44042E-07** at limit **
   3  Prefactor     69.560        6.7661       -.75691E-09    .26344    
   4  norm          .55511E-10    .44998        .67926E-07** at limit **
   5  Prefactor     .45414E-05    151.64       -.52130E-07** at limit **
   6  norm           .0000        .70933       -.10787E-07** at limit **
   7  Prefactor     27.360        19.949       -.13563E-07    .33727E-01
   8  norm          8.0241        5.4118       -.11442E-06   -.65708E-02
   9  Prefactor     .22204E-09    3.2229        .60131E-08** at limit **
  10  Prefactor     13.719        12.315       -.20090E-08    .19010E-01
  11  Prefactor     .85390        .22425        .47253E-07    .16262E-02
  12  Prefactor     .10000E-03    3.4408        .53907E-06** at limit **
  13  norm          .16653E-09    1.2054        .86414E-07** at limit **
  14  norm          2.0358        1.6331       -.13298E-07   -.13004E-02
  15  Prefactor     .54401E-08    12.189        .97284E-07** at limit **
  16  Prefactor     34.396        2.3315        .73895E-08   -.12588    
  17  Prefactor     6.9956        .39802       -.47979E-07   -.38193E-02
  18  Prefactor     .22204E-09    4.9877       -.36575E-08** at limit **
  19  Prefactor     17.832        2.3244       -.41580E-08    .88315E-02
  20  Normalizat    .68987        .26596        .24290E-05   -.10429E-05
  21  Prefactor     1.1184        .13228       -.82113E-06   -.93759E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.11022e-10
  norm       = 4.44644e-07
  Prefactor  = 69.5605
  norm       = 5.55112e-11
  Prefactor  = 4.54142e-06
  norm       = 0
  Prefactor  = 27.3603
  norm       = 8.0241
  Prefactor  = 2.22045e-10
  Prefactor  = 13.7193
  Prefactor  = 0.853904
  Prefactor  = 0.0001
  norm       = 1.66533e-10
  norm       = 2.03582
  Prefactor  = 5.44009e-09
  Prefactor  = 34.3957
  Prefactor  = 6.99564
  Prefactor  = 2.22045e-10
  Prefactor  = 17.8315
  Normalizat = 0.689871
  Prefactor  = 1.11841
 **********
 **   18 **HESSE 
 **********

 FCN=   11555.08     FROM HESSE     STATUS=OK           367 CALLS     1380 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11102E-09    36.317        .14304E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .44464E-06    1.2808        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     69.560        32.475        .12035E-03   -1.5541    
   4  norm          .55511E-10    .44807        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .45414E-05    155.20        .64262E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .33205        .22951E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     27.360        20.348        .18921E-03   -1.5603    
   8  norm          8.0241        5.4424        .35356E-03   -1.5651    
   9  Prefactor     .22204E-09    3.2526        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     13.719        12.471        .27090E-03   -1.5634    
  11  Prefactor     .85390        .22548        .56956E-02   -1.5523    
  12  Prefactor     .10000E-03    3.4365        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .16653E-09    1.1569        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.0358        1.6745        .72512E-03   -1.5679    
  15  Prefactor     .54401E-08    12.402        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     34.396        15.275        .17007E-03   -1.5591    
  17  Prefactor     6.9956        .39913        .35138E-02   -1.5179    
  18  Prefactor     .22204E-09    5.0402        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     17.832        17.650        .23825E-03   -1.5624    
  20  Normalizat    .68987        .24764        .11432       -1.0429    
  21  Prefactor     1.1184        .11961        .36927E-01   -.88880    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.20789e-06
Minuit parameter uncertainties:
  1  0.000111903
  2  0.00150934
  3  32.4755
  4  9.31182e-06
  5  0.0530987
  6  2.26732e-06
  7  20.3478
  8  5.44239
  9  5.14765e-05
  10  12.4713
  11  0.225479
  12  1.99503e-05
  13  2.76014e-05
  14  1.67449
  15  0.000518985
  16  15.275
  17  0.399134
  18  6.47333e-05
  19  17.6505
  20  0.248043
  21  0.119637
Done.

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

Extracting fit parameters...

4FGL J2225.6+2120
   Spectrum: PowerLaw
273    Prefactor:  1.372e+01  1.247e+01  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  2.811e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  4.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  1.118e+00  1.196e-01  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  6.899e-01  2.480e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.69
Ra Dec: 336.414 21.342
Photon Index (Fixed Index): 2.81 +/- 0.00
Photon Flux (Fixed Index): 5.62e-08 +/- 5.11e-08
Energy Flux (Fixed Index): 1.25e-05 +/- 1.14e-05

TS (Fixed Index): 1.69
Ra Dec: 336.414 21.342
Photon Flux Upper Limit: 1.58e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.25e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/469113/likelihoodResults_687744001_688003201_4FGL_J2225.6+2120_daily_bin1730.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) = 11554.7355352
delta logL = 0.342218099391

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11554.7137303
delta logL = 0.36402301505

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11554.71     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      303 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0029        13.841        .43949E-03    .18957E-01
   2  Index         5.2474        3.8895        .20162        .21330E-03
   3  Normalizat    .64553        .62715E-01    .11788        .18547E-03
   4  Prefactor     1.1404        .32099E-01    .36223E-01   -.20276E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.00291
  Index      = 5.24743
  Normalizat = 0.64553
  Prefactor  = 1.14038
 **********
 **   18 **HESSE 
 **********

 FCN=   11554.71     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      334 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0029        29.611        .78544E-05   -1.5688    
   2  Index         5.2474        7.6236        .94202E-02    .49505E-01
   3  Normalizat    .64553        .21731        .52299E-03   -1.0608    
   4  Prefactor     1.1404        .11034        .20719E-03   -.88186    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.262e-09
Minuit parameter uncertainties:
  1  10.899
  2  8.04806
  3  0.217602
  4  0.110364
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/469113': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11554.7137299
delta logL = 0.364023376886

Extracting fit parameters...

4FGL J2225.6+2120
   Spectrum: PowerLaw
273    Prefactor:  1.003e+00  1.090e+01  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  5.247e+00  8.048e+00  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  4.626e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
512    Prefactor:  1.140e+00  1.104e-01  0.000e+00  1.000e+01 ( 1.000e+00)
513        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
514        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
511   Normalization:  6.455e-01  2.176e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.54
Ra Dec: 336.414 21.342
Photon Index (Free Index): 5.25 +/- 8.05
Photon Flux (Free Index): 7.36e-08 +/- 6.24e-08
Energy Flux (Free Index): 9.60e-06 +/- 1.19e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/469113/cmap_HighResolution_687744001_688003201_4FGL_J2225.6+2120_daily_bin1730.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.25e-02', comment='SUCCESS', photon_flux='5.62e-08', energy_flux2='9.60e-06', photon_flux_error='5.11e-08', dlogl='3.64e-01', energy_flux='1.25e-05', photon_flux2='7.36e-08', job_status='DONE', time_completed='2022-10-21 00:48:17.920172', photon_index_error2='8.05', photon_index2='5.25', ts='1.69', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', photon_flux_upper_limit='1.58e-07', energy_flux_error2='1.19e-05', EG='0.69', time_epoch_completed='1666338497.92', return_code='0', job_id='469113', GAL2='1.14', EG2='0.65', return_code2='102', energy_flux_error='1.14e-05', photon_flux_error2='6.24e-08', ts2='2.54', photon_index='2.81' WHERE bin_id='1730' AND source_name='4FGL J2225.6+2120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct 21 00:48:17 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0174>
Subject: Job 469113: <4FGL_J2225.6+2120_daily_bin1730> in cluster <slac> Done

Job <4FGL_J2225.6+2120_daily_bin1730> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Oct 21 00:35:23 2022
Job was executed on host(s) <bullet0174>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Oct 21 00:35:25 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Oct 21 00:35:25 2022
Terminated at Fri Oct 21 00:48:18 2022
Results reported at Fri Oct 21 00:48:18 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2225.6+2120_daily_bin1730 336.414 21.3418 687744001 688003201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2225.6+2120 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   734.57 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             383.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   773 sec.
    Turnaround time :                            775 sec.

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

