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


Performing analysis on: 4FGL_J2243.4-2544_daily_bin1669
RA = 340.865, Dec = -25.7363
tmin = 671932801, tmax = 672192001
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='692230', job_status='RUN', time_executed='2022-04-21 00:36:25.927279', time_epoch_executed='1650526585.93' WHERE source_name='4FGL J2243.4-2544' and cadence='daily' and bin_id='1669'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/692230

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/692230/ft1_4FGL_J2243.4-2544_daily_bin1669.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/692230/ft2_4FGL_J2243.4-2544_daily_bin1669.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/692230/ft1_4FGL_J2243.4-2544_daily_bin1669.fits outfile=/scratch/kocevski/692230/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1669.fits ra=340.865 dec=-25.7363 rad=12.0 tmin=671932801.0 tmax=672192001.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.75
user 3.51
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/692230/ft2_4FGL_J2243.4-2544_daily_bin1669.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/692230/ft1_filteredMKT_4FGL_J2243.4-2544_daily_bin1669.fits evtable="EVENTS" outfile="/scratch/kocevski/692230/ft1_filtered_4FGL_J2243.4-2544_daily_bin1669.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.32
sys 0.16

Number of photons that the gtmktime cut: 668

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/692230/ft1_filtered_4FGL_J2243.4-2544_daily_bin1669.fits" evtable="EVENTS" scfile=/scratch/kocevski/692230/ft2_4FGL_J2243.4-2544_daily_bin1669.fits sctable="SC_DATA" outfile=/scratch/kocevski/692230/ltcube_671932801_672192001_4FGL_J2243.4-2544_daily_bin1669.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/692230/ft2_4FGL_J2243.4-2544_daily_bin1669.fits
.....................!
real 12.12
user 11.77
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/692230/ft1_filtered_4FGL_J2243.4-2544_daily_bin1669.fits evtable="EVENTS" scfile=/scratch/kocevski/692230/ft2_4FGL_J2243.4-2544_daily_bin1669.fits sctable="SC_DATA" expcube=/scratch/kocevski/692230/ltcube_671932801_672192001_4FGL_J2243.4-2544_daily_bin1669.fits outfile=/scratch/kocevski/692230/expmap_671932801_672192001_4FGL_J2243.4-2544_daily_bin1669.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/692230/ltcube_671932801_672192001_4FGL_J2243.4-2544_daily_bin1669.fits
.....................!
real 190.73
user 185.63
sys 4.77

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/692230/ft1_filtered_4FGL_J2243.4-2544_daily_bin1669.fits scfile=/scratch/kocevski/692230/ft2_4FGL_J2243.4-2544_daily_bin1669.fits outfile=/scratch/kocevski/692230/cmap_671932801_672192001_4FGL_J2243.4-2544_daily_bin1669.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.53
user 0.37
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/692230/ft1_filtered_4FGL_J2243.4-2544_daily_bin1669.fits evtable="EVENTS" scfile=/scratch/kocevski/692230/ft2_4FGL_J2243.4-2544_daily_bin1669.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/692230/Model_4FGL_J2243.4-2544_daily_bin1669.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/692230/ft1_filtered_4FGL_J2243.4-2544_daily_bin1669.fits.....................!
real 57.96
user 56.53
sys 1.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.5538       1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.770       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.3668       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    29.165       1.0000         .10000E-03   10000.    
     9 'Prefactor '    11.192       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.0208       1.0000         .10000E-03   10000.    
    11 'norm      '    4.4615       1.0000         .10000E-03   10000.    
    12 'norm      '    .10403E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    39.455       1.0000         .10000E-03   10000.    
    14 'Prefactor '    25.512       1.0000         .10000E-03   10000.    
    15 'norm      '    .36806E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    41.350       1.0000         .10000E-03   10000.    
    17 'Prefactor '    10.228       1.0000         .10000E-03   10000.    
    18 'norm      '    .74858       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.5993       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    4.3972       1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.8749       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0108       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .67351       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=   7102.758     FROM MIGRAD    STATUS=CONVERGED    583 CALLS     2917 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.746        .67976E-06** at limit **
   2  Prefactor     .10000E-03    63.429       -.32183E-05** at limit **
   3  norm          1.5538        .35851        .99404E-08   -.29082E-03
   4  Prefactor     16.768        11.046        .73042E-07   -.23063E-03
   5  Prefactor     .10000E-03    7.7138       -.13421E-06** at limit **
   6  Prefactor     3.3673        5.6392        .54443E-06   -.26937E-04
   7  Prefactor     .10001E-03    74.293        .50712E-05** at limit **
   8  norm          29.169        19.015       -.14455E-05   -.61962E-03
   9  Prefactor     11.193        14.814        .25414E-06   -.20298E-04
  10  Prefactor     5.0193        9.4108       -.26567E-06   -.29692E-03
  11  norm          4.4615        1.1244        .39011E-07   -.19234E-03
  12  norm          .10000E-03    1.4507        .24146E-05** at limit **
  13  Prefactor     39.508        39.912        .30406E-05   -.11282E-03
  14  Prefactor     25.513        11.393        .20575E-06   -.24673E-03
  15  norm          .10003E-03    2.3058        .10928E-05** at limit **
  16  Prefactor     41.354        22.741       -.73018E-06   -.87791E-03
  17  Prefactor     10.227        13.106       -.32914E-06   -.94974E-03
  18  norm          .74848        .83373        .14322E-06   -.22440E-02
  19  Prefactor     .10000E-03    11.194       -.74523E-06** at limit **
  20  Prefactor     6.5995        6.7326        .13023E-06   -.12828E-04
  21  Prefactor     .10000E-03    9.1046        .35634E-06** at limit **
  22  norm          4.3974        3.0259       -.35965E-07   -.40144E-04
  23  Prefactor     4.8739        18.691        .72730E-05    .16950E-03
  24  Normalizat    1.0107        .17279       -.27004E-05   -.83604E-03
  25  Prefactor     .67360        .14971        .95529E-06   -.80827E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 1.55384
  Prefactor  = 16.7682
  Prefactor  = 0.0001
  Prefactor  = 3.36734
  Prefactor  = 0.00010001
  norm       = 29.1685
  Prefactor  = 11.193
  Prefactor  = 5.01933
  norm       = 4.46147
  norm       = 0.000100003
  Prefactor  = 39.5079
  Prefactor  = 25.5131
  norm       = 0.000100026
  Prefactor  = 41.3536
  Prefactor  = 10.2272
  norm       = 0.748476
  Prefactor  = 0.0001
  Prefactor  = 6.59948
  Prefactor  = 0.0001
  norm       = 4.39741
  Prefactor  = 4.87391
  Normalizat = 1.01069
  Prefactor  = 0.673602
 **********
 **   18 **HESSE 
 **********

 FCN=   7102.758     FROM HESSE     STATUS=OK           431 CALLS     3348 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.785        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    63.979        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.5538        .35928        .23545E-04   -1.5459    
   4  Prefactor     16.768        11.060        .97802E-04   -1.4889    
   5  Prefactor     .10000E-03    7.7465        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.3673        5.6397        .22054E-03   -1.5341    
   7  Prefactor     .10001E-03    75.502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          29.169        19.221        .74188E-04   -1.4627    
   9  Prefactor     11.193        14.812        .11975E-03   -1.5039    
  10  Prefactor     5.0193        9.4120        .17946E-03   -1.5260    
  11  norm          4.4615        1.1249        .43410E-04   -1.5285    
  12  norm          .10000E-03    1.7034        .16348E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     39.508        40.134        .63812E-04   -1.4450    
  14  Prefactor     25.513        11.435        .79310E-04   -1.4697    
  15  norm          .10003E-03    11.076        .22174E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     41.354        22.622        .62338E-04   -1.4421    
  17  Prefactor     10.227        12.748        .12529E-03   -1.5068    
  18  norm          .74848        .78083        .56407E-03   -1.5535    
  19  Prefactor     .10000E-03    11.209        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.5995        6.7346        .15621E-03   -1.5194    
  21  Prefactor     .10000E-03    9.2747        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          4.3974        3.0233        .11703E-03   -1.5289    
  23  Prefactor     4.8739        19.134        .91091E-03   -1.5266    
  24  Normalizat    1.0107        .20285        .23609E-03   -.92673    
  25  Prefactor     .67360        .17504        .25984E-03   -1.0457    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.736e-09
