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 31 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0045.3+2128_daily_bin1664
RA = 11.3396, Dec = 21.4668
tmin = 670636801, tmax = 670896001
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='307193', job_status='RUN', time_executed='2022-04-06 00:05:59.509784', time_epoch_executed='1649228759.51' WHERE source_name='4FGL J0045.3+2128' and cadence='daily' and bin_id='1664'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/307193

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/307193/ft1_4FGL_J0045.3+2128_daily_bin1664.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/307193/ft2_4FGL_J0045.3+2128_daily_bin1664.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/307193/ft1_4FGL_J0045.3+2128_daily_bin1664.fits outfile=/scratch/kocevski/307193/ft1_filteredMKT_4FGL_J0045.3+2128_daily_bin1664.fits ra=11.3396 dec=21.4668 rad=12.0 tmin=670636801.0 tmax=670896001.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 6.45
user 5.11
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/307193/ft2_4FGL_J0045.3+2128_daily_bin1664.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/307193/ft2_4FGL_J0045.3+2128_daily_bin1664.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/307193/ft1_filteredMKT_4FGL_J0045.3+2128_daily_bin1664.fits evtable="EVENTS" outfile="/scratch/kocevski/307193/ft1_filtered_4FGL_J0045.3+2128_daily_bin1664.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 1.04
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 553

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/307193/ft1_filtered_4FGL_J0045.3+2128_daily_bin1664.fits" evtable="EVENTS" scfile=/scratch/kocevski/307193/ft2_4FGL_J0045.3+2128_daily_bin1664.fits sctable="SC_DATA" outfile=/scratch/kocevski/307193/ltcube_670636801_670896001_4FGL_J0045.3+2128_daily_bin1664.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/307193/ft2_4FGL_J0045.3+2128_daily_bin1664.fits
.....................!
real 15.30
user 14.29
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/307193/ft1_filtered_4FGL_J0045.3+2128_daily_bin1664.fits evtable="EVENTS" scfile=/scratch/kocevski/307193/ft2_4FGL_J0045.3+2128_daily_bin1664.fits sctable="SC_DATA" expcube=/scratch/kocevski/307193/ltcube_670636801_670896001_4FGL_J0045.3+2128_daily_bin1664.fits outfile=/scratch/kocevski/307193/expmap_670636801_670896001_4FGL_J0045.3+2128_daily_bin1664.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/307193/ltcube_670636801_670896001_4FGL_J0045.3+2128_daily_bin1664.fits
.....................!
real 194.04
user 186.88
sys 4.75

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 156 point sources and 0 extended sources

Setting source of interest to:
4FGL J0045.3+2128 @ 11.3396 21.4668

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/307193/ft1_filtered_4FGL_J0045.3+2128_daily_bin1664.fits scfile=/scratch/kocevski/307193/ft2_4FGL_J0045.3+2128_daily_bin1664.fits outfile=/scratch/kocevski/307193/cmap_670636801_670896001_4FGL_J0045.3+2128_daily_bin1664.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=11.3396 yref=21.4668 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 2.58
user 0.38
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/307193/ft1_filtered_4FGL_J0045.3+2128_daily_bin1664.fits scfile=/scratch/kocevski/307193/ft2_4FGL_J0045.3+2128_daily_bin1664.fits outfile=/scratch/kocevski/307193/cmap_HighResolution_670636801_670896001_4FGL_J0045.3+2128_daily_bin1664.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=11.3396 yref=21.4668 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 3.18
user 0.38
sys 0.20

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/307193/ft1_filtered_4FGL_J0045.3+2128_daily_bin1664.fits evtable="EVENTS" scfile=/scratch/kocevski/307193/ft2_4FGL_J0045.3+2128_daily_bin1664.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/307193/Model_4FGL_J0045.3+2128_daily_bin1664.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/307193/ft1_filtered_4FGL_J0045.3+2128_daily_bin1664.fits.....................!
real 122.49
user 68.01
sys 1.53

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/307193/ft1_filtered_4FGL_J0045.3+2128_daily_bin1664.fits', '/scratch/kocevski/307193/ft2_4FGL_J0045.3+2128_daily_bin1664.fits', expMap='/scratch/kocevski/307193/expmap_670636801_670896001_4FGL_J0045.3+2128_daily_bin1664.fits', expCube='/scratch/kocevski/307193/ltcube_670636801_670896001_4FGL_J0045.3+2128_daily_bin1664.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/307193/Model_4FGL_J0045.3+2128_daily_bin1664.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0045.3+2128'

4FGL J0045.3+2128
   Spectrum: LogParabola
