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 99 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_J1225.0+0330_daily_bin1779
RA = 186.252, Dec = 3.5098
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='23753', job_status='RUN', time_executed='2023-03-17 01:37:17.388584', time_epoch_executed='1679042237.39' WHERE source_name='4FGL J1225.0+0330' and cadence='daily' and bin_id='1779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/23753

Creating custom pfile directory:
/scratch/kocevski/23753/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/23753/ft1_4FGL_J1225.0+0330_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/23753/ft2_4FGL_J1225.0+0330_daily_bin1779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/23753/ft1_4FGL_J1225.0+0330_daily_bin1779.fits outfile=/scratch/kocevski/23753/ft1_filteredMKT_4FGL_J1225.0+0330_daily_bin1779.fits ra=186.252 dec=3.5098 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.30
user 5.02
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/23753/ft2_4FGL_J1225.0+0330_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/23753/ft1_filteredMKT_4FGL_J1225.0+0330_daily_bin1779.fits evtable="EVENTS" outfile="/scratch/kocevski/23753/ft1_filtered_4FGL_J1225.0+0330_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.52
user 0.33
sys 0.18

Number of photons that the gtmktime cut: 593

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/23753/ft1_filtered_4FGL_J1225.0+0330_daily_bin1779.fits" evtable="EVENTS" scfile=/scratch/kocevski/23753/ft2_4FGL_J1225.0+0330_daily_bin1779.fits sctable="SC_DATA" outfile=/scratch/kocevski/23753/ltcube_700444801_700704001_4FGL_J1225.0+0330_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/23753/ft2_4FGL_J1225.0+0330_daily_bin1779.fits
.....................!
real 14.08
user 11.90
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/23753/ft1_filtered_4FGL_J1225.0+0330_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/23753/ft2_4FGL_J1225.0+0330_daily_bin1779.fits sctable="SC_DATA" expcube=/scratch/kocevski/23753/ltcube_700444801_700704001_4FGL_J1225.0+0330_daily_bin1779.fits outfile=/scratch/kocevski/23753/expmap_700444801_700704001_4FGL_J1225.0+0330_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/23753/ltcube_700444801_700704001_4FGL_J1225.0+0330_daily_bin1779.fits
.....................!
real 190.35
user 184.96
sys 4.87

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/23753/ft1_filtered_4FGL_J1225.0+0330_daily_bin1779.fits scfile=/scratch/kocevski/23753/ft2_4FGL_J1225.0+0330_daily_bin1779.fits outfile=/scratch/kocevski/23753/cmap_700444801_700704001_4FGL_J1225.0+0330_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=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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/23753/ft1_filtered_4FGL_J1225.0+0330_daily_bin1779.fits scfile=/scratch/kocevski/23753/ft2_4FGL_J1225.0+0330_daily_bin1779.fits outfile=/scratch/kocevski/23753/cmap_HighResolution_700444801_700704001_4FGL_J1225.0+0330_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=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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29935E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    12.211       1.0000          .0000       .10000E+07
     3 'Prefactor '    .58106E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    26.168       1.0000          .0000       .10000E+07
     5 'Prefactor '    15.607       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10587E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .20490E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    15.419       1.0000          .0000       .10000E+07
     9 'Prefactor '    .13187E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    20.442       1.0000          .0000       .10000E+07
    11 'Prefactor '    .39789E-02   1.0000          .0000       .10000E+07
    12 'norm      '    1.3002       1.0000          .0000       .10000E+07
    13 'norm      '    2.9622       1.0000          .0000       .10000E+07
    14 'Prefactor '    .31072       1.0000          .0000       .10000E+07
    15 'norm      '    .40924E-04   1.0000          .0000       .10000E+07
    16 'norm      '    1.2020       1.0000          .0000       .10000E+07
    17 'Prefactor '    16.432       1.0000          .0000       .10000E+07
    18 'Prefactor '    .72953E-06   1.0000          .0000       .10000E+07
    19 'norm      '    .33584E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    8.2374       1.0000          .0000       .10000E+07
    21 'Prefactor '    .27040E-05   1.0000          .0000       .10000E+07
    22 'norm      '    .18171E-01   1.0000          .0000       .10000E+07
    23 'Prefactor '    .20392       1.0000          .0000       .10000E+07
    24 'Normalizat'    .91805       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .98975       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=   6508.520     FROM MIGRAD    STATUS=CONVERGED    144 CALLS     2124 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .34088E-05    22.295        .21319E-06** at limit **
   2  Prefactor     12.409        10.520        .16724E-06   -.23103E-02
   3  Prefactor     .27756E-09    7.3840       -.55917E-07** at limit **
   4  Prefactor     26.249        2.6521       -.11773E-07   -.26219E-01
   5  Prefactor     15.569        2.1123       -.32034E-07   -.55362E-02
   6  Prefactor     .20162E-06    66.650       -.41843E-06** at limit **
   7  Prefactor     .37874E-05    17.617       -.30049E-06** at limit **
   8  Prefactor     15.486        1.9407        .20055E-07    .12278E-01
   9  Prefactor      .0000        9.2324        .30444E-06** at limit **
  10  Prefactor     20.704        6.0372        .68698E-07    .47172E-01
  11  Prefactor     .69778E-07    9.0183       -.34355E-07** at limit **
  12  norm          1.3013        1.6167       -.29697E-06    .28003E-02
  13  norm          2.9569        2.6910       -.37970E-06    .45062E-02
  14  Prefactor     .12013E-04    77.515       -.95407E-06** at limit **
  15  norm          .55511E-09    11.744       -.78508E-07** at limit **
  16  norm          1.2017        .46067       -.42721E-07    .80370E-02
  17  Prefactor     16.391        1.6277        .25317E-07   -.48084E-01
  18  Prefactor      .0000        3.9420       -.42741E-06** at limit **
  19  norm           .0000        .65235        .70434E-07** at limit **
  20  Prefactor     8.2039        6.0123        .40477E-07   -.79416E-03
  21  Prefactor     .16653E-09    6.2043       -.83323E-06** at limit **
  22  norm          .11102E-09    58.164        .48313E-06** at limit **
  23  Prefactor     .14393E-04    5.9371        .13667E-06** at limit **
  24  Normalizat    .91842        .21994        .96621E-05   -.27652E-04
  25  Prefactor     .98970        .18129       -.79247E-05    .52054E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.40883e-06
  Prefactor  = 12.4088
  Prefactor  = 2.77556e-10
  Prefactor  = 26.2492
  Prefactor  = 15.5695
  Prefactor  = 2.01617e-07
  Prefactor  = 3.78736e-06
  Prefactor  = 15.4855
  Prefactor  = 0
  Prefactor  = 20.7041
  Prefactor  = 6.97775e-08
  norm       = 1.3013
  norm       = 2.9569
  Prefactor  = 1.20127e-05
  norm       = 5.55112e-10
  norm       = 1.20174
  Prefactor  = 16.3907
  Prefactor  = 0
  norm       = 0
  Prefactor  = 8.2039
  Prefactor  = 1.66533e-10
  norm       = 1.11022e-10
  Prefactor  = 1.43932e-05
  Normalizat = 0.918422
  Prefactor  = 0.989704
 **********
 **   18 **HESSE 
 **********

 FCN=   6508.520     FROM HESSE     STATUS=OK           483 CALLS     2607 TOTAL
                     EDM=   .39E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .34088E-05    36.451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.409        10.870        .28642E-03   -1.5638    
   3  Prefactor     .27756E-09    7.3443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     26.249        21.767        .19552E-03   -1.5605    
   5  Prefactor     15.569        11.538        .25326E-03   -1.5629    
   6  Prefactor     .20162E-06    67.347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .37874E-05    32.128        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     15.486        24.740        .25480E-03   -1.5629    
   9  Prefactor      .0000        9.2744        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     20.704        22.671        .22124E-03   -1.5617    
  11  Prefactor     .69778E-07    40.438        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.3013        1.6473        .96873E-03   -1.5685    
  13  norm          2.9569        2.7373        .58974E-03   -1.5674    
  14  Prefactor     .12013E-04    142.33        .10066E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .55511E-09    11.783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.2017        .46518        .71428E-03   -1.5686    
  17  Prefactor     16.391        13.112        .24681E-03   -1.5627    
  18  Prefactor      .0000        3.9409        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        .64367        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     8.2039        6.0355        .34907E-03   -1.5651    
  21  Prefactor     .16653E-09    6.2173        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .11102E-09    11.032        .92793E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .14393E-04    8.4791        .11706E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .91842        .19698        .45132E-01   -.95816    
  25  Prefactor     .98970        .15672        .46139E-01   -.93074    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.9331e-07
