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


Performing analysis on: 4FGL_J1225.0+0330_daily_bin1712
RA = 186.252, Dec = 3.5098
tmin = 683078401, tmax = 683337601
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='119073', job_status='RUN', time_executed='2022-09-16 16:47:01.513469', time_epoch_executed='1663372021.51' WHERE source_name='4FGL J1225.0+0330' and cadence='daily' and bin_id='1712'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/119073

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/119073/ft1_4FGL_J1225.0+0330_daily_bin1712.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/119073/ft2_4FGL_J1225.0+0330_daily_bin1712.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/119073/ft1_4FGL_J1225.0+0330_daily_bin1712.fits outfile=/scratch/kocevski/119073/ft1_filteredMKT_4FGL_J1225.0+0330_daily_bin1712.fits ra=186.252 dec=3.5098 rad=12.0 tmin=683078401.0 tmax=683337601.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 4.76
user 4.49
sys 0.26

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/119073/ft1_filtered_4FGL_J1225.0+0330_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/119073/ft2_4FGL_J1225.0+0330_daily_bin1712.fits sctable="SC_DATA" expcube=/scratch/kocevski/119073/ltcube_683078401_683337601_4FGL_J1225.0+0330_daily_bin1712.fits outfile=/scratch/kocevski/119073/expmap_683078401_683337601_4FGL_J1225.0+0330_daily_bin1712.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/119073/ltcube_683078401_683337601_4FGL_J1225.0+0330_daily_bin1712.fits
.....................!
real 192.15
user 186.21
sys 5.55

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/119073/ft1_filtered_4FGL_J1225.0+0330_daily_bin1712.fits scfile=/scratch/kocevski/119073/ft2_4FGL_J1225.0+0330_daily_bin1712.fits outfile=/scratch/kocevski/119073/cmap_683078401_683337601_4FGL_J1225.0+0330_daily_bin1712.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/119073/ft1_filtered_4FGL_J1225.0+0330_daily_bin1712.fits scfile=/scratch/kocevski/119073/ft2_4FGL_J1225.0+0330_daily_bin1712.fits outfile=/scratch/kocevski/119073/cmap_HighResolution_683078401_683337601_4FGL_J1225.0+0330_daily_bin1712.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.37
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    144.32       1.0000          .0000       .10000E+07
     2 'Prefactor '    16.514       1.0000          .0000       .10000E+07
     3 'Prefactor '    7.3998       1.0000          .0000       .10000E+07
     4 'Prefactor '    .16641E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    4.3594       1.0000          .0000       .10000E+07
     6 'Prefactor '    .48706E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .50544E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    3.4965       1.0000          .0000       .10000E+07
     9 'Prefactor '    15.098       1.0000          .0000       .10000E+07
    10 'Prefactor '    50.173       1.0000          .0000       .10000E+07
    11 'Prefactor '    33.407       1.0000          .0000       .10000E+07
    12 'norm      '    .95363       1.0000          .0000       .10000E+07
    13 'norm      '    .74951E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    45.361       1.0000          .0000       .10000E+07
    15 'norm      '    37.802       1.0000          .0000       .10000E+07
    16 'norm      '    .37412       1.0000          .0000       .10000E+07
    17 'Prefactor '    12.109       1.0000          .0000       .10000E+07
    18 'Prefactor '    .75329E-02   1.0000          .0000       .10000E+07
    19 'norm      '    1.6198       1.0000          .0000       .10000E+07
    20 'Prefactor '    12.721       1.0000          .0000       .10000E+07
    21 'Prefactor '    .36728E-02   1.0000          .0000       .10000E+07
    22 'norm      '    .10480E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    8.0232       1.0000          .0000       .10000E+07
    24 'Normalizat'    .91990       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0348       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=   6597.671     FROM MIGRAD    STATUS=CONVERGED    199 CALLS     2179 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     146.62        117.71        .45222E-05   -.11122E-01
   2  Prefactor     16.413        13.236       -.17037E-05   -.16471E-01
   3  Prefactor     7.2649        6.6425        .16633E-07   -.76079E-03
   4  Prefactor     .16653E-09    6.1123        .45309E-06** at limit **
   5  Prefactor     4.3605        12.175        .88793E-06    .47424E-03
   6  Prefactor     .30581E-06    32.101        .47743E-06** at limit **
   7  Prefactor     .92704E-08    17.652        .15964E-05** at limit **
   8  Prefactor     4.1632        8.8423       -.59446E-05    .54205E-02
   9  Prefactor     15.521        20.825        .74520E-05    .19743E-01
  10  Prefactor     49.687        8.1218       -.52114E-06    .14421E-01
  11  Prefactor     33.328        10.071       -.21318E-05   -.95468E-01
  12  norm          .96480        2.2985        .12427E-05    .62974E-02
  13  norm          .11102E-09    8.1206        .61570E-06** at limit **
  14  Prefactor     46.759        41.608       -.63716E-06    .62506E-01
  15  norm          38.136        20.142        .18585E-05   -.13679    
  16  norm          .37390        .48586        .62941E-07   -.38915E-02
  17  Prefactor     12.144        10.959       -.14595E-06   -.25178E-02
  18  Prefactor     .16152E-05    49.570        .32691E-05** at limit **
  19  norm          1.6208        1.3014       -.19394E-06    .59655E-03
  20  Prefactor     12.797        7.4965       -.25943E-06   -.10504E-02
  21  Prefactor     .14988E-08    12.930        .12786E-05** at limit **
  22  norm          .33307E-09    7.8611        .14784E-05** at limit **
  23  Prefactor     8.0714        14.778        .37241E-05    .69273E-02
  24  Normalizat    .91792        .25098       -.37172E-04   -.18394E-04
  25  Prefactor     1.0349        .19664        .18990E-04   -.76051E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 146.619
  Prefactor  = 16.4131
  Prefactor  = 7.2649
  Prefactor  = 1.66533e-10
  Prefactor  = 4.36045
  Prefactor  = 3.05811e-07
  Prefactor  = 9.27036e-09
  Prefactor  = 4.16324
  Prefactor  = 15.5207
  Prefactor  = 49.687
  Prefactor  = 33.3281
  norm       = 0.964805
  norm       = 1.11022e-10
  Prefactor  = 46.7587
  norm       = 38.1358
  norm       = 0.3739
  Prefactor  = 12.1444
  Prefactor  = 1.61515e-06
  norm       = 1.62078
  Prefactor  = 12.7971
  Prefactor  = 1.4988e-09
  norm       = 3.33067e-10
  Prefactor  = 8.07144
  Normalizat = 0.917918
  Prefactor  = 1.03491
 **********
 **   18 **HESSE 
 **********

 FCN=   6597.671     FROM HESSE     STATUS=OK           489 CALLS     2668 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     146.62        118.06        .83248E-04   -1.5466    
   2  Prefactor     16.413        13.422        .24620E-03   -1.5627    
   3  Prefactor     7.2649        6.7031        .36846E-03   -1.5654    
   4  Prefactor     .16653E-09    6.1149        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.3605        12.200        .48217E-03   -1.5666    
   6  Prefactor     .30581E-06    32.940        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .92704E-08    17.668        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.1632        56.923        .54046E-03   -1.5667    
   9  Prefactor     15.521        24.051        .25751E-03   -1.5629    
  10  Prefactor     49.687        31.706        .14119E-03   -1.5567    
  11  Prefactor     33.328        17.917        .17304E-03   -1.5593    
  12  norm          .96480        2.5930        .42121E-03   -1.5688    
  13  norm          .11102E-09    8.0080        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     46.759        45.349        .14849E-03   -1.5571    
  15  norm          38.136        41.181        .16266E-03   -1.5584    
  16  norm          .37390        .53557        .92548E-03   -1.5696    
  17  Prefactor     12.144        10.981        .28762E-03   -1.5638    
  18  Prefactor     .16152E-05    50.019        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.6208        1.3209        .83129E-03   -1.5683    
  20  Prefactor     12.797        7.5116        .28060E-03   -1.5636    
  21  Prefactor     .14988E-08    12.936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .33307E-09    7.8684        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     8.0714        14.862        .35373E-03   -1.5651    
  24  Normalizat    .91792        .22262        .70990E-01   -.95833    
  25  Prefactor     1.0349        .16980        .40893E-01   -.91575    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22315e-06
