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


Performing analysis on: 4FGL_J0324.8-2043_daily_bin1713
RA = 51.2191, Dec = -20.7285
tmin = 683337601, tmax = 683596801
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='12666', job_status='RUN', time_executed='2022-09-16 10:48:17.331827', time_epoch_executed='1663350497.33' WHERE source_name='4FGL J0324.8-2043' and cadence='daily' and bin_id='1713'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/12666

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/12666/ft1_4FGL_J0324.8-2043_daily_bin1713.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/12666/ft2_4FGL_J0324.8-2043_daily_bin1713.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/12666/ft1_4FGL_J0324.8-2043_daily_bin1713.fits outfile=/scratch/kocevski/12666/ft1_filteredMKT_4FGL_J0324.8-2043_daily_bin1713.fits ra=51.2191 dec=-20.7285 rad=12.0 tmin=683337601.0 tmax=683596801.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.81
user 3.30
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/12666/ft2_4FGL_J0324.8-2043_daily_bin1713.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/12666/ft2_4FGL_J0324.8-2043_daily_bin1713.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/12666/ft1_filteredMKT_4FGL_J0324.8-2043_daily_bin1713.fits evtable="EVENTS" outfile="/scratch/kocevski/12666/ft1_filtered_4FGL_J0324.8-2043_daily_bin1713.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.56
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 529

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/12666/ft1_filtered_4FGL_J0324.8-2043_daily_bin1713.fits" evtable="EVENTS" scfile=/scratch/kocevski/12666/ft2_4FGL_J0324.8-2043_daily_bin1713.fits sctable="SC_DATA" outfile=/scratch/kocevski/12666/ltcube_683337601_683596801_4FGL_J0324.8-2043_daily_bin1713.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/12666/ft2_4FGL_J0324.8-2043_daily_bin1713.fits
.....................!
real 13.79
user 13.34
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/12666/ft1_filtered_4FGL_J0324.8-2043_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/12666/ft2_4FGL_J0324.8-2043_daily_bin1713.fits sctable="SC_DATA" expcube=/scratch/kocevski/12666/ltcube_683337601_683596801_4FGL_J0324.8-2043_daily_bin1713.fits outfile=/scratch/kocevski/12666/expmap_683337601_683596801_4FGL_J0324.8-2043_daily_bin1713.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/12666/ltcube_683337601_683596801_4FGL_J0324.8-2043_daily_bin1713.fits
.....................!
real 193.24
user 186.55
sys 5.62

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 Fornax A in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/FornaxA.fits is the correct path to the extended template.
Added 167 point sources and 1 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 J0324.8-2043 @ 51.2191 -20.7285

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/12666/ft1_filtered_4FGL_J0324.8-2043_daily_bin1713.fits scfile=/scratch/kocevski/12666/ft2_4FGL_J0324.8-2043_daily_bin1713.fits outfile=/scratch/kocevski/12666/cmap_683337601_683596801_4FGL_J0324.8-2043_daily_bin1713.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=51.2191 yref=-20.7285 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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/12666/ft1_filtered_4FGL_J0324.8-2043_daily_bin1713.fits scfile=/scratch/kocevski/12666/ft2_4FGL_J0324.8-2043_daily_bin1713.fits outfile=/scratch/kocevski/12666/cmap_HighResolution_683337601_683596801_4FGL_J0324.8-2043_daily_bin1713.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=51.2191 yref=-20.7285 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/12666/ft1_filtered_4FGL_J0324.8-2043_daily_bin1713.fits evtable="EVENTS" scfile=/scratch/kocevski/12666/ft2_4FGL_J0324.8-2043_daily_bin1713.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/12666/Model_4FGL_J0324.8-2043_daily_bin1713.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 Fornax A
adding source GAL_V02
Working on...
/scratch/kocevski/12666/ft1_filtered_4FGL_J0324.8-2043_daily_bin1713.fits.....................!
real 129.54
user 127.77
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/12666/ft1_filtered_4FGL_J0324.8-2043_daily_bin1713.fits', '/scratch/kocevski/12666/ft2_4FGL_J0324.8-2043_daily_bin1713.fits', expMap='/scratch/kocevski/12666/expmap_683337601_683596801_4FGL_J0324.8-2043_daily_bin1713.fits', expCube='/scratch/kocevski/12666/ltcube_683337601_683596801_4FGL_J0324.8-2043_daily_bin1713.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/12666/Model_4FGL_J0324.8-2043_daily_bin1713.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0324.8-2043'

