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


Performing analysis on: 4FGL_J2200.1+2138_daily_bin1773
RA = 330.031, Dec = 21.6382
tmin = 698889601, tmax = 699148801
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='804569', job_status='RUN', time_executed='2023-02-27 10:33:41.937374', time_epoch_executed='1677522821.94' WHERE source_name='4FGL J2200.1+2138' and cadence='daily' and bin_id='1773'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/804569

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/804569/ft1_4FGL_J2200.1+2138_daily_bin1773.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/804569/ft2_4FGL_J2200.1+2138_daily_bin1773.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/804569/ft1_4FGL_J2200.1+2138_daily_bin1773.fits outfile=/scratch/kocevski/804569/ft1_filteredMKT_4FGL_J2200.1+2138_daily_bin1773.fits ra=330.031 dec=21.6382 rad=12.0 tmin=698889601.0 tmax=699148801.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.97
user 2.76
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/804569/ft2_4FGL_J2200.1+2138_daily_bin1773.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/804569/ft2_4FGL_J2200.1+2138_daily_bin1773.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/804569/ft1_filteredMKT_4FGL_J2200.1+2138_daily_bin1773.fits evtable="EVENTS" outfile="/scratch/kocevski/804569/ft1_filtered_4FGL_J2200.1+2138_daily_bin1773.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.32
sys 0.17

Number of photons that the gtmktime cut: 993

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/804569/ft1_filtered_4FGL_J2200.1+2138_daily_bin1773.fits" evtable="EVENTS" scfile=/scratch/kocevski/804569/ft2_4FGL_J2200.1+2138_daily_bin1773.fits sctable="SC_DATA" outfile=/scratch/kocevski/804569/ltcube_698889601_699148801_4FGL_J2200.1+2138_daily_bin1773.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/804569/ft2_4FGL_J2200.1+2138_daily_bin1773.fits
.....................!
real 13.44
user 13.05
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/804569/ft1_filtered_4FGL_J2200.1+2138_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/804569/ft2_4FGL_J2200.1+2138_daily_bin1773.fits sctable="SC_DATA" expcube=/scratch/kocevski/804569/ltcube_698889601_699148801_4FGL_J2200.1+2138_daily_bin1773.fits outfile=/scratch/kocevski/804569/expmap_698889601_699148801_4FGL_J2200.1+2138_daily_bin1773.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/804569/ltcube_698889601_699148801_4FGL_J2200.1+2138_daily_bin1773.fits
.....................!
real 192.14
user 185.64
sys 6.11

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source Cygnus Loop in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/CygnusLoop.fits is the correct path to the extended template.
Added 167 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J2200.1+2138 @ 330.031 21.6382

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/804569/ft1_filtered_4FGL_J2200.1+2138_daily_bin1773.fits scfile=/scratch/kocevski/804569/ft2_4FGL_J2200.1+2138_daily_bin1773.fits outfile=/scratch/kocevski/804569/cmap_698889601_699148801_4FGL_J2200.1+2138_daily_bin1773.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.031 yref=21.6382 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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/804569/ft1_filtered_4FGL_J2200.1+2138_daily_bin1773.fits scfile=/scratch/kocevski/804569/ft2_4FGL_J2200.1+2138_daily_bin1773.fits outfile=/scratch/kocevski/804569/cmap_HighResolution_698889601_699148801_4FGL_J2200.1+2138_daily_bin1773.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.031 yref=21.6382 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.57
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/804569/ft1_filtered_4FGL_J2200.1+2138_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/804569/ft2_4FGL_J2200.1+2138_daily_bin1773.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/804569/Model_4FGL_J2200.1+2138_daily_bin1773.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 Cygnus Loop
adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/804569/ft1_filtered_4FGL_J2200.1+2138_daily_bin1773.fits.....................!
real 152.24
user 150.13
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/804569/ft1_filtered_4FGL_J2200.1+2138_daily_bin1773.fits', '/scratch/kocevski/804569/ft2_4FGL_J2200.1+2138_daily_bin1773.fits', expMap='/scratch/kocevski/804569/expmap_698889601_699148801_4FGL_J2200.1+2138_daily_bin1773.fits', expCube='/scratch/kocevski/804569/ltcube_698889601_699148801_4FGL_J2200.1+2138_daily_bin1773.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/804569/Model_4FGL_J2200.1+2138_daily_bin1773.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2200.1+2138'

4FGL J2200.1+2138
   Spectrum: PowerLaw