Minuit parameter uncertainties:
  1  9.91097e-05
  2  0.00087757
  3  0.359281
  4  11.0612
  5  4.80932e-07
  6  5.64058
  7  0.00172061
  8  19.2251
  9  14.8173
  10  9.41473
  11  1.12495
  12  0.000134984
  13  40.1614
  14  11.4358
  15  0.00107452
  16  22.6269
  17  12.7511
  18  0.780837
  19  9.32241e-05
  20  6.7354
  21  3.18248e-05
  22  3.02342
  23  19.1579
  24  0.203003
  25  0.175179
Done.

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

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.000e-04  1.350e-04  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:  6.736e-01  1.752e-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.011e+00  2.030e-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: 4.19e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.66e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/692230/likelihoodResults_671932801_672192001_4FGL_J2243.4-2544_daily_bin1669.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) = 7102.76069704
delta logL = -0.00279913022041

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7102.75789801
delta logL = -9.20144884731e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0084       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0107       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67363       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7102.758     FROM MIGRAD    STATUS=FAILED        92 CALLS      240 TOTAL
                     EDM=   .95E-06    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10113E-03    1.8473        .16343E-02** at limit **
   2  alpha         2.1790        3.5718        .16882       -.10168E-04
   3  Normalizat    1.0107        .18451        .23610E-03    .67799E-04
   4  Prefactor     .67360        .16967        .25984E-03    .18201E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7102.758     FROM SIMPLEX   STATUS=PROGRESS     103 CALLS      343 TOTAL
                     EDM=   .96E-05    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10028E-03    1.8473        .11152E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.1782        3.5718        .23945E-02   -.12909    
   3  Normalizat    1.0107        .18451        .11158E-03   -.92673    
   4  Prefactor     .67361        .16967        .10600E-03   -1.0457    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7102.758     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      375 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    1.8171        .32686E-03** at limit **
   2  alpha         2.3180        3.6092        .67527E-01    .12778E-06
   3  Normalizat    1.0107        .18469        .94439E-05    .44036E-03
   4  Prefactor     .67360        .16983        .10394E-04    .22489E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100005
  alpha      = 2.31804
  Normalizat = 1.0107
  Prefactor  = 0.673603
 **********
 **   18 **HESSE 
 **********

 FCN=   7102.758     FROM HESSE     STATUS=OK            23 CALLS      398 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    1.8074        .65372E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3180        2.9270        .27011E-02   -.72848E-01
   3  Normalizat    1.0107        .18437        .18888E-05   -.92673    
   4  Prefactor     .67360        .16955        .20787E-05   -1.0457    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.18789e-09
