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


Performing analysis on: 4FGL_J1225.0+0330_daily_bin1744
RA = 186.252, Dec = 3.5098
tmin = 691372801, tmax = 691632001
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='579353', job_status='RUN', time_executed='2022-12-02 00:56:02.288251', time_epoch_executed='1669971362.29' WHERE source_name='4FGL J1225.0+0330' and cadence='daily' and bin_id='1744'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/579353

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/579353/ft1_4FGL_J1225.0+0330_daily_bin1744.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/579353/ft2_4FGL_J1225.0+0330_daily_bin1744.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/579353/ft1_4FGL_J1225.0+0330_daily_bin1744.fits outfile=/scratch/kocevski/579353/ft1_filteredMKT_4FGL_J1225.0+0330_daily_bin1744.fits ra=186.252 dec=3.5098 rad=12.0 tmin=691372801.0 tmax=691632001.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 2.54
user 2.30
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/579353/ft2_4FGL_J1225.0+0330_daily_bin1744.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/579353/ft2_4FGL_J1225.0+0330_daily_bin1744.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/579353/ft1_filteredMKT_4FGL_J1225.0+0330_daily_bin1744.fits evtable="EVENTS" outfile="/scratch/kocevski/579353/ft1_filtered_4FGL_J1225.0+0330_daily_bin1744.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: 867

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/579353/ft1_filtered_4FGL_J1225.0+0330_daily_bin1744.fits" evtable="EVENTS" scfile=/scratch/kocevski/579353/ft2_4FGL_J1225.0+0330_daily_bin1744.fits sctable="SC_DATA" outfile=/scratch/kocevski/579353/ltcube_691372801_691632001_4FGL_J1225.0+0330_daily_bin1744.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/579353/ft2_4FGL_J1225.0+0330_daily_bin1744.fits
.....................!
real 12.57
user 12.16
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/579353/ft1_filtered_4FGL_J1225.0+0330_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/579353/ft2_4FGL_J1225.0+0330_daily_bin1744.fits sctable="SC_DATA" expcube=/scratch/kocevski/579353/ltcube_691372801_691632001_4FGL_J1225.0+0330_daily_bin1744.fits outfile=/scratch/kocevski/579353/expmap_691372801_691632001_4FGL_J1225.0+0330_daily_bin1744.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/579353/ltcube_691372801_691632001_4FGL_J1225.0+0330_daily_bin1744.fits
.....................!
real 191.61
user 185.68
sys 5.12

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

Setting source of interest to:
4FGL J1225.0+0330 @ 186.252 3.5098

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/579353/ft1_filtered_4FGL_J1225.0+0330_daily_bin1744.fits scfile=/scratch/kocevski/579353/ft2_4FGL_J1225.0+0330_daily_bin1744.fits outfile=/scratch/kocevski/579353/cmap_691372801_691632001_4FGL_J1225.0+0330_daily_bin1744.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=186.252 yref=3.5098 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/579353/ft1_filtered_4FGL_J1225.0+0330_daily_bin1744.fits scfile=/scratch/kocevski/579353/ft2_4FGL_J1225.0+0330_daily_bin1744.fits outfile=/scratch/kocevski/579353/cmap_HighResolution_691372801_691632001_4FGL_J1225.0+0330_daily_bin1744.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=186.252 yref=3.5098 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.79
user 0.39
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/579353/ft1_filtered_4FGL_J1225.0+0330_daily_bin1744.fits evtable="EVENTS" scfile=/scratch/kocevski/579353/ft2_4FGL_J1225.0+0330_daily_bin1744.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/579353/Model_4FGL_J1225.0+0330_daily_bin1744.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/579353/ft1_filtered_4FGL_J1225.0+0330_daily_bin1744.fits.....................!
real 75.26
user 73.77
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/579353/ft1_filtered_4FGL_J1225.0+0330_daily_bin1744.fits', '/scratch/kocevski/579353/ft2_4FGL_J1225.0+0330_daily_bin1744.fits', expMap='/scratch/kocevski/579353/expmap_691372801_691632001_4FGL_J1225.0+0330_daily_bin1744.fits', expCube='/scratch/kocevski/579353/ltcube_691372801_691632001_4FGL_J1225.0+0330_daily_bin1744.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/579353/Model_4FGL_J1225.0+0330_daily_bin1744.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1225.0+0330'

4FGL J1225.0+0330
   Spectrum: LogParabola
