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


Performing analysis on: 4FGL_J1225.0+0330_daily_bin1756
RA = 186.252, Dec = 3.5098
tmin = 694483201, tmax = 694742401
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='11811', job_status='RUN', time_executed='2023-01-07 00:50:34.400412', time_epoch_executed='1673081434.4' WHERE source_name='4FGL J1225.0+0330' and cadence='daily' and bin_id='1756'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/11811

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/11811/ft1_4FGL_J1225.0+0330_daily_bin1756.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/11811/ft2_4FGL_J1225.0+0330_daily_bin1756.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/11811/ft1_4FGL_J1225.0+0330_daily_bin1756.fits outfile=/scratch/kocevski/11811/ft1_filteredMKT_4FGL_J1225.0+0330_daily_bin1756.fits ra=186.252 dec=3.5098 rad=12.0 tmin=694483201.0 tmax=694742401.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.96
user 2.73
sys 0.21

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

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

Number of photons that the gtmktime cut: 616

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/11811/ft1_filtered_4FGL_J1225.0+0330_daily_bin1756.fits" evtable="EVENTS" scfile=/scratch/kocevski/11811/ft2_4FGL_J1225.0+0330_daily_bin1756.fits sctable="SC_DATA" outfile=/scratch/kocevski/11811/ltcube_694483201_694742401_4FGL_J1225.0+0330_daily_bin1756.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/11811/ft2_4FGL_J1225.0+0330_daily_bin1756.fits
.....................!
real 15.51
user 15.12
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/11811/ft1_filtered_4FGL_J1225.0+0330_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/11811/ft2_4FGL_J1225.0+0330_daily_bin1756.fits sctable="SC_DATA" expcube=/scratch/kocevski/11811/ltcube_694483201_694742401_4FGL_J1225.0+0330_daily_bin1756.fits outfile=/scratch/kocevski/11811/expmap_694483201_694742401_4FGL_J1225.0+0330_daily_bin1756.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/11811/ltcube_694483201_694742401_4FGL_J1225.0+0330_daily_bin1756.fits
.....................!
real 191.51
user 185.72
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 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/11811/ft1_filtered_4FGL_J1225.0+0330_daily_bin1756.fits scfile=/scratch/kocevski/11811/ft2_4FGL_J1225.0+0330_daily_bin1756.fits outfile=/scratch/kocevski/11811/cmap_694483201_694742401_4FGL_J1225.0+0330_daily_bin1756.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.56
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/11811/ft1_filtered_4FGL_J1225.0+0330_daily_bin1756.fits scfile=/scratch/kocevski/11811/ft2_4FGL_J1225.0+0330_daily_bin1756.fits outfile=/scratch/kocevski/11811/cmap_HighResolution_694483201_694742401_4FGL_J1225.0+0330_daily_bin1756.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.56
user 0.41
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/11811/ft1_filtered_4FGL_J1225.0+0330_daily_bin1756.fits', '/scratch/kocevski/11811/ft2_4FGL_J1225.0+0330_daily_bin1756.fits', expMap='/scratch/kocevski/11811/expmap_694483201_694742401_4FGL_J1225.0+0330_daily_bin1756.fits', expCube='/scratch/kocevski/11811/ltcube_694483201_694742401_4FGL_J1225.0+0330_daily_bin1756.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/11811/Model_4FGL_J1225.0+0330_daily_bin1756.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/11811/ft1_filtered_4FGL_J1225.0+0330_daily_bin1756.fits
Spacecraft file(s): /scratch/kocevski/11811/ft2_4FGL_J1225.0+0330_daily_bin1756.fits
Exposure map: /scratch/kocevski/11811/expmap_694483201_694742401_4FGL_J1225.0+0330_daily_bin1756.fits
Exposure cube: /scratch/kocevski/11811/ltcube_694483201_694742401_4FGL_J1225.0+0330_daily_bin1756.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/11811/Model_4FGL_J1225.0+0330_daily_bin1756.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) = 6772.42034427

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25662E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    1.5860       1.0000          .0000       .10000E+07
     3 'Prefactor '    .16984E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    11.202       1.0000          .0000       .10000E+07
     5 'Prefactor '    .79907E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    75.266       1.0000          .0000       .10000E+07
     7 'Prefactor '    47.703       1.0000          .0000       .10000E+07
     8 'Prefactor '    .77282E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .99159E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    3.4538       1.0000          .0000       .10000E+07
    11 'Prefactor '    18.554       1.0000          .0000       .10000E+07
    12 'norm      '    .56714E-04   1.0000          .0000       .10000E+07
    13 'norm      '    2.9551       1.0000          .0000       .10000E+07
    14 'Prefactor '    .16709E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .29722E-02   1.0000          .0000       .10000E+07
    16 'norm      '    1.2205       1.0000          .0000       .10000E+07
    17 'Prefactor '    14.486       1.0000          .0000       .10000E+07
    18 'Prefactor '    .38523E-03   1.0000          .0000       .10000E+07
    19 'norm      '    .42125       1.0000          .0000       .10000E+07
    20 'Prefactor '    6.4407       1.0000          .0000       .10000E+07
    21 'Prefactor '    .12070E-04   1.0000          .0000       .10000E+07
    22 'norm      '    .53602E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    .94101E-05   1.0000          .0000       .10000E+07
    24 'Normalizat'    .90982       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0236       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=   6772.383     FROM MIGRAD    STATUS=CONVERGED    186 CALLS     2145 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15377E-06    71.694        .39185E-06** at limit **
   2  Prefactor     1.5675        12.898        .27043E-06    .49118E-02
   3  Prefactor     .11102E-09    1.9874       -.17104E-08** at limit **
   4  Prefactor     11.079        4.6533        .24541E-07   -.40603E-01
   5  Prefactor     .60507E-08    7.7249       -.10281E-06** at limit **
   6  Prefactor     77.314        81.138       -.10179E-06   -.18530E-01
   7  Prefactor     47.340        5.2529        .19196E-07   -.12868    
   8  Prefactor     .40523E-07    6.7153       -.10474E-06** at limit **
   9  Prefactor     .35288E-05    2.9706        .80241E-07** at limit **
  10  Prefactor     3.4225        1.1439       -.37173E-09   -.43538E-02
  11  Prefactor     18.800        7.0783        .42994E-09    .15207    
  12  norm          .13561E-06    6.8250        .19748E-07** at limit **
  13  norm          2.9542        2.4640        .46771E-08    .12820E-02
  14  Prefactor     .18874E-08    21.102        .18873E-06** at limit **
  15  norm          .19373E-07    16.925        .10072E-06** at limit **
  16  norm          1.2192        .51589       -.16834E-07   -.23185E-01
  17  Prefactor     14.454        9.7991       -.12127E-07    .72990E-02
  18  Prefactor     .43954E-06    7.4231       -.93030E-07** at limit **
  19  norm          .42246        1.1272       -.29971E-07   -.34545E-02
  20  Prefactor     6.4397        6.7380       -.36145E-07   -.47970E-03
  21  Prefactor     .15765E-07    27.981        .13524E-06** at limit **
  22  norm          .66613E-09    10.359       -.78803E-07** at limit **
  23  Prefactor     .11102E-09    2.8957        .83228E-07** at limit **
  24  Normalizat    .90953        .21566        .41861E-05    .38891E-03
  25  Prefactor     1.0236        .17956       -.22894E-05    .16532E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.53766e-07
  Prefactor  = 1.56747
  Prefactor  = 1.11022e-10
  Prefactor  = 11.0785
  Prefactor  = 6.05072e-09
  Prefactor  = 77.3136
  Prefactor  = 47.3402
  Prefactor  = 4.05231e-08
  Prefactor  = 3.52884e-06
  Prefactor  = 3.4225
  Prefactor  = 18.8
  norm       = 1.35614e-07
  norm       = 2.95419
  Prefactor  = 1.88738e-09
  norm       = 1.93734e-08
  norm       = 1.21919
  Prefactor  = 14.4543
  Prefactor  = 4.39537e-07
  norm       = 0.422456
  Prefactor  = 6.43975
  Prefactor  = 1.57652e-08
  norm       = 6.66134e-10
  Prefactor  = 1.11022e-10
  Normalizat = 0.909532
  Prefactor  = 1.02362
 **********
 **   18 **HESSE 
 **********

 FCN=   6772.383     FROM HESSE     STATUS=OK           479 CALLS     2624 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15377E-06    71.757        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.5675        13.319        .84260E-03   -1.5683    
   3  Prefactor     .11102E-09    1.9891        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.079        14.278        .29908E-03   -1.5641    
   5  Prefactor     .60507E-08    7.7703        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     77.314        81.898        .11527E-03   -1.5532    
   7  Prefactor     47.340        46.738        .14480E-03   -1.5570    
   8  Prefactor     .40523E-07    6.8403        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .35288E-05    17.879        .13952E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.4225        16.476        .54395E-03   -1.5671    
  11  Prefactor     18.800        14.187        .23224E-03   -1.5621    
  12  norm          .13561E-06    7.1024        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          2.9542        2.4882        .59050E-03   -1.5674    
  14  Prefactor     .18874E-08    21.285        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .19373E-07    17.034        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.2192        .52897        .79638E-03   -1.5686    
  17  Prefactor     14.454        9.8263        .26289E-03   -1.5632    
  18  Prefactor     .43954E-06    8.8703        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .42246        1.1406        .87064E-03   -1.5695    
  20  Prefactor     6.4397        6.7578        .39524E-03   -1.5657    
  21  Prefactor     .15765E-07    28.070        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .66613E-09    10.355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .11102E-09    2.8913        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .90953        .18702        .64513E-01   -.96126    
  25  Prefactor     1.0236        .15463        .41800E-01   -.91946    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18157e-06