Minuit parameter uncertainties:
  1  118.061
  2  13.4218
  3  6.70308
  4  6.58721e-05
  5  12.2005
  6  0.00634788
  7  0.000809606
  8  30.7891
  9  24.0513
  10  31.7065
  11  17.9165
  12  2.59304
  13  6.1346e-05
  14  45.3496
  15  41.1813
  16  0.535574
  17  10.981
  18  0.0179767
  19  1.32092
  20  7.51162
  21  0.000276749
  22  0.00010069
  23  14.8624
  24  0.222848
  25  0.16989
Done.

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

Extracting fit parameters...

4FGL J1225.0+0330
   Spectrum: LogParabola
332         norm:  3.814e+01  4.118e+01  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.035e+00  1.699e-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.179e-01  2.228e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.56
Ra Dec: 186.252 3.510
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 2.64e-08 +/- 2.85e-08
Energy Flux (Fixed Index): 1.10e-05 +/- 1.19e-05

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

Saving results to:
/scratch/kocevski/119073/likelihoodResults_683078401_683337601_4FGL_J1225.0+0330_daily_bin1712.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) = 6597.63508769
delta logL = 0.0355854222498

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6597.61897953
delta logL = 0.0516935856476

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    29.835       1.0000          .0000       .10000E+07
     2 'alpha     '    3.0258       1.0000          .0000       5.0000    
     3 'Normalizat'    .88974       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0487       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6597.619     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      258 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          29.799        69.532        .73243E-05    .55891E-02
   2  alpha         3.0281        3.7337        .20306E-01    .87877E-04
   3  Normalizat    .88961        .27801        .31834E-03    .39459E-03
   4  Prefactor     1.0487        .21180        .24216E-03   -.10060E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 29.7986
  alpha      = 3.02813
  Normalizat = 0.889613
  Prefactor  = 1.04874
 **********
 **   18 **HESSE 
 **********

 FCN=   6597.619     FROM HESSE     STATUS=OK            25 CALLS      283 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          29.799        49.501        .14649E-05   -1.5599    
   2  alpha         3.0281        1.7190        .81224E-03    .21286    
   3  Normalizat    .88961        .25837        .12733E-04   -.96826    
   4  Prefactor     1.0487        .20289        .48432E-04   -.91122    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.58242e-09
