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


Performing analysis on: 4FGL_J2225.7-0457_daily_bin1685
RA = 336.432, Dec = -4.9537
tmin = 676080001, tmax = 676339201
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='384725', job_status='RUN', time_executed='2022-06-08 01:14:05.511860', time_epoch_executed='1654676045.51' WHERE source_name='4FGL J2225.7-0457' and cadence='daily' and bin_id='1685'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/384725

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/384725/ft1_4FGL_J2225.7-0457_daily_bin1685.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/384725/ft2_4FGL_J2225.7-0457_daily_bin1685.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/384725/ft1_4FGL_J2225.7-0457_daily_bin1685.fits outfile=/scratch/kocevski/384725/ft1_filteredMKT_4FGL_J2225.7-0457_daily_bin1685.fits ra=336.432 dec=-4.9537 rad=12.0 tmin=676080001.0 tmax=676339201.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.65
user 3.39
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/384725/ft2_4FGL_J2225.7-0457_daily_bin1685.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/384725/ft2_4FGL_J2225.7-0457_daily_bin1685.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/384725/ft1_filteredMKT_4FGL_J2225.7-0457_daily_bin1685.fits evtable="EVENTS" outfile="/scratch/kocevski/384725/ft1_filtered_4FGL_J2225.7-0457_daily_bin1685.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.34
sys 0.17

Number of photons that the gtmktime cut: 900

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/384725/ft1_filtered_4FGL_J2225.7-0457_daily_bin1685.fits" evtable="EVENTS" scfile=/scratch/kocevski/384725/ft2_4FGL_J2225.7-0457_daily_bin1685.fits sctable="SC_DATA" outfile=/scratch/kocevski/384725/ltcube_676080001_676339201_4FGL_J2225.7-0457_daily_bin1685.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/384725/ft2_4FGL_J2225.7-0457_daily_bin1685.fits
.....................!
real 15.74
user 15.23
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/384725/ft1_filtered_4FGL_J2225.7-0457_daily_bin1685.fits evtable="EVENTS" scfile=/scratch/kocevski/384725/ft2_4FGL_J2225.7-0457_daily_bin1685.fits sctable="SC_DATA" expcube=/scratch/kocevski/384725/ltcube_676080001_676339201_4FGL_J2225.7-0457_daily_bin1685.fits outfile=/scratch/kocevski/384725/expmap_676080001_676339201_4FGL_J2225.7-0457_daily_bin1685.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/384725/ltcube_676080001_676339201_4FGL_J2225.7-0457_daily_bin1685.fits
.....................!
real 194.20
user 187.85
sys 5.39

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

Setting source of interest to:
4FGL J2225.7-0457 @ 336.432 -4.9537

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/384725/ft1_filtered_4FGL_J2225.7-0457_daily_bin1685.fits scfile=/scratch/kocevski/384725/ft2_4FGL_J2225.7-0457_daily_bin1685.fits outfile=/scratch/kocevski/384725/cmap_676080001_676339201_4FGL_J2225.7-0457_daily_bin1685.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.432 yref=-4.9537 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.60
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/384725/ft1_filtered_4FGL_J2225.7-0457_daily_bin1685.fits scfile=/scratch/kocevski/384725/ft2_4FGL_J2225.7-0457_daily_bin1685.fits outfile=/scratch/kocevski/384725/cmap_HighResolution_676080001_676339201_4FGL_J2225.7-0457_daily_bin1685.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.432 yref=-4.9537 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.57
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/384725/ft1_filtered_4FGL_J2225.7-0457_daily_bin1685.fits evtable="EVENTS" scfile=/scratch/kocevski/384725/ft2_4FGL_J2225.7-0457_daily_bin1685.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/384725/Model_4FGL_J2225.7-0457_daily_bin1685.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/384725/ft1_filtered_4FGL_J2225.7-0457_daily_bin1685.fits....................!
real 87.05
user 84.54
sys 1.55

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/384725/ft1_filtered_4FGL_J2225.7-0457_daily_bin1685.fits', '/scratch/kocevski/384725/ft2_4FGL_J2225.7-0457_daily_bin1685.fits', expMap='/scratch/kocevski/384725/expmap_676080001_676339201_4FGL_J2225.7-0457_daily_bin1685.fits', expCube='/scratch/kocevski/384725/ltcube_676080001_676339201_4FGL_J2225.7-0457_daily_bin1685.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/384725/Model_4FGL_J2225.7-0457_daily_bin1685.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2225.7-0457'

4FGL J2225.7-0457
   Spectrum: PowerLaw