332         norm:  8.374e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
333        alpha:  2.397e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
334         beta:  3.465e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
335           Eb:  9.640e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/579353/ft1_filtered_4FGL_J1225.0+0330_daily_bin1744.fits
Spacecraft file(s): /scratch/kocevski/579353/ft2_4FGL_J1225.0+0330_daily_bin1744.fits
Exposure map: /scratch/kocevski/579353/expmap_691372801_691632001_4FGL_J1225.0+0330_daily_bin1744.fits
Exposure cube: /scratch/kocevski/579353/ltcube_691372801_691632001_4FGL_J1225.0+0330_daily_bin1744.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/579353/Model_4FGL_J1225.0+0330_daily_bin1744.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) = 9461.24346611

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34490E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .55087       1.0000          .0000       .10000E+07
     3 'Prefactor '    2.5344       1.0000          .0000       .10000E+07
     4 'Prefactor '    .13352E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    7.9103       1.0000          .0000       .10000E+07
     6 'Prefactor '    .83096E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .64908E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    6.0573       1.0000          .0000       .10000E+07
     9 'Prefactor '    .62653E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .63616E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    9.3752       1.0000          .0000       .10000E+07
    12 'norm      '    .90539E-07   1.0000          .0000       .10000E+07
    13 'norm      '    3.7816       1.0000          .0000       .10000E+07
    14 'Prefactor '    .10464E-05   1.0000          .0000       .10000E+07
    15 'norm      '    .95213E-01   1.0000          .0000       .10000E+07
    16 'norm      '    1.0980       1.0000          .0000       .10000E+07
    17 'Prefactor '    16.903       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.3708       1.0000          .0000       .10000E+07
    19 'norm      '    .73354       1.0000          .0000       .10000E+07
    20 'Prefactor '    4.6806       1.0000          .0000       .10000E+07
    21 'Prefactor '    .36883E-02   1.0000          .0000       .10000E+07
    22 'norm      '    .29841E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    6.0159       1.0000          .0000       .10000E+07
    24 'Normalizat'    .91287       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1333       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9461.214     FROM MIGRAD    STATUS=CONVERGED    161 CALLS     2060 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .11657E-08    59.987        .22526E-06** at limit **
   2  Prefactor     .57401        8.3973        .24582E-07    .49019E-02
   3  Prefactor     2.5289        3.4832       -.34905E-07   -.42303E-03
   4  Prefactor     .49960E-09    4.9661        .57330E-07** at limit **
   5  Prefactor     7.9500        7.3728        .35037E-07   -.48001E-03
   6  Prefactor     .98255E-07    5.5931        .17409E-06** at limit **
   7  Prefactor     .36637E-08    24.205        .34709E-06** at limit **
   8  Prefactor     6.3720        1.8293       -.22360E-07    .78520E-04
   9  Prefactor     .15543E-08    5.6876       -.24612E-07** at limit **
  10  Prefactor     .81601E-07    13.707        .17494E-06** at limit **
  11  Prefactor     9.3100        8.4573       -.18082E-07    .40072E-02
  12  norm          .55511E-10    1.5131       -.18727E-06** at limit **
  13  norm          3.7837        2.7293       -.34509E-07   -.12117E-02
  14  Prefactor     .59397E-08    9.0449        .17056E-06** at limit **
  15  norm          .16653E-09    1.5416        .43654E-07** at limit **
  16  norm          1.0988        .43644       -.18025E-08   -.84629E-03
  17  Prefactor     16.915        2.0357       -.49534E-08    .29771E-01
  18  Prefactor     1.3853        13.077        .10271E-06   -.16928E-03
  19  norm          .73349        .78790        .38105E-08    .31921E-03
  20  Prefactor     4.7331        4.6089        .67117E-09   -.24004E-03
  21  Prefactor     .26645E-08    9.7565        .13726E-06** at limit **
  22  norm          .66613E-09    6.8271        .27473E-07** at limit **
  23  Prefactor     6.0589        2.8910        .48326E-08   -.49412E-01
  24  Normalizat    .91223        .19149        .13048E-05    .21397E-04
  25  Prefactor     1.1335        .16078       -.69095E-06    .11715E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.16573e-09
  Prefactor  = 0.574009
  Prefactor  = 2.52889
  Prefactor  = 4.996e-10
  Prefactor  = 7.94998
  Prefactor  = 9.82547e-08
  Prefactor  = 3.66374e-09
  Prefactor  = 6.37196
  Prefactor  = 1.55431e-09
  Prefactor  = 8.16014e-08
  Prefactor  = 9.30999
  norm       = 5.55112e-11
  norm       = 3.78369
  Prefactor  = 5.93969e-09
  norm       = 1.66533e-10
  norm       = 1.0988
  Prefactor  = 16.9149
  Prefactor  = 1.38529
  norm       = 0.733491
  Prefactor  = 4.73314
  Prefactor  = 2.66454e-09
  norm       = 6.66134e-10
  Prefactor  = 6.05886
  Normalizat = 0.912226
  Prefactor  = 1.13348
 **********
 **   18 **HESSE 
 **********

 FCN=   9461.214     FROM HESSE     STATUS=OK           481 CALLS     2541 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .11657E-08    60.052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .57401        8.3926        .73749E-03   -1.5693    
   3  Prefactor     2.5289        3.5159        .64129E-03   -1.5676    
   4  Prefactor     .49960E-09    4.9855        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.9500        7.3899        .35627E-03   -1.5652    
   6  Prefactor     .98255E-07    13.917        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .36637E-08    24.351        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.3720        23.097        .40772E-03   -1.5657    
   9  Prefactor     .15543E-08    5.7184        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .81601E-07    16.015        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.3100        8.5831        .32706E-03   -1.5647    
  12  norm          .55511E-10    1.5061        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.7837        2.9548        .51887E-03   -1.5669    
  14  Prefactor     .59397E-08    12.794        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .16653E-09    25.201        .14060E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.0988        .44838        .82945E-03   -1.5687    
  17  Prefactor     16.915        9.9033        .24334E-03   -1.5626    
  18  Prefactor     1.3853        13.291        .93078E-03   -1.5684    
  19  norm          .73349        .79099        .58027E-03   -1.5691    
  20  Prefactor     4.7331        4.6203        .46491E-03   -1.5664    
  21  Prefactor     .26645E-08    9.9749        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .66613E-09    6.8495        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     6.0589        10.274        .40913E-03   -1.5659    
  24  Normalizat    .91223        .16836        .66285E-01   -.96032    
  25  Prefactor     1.1335        .13862        .36438E-01   -.88403    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11297e-06
