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


Performing analysis on: 4FGL_J2200.7-2414_daily_bin1772
RA = 330.181, Dec = -24.2421
tmin = 698630401, tmax = 698889601
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='652361', job_status='RUN', time_executed='2023-02-24 02:56:36.203596', time_epoch_executed='1677236196.2' WHERE source_name='4FGL J2200.7-2414' and cadence='daily' and bin_id='1772'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/652361

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/652361/ft1_4FGL_J2200.7-2414_daily_bin1772.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/652361/ft2_4FGL_J2200.7-2414_daily_bin1772.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/652361/ft1_4FGL_J2200.7-2414_daily_bin1772.fits outfile=/scratch/kocevski/652361/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin1772.fits ra=330.181 dec=-24.2421 rad=12.0 tmin=698630401.0 tmax=698889601.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.01
user 2.79
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/652361/ft2_4FGL_J2200.7-2414_daily_bin1772.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/652361/ft2_4FGL_J2200.7-2414_daily_bin1772.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/652361/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin1772.fits evtable="EVENTS" outfile="/scratch/kocevski/652361/ft1_filtered_4FGL_J2200.7-2414_daily_bin1772.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.51
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/652361/ft1_filtered_4FGL_J2200.7-2414_daily_bin1772.fits" evtable="EVENTS" scfile=/scratch/kocevski/652361/ft2_4FGL_J2200.7-2414_daily_bin1772.fits sctable="SC_DATA" outfile=/scratch/kocevski/652361/ltcube_698630401_698889601_4FGL_J2200.7-2414_daily_bin1772.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/652361/ft2_4FGL_J2200.7-2414_daily_bin1772.fits
.....................!
real 12.80
user 12.43
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/652361/ft1_filtered_4FGL_J2200.7-2414_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/652361/ft2_4FGL_J2200.7-2414_daily_bin1772.fits sctable="SC_DATA" expcube=/scratch/kocevski/652361/ltcube_698630401_698889601_4FGL_J2200.7-2414_daily_bin1772.fits outfile=/scratch/kocevski/652361/expmap_698630401_698889601_4FGL_J2200.7-2414_daily_bin1772.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/652361/ltcube_698630401_698889601_4FGL_J2200.7-2414_daily_bin1772.fits
.....................!
real 189.82
user 184.77
sys 4.68

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 J2200.7-2414 @ 330.181 -24.2421

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/652361/ft1_filtered_4FGL_J2200.7-2414_daily_bin1772.fits scfile=/scratch/kocevski/652361/ft2_4FGL_J2200.7-2414_daily_bin1772.fits outfile=/scratch/kocevski/652361/cmap_698630401_698889601_4FGL_J2200.7-2414_daily_bin1772.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=330.181 yref=-24.2421 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/652361/ft1_filtered_4FGL_J2200.7-2414_daily_bin1772.fits scfile=/scratch/kocevski/652361/ft2_4FGL_J2200.7-2414_daily_bin1772.fits outfile=/scratch/kocevski/652361/cmap_HighResolution_698630401_698889601_4FGL_J2200.7-2414_daily_bin1772.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=330.181 yref=-24.2421 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.52
user 0.38
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/652361/ft1_filtered_4FGL_J2200.7-2414_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/652361/ft2_4FGL_J2200.7-2414_daily_bin1772.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/652361/Model_4FGL_J2200.7-2414_daily_bin1772.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/652361/ft1_filtered_4FGL_J2200.7-2414_daily_bin1772.fits...............!
real 14.99
user 13.73
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/652361/ft1_filtered_4FGL_J2200.7-2414_daily_bin1772.fits', '/scratch/kocevski/652361/ft2_4FGL_J2200.7-2414_daily_bin1772.fits', expMap='/scratch/kocevski/652361/expmap_698630401_698889601_4FGL_J2200.7-2414_daily_bin1772.fits', expCube='/scratch/kocevski/652361/ltcube_698630401_698889601_4FGL_J2200.7-2414_daily_bin1772.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/652361/Model_4FGL_J2200.7-2414_daily_bin1772.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2200.7-2414'

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  1.200e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.225e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.514e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/652361/ft1_filtered_4FGL_J2200.7-2414_daily_bin1772.fits
Spacecraft file(s): /scratch/kocevski/652361/ft2_4FGL_J2200.7-2414_daily_bin1772.fits
Exposure map: /scratch/kocevski/652361/expmap_698630401_698889601_4FGL_J2200.7-2414_daily_bin1772.fits
Exposure cube: /scratch/kocevski/652361/ltcube_698630401_698889601_4FGL_J2200.7-2414_daily_bin1772.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/652361/Model_4FGL_J2200.7-2414_daily_bin1772.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) = 157.250181124

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.370       1.0000          .0000       .10000E+07
     2 'norm      '    28.663       1.0000          .0000       .10000E+07
     3 'Prefactor '    .83711E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    .46074E-08   1.0000          .0000       .10000E+07
     5 'norm      '     .0000       1.0000          .0000       .10000E+07
     6 'Prefactor '    342.87       1.0000          .0000       .10000E+07
     7 'norm      '    .22593E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .85210E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .17208E-08   1.0000          .0000       .10000E+07
    10 'norm      '    .14988E-08   1.0000          .0000       .10000E+07
    11 'Prefactor '    .35985E-04   1.0000          .0000       .10000E+07
    12 'norm      '     .0000       1.0000          .0000       .10000E+07
    13 'Prefactor '    .10569E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .10000E+07   1.0000          .0000       .10000E+07
    15 'Prefactor '    .70318E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    46403.       1.0000          .0000       .10000E+07
    17 'Prefactor '    .92006E-04   1.0000          .0000       .10000E+07
    18 'norm      '    .14718E+06   1.0000          .0000       .10000E+07
    19 'Prefactor '    .55500E-06   1.0000          .0000       .10000E+07
    20 'norm      '    .91877E-06   1.0000          .0000       .10000E+07
    21 'Prefactor '    .54733E-03   1.0000          .0000       .10000E+07
    22 'norm      '    .25757E-07   1.0000          .0000       .10000E+07
    23 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    24 'Prefactor '    .40265E-01   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   156.5591     FROM MIGRAD    STATUS=CONVERGED    605 CALLS     3411 TOTAL
                     EDM=   .25E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.372        40.734       -.98849E-06   -.49208E-03
   2  norm          28.666        31.570       -.11214E-06   -.13472E-03
   3  Prefactor      .0000        22.174        .11597E-07** at limit **
   4  Prefactor      .0000        41.835       -.18006E-08** at limit **
   5  norm           .0000        14.505        .42567E-08** at limit **
   6  Prefactor     342.83        367.44       -.56396E-06   -.45420E-04
   7  norm           .0000        59.113       -.21125E-09** at limit **
   8  Prefactor      .0000        84.759        .23215E-08** at limit **
   9  Prefactor      .0000        203.74        .43735E-08** at limit **
  10  norm           .0000        11.597        .46677E-08** at limit **
  11  Prefactor     .22204E-09    952.09        .29131E-07** at limit **
  12  norm           .0000        2.3909        .18806E-08** at limit **
  13  Prefactor      .0000        413.36        .10648E-07** at limit **
  14  Prefactor     .10000E+07    .10980E+06    .53849E-06** at limit **
  15  Prefactor     .12468E-06    23330.        .87442E-06** at limit **
  16  Prefactor     46433.        32772.       -.89710E-05    .10090E-04
  17  Prefactor     .45630E-07    56275.       -.41418E-06** at limit **
  18  norm          .14722E+06    .14624E+06   -.38730E-05    .19158E-05
  19  Prefactor      .0000        1094.3        .14088E-07** at limit **
  20  norm           .0000        81.182        .31878E-08** at limit **
  21  Prefactor     .11657E-08    1598.9       -.31248E-07** at limit **
  22  norm           .0000        53.210        .17636E-09** at limit **
  23  Normalizat    .10000E-01    .22019        .52268E-05** at limit **
  24  Prefactor     .40161E-01    .54985        .55669E-04   -.58050E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.372
  norm       = 28.6662
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 342.83
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 2.22045e-10
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1e+06
  Prefactor  = 1.24678e-07
  Prefactor  = 46433.4
  Prefactor  = 4.56302e-08
  norm       = 147217
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.16573e-09
  norm       = 0
  Normalizat = 0.01
  Prefactor  = 0.040161
 **********
 **   18 **HESSE 
 **********

 FCN=   156.5591     FROM HESSE     STATUS=OK           379 CALLS     3790 TOTAL
                     EDM=   .52E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.372        40.838        .57453E-05   -1.5616    
   2  norm          28.666        31.577        .71888E-05   -1.5601    
   3  Prefactor      .0000        22.172        .57630E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor      .0000        41.836        .79160E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        14.504        .46611E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     342.83        368.00        .10803E-04   -1.5338    
   7  norm           .0000        59.113        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        84.758        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        203.74        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        11.597        .41678E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .22204E-09    952.03        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        2.3908        .18924E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        413.32        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E+07    .10980E+06    .84235E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .12468E-06    23303.        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     46433.        32967.        .10839E-05   -1.1364    
  17  Prefactor     .45630E-07    56263.        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .14722E+06    .14555E+06    .74703E-06   -.78322    
  19  Prefactor      .0000        1094.3        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm           .0000        81.180        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .11657E-08    1598.5        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        53.209        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .10000E-01    .21937        .18026E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .40161E-01    .54561        .30281E-03   -1.4440    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.19214e-11