Minuit parameter uncertainties:
  1  0.000192631
  2  204.546
  3  0.184491
  4  0.169684
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/692230': 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) = 7102.75789628
delta logL = 1.63218919624e-06

Extracting fit parameters...

4FGL J2243.4-2544
   Spectrum: LogParabola
252         norm:  1.000e-04  1.926e-04  1.000e-04  1.000e+04 ( 1.000e-12)
253        alpha:  2.318e+00  2.045e+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:  6.736e-01  1.697e-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.011e+00  1.845e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/692230/cmap_HighResolution_671932801_672192001_4FGL_J2243.4-2544_daily_bin1669.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.66e-05', job_status='DONE', photon_flux_upper_limit='4.19e-08', time_completed='2022-04-21 00:48:23.659600', job_id='692230', GAL2='0.67', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1650527303.66', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='1.63e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.00' WHERE bin_id='1669' AND source_name='4FGL J2243.4-2544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Apr 21 00:48:23 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 692230: <4FGL_J2243.4-2544_daily_bin1669> in cluster <slac> Done

Job <4FGL_J2243.4-2544_daily_bin1669> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Apr 21 00:35:39 2022
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Apr 21 00:35:40 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Apr 21 00:35:40 2022
Terminated at Thu Apr 21 00:48:24 2022
Results reported at Thu Apr 21 00:48:24 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2243.4-2544_daily_bin1669 340.865 -25.7363 671932801 672192001 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 :                                   720.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             288.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   763 sec.
    Turnaround time :                            765 sec.

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

