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 103 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_J0725.2+1425_daily_bin1712
RA = 111.324, Dec = 14.4212
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='52727', job_status='RUN', time_executed='2022-09-16 13:03:28.320692', time_epoch_executed='1663358608.32' WHERE source_name='4FGL J0725.2+1425' and cadence='daily' and bin_id='1712'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/52727

Creating custom pfile directory:
/scratch/kocevski/52727/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/52727/ft1_4FGL_J0725.2+1425_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/52727/ft2_4FGL_J0725.2+1425_daily_bin1712.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/52727/ft1_4FGL_J0725.2+1425_daily_bin1712.fits outfile=/scratch/kocevski/52727/ft1_filteredMKT_4FGL_J0725.2+1425_daily_bin1712.fits ra=111.324 dec=14.4212 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.75
user 4.49
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/52727/ft2_4FGL_J0725.2+1425_daily_bin1712.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/52727/ft2_4FGL_J0725.2+1425_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/52727/ft1_filteredMKT_4FGL_J0725.2+1425_daily_bin1712.fits evtable="EVENTS" outfile="/scratch/kocevski/52727/ft1_filtered_4FGL_J0725.2+1425_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.50
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 1120

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/52727/ft1_filtered_4FGL_J0725.2+1425_daily_bin1712.fits" evtable="EVENTS" scfile=/scratch/kocevski/52727/ft2_4FGL_J0725.2+1425_daily_bin1712.fits sctable="SC_DATA" outfile=/scratch/kocevski/52727/ltcube_683078401_683337601_4FGL_J0725.2+1425_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/52727/ft2_4FGL_J0725.2+1425_daily_bin1712.fits
.....................!
real 13.06
user 12.69
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/52727/ft1_filtered_4FGL_J0725.2+1425_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/52727/ft2_4FGL_J0725.2+1425_daily_bin1712.fits sctable="SC_DATA" expcube=/scratch/kocevski/52727/ltcube_683078401_683337601_4FGL_J0725.2+1425_daily_bin1712.fits outfile=/scratch/kocevski/52727/expmap_683078401_683337601_4FGL_J0725.2+1425_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/52727/ltcube_683078401_683337601_4FGL_J0725.2+1425_daily_bin1712.fits
.....................!
real 193.11
user 187.17
sys 5.60

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
Extended source Rosette in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/Rosette.fits is the correct path to the extended template.
Extended source Monoceros in ROI with RadialGaussian spatial model.
Extended source IC 443 in ROI with RadialGaussian spatial model.
Added 167 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0725.2+1425 @ 111.324 14.4212

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/52727/ft1_filtered_4FGL_J0725.2+1425_daily_bin1712.fits scfile=/scratch/kocevski/52727/ft2_4FGL_J0725.2+1425_daily_bin1712.fits outfile=/scratch/kocevski/52727/cmap_683078401_683337601_4FGL_J0725.2+1425_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=111.324 yref=14.4212 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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/52727/ft1_filtered_4FGL_J0725.2+1425_daily_bin1712.fits scfile=/scratch/kocevski/52727/ft2_4FGL_J0725.2+1425_daily_bin1712.fits outfile=/scratch/kocevski/52727/cmap_HighResolution_683078401_683337601_4FGL_J0725.2+1425_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=111.324 yref=14.4212 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.60
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/52727/ft1_filtered_4FGL_J0725.2+1425_daily_bin1712.fits evtable="EVENTS" scfile=/scratch/kocevski/52727/ft2_4FGL_J0725.2+1425_daily_bin1712.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/52727/Model_4FGL_J0725.2+1425_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
adding source IC 443
adding source Monoceros
adding source Rosette
Working on...
/scratch/kocevski/52727/ft1_filtered_4FGL_J0725.2+1425_daily_bin1712.fits....................!
real 173.70
user 172.10
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/52727/ft1_filtered_4FGL_J0725.2+1425_daily_bin1712.fits', '/scratch/kocevski/52727/ft2_4FGL_J0725.2+1425_daily_bin1712.fits', expMap='/scratch/kocevski/52727/expmap_683078401_683337601_4FGL_J0725.2+1425_daily_bin1712.fits', expCube='/scratch/kocevski/52727/ltcube_683078401_683337601_4FGL_J0725.2+1425_daily_bin1712.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/52727/Model_4FGL_J0725.2+1425_daily_bin1712.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0725.2+1425'

4FGL J0725.2+1425
   Spectrum: LogParabola