Minuit parameter uncertainties:
  1  40.8382
  2  31.5773
  3  1.62815e-05
  4  5.63041e-06
  5  4.59648e-06
  6  368.02
  7  3.27076e-06
  8  4.66016e-08
  9  7.13298e-06
  10  3.82155e-06
  11  0.000891091
  12  7.95367e-07
  13  0.000146205
  14  0.134083
  15  0.108238
  16  33103.1
  17  0.102282
  18  149988
  19  0.00030506
  20  1.22731e-05
  21  0.00269821
  22  1.66859e-06
  23  2.53569e-06
  24  0.299444
Done.

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

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  0.000e+00  1.462e-04  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.225e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.514e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  4.016e-02  2.994e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  1.000e-02  2.536e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 330.181 -24.242
Photon Flux Upper Limit: 8.19e-06 ph cm-2 s-1
Energy Flux Upper Limit: 6.25e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/652361/likelihoodResults_698630401_698889601_4FGL_J2200.7-2414_daily_bin1772.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) = 156.560208769
delta logL = -0.00115196818322

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 156.559056829
delta logL = -2.88360979539e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31697E-06   1.0000          .0000       .10000E+07
     2 'Index     '    2.6117       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .40143E-01   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   156.5591     FROM MIGRAD    STATUS=CONVERGED     39 CALLS      220 TOTAL
                     EDM=   .79E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        626.20        .28375E-05** at limit **
   2  Index         1.3045        5.2072        .77650E-04     .0000    
   3  Normalizat    .10000E-01    .21576        .15651E-06** at limit **
   4  Prefactor     .40161E-01    .15465        .38815E-05   -.15295E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.30454
  Normalizat = 0.01
  Prefactor  = 0.0401612
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   156.5591     FROM HESSE     STATUS=FAILED        11 CALLS      231 TOTAL
                     EDM=   .79E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        626.56        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .13061        1.2726        .77650E-04   -.83172    
   3  Normalizat    .10000E-01    .25505        .15651E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .40161E-01    .26347        .38815E-05   -1.4440    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.85245e-14