4FGL J0324.8-2043
   Spectrum: PowerLaw
265    Prefactor:  7.558e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-15)
266        Index:  1.891e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  3.862e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/12666/ft1_filtered_4FGL_J0324.8-2043_daily_bin1713.fits
Spacecraft file(s): /scratch/kocevski/12666/ft2_4FGL_J0324.8-2043_daily_bin1713.fits
Exposure map: /scratch/kocevski/12666/expmap_683337601_683596801_4FGL_J0324.8-2043_daily_bin1713.fits
Exposure cube: /scratch/kocevski/12666/ltcube_683337601_683596801_4FGL_J0324.8-2043_daily_bin1713.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/12666/Model_4FGL_J0324.8-2043_daily_bin1713.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) = 5854.35842966

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9894       1.0000          .0000       .10000E+07
     2 'Prefactor '    .27665E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .39657E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .29271E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    1.0984       1.0000          .0000       .10000E+07
     6 'Prefactor '    69.472       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.9155       1.0000          .0000       .10000E+07
     8 'Prefactor '    .24021E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    4.5235       1.0000          .0000       .10000E+07
    10 'Prefactor '    .13981E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .16537E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .98103       1.0000          .0000       .10000E+07
    13 'Prefactor '    .81657E-07   1.0000          .0000       .10000E+07
    14 'Prefactor '    6.8938       1.0000          .0000       .10000E+07
    15 'norm      '    3.1644       1.0000          .0000       .10000E+07
    16 'Prefactor '    .83965E-01   1.0000          .0000       .10000E+07
    17 'norm      '    .24259E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    .25425E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    2.9873       1.0000          .0000       .10000E+07
    20 'norm      '    .24538E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    .11793E-02   1.0000          .0000       .10000E+07
    22 'Normalizat'    .89506       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .83690       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5854.356     FROM MIGRAD    STATUS=CONVERGED    171 CALLS     1906 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9882        1.8000       -.59406E-07   -.23493E-02
   2  Prefactor     .41668E-05    15.042        .45908E-06** at limit **
   3  norm          .55511E-10    1.0389       -.89055E-07** at limit **
   4  Prefactor     .43769E-05    15.898        .70609E-06** at limit **
   5  Prefactor     1.0619        4.0463       -.21598E-06   -.62314E-03
   6  Prefactor     69.560        6.5535        .19871E-07   -.27324    
   7  Prefactor     2.9150        3.0088       -.98964E-07   -.20026E-02
   8  Prefactor     .24680E-06    11.946       -.20184E-06** at limit **
   9  Prefactor     4.4705        7.0590        .31820E-07    .26358E-02
  10  Prefactor     .89373E-08    8.3658       -.40238E-06** at limit **
  11  Prefactor     .75218E-07    6.5209        .33337E-06** at limit **
  12  Prefactor     .96736        2.5033       -.59513E-08    .92957E-03
  13  Prefactor     .26884E-06    5.6268       -.40615E-06** at limit **
  14  Prefactor     6.9001        4.3597        .43280E-07    .11588E-02
  15  norm          3.1642        .94540       -.32271E-07   -.44093E-02
  16  Prefactor     .27256E-07    50.329        .27842E-06** at limit **
  17  norm          .38858E-09    3.8067       -.10363E-06** at limit **
  18  Prefactor     .65048E-06    6.2049        .22007E-06** at limit **
  19  Prefactor     2.9865        2.3165       -.10056E-06   -.12363E-02
  20  norm          .20334E-06    5.3624       -.17110E-06** at limit **
  21  Prefactor     .93425E-07    6.3426        .37560E-06** at limit **
  22  Normalizat    .89508        .17462       -.29778E-05   -.17707E-04
  23  Prefactor     .83730        .15827        .48795E-05    .53566E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.98819
  Prefactor  = 4.16683e-06
  norm       = 5.55112e-11
  Prefactor  = 4.37694e-06
  Prefactor  = 1.06187
  Prefactor  = 69.5599
  Prefactor  = 2.91496
  Prefactor  = 2.46803e-07
  Prefactor  = 4.47055
  Prefactor  = 8.9373e-09
  Prefactor  = 7.52176e-08
  Prefactor  = 0.967364
  Prefactor  = 2.68841e-07
  Prefactor  = 6.90013
  norm       = 3.16419
  Prefactor  = 2.7256e-08
  norm       = 3.88578e-10
  Prefactor  = 6.5048e-07
  Prefactor  = 2.98652
  norm       = 2.03337e-07
  Prefactor  = 9.34253e-08
  Normalizat = 0.895075
  Prefactor  = 0.837299
 **********
 **   18 **HESSE 
 **********

 FCN=   5854.356     FROM HESSE     STATUS=OK           420 CALLS     2326 TOTAL
                     EDM=   .93E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9882        1.8148        .73431E-03   -1.5680    
   2  Prefactor     .41668E-05    31.931        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .55511E-10    1.0437        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .43769E-05    27.192        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.0619        4.0481        .11348E-02   -1.5687    
   6  Prefactor     69.560        91.014        .11998E-03   -1.5541    
   7  Prefactor     2.9150        3.0141        .59475E-03   -1.5674    
   8  Prefactor     .24680E-06    12.188        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.4705        7.0707        .47311E-03   -1.5666    
  10  Prefactor     .89373E-08    8.3817        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .75218E-07    18.370        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .96736        2.5772        .43093E-03   -1.5688    
  13  Prefactor     .26884E-06    5.7103        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.9001        4.4153        .38188E-03   -1.5655    
  15  norm          3.1642        .94372        .56950E-03   -1.5672    
  16  Prefactor     .27256E-07    13.439        .10083E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .38858E-09    .83045        .21150E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .65048E-06    18.027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.9865        2.3448        .58711E-03   -1.5673    
  20  norm          .20334E-06    5.4520        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .93425E-07    19.214        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .89508        .15250        .44838E-01   -.96633    
  23  Prefactor     .83730        .13878        .44196E-01   -.98368    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.32824e-06