268    Prefactor:  7.461e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
269        Index:  2.044e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  2.429e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/804569/ft1_filtered_4FGL_J2200.1+2138_daily_bin1773.fits
Spacecraft file(s): /scratch/kocevski/804569/ft2_4FGL_J2200.1+2138_daily_bin1773.fits
Exposure map: /scratch/kocevski/804569/expmap_698889601_699148801_4FGL_J2200.1+2138_daily_bin1773.fits
Exposure cube: /scratch/kocevski/804569/ltcube_698889601_699148801_4FGL_J2200.1+2138_daily_bin1773.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/804569/Model_4FGL_J2200.1+2138_daily_bin1773.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) = 11094.2915333

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .65962E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .22926E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .38858E-09   1.0000          .0000       .10000E+07
     4 'Prefactor '    .12752E-02   1.0000          .0000       .10000E+07
     5 'norm      '    1.3154       1.0000          .0000       .10000E+07
     6 'Prefactor '    7.3356       1.0000          .0000       .10000E+07
     7 'Prefactor '    .64522E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .13600E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    1.3488       1.0000          .0000       .10000E+07
    10 'norm      '    1.6093       1.0000          .0000       .10000E+07
    11 'Prefactor '    10.104       1.0000          .0000       .10000E+07
    12 'norm      '    6.0153       1.0000          .0000       .10000E+07
    13 'Prefactor '    .11533E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    21.328       1.0000          .0000       .10000E+07
    15 'norm      '    1.2238       1.0000          .0000       .10000E+07
    16 'norm      '    .78023       1.0000          .0000       .10000E+07
    17 'Prefactor '    5.8690       1.0000          .0000       .10000E+07
    18 'Normalizat'    .62402       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1028       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11093.39     FROM MIGRAD    STATUS=CONVERGED    129 CALLS     1115 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    9.2462       -.82951E-06** at limit **
   2  norm           .0000        2.3867       -.19019E-06** at limit **
   3  Prefactor      .0000        4.1491       -.21093E-07** at limit **
   4  Prefactor     .61062E-09    34.117        .13135E-05** at limit **
   5  norm          1.3195        2.5911       -.35327E-06    .17430E-02
   6  Prefactor     7.3022        5.7029        .90598E-07   -.14412E-02
   7  Prefactor     .55511E-10    19.666        .69301E-06** at limit **
   8  norm           .0000        .19859        .19101E-06** at limit **
   9  Prefactor     .15615E-06    68.202       -.19958E-05** at limit **
  10  norm          1.6110        1.0856        .72836E-07   -.20141E-02
  11  Prefactor     10.067        3.3394       -.16360E-07   -.34952E-01
  12  norm          5.9188        6.3920        .28297E-06    .99265E-03
  13  Prefactor     .41633E-08    18.394       -.26946E-06** at limit **
  14  Prefactor     21.542        4.0148        .40845E-07   -.74967E-01
  15  norm          1.2213        .93344        .72730E-07   -.28991E-02
  16  norm          .78126        .78193        .10290E-08    .79729E-03
  17  Prefactor     5.6755        11.340       -.23230E-06   -.18026E-01
  18  Normalizat    .62436        .24015       -.72742E-05    .22701E-04
  19  Prefactor     1.1031        .10400        .96482E-06    .42971E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  norm       = 0
  Prefactor  = 0
  Prefactor  = 6.10623e-10
  norm       = 1.31948
  Prefactor  = 7.30219
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 1.56153e-07
  norm       = 1.61099
  Prefactor  = 10.0673
  norm       = 5.91876
  Prefactor  = 4.16334e-09
  Prefactor  = 21.5421
  norm       = 1.22127
  norm       = 0.781265
  Prefactor  = 5.67552
  Normalizat = 0.624356
  Prefactor  = 1.10309
 **********
 **   18 **HESSE 
 **********

 FCN=   11093.39     FROM HESSE     STATUS=OK           304 CALLS     1419 TOTAL
                     EDM=   .84E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    9.2630        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        2.3721        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        4.1652        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .61062E-09    34.184        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.3195        2.6317        .96002E-03   -1.5685    
   6  Prefactor     7.3022        5.7124        .37008E-03   -1.5654    
   7  Prefactor     .55511E-10    19.514        .15003E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        .19493        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .15615E-06    69.251        .94201E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.6110        1.0885        .83477E-04   -1.5683    
  11  Prefactor     10.067        15.061        .31499E-03   -1.5645    
  12  norm          5.9188        6.4797        .40916E-03   -1.5659    
  13  Prefactor     .41633E-08    18.456        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     21.542        13.222        .21659E-03   -1.5615    
  15  norm          1.2213        .95564        .10182E-02   -1.5686    
  16  norm          .78126        .77676        .54420E-03   -1.5690    
  17  Prefactor     5.6755        12.053        .41430E-03   -1.5660    
  18  Normalizat    .62436        .23230        .10973       -1.0696    
  19  Prefactor     1.1031        .95212E-01    .37482E-01   -.89368    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.40538e-08
