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


Performing analysis on: 4FGL_J2225.6+2120_daily_bin1697
RA = 336.414, Dec = 21.3418
tmin = 679190401, tmax = 679449601
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='857687', job_status='RUN', time_executed='2022-07-14 00:37:38.138832', time_epoch_executed='1657784258.14' WHERE source_name='4FGL J2225.6+2120' and cadence='daily' and bin_id='1697'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/857687

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/857687/ft1_4FGL_J2225.6+2120_daily_bin1697.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/857687/ft2_4FGL_J2225.6+2120_daily_bin1697.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/857687/ft1_4FGL_J2225.6+2120_daily_bin1697.fits outfile=/scratch/kocevski/857687/ft1_filteredMKT_4FGL_J2225.6+2120_daily_bin1697.fits ra=336.414 dec=21.3418 rad=12.0 tmin=679190401.0 tmax=679449601.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.43
user 3.18
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/857687/ft2_4FGL_J2225.6+2120_daily_bin1697.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/857687/ft1_filteredMKT_4FGL_J2225.6+2120_daily_bin1697.fits evtable="EVENTS" outfile="/scratch/kocevski/857687/ft1_filtered_4FGL_J2225.6+2120_daily_bin1697.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.33
sys 0.15

Number of photons that the gtmktime cut: 864

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/857687/ft1_filtered_4FGL_J2225.6+2120_daily_bin1697.fits" evtable="EVENTS" scfile=/scratch/kocevski/857687/ft2_4FGL_J2225.6+2120_daily_bin1697.fits sctable="SC_DATA" outfile=/scratch/kocevski/857687/ltcube_679190401_679449601_4FGL_J2225.6+2120_daily_bin1697.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/857687/ft2_4FGL_J2225.6+2120_daily_bin1697.fits
.....................!
real 11.88
user 11.51
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/857687/ft1_filtered_4FGL_J2225.6+2120_daily_bin1697.fits evtable="EVENTS" scfile=/scratch/kocevski/857687/ft2_4FGL_J2225.6+2120_daily_bin1697.fits sctable="SC_DATA" expcube=/scratch/kocevski/857687/ltcube_679190401_679449601_4FGL_J2225.6+2120_daily_bin1697.fits outfile=/scratch/kocevski/857687/expmap_679190401_679449601_4FGL_J2225.6+2120_daily_bin1697.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/857687/ltcube_679190401_679449601_4FGL_J2225.6+2120_daily_bin1697.fits
.....................!
real 193.40
user 187.68
sys 5.33

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/857687/ft1_filtered_4FGL_J2225.6+2120_daily_bin1697.fits scfile=/scratch/kocevski/857687/ft2_4FGL_J2225.6+2120_daily_bin1697.fits outfile=/scratch/kocevski/857687/cmap_679190401_679449601_4FGL_J2225.6+2120_daily_bin1697.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/857687/ft1_filtered_4FGL_J2225.6+2120_daily_bin1697.fits scfile=/scratch/kocevski/857687/ft2_4FGL_J2225.6+2120_daily_bin1697.fits outfile=/scratch/kocevski/857687/cmap_HighResolution_679190401_679449601_4FGL_J2225.6+2120_daily_bin1697.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/857687/ft1_filtered_4FGL_J2225.6+2120_daily_bin1697.fits evtable="EVENTS" scfile=/scratch/kocevski/857687/ft2_4FGL_J2225.6+2120_daily_bin1697.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/857687/Model_4FGL_J2225.6+2120_daily_bin1697.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/857687/ft1_filtered_4FGL_J2225.6+2120_daily_bin1697.fits.....................!
real 92.30
user 90.91
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/857687/ft1_filtered_4FGL_J2225.6+2120_daily_bin1697.fits', '/scratch/kocevski/857687/ft2_4FGL_J2225.6+2120_daily_bin1697.fits', expMap='/scratch/kocevski/857687/expmap_679190401_679449601_4FGL_J2225.6+2120_daily_bin1697.fits', expCube='/scratch/kocevski/857687/ltcube_679190401_679449601_4FGL_J2225.6+2120_daily_bin1697.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/857687/Model_4FGL_J2225.6+2120_daily_bin1697.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/857687/ft1_filtered_4FGL_J2225.6+2120_daily_bin1697.fits
Spacecraft file(s): /scratch/kocevski/857687/ft2_4FGL_J2225.6+2120_daily_bin1697.fits
Exposure map: /scratch/kocevski/857687/expmap_679190401_679449601_4FGL_J2225.6+2120_daily_bin1697.fits
Exposure cube: /scratch/kocevski/857687/ltcube_679190401_679449601_4FGL_J2225.6+2120_daily_bin1697.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/857687/Model_4FGL_J2225.6+2120_daily_bin1697.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) = 9152.65710943

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10155E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    1.5337       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .99639E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .37866       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.6092       1.0000         .10000E-03   10000.    
     8 'norm      '    4.4864       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.2547       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .16819E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.5545       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.8275       1.0000         .10000E-03   10000.    
    14 'norm      '    1.3717       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.3715       1.0000         .10000E-03   10000.    
    16 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    36.384       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.1685       1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.6068       1.0000         .10000E-03   10000.    
    22 'Prefactor '    6.4542       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .45224       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1018       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .86616       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9152.601     FROM MIGRAD    STATUS=CONVERGED   1048 CALLS     3001 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    64.641        .18142E-02** at limit **
   2  norm          1.5338        2.2687        .16745E-03    .19119E-03
   3  Prefactor     .10000E-03    9.5216        .18142E-02** at limit **
   4  norm          .10000E-03    .46207        .12509E-03** at limit **
   5  Prefactor     .10135E-03    32.523        .16450    ** at limit **
   6  norm          .37929        .56120        .96295E-03    .13146E-02
   7  Prefactor     4.6032        16.397        .18748E-03    .56516E-04
   8  norm          4.4879        5.0135        .19009E-03    .34999E-03
   9  Prefactor     6.2529        14.540        .16051E-03    .58930E-04
  10  Prefactor     .10000E-03    68.756        .22086    ** at limit **
  11  Prefactor     .10000E-03    6.8960        .18142E-02** at limit **
  12  Prefactor     1.5545        .29376        .20519E-04    .70255E-03
  13  Prefactor     2.8291        8.0200        .24186E-03    .66748E-04
  14  norm          1.3716        .90354        .70185E-04   -.17138E-03
  15  Prefactor     5.3629        13.963        .17340E-03   -.14778E-03
  16  norm          .10000E-03    .53638        .68122E-03** at limit **
  17  Prefactor     .10000E-03    10.498        .18142E-02** at limit **
  18  Prefactor     36.384        13.077        .66442E-04    .28233E-03
  19  Prefactor     .10000E-03    8.7552        .18142E-02** at limit **
  20  Prefactor     1.1685        .19707        .16551E-04    .19038E-02
  21  Prefactor     5.6087        8.1303        .84829E-03    .88482E-03
  22  Prefactor     6.4559        6.7585        .15798E-03    .20582E-04
  23  Prefactor     .35968        11.562        .10814        .32498E-03
  24  Normalizat    1.1017        .25347        .34837E-03   -.55543E-04
  25  Prefactor     .86612        .12196        .19424E-03    .65755E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010001
  norm       = 1.5338
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000101354
  norm       = 0.37929
  Prefactor  = 4.60324
  norm       = 4.4879
  Prefactor  = 6.25291
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.55446
  Prefactor  = 2.82905
  norm       = 1.37161
  Prefactor  = 5.3629
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 36.3842
  Prefactor  = 0.0001
  Prefactor  = 1.16846
  Prefactor  = 5.60867
  Prefactor  = 6.45591
  Prefactor  = 0.359684
  Normalizat = 1.10174
  Prefactor  = 0.866122
 **********
 **   18 **HESSE 
 **********

 FCN=   9152.601     FROM HESSE     STATUS=OK           433 CALLS     3434 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    64.642        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.5338        2.2685        .66979E-05   -1.5460    
   3  Prefactor     .10000E-03    9.5224        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    .46207        .25018E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10135E-03    32.558        .16436       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .37929        .56073        .38518E-04   -1.5585    
   7  Prefactor     4.6032        16.395        .74992E-05   -1.5279    
   8  norm          4.4879        5.0132        .76037E-05   -1.5284    
   9  Prefactor     6.2529        14.539        .64203E-05   -1.5208    
  10  Prefactor     .10000E-03    70.454        .21717       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    6.8983        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.5545        .29373        .82075E-06   -1.5459    
  13  Prefactor     2.8291        8.0197        .96743E-05   -1.5372    
  14  norm          1.3716        .90347        .28074E-05   -1.5474    
  15  Prefactor     5.3629        13.964        .69358E-05   -1.5245    
  16  norm          .10000E-03    .53640        .13624E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    10.499        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     36.384        13.076        .13288E-04   -1.4501    
  19  Prefactor     .10000E-03    8.7559        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.1685        .19706        .33101E-05   -1.5492    
  21  Prefactor     5.6087        8.1289        .33932E-04   -1.5234    
  22  Prefactor     6.4559        6.7585        .63191E-05   -1.5200    
  23  Prefactor     .35968        11.524        .10848       -1.5588    
  24  Normalizat    1.1017        .25364        .13935E-04   -.89696    
  25  Prefactor     .86612        .12207        .38849E-04   -.97335    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.13718e-09