Minuit parameter uncertainties:
  1  1.81485
  2  0.0230698
  3  1.24233e-05
  4  0.0218191
  5  4.04812
  6  91.0158
  7  3.01411
  8  0.00346879
  9  7.07074
  10  0.000548187
  11  0.00235058
  12  2.57718
  13  0.00247795
  14  4.41533
  15  0.943724
  16  0.00121006
  17  3.64042e-05
  18  0.00684871
  19  2.34478
  20  0.00210589
  21  0.00267933
  22  0.152577
  23  0.138836
Done.

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

Extracting fit parameters...

4FGL J0324.8-2043
   Spectrum: PowerLaw
265    Prefactor:  6.956e+01  9.102e+01  0.000e+00  1.000e+06 ( 1.000e-15)
266        Index:  1.891e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
267        Scale:  3.862e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  8.373e-01  1.388e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  8.951e-01  1.526e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.35
Ra Dec: 51.219 -20.729
Photon Index (Fixed Index): 1.89 +/- 0.00
Photon Flux (Fixed Index): 7.80e-09 +/- 1.02e-08
Energy Flux (Fixed Index): 7.18e-06 +/- 9.40e-06

TS (Fixed Index): 1.35
Ra Dec: 51.219 -20.729
Photon Flux Upper Limit: 4.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.30e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/12666/likelihoodResults_683337601_683596801_4FGL_J0324.8-2043_daily_bin1713.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) = 5854.35416929
delta logL = 0.00133935466056

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5854.35270392
delta logL = 0.00280472537906

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    76.527       1.0000          .0000       .10000E+07
     2 'Index     '    1.8181       1.0000          .0000       10.000    
     3 'Normalizat'    .89579       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83698       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+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=   5854.353     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      263 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     76.528        142.32        .22864E-04   -.14668E-03
   2  Index         1.8181        1.0154        .11041E-01    .24615E-03
   3  Normalizat    .89579        .16433        .22742E-03    .22395E-04
   4  Prefactor     .83698        .15386        .21871E-03    .24847E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 76.5283
  Index      = 1.81806
  Normalizat = 0.89579
  Prefactor  = 0.836981
 **********
 **   18 **HESSE 
 **********

 FCN=   5854.353     FROM HESSE     STATUS=OK            25 CALLS      288 TOTAL
                     EDM=   .80E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     76.528        134.20        .45727E-05   -1.5533    
   2  Index         1.8181        .95896        .22082E-02   -.68981    
   3  Normalizat    .89579        .16439        .90970E-05   -.96608    
   4  Prefactor     .83698        .15397        .87483E-05   -.98379    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.02919e-12
