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


Performing analysis on: 4FGL_J2243.4-2544_daily_bin1706
RA = 340.865, Dec = -25.7363
tmin = 681523201, tmax = 681782401
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='507783', job_status='RUN', time_executed='2022-08-10 02:21:36.412302', time_epoch_executed='1660123296.41' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='1706'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/507783

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/507783/ft1_4FGL_J2243.4-2544_daily_bin1706.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/507783/ft2_4FGL_J2243.4-2544_daily_bin1706.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/507783/ft1_4FGL_J2243.4-2544_daily_bin1706.fits outfile=/scratch/kocevski/507783/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1706.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=681523201.0 tmax=681782401.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 2.61
user 2.40
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/507783/ft2_4FGL_J2243.4-2544_daily_bin1706.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/507783/ft2_4FGL_J2243.4-2544_daily_bin1706.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/507783/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1706.fits evtable="EVENTS" outfile="/scratch/kocevski/507783/ft1_filtered_4FGL_J2243.4-2544_daily_bin1706.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.52
user 0.36
sys 0.14

Number of photons that the gtmktime cut: 63

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/507783/ft1_filtered_4FGL_J2243.4-2544_daily_bin1706.fits" evtable="EVENTS" scfile=/scratch/kocevski/507783/ft2_4FGL_J2243.4-2544_daily_bin1706.fits sctable="SC_DATA" outfile=/scratch/kocevski/507783/ltcube_681523201_681782401_4FGL_J2243.4-2544_daily_bin1706.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/507783/ft2_4FGL_J2243.4-2544_daily_bin1706.fits
.....................!
real 15.08
user 14.64
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/507783/ft1_filtered_4FGL_J2243.4-2544_daily_bin1706.fits evtable="EVENTS" scfile=/scratch/kocevski/507783/ft2_4FGL_J2243.4-2544_daily_bin1706.fits sctable="SC_DATA" expcube=/scratch/kocevski/507783/ltcube_681523201_681782401_4FGL_J2243.4-2544_daily_bin1706.fits outfile=/scratch/kocevski/507783/expmap_681523201_681782401_4FGL_J2243.4-2544_daily_bin1706.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/507783/ltcube_681523201_681782401_4FGL_J2243.4-2544_daily_bin1706.fits
.....................!
real 191.71
user 186.95
sys 4.19

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

