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


Performing analysis on: 4FGL_J0045.7+1217_daily_bin1740
RA = 11.4309, Dec = 12.292
tmin = 690336001, tmax = 690595201
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='822615', job_status='RUN', time_executed='2022-11-20 00:09:54.574585', time_epoch_executed='1668931794.57' WHERE source_name='4FGL J0045.7+1217' and cadence='daily' and bin_id='1740'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/822615

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/822615/ft1_4FGL_J0045.7+1217_daily_bin1740.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/822615/ft2_4FGL_J0045.7+1217_daily_bin1740.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/822615/ft1_4FGL_J0045.7+1217_daily_bin1740.fits outfile=/scratch/kocevski/822615/ft1_filteredMKT_4FGL_J0045.7+1217_daily_bin1740.fits ra=11.4309 dec=12.292 rad=12.0 tmin=690336001.0 tmax=690595201.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.03
user 2.75
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/822615/ft2_4FGL_J0045.7+1217_daily_bin1740.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/822615/ft2_4FGL_J0045.7+1217_daily_bin1740.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/822615/ft1_filteredMKT_4FGL_J0045.7+1217_daily_bin1740.fits evtable="EVENTS" outfile="/scratch/kocevski/822615/ft1_filtered_4FGL_J0045.7+1217_daily_bin1740.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.55
user 0.36
sys 0.18

Number of photons that the gtmktime cut: 566

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/822615/ft1_filtered_4FGL_J0045.7+1217_daily_bin1740.fits" evtable="EVENTS" scfile=/scratch/kocevski/822615/ft2_4FGL_J0045.7+1217_daily_bin1740.fits sctable="SC_DATA" outfile=/scratch/kocevski/822615/ltcube_690336001_690595201_4FGL_J0045.7+1217_daily_bin1740.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/822615/ft2_4FGL_J0045.7+1217_daily_bin1740.fits
.....................!
real 18.15
user 17.70
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/822615/ft1_filtered_4FGL_J0045.7+1217_daily_bin1740.fits evtable="EVENTS" scfile=/scratch/kocevski/822615/ft2_4FGL_J0045.7+1217_daily_bin1740.fits sctable="SC_DATA" expcube=/scratch/kocevski/822615/ltcube_690336001_690595201_4FGL_J0045.7+1217_daily_bin1740.fits outfile=/scratch/kocevski/822615/expmap_690336001_690595201_4FGL_J0045.7+1217_daily_bin1740.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/822615/ltcube_690336001_690595201_4FGL_J0045.7+1217_daily_bin1740.fits
.....................!
real 192.83
user 187.19
sys 5.03

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.7+1217 @ 11.4309 12.292

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/822615/ft1_filtered_4FGL_J0045.7+1217_daily_bin1740.fits scfile=/scratch/kocevski/822615/ft2_4FGL_J0045.7+1217_daily_bin1740.fits outfile=/scratch/kocevski/822615/cmap_690336001_690595201_4FGL_J0045.7+1217_daily_bin1740.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.4309 yref=12.292 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/822615/ft1_filtered_4FGL_J0045.7+1217_daily_bin1740.fits scfile=/scratch/kocevski/822615/ft2_4FGL_J0045.7+1217_daily_bin1740.fits outfile=/scratch/kocevski/822615/cmap_HighResolution_690336001_690595201_4FGL_J0045.7+1217_daily_bin1740.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.4309 yref=12.292 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.63
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/822615/ft1_filtered_4FGL_J0045.7+1217_daily_bin1740.fits evtable="EVENTS" scfile=/scratch/kocevski/822615/ft2_4FGL_J0045.7+1217_daily_bin1740.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/822615/Model_4FGL_J0045.7+1217_daily_bin1740.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/822615/ft1_filtered_4FGL_J0045.7+1217_daily_bin1740.fits.....................!
real 73.07
user 71.60
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/822615/ft1_filtered_4FGL_J0045.7+1217_daily_bin1740.fits', '/scratch/kocevski/822615/ft2_4FGL_J0045.7+1217_daily_bin1740.fits', expMap='/scratch/kocevski/822615/expmap_690336001_690595201_4FGL_J0045.7+1217_daily_bin1740.fits', expCube='/scratch/kocevski/822615/ltcube_690336001_690595201_4FGL_J0045.7+1217_daily_bin1740.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/822615/Model_4FGL_J0045.7+1217_daily_bin1740.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0045.7+1217'

4FGL J0045.7+1217
   Spectrum: PowerLaw
