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


Performing analysis on: 4FGL_J1225.0+0330_daily_bin1709
RA = 186.252, Dec = 3.5098
tmin = 682300801, tmax = 682560001
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='119069', job_status='RUN', time_executed='2022-09-16 16:46:30.193217', time_epoch_executed='1663371990.19' WHERE source_name='4FGL J1225.0+0330' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/119069

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/119069/ft1_4FGL_J1225.0+0330_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/119069/ft2_4FGL_J1225.0+0330_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/119069/ft1_4FGL_J1225.0+0330_daily_bin1709.fits outfile=/scratch/kocevski/119069/ft1_filteredMKT_4FGL_J1225.0+0330_daily_bin1709.fits ra=186.252 dec=3.5098 rad=12.0 tmin=682300801.0 tmax=682560001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.82
user 3.57
sys 0.23

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/119069/ft1_filtered_4FGL_J1225.0+0330_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/119069/ft2_4FGL_J1225.0+0330_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/119069/ltcube_682300801_682560001_4FGL_J1225.0+0330_daily_bin1709.fits outfile=/scratch/kocevski/119069/expmap_682300801_682560001_4FGL_J1225.0+0330_daily_bin1709.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/119069/ltcube_682300801_682560001_4FGL_J1225.0+0330_daily_bin1709.fits
.....................!
real 192.69
user 187.40
sys 4.53

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/119069/ft1_filtered_4FGL_J1225.0+0330_daily_bin1709.fits scfile=/scratch/kocevski/119069/ft2_4FGL_J1225.0+0330_daily_bin1709.fits outfile=/scratch/kocevski/119069/cmap_682300801_682560001_4FGL_J1225.0+0330_daily_bin1709.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.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/119069/ft1_filtered_4FGL_J1225.0+0330_daily_bin1709.fits scfile=/scratch/kocevski/119069/ft2_4FGL_J1225.0+0330_daily_bin1709.fits outfile=/scratch/kocevski/119069/cmap_HighResolution_682300801_682560001_4FGL_J1225.0+0330_daily_bin1709.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.59
user 0.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .57023       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.6736       1.0000          .0000       .10000E+07
     3 'Prefactor '    1.2822       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.7836       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.4321       1.0000          .0000       .10000E+07
     6 'Prefactor '    105.81       1.0000          .0000       .10000E+07
     7 'Prefactor '    .41551E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    .54127E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .39309E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    15.075       1.0000          .0000       .10000E+07
    11 'Prefactor '    .93998E-05   1.0000          .0000       .10000E+07
    12 'norm      '    1.9276       1.0000          .0000       .10000E+07
    13 'norm      '    .62450E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    23.047       1.0000          .0000       .10000E+07
    15 'norm      '    .36849E-02   1.0000          .0000       .10000E+07
    16 'norm      '    1.6057       1.0000          .0000       .10000E+07
    17 'Prefactor '    9.3647       1.0000          .0000       .10000E+07
    18 'Prefactor '    .10481       1.0000          .0000       .10000E+07
    19 'norm      '    .42775       1.0000          .0000       .10000E+07
    20 'Prefactor '    8.5227       1.0000          .0000       .10000E+07
    21 'Prefactor '    .20588E-03   1.0000          .0000       .10000E+07
    22 'norm      '    .11704E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    .15796E-04   1.0000          .0000       .10000E+07
    24 'Normalizat'    .62060       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.2413       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=   7194.365     FROM MIGRAD    STATUS=CONVERGED    185 CALLS     2183 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .66613E-08    153.46       -.62392E-06** at limit **
   2  Prefactor     4.6867        5.5988       -.87614E-07   -.25152E-02
   3  Prefactor     1.2749        5.5890        .10279E-06   -.14540E-02
   4  Prefactor     7.3155        12.633        .24866E-05   -.11648E-01
   5  Prefactor     4.4172        10.878        .91502E-06   -.13117E-02
   6  Prefactor     100.57        113.55       -.37854E-05   -.37047E-02
   7  Prefactor     .40967E-07    8.5532        .54880E-06** at limit **
   8  Prefactor     .87541E-07    8.2431       -.68291E-06** at limit **
   9  Prefactor     .19429E-08    8.6023       -.20240E-05** at limit **
  10  Prefactor     15.110        20.808        .16213E-05    .95765E-03
  11  Prefactor     .11102E-09    4.2528       -.67033E-07** at limit **
  12  norm          1.9280        1.5252       -.19704E-06   -.73161E-02
  13  norm          .61062E-09    5.5848       -.24582E-06** at limit **
  14  Prefactor     22.984        1.7264        .61822E-07    .45154E-03
  15  norm          .27200E-08    10.218        .48158E-05** at limit **
  16  norm          1.6047        .52702       -.18111E-08   -.19179E-02
  17  Prefactor     9.3211        9.1550        .16676E-06    .43063E-03
  18  Prefactor     .53015E-01    3.3654        .34506E-05** at limit **
  19  norm          .42699        1.1577        .19046E-07   -.22372E-02
  20  Prefactor     8.4928        6.2176        .43599E-07    .91765E-03
  21  Prefactor     .11102E-09    7.5061        .11556E-05** at limit **
  22  norm          .94369E-09    7.0488       -.66406E-06** at limit **
  23  Prefactor     .71054E-08    10.900       -.49074E-05** at limit **
  24  Normalizat    .62129        .20528       -.47082E-05    .11029E-05
  25  Prefactor     1.2416        .17095       -.16855E-05    .49454E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.66134e-09
  Prefactor  = 4.68674
  Prefactor  = 1.27485
  Prefactor  = 7.31554
  Prefactor  = 4.41717
  Prefactor  = 100.574
  Prefactor  = 4.09672e-08
  Prefactor  = 8.75411e-08
  Prefactor  = 1.94289e-09
  Prefactor  = 15.1097
  Prefactor  = 1.11022e-10
  norm       = 1.92803
  norm       = 6.10623e-10
  Prefactor  = 22.984
  norm       = 2.72005e-09
  norm       = 1.60475
  Prefactor  = 9.32111
  Prefactor  = 0.0530146
  norm       = 0.426988
  Prefactor  = 8.49278
  Prefactor  = 1.11022e-10
  norm       = 9.4369e-10
  Prefactor  = 7.10543e-09
  Normalizat = 0.62129
  Prefactor  = 1.24156
 **********
 **   18 **HESSE 
 **********

 FCN=   7194.365     FROM HESSE     STATUS=OK           485 CALLS     2668 TOTAL
                     EDM=   .22E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .66613E-08    153.72        .71938E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.6867        5.6252        .46527E-03   -1.5665    
   3  Prefactor     1.2749        5.6459        .97945E-03   -1.5685    
   4  Prefactor     7.3155        23.123        .38500E-03   -1.5654    
   5  Prefactor     4.4172        10.935        .47809E-03   -1.5666    
   6  Prefactor     100.57        114.69        .97224E-04   -1.5507    
   7  Prefactor     .40967E-07    16.476        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .87541E-07    16.333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .19429E-08    8.6059        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     15.110        21.040        .25770E-03   -1.5630    
  11  Prefactor     .11102E-09    4.2470        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.9280        1.5336        .74790E-03   -1.5680    
  13  norm          .61062E-09    5.4923        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     22.984        33.769        .20835E-03   -1.5612    
  15  norm          .27200E-08    10.392        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.6047        .53518        .73420E-03   -1.5683    
  17  Prefactor     9.3211        9.1714        .32725E-03   -1.5647    
  18  Prefactor     .53015E-01    3.8484        .99377E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .42699        1.1847        .86339E-03   -1.5695    
  20  Prefactor     8.4928        6.3002        .34314E-03   -1.5650    
  21  Prefactor     .11102E-09    7.5117        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .94369E-09    7.0508        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .71054E-08    11.099        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .62129        .18807        .75544E-01   -1.0709    
  25  Prefactor     1.2416        .15332        .33720E-01   -.85062    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.17844e-06