Minuit parameter uncertainties:
  1  0.0222941
  2  10.8701
  3  9.26315e-05
  4  21.7669
  5  11.5377
  6  0.00737015
  7  0.0220618
  8  24.7403
  9  1.60265e-05
  10  22.6712
  11  0.00335967
  12  1.64729
  13  2.73734
  14  0.0826997
  15  0.000163282
  16  0.465181
  17  13.1122
  18  5.64463e-06
  19  2.03852e-06
  20  6.03554
  21  6.16469e-05
  22  7.38658e-05
  23  0.0220944
  24  0.197132
  25  0.15679
Done.

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

Extracting fit parameters...

4FGL J1225.0+0330
   Spectrum: LogParabola
332         norm:  5.551e-10  1.633e-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:  9.897e-01  1.568e-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.184e-01  1.971e-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.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.77e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/23753/likelihoodResults_700444801_700704001_4FGL_J1225.0+0330_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): 102
logL (Free Index) = 6508.51952844
delta logL = -1.72143509189e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6508.51951167
delta logL = -4.46850208391e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10457E-05   1.0000          .0000       .10000E+07
     2 'alpha     '    .93226       1.0000          .0000       5.0000    
     3 'Normalizat'    .91823       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98983       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6508.520     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      238 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        5.7721        .42118E-03** at limit **
   2  alpha         3.8566        1.3038        .14160E-03     .0000    
   3  Normalizat    .91842        1.2528       -.25572E-05    .76235E-04
   4  Prefactor     .98970        1.3295       -.90074E-06    .94124E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 3.85662
  Normalizat = 0.918424
  Prefactor  = 0.989703
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6508.520     FROM HESSE     STATUS=FAILED         7 CALLS      245 TOTAL
                     EDM=   .56E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        5.7721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.6589        1.3038        .14160E-03    .57358    
   3  Normalizat    .91842        1.2528       -.25572E-05   -.95816    
   4  Prefactor     .98970        1.3295       -.90074E-06   -.93074    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.63672e-12