Minuit parameter uncertainties:
  1  0.00664356
  2  9.13831
  3  3.04679e-05
  4  14.2785
  5  0.000432902
  6  81.8993
  7  46.7385
  8  0.00105321
  9  0.015886
  10  15.0185
  11  14.1868
  12  0.00196297
  13  2.48823
  14  0.000400293
  15  0.00114944
  16  0.528968
  17  9.82626
  18  0.00394916
  19  1.14058
  20  6.75786
  21  0.00132982
  22  0.000166872
  23  3.24446e-05
  24  0.187155
  25  0.154694
Done.

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

Extracting fit parameters...

4FGL J1225.0+0330
   Spectrum: LogParabola
332         norm:  1.937e-08  1.149e-03  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.024e+00  1.547e-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.095e-01  1.872e-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: 4.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.94e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/11811/likelihoodResults_694483201_694742401_4FGL_J1225.0+0330_daily_bin1756.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) = 6772.41094696
delta logL = -0.028191927956

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6772.38275522
delta logL = -1.84522832569e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6772.339     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      245 TOTAL
                     EDM=   .86E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .33636        1.7881        .42118E-03    .38463E-01
   2  alpha         5.0000        4.9921        .43829    ** at limit **
   3  Normalizat    .89070        .18739        .65078E-01   -.13334E-03
   4  Prefactor     1.0330        .15405        .41797E-01   -.56518E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.336361
  alpha      = 5
  Normalizat = 0.890702
  Prefactor  = 1.03301
 **********
 **   18 **HESSE 
 **********

 FCN=   6772.339     FROM HESSE     STATUS=OK            31 CALLS      276 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .33636        1.1732        .15029E-04   -1.5696    
   2  alpha         5.0000        4.7449        .17532        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .89070        .21802        .28786E-03   -.96788    
   4  Prefactor     1.0330        .18063        .22808E-03   -.91637    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29689e-09
