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


Performing analysis on: 4FGL_J2243.4-2544_daily_bin1690
RA = 340.865, Dec = -25.7363
tmin = 677376001, tmax = 677635201
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='159515', job_status='RUN', time_executed='2022-06-23 01:17:38.816067', time_epoch_executed='1655972258.82' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='1690'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/159515

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/159515/ft1_4FGL_J2243.4-2544_daily_bin1690.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/159515/ft2_4FGL_J2243.4-2544_daily_bin1690.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/159515/ft1_4FGL_J2243.4-2544_daily_bin1690.fits outfile=/scratch/kocevski/159515/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1690.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=677376001.0 tmax=677635201.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.57
user 2.34
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/159515/ft2_4FGL_J2243.4-2544_daily_bin1690.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/159515/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1690.fits evtable="EVENTS" outfile="/scratch/kocevski/159515/ft1_filtered_4FGL_J2243.4-2544_daily_bin1690.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.50
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 432

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/159515/ft1_filtered_4FGL_J2243.4-2544_daily_bin1690.fits" evtable="EVENTS" scfile=/scratch/kocevski/159515/ft2_4FGL_J2243.4-2544_daily_bin1690.fits sctable="SC_DATA" outfile=/scratch/kocevski/159515/ltcube_677376001_677635201_4FGL_J2243.4-2544_daily_bin1690.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/159515/ft2_4FGL_J2243.4-2544_daily_bin1690.fits
.....................!
real 16.63
user 16.20
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/159515/ft1_filtered_4FGL_J2243.4-2544_daily_bin1690.fits evtable="EVENTS" scfile=/scratch/kocevski/159515/ft2_4FGL_J2243.4-2544_daily_bin1690.fits sctable="SC_DATA" expcube=/scratch/kocevski/159515/ltcube_677376001_677635201_4FGL_J2243.4-2544_daily_bin1690.fits outfile=/scratch/kocevski/159515/expmap_677376001_677635201_4FGL_J2243.4-2544_daily_bin1690.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/159515/ltcube_677376001_677635201_4FGL_J2243.4-2544_daily_bin1690.fits
.....................!
real 191.61
user 186.41
sys 4.41

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/159515/ft1_filtered_4FGL_J2243.4-2544_daily_bin1690.fits scfile=/scratch/kocevski/159515/ft2_4FGL_J2243.4-2544_daily_bin1690.fits outfile=/scratch/kocevski/159515/cmap_677376001_677635201_4FGL_J2243.4-2544_daily_bin1690.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.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/159515/ft1_filtered_4FGL_J2243.4-2544_daily_bin1690.fits scfile=/scratch/kocevski/159515/ft2_4FGL_J2243.4-2544_daily_bin1690.fits outfile=/scratch/kocevski/159515/cmap_HighResolution_677376001_677635201_4FGL_J2243.4-2544_daily_bin1690.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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/159515/ft1_filtered_4FGL_J2243.4-2544_daily_bin1690.fits evtable="EVENTS" scfile=/scratch/kocevski/159515/ft2_4FGL_J2243.4-2544_daily_bin1690.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/159515/Model_4FGL_J2243.4-2544_daily_bin1690.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/159515/ft1_filtered_4FGL_J2243.4-2544_daily_bin1690.fits.....................!
real 43.90
user 42.10
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/159515/ft1_filtered_4FGL_J2243.4-2544_daily_bin1690.fits', '/scratch/kocevski/159515/ft2_4FGL_J2243.4-2544_daily_bin1690.fits', expMap='/scratch/kocevski/159515/expmap_677376001_677635201_4FGL_J2243.4-2544_daily_bin1690.fits', expCube='/scratch/kocevski/159515/ltcube_677376001_677635201_4FGL_J2243.4-2544_daily_bin1690.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/159515/Model_4FGL_J2243.4-2544_daily_bin1690.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/159515/ft1_filtered_4FGL_J2243.4-2544_daily_bin1690.fits
Spacecraft file(s): /scratch/kocevski/159515/ft2_4FGL_J2243.4-2544_daily_bin1690.fits
Exposure map: /scratch/kocevski/159515/expmap_677376001_677635201_4FGL_J2243.4-2544_daily_bin1690.fits
Exposure cube: /scratch/kocevski/159515/ltcube_677376001_677635201_4FGL_J2243.4-2544_daily_bin1690.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/159515/Model_4FGL_J2243.4-2544_daily_bin1690.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) = 4751.38200882

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10228E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    88.351       1.0000         .10000E-03   10000.    
     3 'norm      '    .55841       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.8176       1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.734       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.3709       1.0000         .10000E-03   10000.    
    12 'norm      '    .61737       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    6.6567       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    39.401       1.0000         .10000E-03   10000.    
    18 'norm      '    .82693E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    60.248       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    27.110       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0753       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0439       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=   4751.231     FROM MIGRAD    STATUS=CONVERGED    566 CALLS     2892 TOTAL
                     EDM=   .89E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    22.868       -.15939E-04** at limit **
   2  Prefactor     88.373        89.582        .22702E-04    .52652E-04
   3  norm          .55838        .37078       -.29299E-07    .32855E-03
   4  Prefactor     .10000E-03    5.6391        .23027E-06** at limit **
   5  Prefactor     1.8019        90.359       -.34513E-04   -.55176E-04
   6  Prefactor     11.731        12.089       -.27364E-06   -.21465E-04
   7  Prefactor     .10000E-03    32.975        .18678E-04** at limit **
   8  norm          .10000E-03    7.0812       -.13543E-05** at limit **
   9  Prefactor     .10000E-03    11.206       -.15071E-05** at limit **
  10  Prefactor     .10000E-03    13.568        .93578E-05** at limit **
  11  norm          3.3708        1.3216       -.79940E-07   -.18758E-03
  12  norm          .61724        1.8751       -.66029E-06   -.13338E-02
  13  Prefactor     .10000E-03    48.756        .13633E-04** at limit **
  14  Prefactor     .10000E-03    9.0319        .31707E-05** at limit **
  15  norm          6.6579        5.4134       -.51204E-06   -.59621E-03
  16  Prefactor     .10000E-03    10.294       -.43335E-05** at limit **
  17  Prefactor     39.426        16.205       -.14290E-05   -.13307E-02
  18  norm          .10003E-03    .62417        .71363E-06** at limit **
  19  Prefactor     60.237        76.739       -.13325E-04   -.51196E-05
  20  Prefactor     .10000E-03    7.0911        .74443E-06** at limit **
  21  Prefactor     .10000E-03    11.011       -.22795E-05** at limit **
  22  norm          27.109        7.1479       -.63141E-07    .17984E-03
  23  Prefactor     .10000E-03    56.250       -.22912E-04** at limit **
  24  Normalizat    1.0754        .24143        .19862E-05   -.21367E-03
  25  Prefactor     1.0438        .20970        .47155E-06   -.14378E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 88.3733
  norm       = 0.558378
  Prefactor  = 0.0001
  Prefactor  = 1.8019
  Prefactor  = 11.7309
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.3708
  norm       = 0.617238
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.65785
  Prefactor  = 0.0001
  Prefactor  = 39.426
  norm       = 0.000100033
  Prefactor  = 60.2368
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 27.1095
  Prefactor  = 0.0001
  Normalizat = 1.07539
  Prefactor  = 1.04383
 **********
 **   18 **HESSE 
 **********

 FCN=   4751.231     FROM HESSE     STATUS=OK           421 CALLS     3313 TOTAL
                     EDM=   .42E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    22.928        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     88.373        89.715        .21373E-03   -1.3825    
   3  norm          .55838        .38060        .33341E-03   -1.5559    
   4  Prefactor     .10000E-03    5.6467        .15986E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.8019        92.004        .30978E-03   -1.5439    
   6  Prefactor     11.731        12.103        .11695E-03   -1.5023    
   7  Prefactor     .10000E-03    32.853        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    7.0804        .17914E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    11.211        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    13.659        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.3708        1.3216        .47781E-04   -1.5341    
  12  norm          .61724        1.7233        .15917E-02   -1.5551    
  13  Prefactor     .10000E-03    48.893        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    9.1130        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.6579        5.3934        .13340E-03   -1.5192    
  16  Prefactor     .10000E-03    10.277        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     39.426        14.092        .63855E-04   -1.4451    
  18  norm          .10003E-03    10.635        .87267E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     60.237        76.739        .51691E-04   -1.4154    
  20  Prefactor     .10000E-03    7.1273        .17924E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    11.039        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          27.109        7.1562        .76941E-04   -1.4666    
  23  Prefactor     .10000E-03    56.146        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.0754        .29814        .28475E-03   -.90546    
  25  Prefactor     1.0438        .25849        .25766E-03   -.91283    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.2037e-09