Minuit parameter uncertainties:
  1  1.33039e-05
  2  1.40667
  3  1.29637
  4  1.37784
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/23753': 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): 101
logL (Free Index) = 6508.51951122
delta logL = 3.27418092638e-11

Extracting fit parameters...

4FGL J1225.0+0330
   Spectrum: LogParabola
332         norm:  0.000e+00  1.330e-05  0.000e+00  1.000e+06 ( 1.000e-13)
333        alpha:  3.857e+00  1.407e+00  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:  9.897e-01  1.378e+00  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.184e-01  1.296e+00  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/23753/cmap_HighResolution_700444801_700704001_4FGL_J1225.0+0330_daily_bin1779.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.77e-05', job_status='DONE', photon_flux_upper_limit='4.23e-08', time_completed='2023-03-17 01:48:15.726002', job_id='23753', GAL2='0.99', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1679042895.73', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='3.27e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1779' AND source_name='4FGL J1225.0+0330' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 17 01:48:15 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0211>
Subject: Job 23753: <4FGL_J1225.0+0330_daily_bin1779> in cluster <slac> Done

Job <4FGL_J1225.0+0330_daily_bin1779> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Mar 17 01:35:24 2023
Job was executed on host(s) <bullet0211>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 17 01:35:26 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 17 01:35:26 2023
Terminated at Fri Mar 17 01:48:17 2023
Results reported at Fri Mar 17 01:48:17 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1225.0+0330_daily_bin1779 186.252 3.5098 700444801 700704001 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 :                                   657.07 sec.
    Max Memory :                                 1028 MB
    Average Memory :                             305.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   770 sec.
    Turnaround time :                            773 sec.

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

