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


Performing analysis on: 4FGL_J2225.6+2120_daily_bin1663
RA = 336.414, Dec = 21.3418
tmin = 670377601, tmax = 670636801
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='261553', job_status='RUN', time_executed='2022-04-03 00:37:00.863356', time_epoch_executed='1648971420.86' WHERE source_name='4FGL J2225.6+2120' and cadence='daily' and bin_id='1663'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/261553

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/261553/ft1_4FGL_J2225.6+2120_daily_bin1663.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/261553/ft2_4FGL_J2225.6+2120_daily_bin1663.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/261553/ft1_4FGL_J2225.6+2120_daily_bin1663.fits outfile=/scratch/kocevski/261553/ft1_filteredMKT_4FGL_J2225.6+2120_daily_bin1663.fits ra=336.414 dec=21.3418 rad=12.0 tmin=670377601.0 tmax=670636801.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.83
user 3.59
sys 0.20

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

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

Number of photons that the gtmktime cut: 814

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/261553/ft1_filtered_4FGL_J2225.6+2120_daily_bin1663.fits" evtable="EVENTS" scfile=/scratch/kocevski/261553/ft2_4FGL_J2225.6+2120_daily_bin1663.fits sctable="SC_DATA" outfile=/scratch/kocevski/261553/ltcube_670377601_670636801_4FGL_J2225.6+2120_daily_bin1663.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/261553/ft2_4FGL_J2225.6+2120_daily_bin1663.fits
.....................!
real 12.16
user 11.84
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/261553/ft1_filtered_4FGL_J2225.6+2120_daily_bin1663.fits evtable="EVENTS" scfile=/scratch/kocevski/261553/ft2_4FGL_J2225.6+2120_daily_bin1663.fits sctable="SC_DATA" expcube=/scratch/kocevski/261553/ltcube_670377601_670636801_4FGL_J2225.6+2120_daily_bin1663.fits outfile=/scratch/kocevski/261553/expmap_670377601_670636801_4FGL_J2225.6+2120_daily_bin1663.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/261553/ltcube_670377601_670636801_4FGL_J2225.6+2120_daily_bin1663.fits
.....................!
real 191.13
user 186.30
sys 4.50

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/261553/ft1_filtered_4FGL_J2225.6+2120_daily_bin1663.fits scfile=/scratch/kocevski/261553/ft2_4FGL_J2225.6+2120_daily_bin1663.fits outfile=/scratch/kocevski/261553/cmap_670377601_670636801_4FGL_J2225.6+2120_daily_bin1663.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/261553/ft1_filtered_4FGL_J2225.6+2120_daily_bin1663.fits scfile=/scratch/kocevski/261553/ft2_4FGL_J2225.6+2120_daily_bin1663.fits outfile=/scratch/kocevski/261553/cmap_HighResolution_670377601_670636801_4FGL_J2225.6+2120_daily_bin1663.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.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/261553/ft1_filtered_4FGL_J2225.6+2120_daily_bin1663.fits', '/scratch/kocevski/261553/ft2_4FGL_J2225.6+2120_daily_bin1663.fits', expMap='/scratch/kocevski/261553/expmap_670377601_670636801_4FGL_J2225.6+2120_daily_bin1663.fits', expCube='/scratch/kocevski/261553/ltcube_670377601_670636801_4FGL_J2225.6+2120_daily_bin1663.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/261553/Model_4FGL_J2225.6+2120_daily_bin1663.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  1.000e-04  1.000e+04 ( 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/261553/ft1_filtered_4FGL_J2225.6+2120_daily_bin1663.fits
Spacecraft file(s): /scratch/kocevski/261553/ft2_4FGL_J2225.6+2120_daily_bin1663.fits
Exposure map: /scratch/kocevski/261553/expmap_670377601_670636801_4FGL_J2225.6+2120_daily_bin1663.fits
Exposure cube: /scratch/kocevski/261553/ltcube_670377601_670636801_4FGL_J2225.6+2120_daily_bin1663.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/261553/Model_4FGL_J2225.6+2120_daily_bin1663.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) = 8804.51929899

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    51.997       1.0000         .10000E-03   10000.    
     2 'norm      '    .21916       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.9320       1.0000         .10000E-03   10000.    
     4 'norm      '    1.0999       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.7153       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.611       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.6067       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .83529       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.2524       1.0000         .10000E-03   10000.    
    14 'norm      '    4.3223       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.0269       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    15.088       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .48414       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.6903       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1771       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .88896       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8804.519     FROM MIGRAD    STATUS=CONVERGED    582 CALLS     3695 TOTAL
                     EDM=   .31E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     51.997        73.586       -.82577E-07   -.52032E-05
   2  norm          .21916        1.5353        .44269E-06   -.27347E-03
   3  Prefactor     6.9307        23.227        .32453E-06   -.96812E-05
   4  norm          1.1000        1.0019        .13232E-07   -.30692E-04
   5  Prefactor     .10000E-03    31.544       -.22993E-05** at limit **
   6  norm          .10000E-03    .33334       -.14431E-07** at limit **
   7  Prefactor     8.7142        13.413        .73831E-06    .51979E-05
   8  norm          .10000E-03    2.4860        .20698E-09** at limit **
   9  Prefactor     16.611        15.689        .70886E-07    .27834E-05
  10  Prefactor     .10000E-03    52.621        .18061E-05** at limit **
  11  Prefactor     4.6071        7.3776        .12378E-05    .25439E-04
  12  Prefactor     .83531        .26315        .73342E-08    .11540E-03
  13  Prefactor     6.2523        6.7956        .64519E-08    .74425E-06
  14  norm          4.3222        1.3562       -.21712E-07   -.47105E-03
  15  Prefactor     .10000E-03    19.197        .21894E-05** at limit **
  16  norm          3.0269        1.9577        .12041E-07    .80410E-05
  17  Prefactor     .10000E-03    15.845       -.18476E-05** at limit **
  18  Prefactor     15.088        11.950        .30710E-07    .11199E-05
  19  Prefactor     .10000E-03    4.8513        .46625E-07** at limit **
  20  Prefactor     .48415        .15348       -.14203E-08    .57294E-03
  21  Prefactor     .10000E-03    4.8549       -.21970E-07** at limit **
  22  Prefactor     3.6906        7.1509        .21776E-05    .40920E-04
  23  Prefactor     .10000E-03    12.787        .34347E-06** at limit **
  24  Normalizat    1.1771        .21943       -.37635E-06   -.29751E-04
  25  Prefactor     .88896        .10503       -.15142E-06   -.60938E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 51.9974
  norm       = 0.219162
  Prefactor  = 6.93072
  norm       = 1.10002
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.71416
  norm       = 0.0001
  Prefactor  = 16.611
  Prefactor  = 0.0001
  Prefactor  = 4.6071
  Prefactor  = 0.835306
  Prefactor  = 6.25226
  norm       = 4.3222
  Prefactor  = 0.0001
  norm       = 3.0269
  Prefactor  = 0.0001
  Prefactor  = 15.0884
  Prefactor  = 0.0001
  Prefactor  = 0.484149
  Prefactor  = 0.0001
  Prefactor  = 3.69064
  Prefactor  = 0.0001
  Normalizat = 1.17708
  Prefactor  = 0.888957
 **********
 **   18 **HESSE 
 **********

 FCN=   8804.519     FROM HESSE     STATUS=OK           433 CALLS     4128 TOTAL
                     EDM=   .56E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     51.997        73.488        .55619E-04   -1.4265    
   2  norm          .21916        3.2107        .20987E-02   -1.5614    
   3  Prefactor     6.9307        22.918        .15238E-03   -1.5181    
   4  norm          1.1000        .98269        .86594E-04   -1.5498    
   5  Prefactor     .10000E-03    31.657        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .34764        .10562E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.7142        13.411        .67889E-03   -1.5117    
   8  norm          .10000E-03    2.5176        .14444E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.611        15.752        .98271E-04   -1.4893    
  10  Prefactor     .10000E-03    52.706        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.6071        7.3827        .93766E-03   -1.5279    
  12  Prefactor     .83531        .26274        .24416E-04   -1.5525    
  13  Prefactor     6.2523        6.8059        .16054E-03   -1.5208    
  14  norm          4.3222        1.3580        .58697E-04   -1.5292    
  15  Prefactor     .10000E-03    19.340        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.0269        1.9538        .99370E-04   -1.5360    
  17  Prefactor     .10000E-03    15.903        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     15.088        11.951        .10311E-03   -1.4931    
  19  Prefactor     .10000E-03    4.8523        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .48415        .15301        .19672E-04   -1.5569    
  21  Prefactor     .10000E-03    4.8747        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     3.6906        7.1758        .10512E-02   -1.5324    
  23  Prefactor     .10000E-03    12.824        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.1771        .26334        .34235E-03   -.87314    
  25  Prefactor     .88896        .12644        .19215E-03   -.96528    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.60116e-08