170         norm:  3.310e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
171        alpha:  1.669e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
172         beta:  7.630e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
173           Eb:  2.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/307193/ft1_filtered_4FGL_J0045.3+2128_daily_bin1664.fits
Spacecraft file(s): /scratch/kocevski/307193/ft2_4FGL_J0045.3+2128_daily_bin1664.fits
Exposure map: /scratch/kocevski/307193/expmap_670636801_670896001_4FGL_J0045.3+2128_daily_bin1664.fits
Exposure cube: /scratch/kocevski/307193/ltcube_670636801_670896001_4FGL_J0045.3+2128_daily_bin1664.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/307193/Model_4FGL_J0045.3+2128_daily_bin1664.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) = 6407.07280072

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10232E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    22.163       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.7346       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    47.820       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.655       1.0000         .10000E-03   10000.    
     9 'norm      '    .51952       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.7886       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .28524       1.0000         .10000E-03   10000.    
    15 'Prefactor '    32.069       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    29.411       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.0952       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0691       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6407.067     FROM MIGRAD    STATUS=CONVERGED    400 CALLS     2104 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.5600       -.37408E-06** at limit **
   2  Prefactor     22.171        14.290        .27853E-06    .28204E-04
   3  Prefactor     .10000E-03    6.5307        .11909E-06** at limit **
   4  Prefactor     .10000E-03    17.886       -.96495E-05** at limit **
   5  Prefactor     5.7341        4.8688       -.25943E-07   -.13138E-03
   6  norm          .10000E-03    5.2203        .38507E-06** at limit **
   7  Prefactor     47.816        38.293       -.51272E-05    .13889E-04
   8  Prefactor     10.658        14.976        .23892E-06   -.91367E-04
   9  norm          .51700        6.7190       -.84758E-06   -.24409E-03
  10  Prefactor     .10000E-03    12.612        .46055E-05** at limit **
  11  Prefactor     8.7830        16.066       -.12082E-05    .51326E-04
  12  Prefactor     .10000E-03    22.106        .26783E-04** at limit **
  13  Prefactor     .10000E-03    37.709       -.10535E-04** at limit **
  14  norm          .28516        .81037       -.31320E-06   -.16718E-02
  15  Prefactor     32.066        18.380       -.10422E-05   -.59051E-04
  16  Prefactor     .10000E-03    17.624       -.11657E-04** at limit **
  17  Prefactor     .10000E-03    1.4870        .15253E-06** at limit **
  18  Prefactor     29.405        19.978       -.29986E-05    .95176E-04
  19  Normalizat    1.0952        .23348        .25910E-05   -.23262E-04
  20  Prefactor     1.0691        .14756       -.18763E-06    .11144E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 22.1713
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.73411
  norm       = 0.0001
  Prefactor  = 47.8158
  Prefactor  = 10.6585
  norm       = 0.517001
  Prefactor  = 0.0001
  Prefactor  = 8.78298
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.285155
  Prefactor  = 32.0664
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 29.4047
  Normalizat = 1.09522
  Prefactor  = 1.06914
 **********
 **   18 **HESSE 
 **********

 FCN=   6407.067     FROM HESSE     STATUS=OK           295 CALLS     2399 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.7036        .29419E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     22.171        14.266        .85082E-04   -1.4766    
   3  Prefactor     .10000E-03    6.5541        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    17.885        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.7341        4.8588        .15231E-03   -1.5229    
   6  norm          .10000E-03    5.2326        .17861E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     47.816        38.291        .57985E-04   -1.4324    
   8  Prefactor     10.658        14.958        .12274E-03   -1.5055    
   9  norm          .51700        20.961        .38751E-02   -1.5564    
  10  Prefactor     .10000E-03    13.119        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.7830        15.933        .13521E-03   -1.5115    
  12  Prefactor     .10000E-03    22.034        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    37.652        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .28516        .80529        .11176E-03   -1.5601    
  15  Prefactor     32.066        18.397        .70757E-04   -1.4575    
  16  Prefactor     .10000E-03    17.610        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    1.4881        .95319E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     29.405        19.778        .73877E-04   -1.4623    
  19  Normalizat    1.0952        .27170        .32210E-03   -.89905    
  20  Prefactor     1.0691        .17223        .21362E-03   -.90459    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05679e-09
Minuit parameter uncertainties:
  1  1.54408e-05
  2  14.2679
  3  5.51392e-06
  4  3.66081e-06
  5  4.85913
  6  1.95647e-06
  7  38.3103
  8  14.9635
  9  6.58572
  10  0.000121539
  11  15.9404
  12  8.74228e-06
  13  0.000117771
  14  0.805319
  15  18.4003
  16  2.12391e-05
  17  3.65993e-06
  18  19.7822
  19  0.272043
  20  0.172319DDone.

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

