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


Performing analysis on: 4FGL_J1505.0+0326_daily_bin1754
RA = 226.273, Dec = 3.4472
tmin = 693964801, tmax = 694224001
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='646269', job_status='RUN', time_executed='2023-01-01 01:21:54.461694', time_epoch_executed='1672564914.46' WHERE source_name='4FGL J1505.0+0326' and cadence='daily' and bin_id='1754'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/646269

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/646269/ft1_4FGL_J1505.0+0326_daily_bin1754.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/646269/ft2_4FGL_J1505.0+0326_daily_bin1754.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/646269/ft1_4FGL_J1505.0+0326_daily_bin1754.fits outfile=/scratch/kocevski/646269/ft1_filteredMKT_4FGL_J1505.0+0326_daily_bin1754.fits ra=226.273 dec=3.4472 rad=12.0 tmin=693964801.0 tmax=694224001.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.25
user 3.00
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/646269/ft2_4FGL_J1505.0+0326_daily_bin1754.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/646269/ft2_4FGL_J1505.0+0326_daily_bin1754.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/646269/ft1_filteredMKT_4FGL_J1505.0+0326_daily_bin1754.fits evtable="EVENTS" outfile="/scratch/kocevski/646269/ft1_filtered_4FGL_J1505.0+0326_daily_bin1754.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.49
user 0.29
sys 0.16

Number of photons that the gtmktime cut: 871

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/646269/ft1_filtered_4FGL_J1505.0+0326_daily_bin1754.fits" evtable="EVENTS" scfile=/scratch/kocevski/646269/ft2_4FGL_J1505.0+0326_daily_bin1754.fits sctable="SC_DATA" outfile=/scratch/kocevski/646269/ltcube_693964801_694224001_4FGL_J1505.0+0326_daily_bin1754.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/646269/ft2_4FGL_J1505.0+0326_daily_bin1754.fits
.....................!
real 12.82
user 12.46
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/646269/ft1_filtered_4FGL_J1505.0+0326_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/646269/ft2_4FGL_J1505.0+0326_daily_bin1754.fits sctable="SC_DATA" expcube=/scratch/kocevski/646269/ltcube_693964801_694224001_4FGL_J1505.0+0326_daily_bin1754.fits outfile=/scratch/kocevski/646269/expmap_693964801_694224001_4FGL_J1505.0+0326_daily_bin1754.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/646269/ltcube_693964801_694224001_4FGL_J1505.0+0326_daily_bin1754.fits
.....................!
real 156.73
user 151.82
sys 4.31

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