Minuit parameter uncertainties:
  1  73.6169
  2  1.67742
  3  22.9475
  4  0.982704
  5  1.42897e-05
  6  2.88439e-07
  7  13.4151
  8  2.88621e-07
  9  15.756
  10  1.19002e-05
  11  7.38415
  12  0.262744
  13  6.80677
  14  1.358
  15  6.50889e-05
  16  1.95388
  17  8.99351e-06
  18  11.9527
  19  2.80104e-08
  20  0.153013
  21  5.08305e-07
  22  7.17747
  23  5.3894e-08
  24  0.263641
  25  0.12648
Done.

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

Extracting fit parameters...

4FGL J2225.6+2120
   Spectrum: PowerLaw
273    Prefactor:  4.607e+00  7.384e+00  1.000e-04  1.000e+04 ( 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:  8.890e-01  1.265e-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:  1.177e+00  2.636e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.62
Ra Dec: 336.414 21.342
Photon Flux Upper Limit: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.28e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/261553/likelihoodResults_670377601_670636801_4FGL_J2225.6+2120_daily_bin1663.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) = 8803.88174424
delta logL = 0.636953987349

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8803.84734553
delta logL = 0.671352701414

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.3604       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7667       1.0000          .0000       10.000    
     3 'Normalizat'    1.1916       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88224       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=   8803.847     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      216 TOTAL
                     EDM=   .68E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3697        7.2736        .39788E-02    .46403E-05
   2  Index         1.7664        .44086        .27332       -.70302E-04
   3  Normalizat    1.1917        .20866        .76911E-01    .19565E-04
   4  Prefactor     .88219        .10385        .44778E-01    .79003E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.36975
  Index      = 1.76638
  Normalizat = 1.19165
  Prefactor  = 0.882187
 **********
 **   18 **HESSE 
 **********

 FCN=   8803.847     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .42E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.3697        8.0805        .15915E-03   -1.5203    
   2  Index         1.7664        .68850        .10523E-01   -.70328    
   3  Normalizat    1.1917        .24938        .34042E-03   -.86861    
   4  Prefactor     .88219        .12425        .19271E-03   -.96766    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.15284e-12