Minuit parameter uncertainties:
  1  0.00202245
  2  5.62517
  3  5.36571
  4  23.1232
  5  10.9346
  6  114.69
  7  0.00164344
  8  0.00239117
  9  0.000256992
  10  21.0396
  11  4.046e-05
  12  1.5336
  13  0.000115487
  14  33.7696
  15  0.000337311
  16  0.535182
  17  9.17145
  18  0.903378
  19  1.1847
  20  6.30024
  21  5.63642e-05
  22  0.00016161
  23  0.000561835
  24  0.18826
  25  0.153375
Done.

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

Extracting fit parameters...

4FGL J1225.0+0330
   Spectrum: LogParabola
332         norm:  2.720e-09  3.373e-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.242e+00  1.534e-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:  6.213e-01  1.883e-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: 3.88e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.62e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/119069/likelihoodResults_682300801_682560001_4FGL_J1225.0+0330_daily_bin1709.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) = 7194.41135729
delta logL = -0.0459368968486

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7194.36542039
delta logL = -5.09044184582e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .57565E-07   1.0000          .0000       .10000E+07
     2 'alpha     '    1.8581       1.0000          .0000       5.0000    
     3 'Normalizat'    .62130       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2416       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=   7194.365     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      205 TOTAL
                     EDM=   .67E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .38858E-09    10.458        .42118E-03** at limit **
   2  alpha         2.9284        3.6385        .43013       -.52862E-11
   3  Normalizat    .62129        .17529        .75544E-01   -.10203E-03
   4  Prefactor     1.2416        .15190        .33715E-01   -.60956E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.88578e-10
  alpha      = 2.92838
  Normalizat = 0.621288
  Prefactor  = 1.24156
 **********
 **   18 **HESSE 
 **********

 FCN=   7194.365     FROM HESSE     STATUS=OK            27 CALLS      232 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .38858E-09    10.375        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.9284        3.6350        .51000        .17220    
   3  Normalizat    .62129        .19461        .33446E-03   -1.0709    
   4  Prefactor     1.2416        .16905        .21022E-03   -.85062    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1389e-10