264         norm:  2.182e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
265        alpha:  2.203e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
266         beta:  6.522e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
267           Eb:  5.450e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/52727/ft1_filtered_4FGL_J0725.2+1425_daily_bin1712.fits
Spacecraft file(s): /scratch/kocevski/52727/ft2_4FGL_J0725.2+1425_daily_bin1712.fits
Exposure map: /scratch/kocevski/52727/expmap_683078401_683337601_4FGL_J0725.2+1425_daily_bin1712.fits
Exposure cube: /scratch/kocevski/52727/ltcube_683078401_683337601_4FGL_J0725.2+1425_daily_bin1712.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/52727/Model_4FGL_J0725.2+1425_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) = 11853.7216804

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.6183       1.0000          .0000       .10000E+07
     2 'Prefactor '    2.0604       1.0000          .0000       .10000E+07
     3 'Prefactor '    .80766E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    13.707       1.0000          .0000       .10000E+07
     5 'norm      '    .21031E-01   1.0000          .0000       .10000E+07
     6 'norm      '    2.7563       1.0000          .0000       .10000E+07
     7 'norm      '    1.1675       1.0000          .0000       .10000E+07
     8 'Prefactor '    .30670E-01   1.0000          .0000       .10000E+07
     9 'norm      '    10.551       1.0000          .0000       .10000E+07
    10 'Prefactor '    10.533       1.0000          .0000       .10000E+07
    11 'Prefactor '    4.5151       1.0000          .0000       .10000E+07
    12 'Prefactor '    2.2324       1.0000          .0000       .10000E+07
    13 'norm      '    .28520E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .33689E-02   1.0000          .0000       .10000E+07
    15 'norm      '    152.97       1.0000          .0000       .10000E+07
    16 'Normalizat'    1.4753       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .83457       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5640E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11853.72     FROM MIGRAD    STATUS=CONVERGED    108 CALLS     1176 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.9717        9.8201        .32763E-08   -.35283E-02
   2  Prefactor     2.0874        6.1401       -.67365E-06   -.32337E-02
   3  Prefactor     .12212E-08    44.477       -.21831E-05** at limit **
   4  Prefactor     13.578        9.4323        .16805E-05    .47766E-02
   5  norm           .0000        11.407        .27675E-07** at limit **
   6  norm          2.7599        2.1452        .66943E-07    .85629E-02
   7  norm          1.1667        1.1156        .57352E-08   -.98280E-02
   8  Prefactor     .38858E-09    35.874        .12759E-06** at limit **
   9  norm          10.555        2.6635       -.13181E-08   -.19987E-01
  10  Prefactor     10.531        18.426        .11000E-05   -.21715E-03
  11  Prefactor     3.6947        198.32       -.21053E-05   -.37683E-02
  12  Prefactor     2.2302        3.6236        .81167E-07   -.50057E-03
  13  norm          .55511E-10    9.4734       -.63172E-06** at limit **
  14  Prefactor     .22204E-09    9.8538        .36153E-06** at limit **
  15  norm          152.88        6.6963       -.14426E-06    .13798    
  16  Normalizat    1.4783        .22413       -.16773E-05    .89765E-04
  17  Prefactor     .83326        .88654E-01   -.15669E-05   -.52642E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.97166
  Prefactor  = 2.08737
  Prefactor  = 1.22125e-09
  Prefactor  = 13.5775
  norm       = 0
  norm       = 2.75993
  norm       = 1.16673
  Prefactor  = 3.88578e-10
  norm       = 10.5553
  Prefactor  = 10.5306
  Prefactor  = 3.69472
  Prefactor  = 2.23021
  norm       = 5.55112e-11
  Prefactor  = 2.22045e-10
  norm       = 152.882
  Normalizat = 1.47829
  Prefactor  = 0.833257
 **********
 **   18 **HESSE 
 **********

 FCN=   11853.72     FROM HESSE     STATUS=OK           265 CALLS     1441 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.9717        9.7550        .46811E-03   -1.5663    
   2  Prefactor     2.0874        46.780        .71963E-03   -1.5679    
   3  Prefactor     .12212E-08    43.466        .14478E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.578        9.4483        .27029E-03   -1.5634    
   5  norm           .0000        5.2501        .81949E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.7599        2.1561        .61287E-03   -1.5675    
   7  norm          1.1667        1.1259        .10630E-02   -1.5686    
   8  Prefactor     .38858E-09    35.203        .16415E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          10.555        2.6698        .30821E-03   -1.5643    
  10  Prefactor     10.531        19.370        .30847E-03   -1.5643    
  11  Prefactor     3.6947        202.84        .47356E-03   -1.5670    
  12  Prefactor     2.2302        3.6185        .68776E-03   -1.5678    
  13  norm          .55511E-10    9.4631        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .22204E-09    9.8217        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          152.88        116.36        .80860E-04   -1.5461    
  16  Normalizat    1.4783        .20285        .85401E-01   -.78390    
  17  Prefactor     .83326        .80510E-01    .44165E-01   -.98514    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76433e-06
