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


Performing analysis on: 4FGL_J2225.6+2120_daily_bin1779
RA = 336.414, Dec = 21.3418
tmin = 700444801, tmax = 700704001
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='39101', job_status='RUN', time_executed='2023-03-17 02:33:40.075317', time_epoch_executed='1679045620.08' WHERE source_name='4FGL J2225.6+2120' and cadence='daily' and bin_id='1779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/39101

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/39101/ft1_4FGL_J2225.6+2120_daily_bin1779.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/39101/ft2_4FGL_J2225.6+2120_daily_bin1779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/39101/ft1_4FGL_J2225.6+2120_daily_bin1779.fits outfile=/scratch/kocevski/39101/ft1_filteredMKT_4FGL_J2225.6+2120_daily_bin1779.fits ra=336.414 dec=21.3418 rad=12.0 tmin=700444801.0 tmax=700704001.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 5.32
user 5.06
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/39101/ft1_filtered_4FGL_J2225.6+2120_daily_bin1779.fits" evtable="EVENTS" scfile=/scratch/kocevski/39101/ft2_4FGL_J2225.6+2120_daily_bin1779.fits sctable="SC_DATA" outfile=/scratch/kocevski/39101/ltcube_700444801_700704001_4FGL_J2225.6+2120_daily_bin1779.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/39101/ft2_4FGL_J2225.6+2120_daily_bin1779.fits
.....................!
real 12.05
user 11.68
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/39101/ft1_filtered_4FGL_J2225.6+2120_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/39101/ft2_4FGL_J2225.6+2120_daily_bin1779.fits sctable="SC_DATA" expcube=/scratch/kocevski/39101/ltcube_700444801_700704001_4FGL_J2225.6+2120_daily_bin1779.fits outfile=/scratch/kocevski/39101/expmap_700444801_700704001_4FGL_J2225.6+2120_daily_bin1779.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/39101/ltcube_700444801_700704001_4FGL_J2225.6+2120_daily_bin1779.fits
.....................!
real 190.39
user 185.55
sys 4.28

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/39101/ft1_filtered_4FGL_J2225.6+2120_daily_bin1779.fits scfile=/scratch/kocevski/39101/ft2_4FGL_J2225.6+2120_daily_bin1779.fits outfile=/scratch/kocevski/39101/cmap_700444801_700704001_4FGL_J2225.6+2120_daily_bin1779.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/39101/ft1_filtered_4FGL_J2225.6+2120_daily_bin1779.fits scfile=/scratch/kocevski/39101/ft2_4FGL_J2225.6+2120_daily_bin1779.fits outfile=/scratch/kocevski/39101/cmap_HighResolution_700444801_700704001_4FGL_J2225.6+2120_daily_bin1779.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .95490E-02   1.0000          .0000       .10000E+07
     2 'norm      '    .61728       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.9837       1.0000          .0000       .10000E+07
     4 'norm      '    .67168E-08   1.0000          .0000       .10000E+07
     5 'Prefactor '    10.031       1.0000          .0000       .10000E+07
     6 'norm      '    .66613E-08   1.0000          .0000       .10000E+07
     7 'Prefactor '    .56981E-04   1.0000          .0000       .10000E+07
     8 'norm      '    .42887E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .40879E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    6.6014       1.0000          .0000       .10000E+07
    11 'Prefactor '    1.9900       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    4.9617       1.0000          .0000       .10000E+07
    14 'norm      '    4.2171       1.0000          .0000       .10000E+07
    15 'Prefactor '    .62362E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .28612E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .28341       1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.895       1.0000          .0000       .10000E+07
    19 'Prefactor '    .25073E-04   1.0000          .0000       .10000E+07
    20 'Normalizat'    1.1207       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .83047       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=   8326.270     FROM MIGRAD    STATUS=CONVERGED    127 CALLS     1292 TOTAL
                     EDM=   .51E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .63782E-07    38.558       -.27815E-06** at limit **
   2  norm          .63149        2.4358        .17042E-06   -.51221E-04
   3  Prefactor     3.5984        3.2276       -.30079E-07    .26426E-01
   4  norm           .0000        .43545       -.90747E-08** at limit **
   5  Prefactor     10.035        1.0631        .22965E-08   -.23591E-01
   6  norm           .0000        .43044       -.34682E-07** at limit **
   7  Prefactor     .11102E-09    3.7474       -.88329E-07** at limit **
   8  norm          .49960E-09    22.443       -.90427E-07** at limit **
   9  Prefactor     .99920E-09    4.7390        .17721E-07** at limit **
  10  Prefactor     6.7141        1.5692        .12798E-08   -.43009E-01
  11  Prefactor     1.9899        .31592        .32773E-07    .50402E-03
  12  Prefactor     .10000E-03    3.4546        .99163E-06** at limit **
  13  norm          4.9609        1.4822       -.15286E-08   -.47031E-03
  14  norm          4.2170        1.9076       -.15702E-07   -.15048E-02
  15  Prefactor     .27756E-09    12.269       -.91787E-07** at limit **
  16  Prefactor      .0000        5.1754        .95807E-07** at limit **
  17  Prefactor     .28340        .12756       -.98457E-07   -.17020E-02
  18  Prefactor     10.897        1.1827        .92127E-08   -.62792E-01
  19  Prefactor     .77716E-09    7.1254        .30262E-07** at limit **
  20  Normalizat    1.1205        .25480       -.22773E-05    .43373E-04
  21  Prefactor     .83060        .12482        .16222E-05    .15545E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.37823e-08
  norm       = 0.631493
  Prefactor  = 3.59844
  norm       = 0
  Prefactor  = 10.0355
  norm       = 0
  Prefactor  = 1.11022e-10
  norm       = 4.996e-10
  Prefactor  = 9.99201e-10
  Prefactor  = 6.71406
  Prefactor  = 1.98994
  Prefactor  = 0.0001
  norm       = 4.96089
  norm       = 4.21702
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  Prefactor  = 0.283398
  Prefactor  = 10.8965
  Prefactor  = 7.77156e-10
  Normalizat = 1.12049
  Prefactor  = 0.830604
 **********
 **   18 **HESSE 
 **********

 FCN=   8326.270     FROM HESSE     STATUS=OK           359 CALLS     1651 TOTAL
                     EDM=   .59E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .63782E-07    38.894        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .63149        3.1616        .67695E-03   -1.5692    
   3  Prefactor     3.5984        78.908        .50508E-03   -1.5670    
   4  norm           .0000        .42529        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     10.035        107.65        .31613E-03   -1.5645    
   6  norm           .0000        .42762        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11102E-09    3.7591        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .49960E-09    21.818        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .99920E-09    4.7645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     6.7141        11.177        .39034E-03   -1.5656    
  11  Prefactor     1.9899        .31606        .44354E-02   -1.5426    
  12  Prefactor     .10000E-03    3.4508        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.9609        1.4823        .45126E-03   -1.5663    
  14  norm          4.2170        1.9058        .49047E-03   -1.5667    
  15  Prefactor     .27756E-09    12.253        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        5.1802        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .28340        .12967        .47365E-02   -1.5602    
  18  Prefactor     10.897        9.5749        .30328E-03   -1.5642    
  19  Prefactor     .77716E-09    7.1467        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1205        .21670        .74331E-01   -.89097    
  21  Prefactor     .83060        .10395        .44112E-01   -.98610    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.87741e-07
