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


Performing analysis on: 4FGL_J1225.0+0330_daily_bin1755
RA = 186.252, Dec = 3.5098
tmin = 694224001, tmax = 694483201
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='822202', job_status='RUN', time_executed='2023-01-04 00:59:04.846667', time_epoch_executed='1672822744.85' WHERE source_name='4FGL J1225.0+0330' and cadence='daily' and bin_id='1755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/822202

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/822202/ft1_4FGL_J1225.0+0330_daily_bin1755.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/822202/ft2_4FGL_J1225.0+0330_daily_bin1755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/822202/ft1_4FGL_J1225.0+0330_daily_bin1755.fits outfile=/scratch/kocevski/822202/ft1_filteredMKT_4FGL_J1225.0+0330_daily_bin1755.fits ra=186.252 dec=3.5098 rad=12.0 tmin=694224001.0 tmax=694483201.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.04
user 2.81
sys 0.20

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

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

Number of photons that the gtmktime cut: 554

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/822202/ft1_filtered_4FGL_J1225.0+0330_daily_bin1755.fits" evtable="EVENTS" scfile=/scratch/kocevski/822202/ft2_4FGL_J1225.0+0330_daily_bin1755.fits sctable="SC_DATA" outfile=/scratch/kocevski/822202/ltcube_694224001_694483201_4FGL_J1225.0+0330_daily_bin1755.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/822202/ft2_4FGL_J1225.0+0330_daily_bin1755.fits
.....................!
real 16.42
user 15.92
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/822202/ft1_filtered_4FGL_J1225.0+0330_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/822202/ft2_4FGL_J1225.0+0330_daily_bin1755.fits sctable="SC_DATA" expcube=/scratch/kocevski/822202/ltcube_694224001_694483201_4FGL_J1225.0+0330_daily_bin1755.fits outfile=/scratch/kocevski/822202/expmap_694224001_694483201_4FGL_J1225.0+0330_daily_bin1755.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/822202/ltcube_694224001_694483201_4FGL_J1225.0+0330_daily_bin1755.fits
.....................!
real 195.50
user 190.70
sys 4.34

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/822202/ft1_filtered_4FGL_J1225.0+0330_daily_bin1755.fits scfile=/scratch/kocevski/822202/ft2_4FGL_J1225.0+0330_daily_bin1755.fits outfile=/scratch/kocevski/822202/cmap_694224001_694483201_4FGL_J1225.0+0330_daily_bin1755.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.59
user 0.38
sys 0.17

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.4958       1.0000          .0000       .10000E+07
     2 'Prefactor '    .16122E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .25713E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .12994E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    30.379       1.0000          .0000       .10000E+07
     6 'Prefactor '    .96688E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .17864E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    58.433       1.0000          .0000       .10000E+07
     9 'Prefactor '    24.449       1.0000          .0000       .10000E+07
    10 'Prefactor '    .29422E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .96377E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .44784       1.0000          .0000       .10000E+07
    13 'norm      '    1.3103       1.0000          .0000       .10000E+07
    14 'Prefactor '    .16621E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .55484E-02   1.0000          .0000       .10000E+07
    16 'norm      '    3.3729       1.0000          .0000       .10000E+07
    17 'Prefactor '    6.5025       1.0000          .0000       .10000E+07
    18 'Prefactor '    .11040E-05   1.0000          .0000       .10000E+07
    19 'norm      '    .57290E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    .72399E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    .56695E-03   1.0000          .0000       .10000E+07
    22 'norm      '    .58287E-08   1.0000          .0000       .10000E+07
    23 'Prefactor '    9.8154       1.0000          .0000       .10000E+07
    24 'Normalizat'    .75574       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.1588       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=   6086.844     FROM MIGRAD    STATUS=CONVERGED    299 CALLS     2331 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5869        1135.7        .22722E-05   -.14153E-03
   2  Prefactor      .0000        5.8142        .43934E-07** at limit **
   3  Prefactor      .0000        2.7418       -.12300E-07** at limit **
   4  Prefactor     .63283E-08    9.6405       -.13157E-06** at limit **
   5  Prefactor     30.386        3.9320        .98651E-08   -.92683E-01
   6  Prefactor     .79770E-07    67.796        .15341E-06** at limit **
   7  Prefactor     .77716E-09    30.105       -.41865E-07** at limit **
   8  Prefactor     61.539        46.991        .11646E-06    .54890E-02
   9  Prefactor     24.637        23.574       -.70467E-08   -.15526E-03
  10  Prefactor     .21094E-08    9.1667       -.51010E-07** at limit **
  11  Prefactor     .55511E-10    7.8703       -.77862E-07** at limit **
  12  norm          .44704        2.5058       -.31467E-07    .11974E-03
  13  norm          1.3009        2.5406       -.49804E-07    .98119E-04
  14  Prefactor     .31752E-07    58.210       -.16636E-06** at limit **
  15  norm          .55511E-10    13.334        .21976E-07** at limit **
  16  norm          3.3738        .70521       -.59413E-08    .35160E-03
  17  Prefactor     6.5141        9.6317        .16177E-07   -.10311E-02
  18  Prefactor      .0000        2.8590        .15570E-07** at limit **
  19  norm          .58477E-01    7.7364       -.64585E-07** at limit **
  20  Prefactor     .75430E-01    82.850        .89648E-06** at limit **
  21  Prefactor      .0000        7.3738       -.10130E-06** at limit **
  22  norm          .17764E-08    10.262       -.28571E-07** at limit **
  23  Prefactor     9.8705        10.423        .75018E-08   -.15086E-02
  24  Normalizat    .75202        .24261       -.18844E-05    .90610E-05
  25  Prefactor     1.1602        .19935        .66393E-07    .84997E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.58694
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 6.32827e-09
  Prefactor  = 30.386
  Prefactor  = 7.97695e-08
  Prefactor  = 7.77156e-10
  Prefactor  = 61.5391
  Prefactor  = 24.6371
  Prefactor  = 2.10942e-09
  Prefactor  = 5.55112e-11
  norm       = 0.44704
  norm       = 1.30092
  Prefactor  = 3.17524e-08
  norm       = 5.55112e-11
  norm       = 3.3738
  Prefactor  = 6.51406
  Prefactor  = 0
  norm       = 0.0584771
  Prefactor  = 0.0754297
  Prefactor  = 0
  norm       = 1.77636e-09
  Prefactor  = 9.87045
  Normalizat = 0.752016
  Prefactor  = 1.16016
 **********
 **   18 **HESSE 
 **********

 FCN=   6086.844     FROM HESSE     STATUS=OK           487 CALLS     2818 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5869        1119.3        .64668E-03   -1.5670    
   2  Prefactor      .0000        5.8163        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        2.7386        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .63283E-08    9.6821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     30.386        18.324        .18146E-03   -1.5598    
   6  Prefactor     .79770E-07    68.494        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .77716E-09    30.107        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     61.539        47.198        .13083E-03   -1.5551    
   9  Prefactor     24.637        23.612        .20229E-03   -1.5609    
  10  Prefactor     .21094E-08    9.1814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .55511E-10    7.8758        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .44704        2.4920        .84141E-03   -1.5695    
  13  norm          1.3009        2.5790        .96294E-03   -1.5685    
  14  Prefactor     .31752E-07    58.356        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .55511E-10    13.343        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.3738        .70340        .55073E-03   -1.5671    
  17  Prefactor     6.5141        9.6376        .39333E-03   -1.5657    
  18  Prefactor      .0000        2.8570        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .58477E-01    .72058        .39636E-02   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .75430E-01    2.9052        .85022E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor      .0000        7.3650        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .17764E-08    10.275        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     9.8705        10.420        .31961E-03   -1.5645    
  24  Normalizat    .75202        .21124        .72192E-01   -1.0187    
  25  Prefactor     1.1602        .17290        .35686E-01   -.87566    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09071e-07