Minuit parameter uncertainties:
  1  0.000203745
  2  89.8532
  3  0.380604
  4  9.54673e-06
  5  25.7926
  6  12.1054
  7  2.03786e-05
  8  2.87236e-06
  9  1.09016e-06
  10  1.98882e-05
  11  1.32161
  12  1.72348
  13  6.92119e-05
  14  3.90604e-06
  15  5.39379
  16  3.58042e-05
  17  14.0935
  18  0.00118856
  19  76.8657
  20  1.32786e-05
  21  3.02536e-05
  22  7.1564
  23  1.0682e-05
  24  0.298608
  25  0.258803
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  6.172e-01  1.723e+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

GAL_V02
   Spectrum: PowerLaw
517    Prefactor:  1.044e+00  2.588e-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.075e+00  2.986e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.17
Ra Dec: 340.865 -25.736
Photon Flux Upper Limit: 6.26e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.98e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/159515/likelihoodResults_677376001_677635201_4FGL_J2243.4-2544_daily_bin1690.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) = 4751.19586889
delta logL = 0.0353834551779

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4751.19359678
delta logL = 0.037655567965

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .72939       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5782       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0781       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0418       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=   4751.194     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      287 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .73232        1.7596        .16330E-02    .33858E-02
   2  alpha         1.5809        1.3210        .35466E-01   -.64767E-05
   3  Normalizat    1.0782        .28393        .28441E-03   -.14790E-04
   4  Prefactor     1.0417        .25520        .25787E-03   -.32184E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.732318
  alpha      = 1.58094
  Normalizat = 1.07822
  Prefactor  = 1.04167
 **********
 **   18 **HESSE 
 **********

 FCN=   4751.194     FROM HESSE     STATUS=OK            27 CALLS      314 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .73232        1.7686        .32659E-03   -1.5537    
   2  alpha         1.5809        1.3289        .14187E-02   -.37645    
   3  Normalizat    1.0782        .28426        .11377E-04   -.90454    
   4  Prefactor     1.0417        .25551        .10315E-04   -.91353    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.77049e-11