Minuit parameter uncertainties:
  1  0.00157718
  2  2.26859
  3  0.00010515
  4  3.44529e-06
  5  0.0132846
  6  0.560741
  7  16.4109
  8  5.01366
  9  14.5468
  10  7.56089e-05
  11  8.32996e-05
  12  0.293728
  13  8.02269
  14  0.903476
  15  13.9721
  16  8.3673e-06
  17  2.72504e-05
  18  13.0772
  19  9.25163e-05
  20  0.197064
  21  8.13052
  22  6.75928
  23  4.07219
  24  0.253921
  25  0.122105
Done.

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

Extracting fit parameters...

4FGL J2225.6+2120
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  8.330e-05  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.661e-01  1.221e-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.102e+00  2.539e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 336.414 21.342
Photon Flux Upper Limit: 8.34e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.60e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/857687/likelihoodResults_679190401_679449601_4FGL_J2225.6+2120_daily_bin1697.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): 102
logL (Free Index) = 9152.6016343
delta logL = -0.000691202498274

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9152.60094315
delta logL = -5.53227437194e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8215       1.0000          .0000       10.000    
     3 'Normalizat'    1.1017       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86617       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9152.601     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      257 TOTAL
                     EDM=   .55E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .40527        .58177E-01** at limit **
   2  Index         3.4301        6.6997        .50000       -.21741E-06
   3  Normalizat    1.1017        .17860E-02    .34837E-03   -.46375E-03
   4  Prefactor     .86612        .89998E-03    .19424E-03   -.88466E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100004
  Index      = 3.43011
  Normalizat = 1.10174
  Prefactor  = 0.866117
 **********
 **   18 **HESSE 
 **********

 FCN=   9152.601     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      288 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    70.308        .34522E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.4301        6.6107        .50000       -.31938    
   3  Normalizat    1.1017        .15570E-01    .69673E-04   -.89696    
   4  Prefactor     .86612        .78455E-02    .38849E-04   -.97335    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.95516e-09