Minuit parameter uncertainties:
  1  5.92915e-05
  2  0.780065
  3  2.9237e-08
  4  0.207069
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/652361': 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): 101
logL (Free Index) = 156.559056801
delta logL = 9.66338120634e-13

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  0.000e+00  5.929e-05  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  1.305e+00  7.801e-01  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  1.514e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  4.016e-02  2.071e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  1.000e-02  2.924e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 330.181 -24.242

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/652361/cmap_HighResolution_698630401_698889601_4FGL_J2200.7-2414_daily_bin1772.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.25e-01', job_status='DONE', photon_flux_upper_limit='8.19e-06', time_completed='2023-02-24 03:01:58.442869', job_id='652361', GAL2='0.04', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1677236518.44', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.04', dlogl='9.66e-13', ts2='0.00', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1772' AND source_name='4FGL J2200.7-2414' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 24 03:01:58 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 652361: <4FGL_J2200.7-2414_daily_bin1772> in cluster <slac> Done

Job <4FGL_J2200.7-2414_daily_bin1772> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Feb 24 02:55:17 2023
Job was executed on host(s) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 24 02:55:19 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 24 02:55:19 2023
Terminated at Fri Feb 24 03:01:59 2023
Results reported at Fri Feb 24 03:01:59 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2200.7-2414_daily_bin1772 330.181 -24.2421 698630401 698889601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2200.7-2414 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   324.38 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             256.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   399 sec.
    Turnaround time :                            402 sec.

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