Minuit parameter uncertainties:
  1  8.08188
  2  0.692293
  3  0.249632
  4  0.124286
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/261553': 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) = 8803.8473441
delta logL = 0.671354128164

Extracting fit parameters...

4FGL J2225.6+2120
   Spectrum: PowerLaw
273    Prefactor:  6.370e+00  8.082e+00  1.000e-04  1.000e+04 ( 1.000e-12)
274        Index:  1.766e+00  6.923e-01  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:  8.822e-01  1.243e-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:  1.192e+00  2.496e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.96
Ra Dec: 336.414 21.342
Photon Index (Free Index): 1.77 +/- 0.69
Photon Flux (Free Index): 1.24e-08 +/- 1.68e-08
Energy Flux (Free Index): 1.64e-05 +/- 2.92e-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/261553/cmap_HighResolution_670377601_670636801_4FGL_J2225.6+2120_daily_bin1663.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.28e-03', comment='SUCCESS', energy_flux2='1.64e-05', dlogl='6.71e-01', photon_flux2='1.24e-08', job_status='DONE', time_completed='2022-04-03 00:51:35.989859', photon_index_error2='0.69', photon_index2='1.77', ts='0.62', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', photon_flux_upper_limit='1.05e-07', energy_flux_error2='2.92e-05', EG='1.18', time_epoch_completed='1648972295.99', return_code='0', job_id='261553', GAL2='0.88', EG2='1.19', return_code2='0', photon_flux_error2='1.68e-08', ts2='1.96', photon_index='2.81' WHERE bin_id='1663' AND source_name='4FGL J2225.6+2120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Apr  3 00:51:36 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0160>
Subject: Job 261553: <4FGL_J2225.6+2120_daily_bin1663> in cluster <slac> Done

Job <4FGL_J2225.6+2120_daily_bin1663> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Apr  3 00:35:38 2022
Job was executed on host(s) <bullet0160>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr  3 00:35:39 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr  3 00:35:39 2022
Terminated at Sun Apr  3 00:51:36 2022
Results reported at Sun Apr  3 00:51:36 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2225.6+2120_daily_bin1663 336.414 21.3418 670377601 670636801 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 :                                   877.09 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             316.47 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   957 sec.
    Turnaround time :                            958 sec.

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