Setting source of interest to:
4FGL J2243.4-2544 @ 340.865 -25.7363

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/507783/ft1_filtered_4FGL_J2243.4-2544_daily_bin1706.fits scfile=/scratch/kocevski/507783/ft2_4FGL_J2243.4-2544_daily_bin1706.fits outfile=/scratch/kocevski/507783/cmap_681523201_681782401_4FGL_J2243.4-2544_daily_bin1706.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=340.865 yref=-25.7363 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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/507783/ft1_filtered_4FGL_J2243.4-2544_daily_bin1706.fits scfile=/scratch/kocevski/507783/ft2_4FGL_J2243.4-2544_daily_bin1706.fits outfile=/scratch/kocevski/507783/cmap_HighResolution_681523201_681782401_4FGL_J2243.4-2544_daily_bin1706.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=340.865 yref=-25.7363 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.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/507783/ft1_filtered_4FGL_J2243.4-2544_daily_bin1706.fits evtable="EVENTS" scfile=/scratch/kocevski/507783/ft2_4FGL_J2243.4-2544_daily_bin1706.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/507783/Model_4FGL_J2243.4-2544_daily_bin1706.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/507783/ft1_filtered_4FGL_J2243.4-2544_daily_bin1706.fits.....................!
real 18.69
user 17.43
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/507783/ft1_filtered_4FGL_J2243.4-2544_daily_bin1706.fits', '/scratch/kocevski/507783/ft2_4FGL_J2243.4-2544_daily_bin1706.fits', expMap='/scratch/kocevski/507783/expmap_681523201_681782401_4FGL_J2243.4-2544_daily_bin1706.fits', expCube='/scratch/kocevski/507783/ltcube_681523201_681782401_4FGL_J2243.4-2544_daily_bin1706.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/507783/Model_4FGL_J2243.4-2544_daily_bin1706.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2243.4-2544'

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.477e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  1.999e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
254         beta:  1.309e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
255           Eb:  1.191e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/507783/ft1_filtered_4FGL_J2243.4-2544_daily_bin1706.fits
Spacecraft file(s): /scratch/kocevski/507783/ft2_4FGL_J2243.4-2544_daily_bin1706.fits
Exposure map: /scratch/kocevski/507783/expmap_681523201_681782401_4FGL_J2243.4-2544_daily_bin1706.fits
Exposure cube: /scratch/kocevski/507783/ltcube_681523201_681782401_4FGL_J2243.4-2544_daily_bin1706.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/507783/Model_4FGL_J2243.4-2544_daily_bin1706.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) = 766.563195996

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10153E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.2242       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    37.512       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    33.566       1.0000         .10000E-03   10000.    
    11 'norm      '    2.3683       1.0000         .10000E-03   10000.    
    12 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .13953E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    48.539       1.0000         .10000E-03   10000.    
    15 'norm      '    5.9427       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10766E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10171E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    9.6224       1.0000         .10000E-03   10000.    
    23 'Prefactor '    178.70       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .18367       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .79603       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5200E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   766.4546     FROM MIGRAD    STATUS=CONVERGED    570 CALLS     2887 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    88.104       -.66777E-05** at limit **
   2  Prefactor     .10000E-03    183.48        .73560E-05** at limit **
   3  norm          2.2243        1.8443       -.77477E-09   -.12136E-04
   4  Prefactor     .10000E-03    21.098        .21025E-05** at limit **
   5  Prefactor     .10000E-03    46.677        .13831E-04** at limit **
   6  Prefactor     37.523        34.085       -.16648E-06   -.95713E-05
   7  Prefactor     .10000E-03    53.943       -.24837E-05** at limit **
   8  norm          .10000E-03    50.689        .63750E-05** at limit **
   9  Prefactor     .10000E-03    59.299       -.16642E-04** at limit **
  10  Prefactor     33.531        55.515       -.22047E-04    .18208E-03
  11  norm          2.3687        2.1447       -.35818E-08   -.14417E-03
  12  norm          .10000E-03    4.3690        .13125E-06** at limit **
  13  Prefactor     .10007E-03    464.07       -.14798E-03** at limit **
  14  Prefactor     48.557        49.048        .59479E-05    .42316E-05
  15  norm          5.9422        11.208       -.32500E-06   -.24035E-04
  16  Prefactor     .10000E-03    94.128        .57632E-05** at limit **
  17  Prefactor     .10000E-03    37.929       -.71472E-05** at limit **
  18  norm          .10000E-03    1.1103       -.14840E-06** at limit **
  19  Prefactor     .10000E-03    172.88        .24940E-04** at limit **
  20  Prefactor     .10000E-03    19.754       -.19419E-05** at limit **
  21  Prefactor     .10000E-03    17.738        .24525E-08** at limit **
  22  norm          9.6250        8.8535       -.69550E-06   -.62456E-04
  23  Prefactor     178.71        142.95        .37738E-05   -.24955E-04
  24  Normalizat    .18298        .58565        .24082E-04    .90920E-04
  25  Prefactor     .79652        .47246       -.58210E-05    .56092E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.22431
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 37.5228
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.5309
  norm       = 2.36865
  norm       = 0.0001
  Prefactor  = 0.000100074
  Prefactor  = 48.5572
  norm       = 5.94223
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.62504
  Prefactor  = 178.709
  Normalizat = 0.182979
  Prefactor  = 0.79652
 **********
 **   18 **HESSE 
 **********

 FCN=   766.4546     FROM HESSE     STATUS=OK           409 CALLS     3296 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    88.117        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    183.49        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.2243        1.8487        .33369E-04   -1.5410    
   4  Prefactor     .10000E-03    21.100        .12427E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    46.745        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     37.523        33.794        .65438E-04   -1.4482    
   7  Prefactor     .10000E-03    53.944        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    50.737        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    59.444        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     33.531        52.758        .69166E-04   -1.4549    
  11  norm          2.3687        2.1487        .36951E-04   -1.5400    
  12  norm          .10000E-03    4.3711        .56511E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10007E-03    454.39        .20527E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     48.557        46.805        .57557E-04   -1.4313    
  15  norm          5.9422        11.121        .12051E-03   -1.5220    
  16  Prefactor     .10000E-03    94.252        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    38.100        .16645E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.1241        .28335E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    172.97        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    19.812        .12021E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    17.746        .11391E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          9.6250        8.8407        .69820E-04   -1.5087    
  23  Prefactor     178.71        139.06        .30193E-04   -1.3026    
  24  Normalizat    .18298        .50160        .42536E-03   -1.3069    
  25  Prefactor     .79652        .42011        .18310E-03   -.99857    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.97506e-10