Minuit parameter uncertainties:
  1  0.000104641
  2  7.19148e-07
  3  1.81639e-05
  4  0.000287405
  5  2.6317
  6  5.7124
  7  6.41154e-05
  8  2.0836e-06
  9  0.00657671
  10  1.08847
  11  15.0613
  12  6.47972
  13  0.000554768
  14  13.2216
  15  0.95564
  16  0.776757
  17  12.053
  18  0.232664
  19  0.095227
Done.

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

Extracting fit parameters...

4FGL J2200.1+2138
   Spectrum: PowerLaw
268    Prefactor:  1.562e-07  6.577e-03  0.000e+00  1.000e+06 ( 1.000e-14)
269        Index:  2.044e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  2.429e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
559    Prefactor:  1.103e+00  9.523e-02  0.000e+00  1.000e+01 ( 1.000e+00)
560        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
561        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
558   Normalization:  6.244e-01  2.327e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 330.031 21.638
Photon Flux Upper Limit: 5.80e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.36e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/804569/likelihoodResults_698889601_699148801_4FGL_J2200.1+2138_daily_bin1773.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) = 11093.3966647
delta logL = -0.00715620705523

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11093.3843856
delta logL = 0.00512286009507

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11093.38     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      257 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0760        5.2995        .12518E-01    .82362E-02
   2  Index         2.7596        .14046        .50000        .75355E-04
   3  Normalizat    .62071        .54029E-02    .11003        .12322E-03
   4  Prefactor     1.1034        .23725E-02    .37459E-01   -.23213E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.07596
  Index      = 2.75959
  Normalizat = 0.620713
  Prefactor  = 1.10344
 **********
 **   18 **HESSE 
 **********

 FCN=   11093.38     FROM HESSE     STATUS=OK            33 CALLS      290 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0760        131.48        .44514E-03   -1.5687    
   2  Index         2.7596        6.3311        .30386E-02   -.46462    
   3  Normalizat    .62071        .23711        .48785E-03   -1.0711    
   4  Prefactor     1.1034        .10311        .16364E-03   -.89357    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.25359e-09
Minuit parameter uncertainties:
  1  23.7887
  2  5.82801
  3  0.237504
  4  0.10313
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/804569': 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) = 11093.3843653
delta logL = 0.0051432126038

Extracting fit parameters...

4FGL J2200.1+2138
   Spectrum: PowerLaw
268    Prefactor:  1.076e+00  2.379e+01  0.000e+00  1.000e+06 ( 1.000e-14)
269        Index:  2.760e+00  5.828e+00  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  2.429e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
559    Prefactor:  1.103e+00  1.031e-01  0.000e+00  1.000e+01 ( 1.000e+00)
560        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
561        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
558   Normalization:  6.207e-01  2.375e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 330.031 21.638

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/804569/cmap_HighResolution_698889601_699148801_4FGL_J2200.1+2138_daily_bin1773.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.36e-03', job_status='DONE', photon_flux_upper_limit='5.80e-08', time_completed='2023-02-27 10:45:42.983228', job_id='804569', GAL2='1.10', fit_tolerance='1e-08', EG2='0.62', EG='0.62', time_epoch_completed='1677523542.98', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='5.14e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.04' WHERE bin_id='1773' AND source_name='4FGL J2200.1+2138' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 27 10:45:43 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 804569: <4FGL_J2200.1+2138_daily_bin1773> in cluster <slac> Done

Job <4FGL_J2200.1+2138_daily_bin1773> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Mon Feb 27 10:30:36 2023
Job was executed on host(s) <bullet0030>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 10:30:38 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 27 10:30:38 2023
Terminated at Mon Feb 27 10:45:43 2023
Results reported at Mon Feb 27 10:45:43 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2200.1+2138_daily_bin1773 330.031 21.6382 698889601 699148801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2200.1+2138 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   718.21 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             320.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   905 sec.
    Turnaround time :                            907 sec.

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