185    Prefactor:  1.915e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
186        Index:  1.982e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
187        Scale:  2.174e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/822615/ft1_filtered_4FGL_J0045.7+1217_daily_bin1740.fits
Spacecraft file(s): /scratch/kocevski/822615/ft2_4FGL_J0045.7+1217_daily_bin1740.fits
Exposure map: /scratch/kocevski/822615/expmap_690336001_690595201_4FGL_J0045.7+1217_daily_bin1740.fits
Exposure cube: /scratch/kocevski/822615/ltcube_690336001_690595201_4FGL_J0045.7+1217_daily_bin1740.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/822615/Model_4FGL_J0045.7+1217_daily_bin1740.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) = 6452.54505088

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13450E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .20595E-07   1.0000          .0000       .10000E+07
     3 'norm      '    2.3908       1.0000          .0000       .10000E+07
     4 'Prefactor '    .33973E-07   1.0000          .0000       .10000E+07
     5 'Prefactor '    7.8259       1.0000          .0000       .10000E+07
     6 'norm      '    21.297       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11252E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    20.297       1.0000          .0000       .10000E+07
     9 'norm      '    .11205E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    3.9493       1.0000          .0000       .10000E+07
    11 'Prefactor '    27.713       1.0000          .0000       .10000E+07
    12 'Prefactor '    5.9477       1.0000          .0000       .10000E+07
    13 'norm      '    12.524       1.0000          .0000       .10000E+07
    14 'Prefactor '    .11531E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    216.09       1.0000          .0000       .10000E+07
    16 'Prefactor '    11.288       1.0000          .0000       .10000E+07
    17 'Normalizat'    1.0553       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .93134       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5000E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6452.530     FROM MIGRAD    STATUS=CONVERGED    122 CALLS     1542 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-09    8.6604        .25198E-06** at limit **
   2  Prefactor     .16653E-09    7.3383       -.18462E-06** at limit **
   3  norm          2.3907        2.1565       -.25445E-07    .10840E-02
   4  Prefactor      .0000        2.1296        .11089E-07** at limit **
   5  Prefactor     7.8263        4.8817       -.48715E-07   -.11192E-02
   6  norm          21.294        1.1145        .12143E-07   -.44229E-01
   7  Prefactor     .16653E-09    12.733       -.17729E-06** at limit **
   8  Prefactor     20.304        1.2670       -.50775E-08    .17650E-01
   9  norm          .55511E-10    6.2524        .59120E-07** at limit **
  10  Prefactor     3.9499        5.1741        .19460E-07    .82839E-04
  11  Prefactor     27.684        20.852       -.14763E-06   -.31616E-02
  12  Prefactor     5.9459        3.4001       -.61195E-07    .29855E-03
  13  norm          12.524        11.017       -.83171E-07   -.40923E-02
  14  Prefactor     .72303E-06    2488.5        .19269E-04** at limit **
  15  Prefactor     216.02        4.3078        .54982E-07    .47116E-01
  16  Prefactor     11.283        2.9965       -.12759E-06    .49560E-02
  17  Normalizat    1.0559        .24680        .66320E-05    .86814E-04
  18  Prefactor     .93099        .17177       -.43342E-06    .11625E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-10
  Prefactor  = 1.66533e-10
  norm       = 2.39074
  Prefactor  = 0
  Prefactor  = 7.82632
  norm       = 21.2944
  Prefactor  = 1.66533e-10
  Prefactor  = 20.3038
  norm       = 5.55112e-11
  Prefactor  = 3.94988
  Prefactor  = 27.684
  Prefactor  = 5.94588
  norm       = 12.5243
  Prefactor  = 7.23033e-07
  Prefactor  = 216.023
  Prefactor  = 11.2833
  Normalizat = 1.05586
  Prefactor  = 0.930994
 **********
 **   18 **HESSE 
 **********

 FCN=   6452.530     FROM HESSE     STATUS=OK           284 CALLS     1826 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-09    8.7531        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .16653E-09    7.3753        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.3907        2.1509        .66209E-03   -1.5677    
   4  Prefactor      .0000        2.1258        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.8263        4.8920        .35820E-03   -1.5652    
   6  norm          21.294        14.275        .21675E-03   -1.5616    
   7  Prefactor     .16653E-09    12.844        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     20.304        16.127        .22204E-03   -1.5618    
   9  norm          .55511E-10    6.2512        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.9499        5.2601        .50735E-03   -1.5668    
  11  Prefactor     27.684        21.074        .18999E-03   -1.5603    
  12  Prefactor     5.9459        3.4288        .41151E-03   -1.5659    
  13  norm          12.524        11.129        .28279E-03   -1.5637    
  14  Prefactor     .72303E-06    2445.5        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     216.02        130.08        .68034E-04   -1.5414    
  16  Prefactor     11.283        14.383        .29793E-03   -1.5641    
  17  Normalizat    1.0559        .21585        .70170E-01   -.91182    
  18  Prefactor     .93099        .14865        .45403E-01   -.95066    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08525e-07
Minuit parameter uncertainties:
  1  0.000139686
  2  6.92759e-05
  3  2.15095
  4  7.44329e-06
  5  4.89204
  6  14.2746
  7  8.45279e-05
  8  16.1271
  9  3.90517e-05
  10  5.26007
  11  21.0737
  12  3.42876
  13  11.1286
  14  0.0841326
  15  130.087
  16  14.3826
  17  0.216034
  18  0.148719