Minuit parameter uncertainties:
  1  49.5016
  2  1.90663
  3  0.258732
  4  0.203039
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/119073': 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) = 6597.61897861
delta logL = 0.0516945010158

Extracting fit parameters...

4FGL J1225.0+0330
   Spectrum: LogParabola
332         norm:  2.980e+01  4.950e+01  0.000e+00  1.000e+06 ( 1.000e-13)
333        alpha:  3.028e+00  1.907e+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.049e+00  2.030e-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.896e-01  2.587e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.71
Ra Dec: 186.252 3.510
Photon Index (Free Index): 3.03 +/- 1.91
Photon Flux (Free Index): 4.90e-08 +/- 8.60e-08
Energy Flux (Free Index): 1.33e-05 +/- 1.36e-05

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/119073/cmap_HighResolution_683078401_683337601_4FGL_J1225.0+0330_daily_bin1712.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.82e-05', comment='SUCCESS', photon_flux='2.64e-08', energy_flux2='1.33e-05', photon_flux_error='2.85e-08', dlogl='5.17e-02', energy_flux='1.10e-05', photon_flux2='4.90e-08', job_status='DONE', time_completed='2022-09-16 16:58:08.742485', photon_index_error2='1.91', photon_index2='3.03', ts='1.56', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='9.14e-08', energy_flux_error2='1.36e-05', EG='0.92', time_epoch_completed='1663372688.74', return_code='0', job_id='119073', GAL2='1.05', EG2='0.89', return_code2='0', energy_flux_error='1.19e-05', photon_flux_error2='8.60e-08', ts2='1.71', photon_index='2.40' WHERE bin_id='1712' AND source_name='4FGL J1225.0+0330' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 16:58:08 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 119073: <4FGL_J1225.0+0330_daily_bin1712> in cluster <slac> Done

Job <4FGL_J1225.0+0330_daily_bin1712> 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) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 16:46:05 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:05 2022
Terminated at Fri Sep 16 16:58:09 2022
Results reported at Fri Sep 16 16:58:09 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1225.0+0330_daily_bin1712 186.252 3.5098 683078401 683337601 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 :                                   669.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             320.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   724 sec.
    Turnaround time :                            773 sec.

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