Minuit parameter uncertainties:
  1  9.75505
  2  19.7636
  3  0.000462415
  4  9.44827
  5  6.72923e-06
  6  2.15609
  7  1.12585
  8  0.000236411
  9  2.66977
  10  19.3704
  11  54.7534
  12  3.61854
  13  3.34044e-05
  14  8.92148e-05
  15  116.358
  16  0.202962
  17  0.0805213
Done.

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

Extracting fit parameters...

4FGL J0725.2+1425
   Spectrum: LogParabola
264         norm:  1.167e+00  1.126e+00  0.000e+00  1.000e+06 ( 1.000e-11)
265        alpha:  2.203e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
266         beta:  6.522e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
267           Eb:  5.450e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  8.333e-01  8.052e-02  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  1.478e+00  2.030e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.32
Ra Dec: 111.324 14.421
Photon Index (Fixed Index): 2.20 +/- 0.00
Photon Flux (Fixed Index): 3.72e-08 +/- 3.58e-08
Energy Flux (Fixed Index): 1.44e-05 +/- 1.39e-05

TS (Fixed Index): 2.32
Ra Dec: 111.324 14.421
Photon Flux Upper Limit: 1.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.71e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/52727/likelihoodResults_683078401_683337601_4FGL_J0725.2+1425_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) = 11853.6990536
delta logL = 0.02200426526

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11853.6813606
delta logL = 0.0396972875151

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11853.68     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      207 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .88623        .90673        .46610E-03    .45931E-02
   2  alpha         1.8214        .55463        .43238       -.78335E-04
   3  Normalizat    1.4935        .18057        .85052E-01    .17154E-03
   4  Prefactor     .83103        .74816E-01    .44120E-01    .34145E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.886232
  alpha      = 1.82142
  Normalizat = 1.49349
  Prefactor  = 0.831033
 **********
 **   18 **HESSE 
 **********

 FCN=   11853.68     FROM HESSE     STATUS=OK            31 CALLS      238 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .88623        1.3111        .10134E-04   -1.5689    
   2  alpha         1.8214        1.0936        .24552E-01   -.27488    
   3  Normalizat    1.4935        .19792        .37650E-03   -.77962    
   4  Prefactor     .83103        .81246E-01    .20187E-03   -.98594    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.21017e-08
Minuit parameter uncertainties:
  1  1.31107
  2  1.13524
  3  0.198025
  4  0.0812574
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/52727': 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) = 11853.6813587
delta logL = 0.0396991587004

Extracting fit parameters...

4FGL J0725.2+1425
   Spectrum: LogParabola
264         norm:  8.862e-01  1.311e+00  0.000e+00  1.000e+06 ( 1.000e-11)
265        alpha:  1.821e+00  1.135e+00  0.000e+00  5.000e+00 ( 1.000e+00)
266         beta:  6.522e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
267           Eb:  5.450e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  8.310e-01  8.126e-02  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  1.493e+00  1.980e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.40
Ra Dec: 111.324 14.421
Photon Index (Free Index): 1.82 +/- 1.14
Photon Flux (Free Index): 2.15e-08 +/- 4.25e-08
Energy Flux (Free Index): 1.62e-05 +/- 2.04e-05

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/52727/cmap_HighResolution_683078401_683337601_4FGL_J0725.2+1425_daily_bin1712.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.71e-05', comment='SUCCESS', photon_flux='3.72e-08', energy_flux2='1.62e-05', photon_flux_error='3.58e-08', dlogl='3.97e-02', energy_flux='1.44e-05', photon_flux2='2.15e-08', job_status='DONE', time_completed='2022-09-16 13:16:49.424986', photon_index_error2='1.14', photon_index2='1.82', ts='2.32', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', photon_flux_upper_limit='1.21e-07', energy_flux_error2='2.04e-05', EG='1.48', time_epoch_completed='1663359409.43', return_code='0', job_id='52727', GAL2='0.83', EG2='1.49', return_code2='0', energy_flux_error='1.39e-05', photon_flux_error2='4.25e-08', ts2='2.40', photon_index='2.20' WHERE bin_id='1712' AND source_name='4FGL J0725.2+1425' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 13:16:49 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 52727: <4FGL_J0725.2+1425_daily_bin1712> in cluster <slac> Done

Job <4FGL_J0725.2+1425_daily_bin1712> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 16 13:00:28 2022
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 13:01:37 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 13:01:37 2022
Terminated at Fri Sep 16 13:16:50 2022
Results reported at Fri Sep 16 13:16:50 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0725.2+1425_daily_bin1712 111.324 14.4212 683078401 683337601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0725.2+1425 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   803.02 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             352.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   912 sec.
    Turnaround time :                            982 sec.

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