236    Prefactor:  2.714e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  2.425e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
238        Scale:  7.735e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/384725/ft1_filtered_4FGL_J2225.7-0457_daily_bin1685.fits
Spacecraft file(s): /scratch/kocevski/384725/ft2_4FGL_J2225.7-0457_daily_bin1685.fits
Exposure map: /scratch/kocevski/384725/expmap_676080001_676339201_4FGL_J2225.7-0457_daily_bin1685.fits
Exposure cube: /scratch/kocevski/384725/ltcube_676080001_676339201_4FGL_J2225.7-0457_daily_bin1685.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/384725/Model_4FGL_J2225.7-0457_daily_bin1685.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) = 9527.07026906

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10206E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .15249E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    23.231       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10894E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.251       1.0000         .10000E-03   10000.    
     7 'Prefactor '    47.782       1.0000         .10000E-03   10000.    
     8 'Prefactor '    83.106       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.1406       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.0359       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10132E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10184E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.3314       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11934E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.7973       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.5551       1.0000         .10000E-03   10000.    
    19 'norm      '    8.1831       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1134       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .78243       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9526.917     FROM MIGRAD    STATUS=CONVERGED    466 CALLS     1949 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.049       -.86783E-06** at limit **
   2  Prefactor     .10012E-03    2.0848       -.34850E-06** at limit **
   3  Prefactor     .10000E-03    6.8369        .61492E-07** at limit **
   4  Prefactor     23.236        15.015        .74962E-07   -.43559E-04
   5  Prefactor     .10015E-03    11.698        .41411E-05** at limit **
   6  Prefactor     17.254        11.211        .19574E-06   -.25102E-03
   7  Prefactor     47.780        12.566       -.13308E-06   -.70956E-04
   8  Prefactor     83.108        14.250        .64583E-07   -.22016E-03
   9  Prefactor     3.0735        107.53        .19327E-04    .61932E-04
  10  Prefactor     3.0359        3.1082        .19294E-07   -.30739E-04
  11  Prefactor     .10000E-03    10.740        .17005E-06** at limit **
  12  norm          .10000E-03    1.9731       -.33380E-06** at limit **
  13  Prefactor     .10000E-03    19.882        .55252E-06** at limit **
  14  norm          3.3311        .91542       -.34895E-07    .64401E-05
  15  Prefactor     .10003E-03    6.5347       -.14583E-05** at limit **
  16  norm          .10000E-03    .26855        .26655E-07** at limit **
  17  Prefactor     1.7741        58.777       -.19957E-05    .60087E-04
  18  Prefactor     2.5572        4.6721        .21785E-05    .86434E-03
  19  norm          8.1846        7.7640        .10584E-06    .19453E-05
  20  Normalizat    1.1134        .17152       -.33107E-06   -.16060E-03
  21  Prefactor     .78240        .10227       -.33320E-06   -.26876E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100124
  Prefactor  = 0.0001
  Prefactor  = 23.2363
  Prefactor  = 0.000100151
  Prefactor  = 17.2537
  Prefactor  = 47.7803
  Prefactor  = 83.1079
  Prefactor  = 3.07347
  Prefactor  = 3.03593
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.3311
  Prefactor  = 0.000100035
  norm       = 0.0001
  Prefactor  = 1.77407
  Prefactor  = 2.55715
  norm       = 8.18464
  Normalizat = 1.11341
  Prefactor  = 0.782397
 **********
 **   18 **HESSE 
 **********

 FCN=   9526.917     FROM HESSE     STATUS=OK           331 CALLS     2280 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.064        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10012E-03    3.7806        .47689E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    7.0197        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.236        15.015        .83106E-04   -1.4744    
   5  Prefactor     .10015E-03    34.702        .52410E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     17.254        11.074        .96431E-04   -1.4877    
   7  Prefactor     47.780        12.612        .58009E-04   -1.4324    
   8  Prefactor     83.108        14.219        .44062E-04   -1.3882    
   9  Prefactor     3.0735        109.80        .22875E-03   -1.5357    
  10  Prefactor     3.0359        3.0910        .16314E-03   -1.5359    
  11  Prefactor     .10000E-03    10.741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    2.0539        .26744E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    19.893        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.3311        .91272        .46786E-04   -1.5343    
  15  Prefactor     .10003E-03    17.620        .37283E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .35077        .89167E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.7741        37.611        .31187E-03   -1.5442    
  18  Prefactor     2.5572        4.8017        .12771E-02   -1.5388    
  19  norm          8.1846        7.7677        .14015E-03   -1.5136    
  20  Normalizat    1.1134        .20264        .28558E-03   -.89322    
  21  Prefactor     .78240        .12069        .20979E-03   -1.0038    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.53393e-09
Minuit parameter uncertainties:
  1  5.33997e-05
  2  0.00137142
  3  2.62034e-06
  4  15.0179
  5  0.00457578
  6  11.0757
  7  12.6122
  8  14.2196
  9  36.8128
  10  3.09114
  11  9.62777e-06
  12  2.08036e-05
  13  4.30499e-05
  14  0.91272
  15  0.00156528
  16  1.01725e-05
  17  16.3482
  18  4.80243
  19  7.7687
  20  0.202783
  21  0.120731