Setting source of interest to:
4FGL J1505.0+0326 @ 226.273 3.4472

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/646269/ft1_filtered_4FGL_J1505.0+0326_daily_bin1754.fits scfile=/scratch/kocevski/646269/ft2_4FGL_J1505.0+0326_daily_bin1754.fits outfile=/scratch/kocevski/646269/cmap_693964801_694224001_4FGL_J1505.0+0326_daily_bin1754.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=226.273 yref=3.4472 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.49
user 0.32
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/646269/ft1_filtered_4FGL_J1505.0+0326_daily_bin1754.fits scfile=/scratch/kocevski/646269/ft2_4FGL_J1505.0+0326_daily_bin1754.fits outfile=/scratch/kocevski/646269/cmap_HighResolution_693964801_694224001_4FGL_J1505.0+0326_daily_bin1754.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=226.273 yref=3.4472 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.49
user 0.32
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/646269/ft1_filtered_4FGL_J1505.0+0326_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/646269/ft2_4FGL_J1505.0+0326_daily_bin1754.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/646269/Model_4FGL_J1505.0+0326_daily_bin1754.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/646269/ft1_filtered_4FGL_J1505.0+0326_daily_bin1754.fits.....................!
real 58.81
user 57.62
sys 1.04

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/646269/ft1_filtered_4FGL_J1505.0+0326_daily_bin1754.fits', '/scratch/kocevski/646269/ft2_4FGL_J1505.0+0326_daily_bin1754.fits', expMap='/scratch/kocevski/646269/expmap_693964801_694224001_4FGL_J1505.0+0326_daily_bin1754.fits', expCube='/scratch/kocevski/646269/ltcube_693964801_694224001_4FGL_J1505.0+0326_daily_bin1754.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/646269/Model_4FGL_J1505.0+0326_daily_bin1754.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1505.0+0326'

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  1.811e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
226        alpha:  2.490e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
227         beta:  9.910e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  4.151e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/646269/ft1_filtered_4FGL_J1505.0+0326_daily_bin1754.fits
Spacecraft file(s): /scratch/kocevski/646269/ft2_4FGL_J1505.0+0326_daily_bin1754.fits
Exposure map: /scratch/kocevski/646269/expmap_693964801_694224001_4FGL_J1505.0+0326_daily_bin1754.fits
Exposure cube: /scratch/kocevski/646269/ltcube_693964801_694224001_4FGL_J1505.0+0326_daily_bin1754.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/646269/Model_4FGL_J1505.0+0326_daily_bin1754.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) = 9423.86948551

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .47413E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .50822E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    13.257       1.0000          .0000       .10000E+07
     4 'norm      '    .11125E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.4911       1.0000          .0000       .10000E+07
     6 'norm      '    .48171       1.0000          .0000       .10000E+07
     7 'norm      '    3.3022       1.0000          .0000       .10000E+07
     8 'norm      '    .11214E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .12274       1.0000          .0000       .10000E+07
    10 'norm      '    .19817E-07   1.0000          .0000       .10000E+07
    11 'Prefactor '    .93054E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .15109E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.6507       1.0000          .0000       .10000E+07
    14 'norm      '    .31641E-08   1.0000          .0000       .10000E+07
    15 'Normalizat'    .75600       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1817       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9422.835     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      860 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .59230E-07    14.140        .16867E-05** at limit **
   2  Prefactor     .45260E-05    1.9741       -.12632E-05** at limit **
   3  Prefactor     12.853        11.205        .11391E-06    .16762E-01
   4  norm          .27756E-09    10.852        .12016E-05** at limit **
   5  Prefactor     1.6519        6.3091       -.29388E-05    .29518E-01
   6  norm          .48164        .14777       -.58911E-09    .71500E-02
   7  norm          3.3016        2.0162        .24019E-06   -.14915E-02
   8  norm          .55511E-10    1.3499       -.70871E-06** at limit **
   9  norm          .12776        31.082        .77540E-05** at limit **
  10  norm          .88818E-09    3.1291       -.11650E-05** at limit **
  11  Prefactor     .14433E-08    2.7676       -.40065E-06** at limit **
  12  Prefactor     .82323E-07    20.043       -.10251E-05** at limit **
  13  Prefactor     1.6500        3.6152        .68402E-07   -.34847E-03
  14  norm          .55511E-10    2.0742       -.15027E-06** at limit **
  15  Normalizat    .75623        .21427       -.13322E-04   -.11085E-03
  16  Prefactor     1.1817        .11430       -.76005E-06   -.39707E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.92304e-08
  Prefactor  = 4.52599e-06
  Prefactor  = 12.8528
  norm       = 2.77556e-10
  Prefactor  = 1.65193
  norm       = 0.481641
  norm       = 3.30158
  norm       = 5.55112e-11
  norm       = 0.12776
  norm       = 8.88178e-10
  Prefactor  = 1.44329e-09
  Prefactor  = 8.2323e-08
  Prefactor  = 1.64998
  norm       = 5.55112e-11
  Normalizat = 0.756233
  Prefactor  = 1.18166
 **********
 **   18 **HESSE 
 **********

 FCN=   9422.835     FROM HESSE     STATUS=OK           237 CALLS     1097 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .59230E-07    16.330        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .45260E-05    36.462        .15508E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.853        18.596        .27484E-03   -1.5636    
   4  norm          .27756E-09    14.319        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.6519        19.526        .87755E-03   -1.5682    
   6  norm          .48164        .14907        .44923E-03   -1.5694    
   7  norm          3.3016        2.0181        .55687E-03   -1.5672    
   8  norm          .55511E-10    1.3468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .12776        1.8050        .92398E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .88818E-09    3.1197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .14433E-08    2.7608        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .82323E-07    20.722        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.6500        3.6261        .82144E-03   -1.5682    
  14  norm          .55511E-10    2.0927        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    .75623        .19317        .87630E-01   -1.0171    
  16  Prefactor     1.1817        .10138        .35078E-01   -.86897    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.23844e-07
Minuit parameter uncertainties:
  1  0.00196737
  2  0.0256926
  3  18.5963
  4  0.000123647
  5  11.3589
  6  0.149072
  7  2.01812
  8  1.48884e-05
  9  0.960435
  10  0.000103767
  11  0.000127354
  12  0.00261211
  13  3.62607
  14  2.41566e-05
  15  0.193349
  16  0.101394
Done.

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