Minuit parameter uncertainties:
  1  0.00112345
  2  571.282
  3  0.0155697
  4  0.00784552
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/857687': 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) = 9152.6009421
delta logL = 9.97977622319e-07

Extracting fit parameters...

4FGL J2225.6+2120
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  1.123e-03  1.000e-04  1.000e+04 ( 1.000e-12)
274        Index:  3.430e+00  5.713e+02  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.661e-01  7.846e-03  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.102e+00  1.557e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 336.414 21.342

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/857687/cmap_HighResolution_679190401_679449601_4FGL_J2225.6+2120_daily_bin1697.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.60e-03', job_status='DONE', photon_flux_upper_limit='8.34e-08', time_completed='2022-07-14 00:52:03.252350', job_id='857687', GAL2='0.87', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1657785123.25', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='9.98e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.81' WHERE bin_id='1697' AND source_name='4FGL J2225.6+2120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 14 00:52:03 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0176>
Subject: Job 857687: <4FGL_J2225.6+2120_daily_bin1697> in cluster <slac> Done

Job <4FGL_J2225.6+2120_daily_bin1697> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jul 14 00:35:51 2022
Job was executed on host(s) <bullet0176>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jul 14 00:35:52 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jul 14 00:35:52 2022
Terminated at Thu Jul 14 00:52:04 2022
Results reported at Thu Jul 14 00:52:04 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2225.6+2120_daily_bin1697 336.414 21.3418 679190401 679449601 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 :                                   867.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             309.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   971 sec.
    Turnaround time :                            973 sec.

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