Minuit parameter uncertainties:
  1  2.74811e-06
  2  6.18082e-06
  3  1.84876
  4  7.30123e-06
  5  5.24739e-05
  6  33.8114
  7  2.26578e-05
  8  0.000195186
  9  7.07494e-05
  10  52.8315
  11  2.14878
  12  5.50247e-05
  13  0.0116848
  14  46.8409
  15  11.1248
  16  0.000108184
  17  0.000130434
  18  8.47459e-06
  19  0.000447855
  20  3.29555e-05
  21  8.76484e-07
  22  8.8419
  23  139.315
  24  0.514894
  25  0.421815
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.000e-04  5.502e-05  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  1.999e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
254         beta:  1.309e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
255           Eb:  1.191e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  7.965e-01  4.218e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  1.830e-01  5.149e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 340.865 -25.736
Photon Flux Upper Limit: 2.17e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.38e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/507783/likelihoodResults_681523201_681782401_4FGL_J2243.4-2544_daily_bin1706.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): 102
logL (Free Index) = 766.455582477
delta logL = -0.000946595768937

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 766.45464217
delta logL = -6.28850852991e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10048E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9974       1.0000          .0000       5.0000    
     3 'Normalizat'    .18455       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79526       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5200E+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=   766.4546     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      236 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.5671        .56517E-03** at limit **
   2  alpha         1.8552        4.0714        .16902       -.36631E-07
   3  Normalizat    .18297        .43863        .42533E-03   -.70030E-05
   4  Prefactor     .79653        .39855        .18310E-03   -.51519E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.85516
  Normalizat = 0.182968
  Prefactor  = 0.796528
 **********
 **   18 **HESSE 
 **********

 FCN=   766.4546     FROM HESSE     STATUS=OK            25 CALLS      261 TOTAL
                     EDM=   .32E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.3925        .11303E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8552        3.2922        .33804E-01   -.26088    
   3  Normalizat    .18297        .43833        .17013E-04   -1.3069    
   4  Prefactor     .79653        .39827        .36620E-04   -.99856    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.15047e-12
Minuit parameter uncertainties:
  1  9.39878e-07
  2  408.203
  3  0.44705
  4  0.399722
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/507783': 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) = 766.454635827
delta logL = 5.45084049008e-08

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.000e-04  9.399e-07  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  1.855e+00  4.082e+02  0.000e+00  5.000e+00 ( 1.000e+00)
254         beta:  1.309e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
255           Eb:  1.191e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  7.965e-01  3.997e-01  0.000e+00  1.000e+01 ( 1.000e+00)
518        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
519        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
516   Normalization:  1.830e-01  4.470e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 340.865 -25.736

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/507783/cmap_HighResolution_681523201_681782401_4FGL_J2243.4-2544_daily_bin1706.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.38e-04', job_status='DONE', photon_flux_upper_limit='2.17e-07', time_completed='2022-08-10 02:27:29.795049', job_id='507783', GAL2='0.80', fit_tolerance='1e-08', EG2='0.18', EG='0.18', time_epoch_completed='1660123649.8', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='5.45e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1706' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Aug 10 02:27:29 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 507783: <4FGL_J2243.4-2544_daily_bin1706> in cluster <slac> Done

Job <4FGL_J2243.4-2544_daily_bin1706> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Aug 10 02:15:32 2022
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Aug 10 02:17:41 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Aug 10 02:17:41 2022
Terminated at Wed Aug 10 02:27:30 2022
Results reported at Wed Aug 10 02:27:30 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin1706 340.865 -25.7363 681523201 681782401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2243.4-2544 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   356.03 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             257.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   589 sec.
    Turnaround time :                            718 sec.

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