Done.

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

Extracting fit parameters...

4FGL J0045.7+1217
   Spectrum: PowerLaw
185    Prefactor:  3.950e+00  5.260e+00  0.000e+00  1.000e+06 ( 1.000e-13)
186        Index:  1.982e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
187        Scale:  2.174e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
497    Prefactor:  9.310e-01  1.487e-01  0.000e+00  1.000e+01 ( 1.000e+00)
498        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
499        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
496   Normalization:  1.056e+00  2.160e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.08
Ra Dec: 11.431 12.292
Photon Index (Fixed Index): 1.98 +/- 0.00
Photon Flux (Fixed Index): 1.80e-08 +/- 2.39e-08
Energy Flux (Fixed Index): 1.30e-05 +/- 1.73e-05

TS (Fixed Index): 1.08
Ra Dec: 11.431 12.292
Photon Flux Upper Limit: 8.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.49e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/822615/likelihoodResults_690336001_690595201_4FGL_J0045.7+1217_daily_bin1740.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) = 6452.49391072
delta logL = 0.035936118361

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6452.48963826
delta logL = 0.0402085788191

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.4670       1.0000          .0000       .10000E+07
     2 'Index     '    1.7658       1.0000          .0000       10.000    
     3 'Normalizat'    1.0592       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93054       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5000E+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=   6452.490     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      238 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.4668        5.9176        .19047E-04    .44061E-02
   2  Index         1.7657        .75701        .96725E-02    .98709E-04
   3  Normalizat    1.0592        .24109        .31003E-03   -.85623E-04
   4  Prefactor     .93057        .17097        .23103E-03   -.14447E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.46677
  Index      = 1.76568
  Normalizat = 1.05915
  Prefactor  = 0.930573
 **********
 **   18 **HESSE 
 **********

 FCN=   6452.490     FROM HESSE     STATUS=OK            23 CALLS      261 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.4668        5.8849        .76188E-06   -1.5666    
   2  Index         1.7657        .75298        .38690E-03   -.70346    
   3  Normalizat    1.0592        .24130        .12401E-04   -.91074    
   4  Prefactor     .93057        .17114        .92414E-05   -.95081    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.95108e-10
Minuit parameter uncertainties:
  1  5.88493
  2  0.757958
  3  0.241547
  4  0.171239
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/822615': 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) = 6452.48963823
delta logL = 0.0402086110571

Extracting fit parameters...

4FGL J0045.7+1217
   Spectrum: PowerLaw
185    Prefactor:  4.467e+00  5.885e+00  0.000e+00  1.000e+06 ( 1.000e-13)
186        Index:  1.766e+00  7.580e-01  0.000e+00  1.000e+01 (-1.000e+00)
187        Scale:  2.174e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
497    Prefactor:  9.306e-01  1.712e-01  0.000e+00  1.000e+01 ( 1.000e+00)
498        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
499        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
496   Normalization:  1.059e+00  2.415e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.16
Ra Dec: 11.431 12.292
Photon Index (Free Index): 1.77 +/- 0.76
Photon Flux (Free Index): 1.33e-08 +/- 2.38e-08
Energy Flux (Free Index): 1.77e-05 +/- 3.05e-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/822615/cmap_HighResolution_690336001_690595201_4FGL_J0045.7+1217_daily_bin1740.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.49e-03', comment='SUCCESS', photon_flux='1.80e-08', energy_flux2='1.77e-05', photon_flux_error='2.39e-08', dlogl='4.02e-02', energy_flux='1.30e-05', photon_flux2='1.33e-08', job_status='DONE', time_completed='2022-11-20 00:18:48.151415', photon_index_error2='0.76', photon_index2='1.77', ts='1.08', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', photon_flux_upper_limit='8.66e-08', energy_flux_error2='3.05e-05', EG='1.06', time_epoch_completed='1668932328.15', return_code='0', job_id='822615', GAL2='0.93', EG2='1.06', return_code2='0', energy_flux_error='1.73e-05', photon_flux_error2='2.38e-08', ts2='1.16', photon_index='1.98' WHERE bin_id='1740' AND source_name='4FGL J0045.7+1217' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Nov 20 00:18:48 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0103>
Subject: Job 822615: <4FGL_J0045.7+1217_daily_bin1740> in cluster <slac> Done

Job <4FGL_J0045.7+1217_daily_bin1740> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Nov 20 00:05:00 2022
Job was executed on host(s) <bullet0103>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Nov 20 00:06:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Nov 20 00:06:29 2022
Terminated at Sun Nov 20 00:18:49 2022
Results reported at Sun Nov 20 00:18:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0045.7+1217_daily_bin1740 11.4309 12.292 690336001 690595201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0045.7+1217 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   535.21 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             283.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   739 sec.
    Turnaround time :                            829 sec.

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