Extracting fit parameters...

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  3.302e+00  2.018e+00  0.000e+00  1.000e+06 ( 1.000e-11)
226        alpha:  2.490e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
227         beta:  9.910e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  4.151e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  1.182e+00  1.014e-01  0.000e+00  1.000e+01 ( 1.000e+00)
506        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
507        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
504   Normalization:  7.562e-01  1.933e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.96
Ra Dec: 226.273 3.447
Photon Index (Fixed Index): 2.49 +/- 0.00
Photon Flux (Fixed Index): 6.96e-08 +/- 4.25e-08
Energy Flux (Fixed Index): 1.88e-05 +/- 1.15e-05

TS (Fixed Index): 3.96
Ra Dec: 226.273 3.447
Photon Flux Upper Limit: 1.54e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.16e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/646269/likelihoodResults_693964801_694224001_4FGL_J1505.0+0326_daily_bin1754.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) = 9422.82533811
delta logL = 0.00994263485154

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9422.82388254
delta logL = 0.0113982042421

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.2040       1.0000          .0000       .10000E+07
     2 'alpha     '    2.5805       1.0000          .0000       5.0000    
     3 'Normalizat'    .75191       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1834       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5080E+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=   9422.824     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      238 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.2039        2.1373        .10009E-04   -.32030E-03
   2  alpha         2.5805        .62226        .18637E-01    .13078E-04
   3  Normalizat    .75187        .21302        .38916E-03   -.18428E-03
   4  Prefactor     1.1834        .11340        .16920E-03    .75521E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.2039
  alpha      = 2.58054
  Normalizat = 0.751868
  Prefactor  = 1.18338
 **********
 **   18 **HESSE 
 **********

 FCN=   9422.824     FROM HESSE     STATUS=OK            25 CALLS      263 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.2039        2.0926        .40037E-06   -1.5672    
   2  alpha         2.5805        .60931        .74546E-03    .32222E-01
   3  Normalizat    .75187        .21314        .15566E-04   -1.0188    
   4  Prefactor     1.1834        .11342        .67682E-05   -.86844    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.20088e-10
Minuit parameter uncertainties:
  1  2.09261
  2  0.615511
  3  0.213372
  4  0.113441
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/646269': 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) = 9422.82388252
delta logL = 0.0113982264156

Extracting fit parameters...

4FGL J1505.0+0326
   Spectrum: LogParabola
225         norm:  3.204e+00  2.093e+00  0.000e+00  1.000e+06 ( 1.000e-11)
226        alpha:  2.581e+00  6.155e-01  0.000e+00  5.000e+00 ( 1.000e+00)
227         beta:  9.910e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
228           Eb:  4.151e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
505    Prefactor:  1.183e+00  1.134e-01  0.000e+00  1.000e+01 ( 1.000e+00)
506        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
507        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
504   Normalization:  7.519e-01  2.134e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.99
Ra Dec: 226.273 3.447
Photon Index (Free Index): 2.58 +/- 0.62
Photon Flux (Free Index): 7.24e-08 +/- 4.67e-08
Energy Flux (Free Index): 1.83e-05 +/- 1.16e-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/646269/cmap_HighResolution_693964801_694224001_4FGL_J1505.0+0326_daily_bin1754.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.16e-05', comment='SUCCESS', photon_flux='6.96e-08', energy_flux2='1.83e-05', photon_flux_error='4.25e-08', dlogl='1.14e-02', energy_flux='1.88e-05', photon_flux2='7.24e-08', job_status='DONE', time_completed='2023-01-01 01:29:14.554328', photon_index_error2='0.62', photon_index2='2.58', ts='3.96', fit_tolerance='1e-08', GAL='1.18', photon_index_error='0.00', photon_flux_upper_limit='1.54e-07', energy_flux_error2='1.16e-05', EG='0.76', time_epoch_completed='1672565354.55', return_code='0', job_id='646269', GAL2='1.18', EG2='0.75', return_code2='0', energy_flux_error='1.15e-05', photon_flux_error2='4.67e-08', ts2='3.99', photon_index='2.49' WHERE bin_id='1754' AND source_name='4FGL J1505.0+0326' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan  1 01:29:14 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0023>
Subject: Job 646269: <4FGL_J1505.0+0326_daily_bin1754> in cluster <slac> Done

Job <4FGL_J1505.0+0326_daily_bin1754> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Jan  1 01:20:17 2023
Job was executed on host(s) <bullet0023>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan  1 01:21:02 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan  1 01:21:02 2023
Terminated at Sun Jan  1 01:29:15 2023
Results reported at Sun Jan  1 01:29:15 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1505.0+0326_daily_bin1754 226.273 3.4472 693964801 694224001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1505.0+0326 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   441.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             376.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   493 sec.
    Turnaround time :                            538 sec.

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