Minuit parameter uncertainties:
  1  0.000127409
  2  2.46382
  3  0.194828
  4  0.169125
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/119069': 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) = 7194.36542039
delta logL = 7.63975549489e-11

Extracting fit parameters...

4FGL J1225.0+0330
   Spectrum: LogParabola
332         norm:  3.886e-10  1.274e-04  0.000e+00  1.000e+06 ( 1.000e-13)
333        alpha:  2.928e+00  2.464e+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:  1.242e+00  1.691e-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:  6.213e-01  1.948e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/119069/cmap_HighResolution_682300801_682560001_4FGL_J1225.0+0330_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.62e-05', job_status='DONE', photon_flux_upper_limit='3.88e-08', time_completed='2022-09-16 16:58:11.181456', job_id='119069', GAL2='1.24', fit_tolerance='1e-08', EG2='0.62', EG='0.62', time_epoch_completed='1663372691.18', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.24', dlogl='7.64e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1709' AND source_name='4FGL J1225.0+0330' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 16:58:11 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0282>
Subject: Job 119069: <4FGL_J1225.0+0330_daily_bin1709> in cluster <slac> Done

Job <4FGL_J1225.0+0330_daily_bin1709> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Sep 16 16:45:16 2022
Job was executed on host(s) <bullet0282>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 16:46:02 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 16:46:02 2022
Terminated at Fri Sep 16 16:58:11 2022
Results reported at Fri Sep 16 16:58:11 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1225.0+0330_daily_bin1709 186.252 3.5098 682300801 682560001 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 :                                   701.42 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             344.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   729 sec.
    Turnaround time :                            775 sec.

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