Done.

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

Extracting fit parameters...

4FGL J2225.7-0457
   Spectrum: PowerLaw
236    Prefactor:  3.036e+00  3.091e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  2.425e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
238        Scale:  7.735e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
473    Prefactor:  7.824e-01  1.207e-01  0.000e+00  1.000e+01 ( 1.000e+00)
474        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
475        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
472   Normalization:  1.113e+00  2.028e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.52
Ra Dec: 336.432 -4.954
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 3.04e-08 +/- 3.10e-08
Energy Flux (Fixed Index): 9.65e-06 +/- 9.83e-06

TS (Fixed Index): 1.52
Ra Dec: 336.432 -4.954
Photon Flux Upper Limit: 9.98e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.73e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/384725/likelihoodResults_676080001_676339201_4FGL_J2225.7-0457_daily_bin1685.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) = 9526.46370387
delta logL = 0.453048569696

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9526.42548048
delta logL = 0.491271951627

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.9661       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5324       1.0000          .0000       10.000    
     3 'Normalizat'    1.1301       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77856       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9526.425     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      215 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.9572        2.1130        .73943E-02   -.14877E-03
   2  Index         1.5311        .40752        .29450       -.89513E-04
   3  Normalizat    1.1298        .16120        .64195E-01    .40474E-04
   4  Prefactor     .77874        .10152        .43438E-01    .45465E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.95718
  Index      = 1.53108
  Normalizat = 1.12982
  Prefactor  = 0.778737
 **********
 **   18 **HESSE 
 **********

 FCN=   9526.425     FROM HESSE     STATUS=OK            33 CALLS      248 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.9572        3.3346        .14370E-03   -1.5428    
   2  Index         1.5311        .82013        .10795E-01   -.76673    
   3  Normalizat    1.1298        .18891        .28397E-03   -.88800    
   4  Prefactor     .77874        .11912        .21033E-03   -1.0052    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.50788e-09
Minuit parameter uncertainties:
  1  3.33487
  2  0.827393
  3  0.189019
  4  0.119156
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/384725': 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) = 9526.42547598
delta logL = 0.491276458573

Extracting fit parameters...

4FGL J2225.7-0457
   Spectrum: PowerLaw
236    Prefactor:  1.957e+00  3.335e+00  1.000e-04  1.000e+04 ( 1.000e-12)
237        Index:  1.531e+00  8.274e-01  0.000e+00  1.000e+01 (-1.000e+00)
238        Scale:  7.735e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
473    Prefactor:  7.787e-01  1.192e-01  0.000e+00  1.000e+01 ( 1.000e+00)
474        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
475        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
472   Normalization:  1.130e+00  1.890e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.52
Ra Dec: 336.432 -4.954
Photon Index (Free Index): 1.53 +/- 0.83
Photon Flux (Free Index): 8.23e-09 +/- 1.59e-08
Energy Flux (Free Index): 2.35e-05 +/- 3.74e-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/384725/cmap_HighResolution_676080001_676339201_4FGL_J2225.7-0457_daily_bin1685.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.73e-03', comment='SUCCESS', photon_flux='3.04e-08', energy_flux2='2.35e-05', photon_flux_error='3.10e-08', dlogl='4.91e-01', energy_flux='9.65e-06', photon_flux2='8.23e-09', job_status='DONE', time_completed='2022-06-08 01:26:13.520626', photon_index_error2='0.83', photon_index2='1.53', ts='1.52', fit_tolerance='1e-08', GAL='0.78', photon_index_error='0.00', photon_flux_upper_limit='9.98e-08', energy_flux_error2='3.74e-05', EG='1.11', time_epoch_completed='1654676773.52', return_code='0', job_id='384725', GAL2='0.78', EG2='1.13', return_code2='0', energy_flux_error='9.83e-06', photon_flux_error2='1.59e-08', ts2='2.52', photon_index='2.43' WHERE bin_id='1685' AND source_name='4FGL J2225.7-0457' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jun  8 01:26:13 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 384725: <4FGL_J2225.7-0457_daily_bin1685> in cluster <slac> Done

Job <4FGL_J2225.7-0457_daily_bin1685> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Jun  8 01:10:12 2022
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jun  8 01:10:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jun  8 01:10:19 2022
Terminated at Wed Jun  8 01:26:14 2022
Results reported at Wed Jun  8 01:26:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2225.7-0457_daily_bin1685 336.432 -4.9537 676080001 676339201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2225.7-0457 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   728.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             287.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   954 sec.
    Turnaround time :                            962 sec.

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