Minuit parameter uncertainties:
  1  0.000531122
  2  4.38974
  3  3.51594
  4  0.000100842
  5  7.38988
  6  0.00233852
  7  0.000596744
  8  23.0978
  9  0.000189933
  10  0.00228644
  11  8.58308
  12  1.89137e-05
  13  2.95479
  14  0.000550959
  15  0.000120811
  16  0.448376
  17  9.90331
  18  8.58193
  19  0.790989
  20  4.62034
  21  0.000324763
  22  0.000137678
  23  10.2735
  24  0.16846
  25  0.138667
Done.

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

Extracting fit parameters...

4FGL J1225.0+0330
   Spectrum: LogParabola
332         norm:  1.665e-10  1.208e-04  0.000e+00  1.000e+06 ( 1.000e-13)
333        alpha:  2.397e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
334         beta:  3.465e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
335           Eb:  9.640e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
594    Prefactor:  1.133e+00  1.387e-01  0.000e+00  1.000e+01 ( 1.000e+00)
595        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
596        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
593   Normalization:  9.122e-01  1.685e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 186.252 3.510
Photon Flux Upper Limit: 5.19e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.17e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/579353/likelihoodResults_691372801_691632001_4FGL_J1225.0+0330_daily_bin1744.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) = 9461.21868321
delta logL = -0.00487163351318

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9461.21381185
delta logL = -2.77086655842e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14155E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    2.6444       1.0000          .0000       5.0000    
     3 'Normalizat'    .91235       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1334       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9461.214     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      220 TOTAL
                     EDM=   .29E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55511E-10    82.708       -.31554E-05** at limit **
   2  alpha         2.5801        2.5432        .29342E-03    .14830E-11
   3  Normalizat    .91222        .18652       -.11955E-05   -.92675E-04
   4  Prefactor     1.1335        .16079        .46413E-06    .25176E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.55112e-11
  alpha      = 2.58012
  Normalizat = 0.912224
  Prefactor  = 1.13348
 **********
 **   18 **HESSE 
 **********

 FCN=   9461.214     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      253 TOTAL
                     EDM=   .67E-15    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55511E-10    1.4517        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.5801        2.8666        .41239        .32055E-01
   3  Normalizat    .91222        .52514E-03    .66285E-01   -.96032    
   4  Prefactor     1.1335        .45102E-03    .36438E-01   -.88403    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.72948e-16
Minuit parameter uncertainties:
  1  1.41426e-05
  2  71826.3
  3  0.000525141
  4  0.000451023
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/579353': 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) = 9461.21381158
delta logL = -2.54658516496e-11

Extracting fit parameters...

4FGL J1225.0+0330
   Spectrum: LogParabola
332         norm:  5.551e-11  1.414e-05  0.000e+00  1.000e+06 ( 1.000e-13)
333        alpha:  2.580e+00  7.183e+04  0.000e+00  5.000e+00 ( 1.000e+00)
334         beta:  3.465e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
335           Eb:  9.640e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
594    Prefactor:  1.133e+00  4.510e-04  0.000e+00  1.000e+01 ( 1.000e+00)
595        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
596        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
593   Normalization:  9.122e-01  5.251e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 186.252 3.510

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/579353/cmap_HighResolution_691372801_691632001_4FGL_J1225.0+0330_daily_bin1744.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.17e-05', job_status='DONE', photon_flux_upper_limit='5.19e-08', time_completed='2022-12-02 01:08:59.054693', job_id='579353', GAL2='1.13', fit_tolerance='1e-08', EG2='0.91', EG='0.91', time_epoch_completed='1669972139.05', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='-2.55e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1744' AND source_name='4FGL J1225.0+0330' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec  2 01:08:59 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 579353: <4FGL_J1225.0+0330_daily_bin1744> in cluster <slac> Done

Job <4FGL_J1225.0+0330_daily_bin1744> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Dec  2 00:55:16 2022
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec  2 00:55:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec  2 00:55:17 2022
Terminated at Fri Dec  2 01:08:59 2022
Results reported at Fri Dec  2 01:08:59 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1225.0+0330_daily_bin1744 186.252 3.5098 691372801 691632001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1225.0+0330 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   778.00 sec.
    Max Memory :                                 1173 MB
    Average Memory :                             321.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   822 sec.
    Turnaround time :                            823 sec.

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