Minuit parameter uncertainties:
  1  0.00314963
  2  2.82599
  3  33.7019
  4  8.27512e-07
  5  65.7377
  6  1.97989e-06
  7  4.41975e-05
  8  0.000204628
  9  0.000138729
  10  11.1769
  11  0.31606
  12  1.63692e-05
  13  1.48228
  14  1.90578
  15  0.000111958
  16  1.11257e-05
  17  0.129666
  18  9.57495
  19  0.000146948
  20  0.21687
  21  0.103973
Done.

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

Extracting fit parameters...

4FGL J2225.6+2120
   Spectrum: PowerLaw
273    Prefactor:  6.714e+00  1.118e+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:  8.306e-01  1.040e-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.120e+00  2.169e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/39101/likelihoodResults_700444801_700704001_4FGL_J2225.6+2120_daily_bin1779.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) = 8326.26134694
delta logL = 0.00825317430645

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8326.25883415
delta logL = 0.0107659640435

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.5762       1.0000          .0000       .10000E+07
     2 'Index     '    2.6502       1.0000          .0000       10.000    
     3 'Normalizat'    1.1229       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82943       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=   8326.259     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      244 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.5737        13.489        .14564E-04    .14811E-01
   2  Index         2.6489        1.0806        .15007E-01    .38478E-03
   3  Normalizat    1.1230        .25144        .32863E-03   -.86504E-03
   4  Prefactor     .82939        .12469        .18840E-03   -.13095E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.57365
  Index      = 2.64889
  Normalizat = 1.12295
  Prefactor  = 0.829391
 **********
 **   18 **HESSE 
 **********

 FCN=   8326.259     FROM HESSE     STATUS=OK            23 CALLS      267 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.5737        13.058        .29128E-05   -1.5653    
   2  Index         2.6489        1.0467        .60030E-03   -.48954    
   3  Normalizat    1.1230        .25183        .65727E-04   -.89018    
   4  Prefactor     .82939        .12481        .37680E-04   -.98654    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14931e-08
Minuit parameter uncertainties:
  1  13.0582
  2  1.05674
  3  0.252097
  4  0.124853
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/39101': 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) = 8326.2588329
delta logL = 0.0107672177364

Extracting fit parameters...

4FGL J2225.6+2120
   Spectrum: PowerLaw
273    Prefactor:  7.574e+00  1.306e+01  0.000e+00  1.000e+06 ( 1.000e-12)
274        Index:  2.649e+00  1.057e+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:  8.294e-01  1.249e-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.123e+00  2.521e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.44
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/39101/cmap_HighResolution_700444801_700704001_4FGL_J2225.6+2120_daily_bin1779.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.00e-02', job_status='DONE', photon_flux_upper_limit='1.27e-07', time_completed='2023-03-17 02:43:44.100436', job_id='39101', GAL2='0.83', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1679046224.1', return_code2='0', ts='0.44', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='1.08e-02', ts2='0.45', photon_index_error='0.00', photon_index='2.81' WHERE bin_id='1779' AND source_name='4FGL J2225.6+2120' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 17 02:43:44 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 39101: <4FGL_J2225.6+2120_daily_bin1779> in cluster <slac> Done

Job <4FGL_J2225.6+2120_daily_bin1779> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Mar 17 02:30:16 2023
Job was executed on host(s) <bullet0049>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 17 02:30:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 17 02:30:17 2023
Terminated at Fri Mar 17 02:43:44 2023
Results reported at Fri Mar 17 02:43:44 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2225.6+2120_daily_bin1779 336.414 21.3418 700444801 700704001 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 :                                   605.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             237.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   807 sec.
    Turnaround time :                            808 sec.

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