Minuit parameter uncertainties:
  1  134.202
  2  0.969127
  3  0.164481
  4  0.154045
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/12666': 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) = 5854.35270392
delta logL = 0.00280472558734

Extracting fit parameters...

4FGL J0324.8-2043
   Spectrum: PowerLaw
265    Prefactor:  7.653e+01  1.342e+02  0.000e+00  1.000e+06 ( 1.000e-15)
266        Index:  1.818e+00  9.691e-01  0.000e+00  1.000e+01 (-1.000e+00)
267        Scale:  3.862e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  8.370e-01  1.540e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
523   Normalization:  8.958e-01  1.645e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.35
Ra Dec: 51.219 -20.729
Photon Index (Free Index): 1.82 +/- 0.97
Photon Flux (Free Index): 7.16e-09 +/- 1.27e-08
Energy Flux (Free Index): 8.12e-06 +/- 1.71e-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/12666/cmap_HighResolution_683337601_683596801_4FGL_J0324.8-2043_daily_bin1713.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.30e-03', comment='SUCCESS', photon_flux='7.80e-09', energy_flux2='8.12e-06', photon_flux_error='1.02e-08', dlogl='2.80e-03', energy_flux='7.18e-06', photon_flux2='7.16e-09', job_status='DONE', time_completed='2022-09-16 10:59:14.573191', photon_index_error2='0.97', photon_index2='1.82', ts='1.35', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', photon_flux_upper_limit='4.44e-08', energy_flux_error2='1.71e-05', EG='0.90', time_epoch_completed='1663351154.57', return_code='0', job_id='12666', GAL2='0.84', EG2='0.90', return_code2='0', energy_flux_error='9.40e-06', photon_flux_error2='1.27e-08', ts2='1.35', photon_index='1.89' WHERE bin_id='1713' AND source_name='4FGL J0324.8-2043' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 10:59:14 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 12666: <4FGL_J0324.8-2043_daily_bin1713> in cluster <slac> Done

Job <4FGL_J0324.8-2043_daily_bin1713> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Sep 16 10:45:24 2022
Job was executed on host(s) <bullet0044>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 10:45:59 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 10:45:59 2022
Terminated at Fri Sep 16 10:59:15 2022
Results reported at Fri Sep 16 10:59:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0324.8-2043_daily_bin1713 51.2191 -20.7285 683337601 683596801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0324.8-2043 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   658.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   795 sec.
    Turnaround time :                            831 sec.

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