Minuit parameter uncertainties:
  1  1.17315
  2  0.000226238
  3  0.21824
  4  0.18074
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/11811': 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) = 6772.33858766
delta logL = 0.0441673713922

Extracting fit parameters...

4FGL J1225.0+0330
   Spectrum: LogParabola
332         norm:  3.364e-01  1.173e+00  0.000e+00  1.000e+06 ( 1.000e-13)
333        alpha:  5.000e+00  2.262e-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.033e+00  1.807e-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:  8.907e-01  2.182e-01  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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/11811/cmap_HighResolution_694483201_694742401_4FGL_J1225.0+0330_daily_bin1756.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.94e-05', job_status='DONE', photon_flux_upper_limit='4.65e-08', time_completed='2023-01-07 01:01:50.680844', job_id='11811', GAL2='1.03', fit_tolerance='1e-08', EG2='0.89', EG='0.91', time_epoch_completed='1673082110.68', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='4.42e-02', ts2='0.10', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1756' AND source_name='4FGL J1225.0+0330' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan  7 01:01:50 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 11811: <4FGL_J1225.0+0330_daily_bin1756> in cluster <slac> Done

Job <4FGL_J1225.0+0330_daily_bin1756> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Sat Jan  7 00:45:28 2023
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan  7 00:47:34 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan  7 00:47:34 2023
Terminated at Sat Jan  7 01:01:51 2023
Results reported at Sat Jan  7 01:01:51 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1225.0+0330_daily_bin1756 186.252 3.5098 694483201 694742401 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 :                                   678.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             277.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   857 sec.
    Turnaround time :                            983 sec.

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