Extracting fit parameters...

4FGL J0045.3+2128
   Spectrum: LogParabola
170         norm:  5.170e-01  6.586e+00  1.000e-04  1.000e+04 ( 1.000e-13)
171        alpha:  1.669e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
172         beta:  7.630e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
173           Eb:  2.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  1.069e+00  1.723e-01  0.000e+00  1.000e+01 ( 1.000e+00)
493        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
494        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
491   Normalization:  1.095e+00  2.720e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 11.340 21.467
Photon Flux Upper Limit: 4.31e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.26e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/307193/likelihoodResults_670636801_670896001_4FGL_J0045.3+2128_daily_bin1664.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) = 6407.06401056
delta logL = 0.00289632689328

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6407.0637407
delta logL = 0.00316618702254

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .64556       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8724       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0951       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0689       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4950E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6407.064     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      298 TOTAL
                     EDM=   .94E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .65404        18.970        .23703E-02    .11424E-02
   2  alpha         1.8770        3.4306        .62368E-01    .37767E-05
   3  Normalizat    1.0951        .25875        .32210E-03    .12353E-05
   4  Prefactor     1.0689        .17131        .21364E-03   -.37250E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.654038
  alpha      = 1.87699
  Normalizat = 1.09512
  Prefactor  = 1.06885
 **********
 **   18 **HESSE 
 **********

 FCN=   6407.064     FROM HESSE     STATUS=OK            27 CALLS      325 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .65404        13.666        .47405E-03   -1.5546    
   2  alpha         1.8770        3.3863        .24947E-02   -.25186    
   3  Normalizat    1.0951        .25893        .12884E-04   -.89909    
   4  Prefactor     1.0689        .17133        .85455E-05   -.90468    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.05015e-11
Minuit parameter uncertainties:
  1  5.98033
  2  2.49111
  3  0.259232
  4  0.171417
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/307193': 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) = 6407.06373757
delta logL = 0.0031693183364

Extracting fit parameters...

4FGL J0045.3+2128
   Spectrum: LogParabola
170         norm:  6.540e-01  5.980e+00  1.000e-04  1.000e+04 ( 1.000e-13)
171        alpha:  1.877e+00  2.491e+00  0.000e+00  5.000e+00 ( 1.000e+00)
172         beta:  7.630e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
173           Eb:  2.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
492    Prefactor:  1.069e+00  1.714e-01  0.000e+00  1.000e+01 ( 1.000e+00)
493        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
494        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
491   Normalization:  1.095e+00  2.592e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 11.340 21.467

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/307193/cmap_HighResolution_670636801_670896001_4FGL_J0045.3+2128_daily_bin1664.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.26e-05', job_status='DONE', photon_flux_upper_limit='4.31e-08', time_completed='2022-04-06 00:17:15.035020', job_id='307193', GAL2='1.07', fit_tolerance='1e-08', EG2='1.10', EG='1.10', time_epoch_completed='1649229435.04', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='3.17e-03', ts2='0.01', photon_index_error='0.00', photon_index='1.67' WHERE bin_id='1664' AND source_name='4FGL J0045.3+2128' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Apr  6 00:17:15 PDT 2022

------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 307144: <4FGL_J0045.3+2128_daily_bin1664> in cluster <slac> Done

Job <4FGL_J0045.3+2128_daily_bin1664> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Apr  6 00:05:14 2022
Job was executed on host(s) <bullet0225>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Apr  6 00:05:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Apr  6 00:05:17 2022
Terminated at Wed Apr  6 00:16:51 2022
Results reported at Wed Apr  6 00:16:51 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0045.3+2128_daily_bin1664 11.3396 21.4668 670636801 670896001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0045.3+2128 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   585.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             335.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   693 sec.
    Turnaround time :                            697 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0248>
Subject: Job 307193: <4FGL_J0045.3+2128_daily_bin1664> in cluster <slac> Done

Job <4FGL_J0045.3+2128_daily_bin1664> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Apr  6 00:05:17 2022
Job was executed on host(s) <bullet0248>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Apr  6 00:05:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Apr  6 00:05:19 2022
Terminated at Wed Apr  6 00:17:15 2022
Results reported at Wed Apr  6 00:17:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0045.3+2128_daily_bin1664 11.3396 21.4668 670636801 670896001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0045.3+2128 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   590.88 sec.
    Max Memory :                                 627 MB
    Average Memory :                             299.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2929 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   716 sec.
    Turnaround time :                            718 sec.

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