Minuit parameter uncertainties:
  1  126.749
  2  1.65286e-06
  3  5.68739e-07
  4  0.000494208
  5  18.3237
  6  0.00467525
  7  0.000300862
  8  47.1983
  9  23.6119
  10  0.00027881
  11  3.11336e-05
  12  2.11094
  13  2.57897
  14  0.0027233
  15  4.29889e-05
  16  0.703403
  17  9.63765
  18  7.64054e-07
  19  0.410549
  20  0.936244
  21  9.09883e-06
  22  0.000268863
  23  10.4204
  24  0.211469
  25  0.172989
Done.

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

Extracting fit parameters...

4FGL J1225.0+0330
   Spectrum: LogParabola
332         norm:  5.551e-11  4.299e-05  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.160e+00  1.730e-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:  7.520e-01  2.115e-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.39e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.83e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/822202/likelihoodResults_694224001_694483201_4FGL_J1225.0+0330_daily_bin1755.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) = 6086.84400312
delta logL = -1.10796145236e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6086.84399209
delta logL = -4.81686583953e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .44281E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    .60994       1.0000          .0000       5.0000    
     3 'Normalizat'    .75206       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1601       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=   6086.844     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      245 TOTAL
                     EDM=   .20E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        14.330        .42118E-03** at limit **
   2  alpha         2.3103        1.4125       -.32435E-04     .0000    
   3  Normalizat    .75202        1.0916       -.42261E-05   -.13791E-04
   4  Prefactor     1.1602        1.1176        .59032E-05   -.16319E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 2.31027
  Normalizat = 0.752016
  Prefactor  = 1.16016
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6086.844     FROM HESSE     STATUS=FAILED         7 CALLS      252 TOTAL
                     EDM=   .20E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        14.330        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.1175        1.4125       -.32435E-04   -.75963E-01
   3  Normalizat    .75202        1.0916       -.42261E-05   -1.0187    
   4  Prefactor     1.1602        1.1176        .59032E-05   -.87566    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.0468e-13
Minuit parameter uncertainties:
  1  4.11624e-06
  2  1.5017
  3  1.12593
  4  1.14164
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/822202': 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) = 6086.84399204
delta logL = 1.81898940355e-12

Extracting fit parameters...

4FGL J1225.0+0330
   Spectrum: LogParabola
332         norm:  0.000e+00  4.116e-06  0.000e+00  1.000e+06 ( 1.000e-13)
333        alpha:  2.310e+00  1.502e+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.160e+00  1.142e+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:  7.520e-01  1.126e+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/822202/cmap_HighResolution_694224001_694483201_4FGL_J1225.0+0330_daily_bin1755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.83e-05', job_status='DONE', photon_flux_upper_limit='4.39e-08', time_completed='2023-01-04 01:10:06.499601', job_id='822202', GAL2='1.16', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1672823406.5', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.16', dlogl='1.82e-12', ts2='0.00', photon_index_error='0.00', photon_index='2.40' WHERE bin_id='1755' AND source_name='4FGL J1225.0+0330' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan  4 01:10:06 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 822202: <4FGL_J1225.0+0330_daily_bin1755> in cluster <slac> Done

Job <4FGL_J1225.0+0330_daily_bin1755> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Jan  4 00:55:20 2023
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan  4 00:56:12 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan  4 00:56:12 2023
Terminated at Wed Jan  4 01:10:07 2023
Results reported at Wed Jan  4 01:10:07 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1225.0+0330_daily_bin1755 186.252 3.5098 694224001 694483201 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 :                                   663.11 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             281.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   835 sec.
    Turnaround time :                            887 sec.

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