Minuit parameter uncertainties:
  1  1.76868
  2  1.41456
  3  0.28466
  4  0.255808
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/159515': 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) = 4751.19359368
delta logL = 0.0376586676621

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  7.323e-01  1.769e+00  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  1.581e+00  1.415e+00  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:  1.042e+00  2.558e-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.078e+00  2.847e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.17
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/159515/cmap_HighResolution_677376001_677635201_4FGL_J2243.4-2544_daily_bin1690.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.98e-05', job_status='DONE', photon_flux_upper_limit='6.26e-08', time_completed='2022-06-23 01:27:20.786212', job_id='159515', GAL2='1.04', fit_tolerance='1e-08', EG2='1.08', EG='1.08', time_epoch_completed='1655972840.79', return_code2='0', ts='0.17', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='3.77e-02', ts2='0.24', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1690' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jun 23 01:27:20 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 159515: <4FGL_J2243.4-2544_daily_bin1690> in cluster <slac> Done

Job <4FGL_J2243.4-2544_daily_bin1690> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Thu Jun 23 01:15:18 2022
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun 23 01:15:53 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun 23 01:15:53 2022
Terminated at Thu Jun 23 01:27:21 2022
Results reported at Thu Jun 23 01:27:21 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin1690 340.865 -25.7363 677376001 677635201 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 :                                   582.60 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             302.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   688 sec.
    Turnaround time :                            723 sec.

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

