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


Performing analysis on: 4FGL_J2200.1+2138_daily_bin1735
RA = 330.031, Dec = 21.6382
tmin = 689040001, tmax = 689299201
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='866590', job_status='RUN', time_executed='2022-11-05 00:37:03.544424', time_epoch_executed='1667633823.54' WHERE source_name='4FGL J2200.1+2138' and cadence='daily' and bin_id='1735'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/866590

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/866590/ft1_4FGL_J2200.1+2138_daily_bin1735.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/866590/ft2_4FGL_J2200.1+2138_daily_bin1735.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/866590/ft1_4FGL_J2200.1+2138_daily_bin1735.fits outfile=/scratch/kocevski/866590/ft1_filteredMKT_4FGL_J2200.1+2138_daily_bin1735.fits ra=330.031 dec=21.6382 rad=12.0 tmin=689040001.0 tmax=689299201.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.63
user 3.41
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/866590/ft2_4FGL_J2200.1+2138_daily_bin1735.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/866590/ft1_filteredMKT_4FGL_J2200.1+2138_daily_bin1735.fits evtable="EVENTS" outfile="/scratch/kocevski/866590/ft1_filtered_4FGL_J2200.1+2138_daily_bin1735.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.48
user 0.31
sys 0.16

Number of photons that the gtmktime cut: 909

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/866590/ft1_filtered_4FGL_J2200.1+2138_daily_bin1735.fits" evtable="EVENTS" scfile=/scratch/kocevski/866590/ft2_4FGL_J2200.1+2138_daily_bin1735.fits sctable="SC_DATA" outfile=/scratch/kocevski/866590/ltcube_689040001_689299201_4FGL_J2200.1+2138_daily_bin1735.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/866590/ft2_4FGL_J2200.1+2138_daily_bin1735.fits
.....................!
real 11.86
user 11.51
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/866590/ft1_filtered_4FGL_J2200.1+2138_daily_bin1735.fits evtable="EVENTS" scfile=/scratch/kocevski/866590/ft2_4FGL_J2200.1+2138_daily_bin1735.fits sctable="SC_DATA" expcube=/scratch/kocevski/866590/ltcube_689040001_689299201_4FGL_J2200.1+2138_daily_bin1735.fits outfile=/scratch/kocevski/866590/expmap_689040001_689299201_4FGL_J2200.1+2138_daily_bin1735.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/866590/ltcube_689040001_689299201_4FGL_J2200.1+2138_daily_bin1735.fits
.....................!
real 190.86
user 184.90
sys 5.58

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/866590/ft1_filtered_4FGL_J2200.1+2138_daily_bin1735.fits scfile=/scratch/kocevski/866590/ft2_4FGL_J2200.1+2138_daily_bin1735.fits outfile=/scratch/kocevski/866590/cmap_689040001_689299201_4FGL_J2200.1+2138_daily_bin1735.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/866590/ft1_filtered_4FGL_J2200.1+2138_daily_bin1735.fits scfile=/scratch/kocevski/866590/ft2_4FGL_J2200.1+2138_daily_bin1735.fits outfile=/scratch/kocevski/866590/cmap_HighResolution_689040001_689299201_4FGL_J2200.1+2138_daily_bin1735.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.54
user 0.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/866590/ft1_filtered_4FGL_J2200.1+2138_daily_bin1735.fits evtable="EVENTS" scfile=/scratch/kocevski/866590/ft2_4FGL_J2200.1+2138_daily_bin1735.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/866590/Model_4FGL_J2200.1+2138_daily_bin1735.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/866590/ft1_filtered_4FGL_J2200.1+2138_daily_bin1735.fits.....................!
real 141.22
user 139.72
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/866590/ft1_filtered_4FGL_J2200.1+2138_daily_bin1735.fits', '/scratch/kocevski/866590/ft2_4FGL_J2200.1+2138_daily_bin1735.fits', expMap='/scratch/kocevski/866590/expmap_689040001_689299201_4FGL_J2200.1+2138_daily_bin1735.fits', expCube='/scratch/kocevski/866590/ltcube_689040001_689299201_4FGL_J2200.1+2138_daily_bin1735.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/866590/Model_4FGL_J2200.1+2138_daily_bin1735.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/866590/ft1_filtered_4FGL_J2200.1+2138_daily_bin1735.fits
Spacecraft file(s): /scratch/kocevski/866590/ft2_4FGL_J2200.1+2138_daily_bin1735.fits
Exposure map: /scratch/kocevski/866590/expmap_689040001_689299201_4FGL_J2200.1+2138_daily_bin1735.fits
Exposure cube: /scratch/kocevski/866590/ltcube_689040001_689299201_4FGL_J2200.1+2138_daily_bin1735.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/866590/Model_4FGL_J2200.1+2138_daily_bin1735.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 9871.83034068

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16653E-08   1.0000          .0000       .10000E+07
     2 'norm      '    .66386E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .40184       1.0000          .0000       .10000E+07
     4 'Prefactor '    56.576       1.0000          .0000       .10000E+07
     5 'norm      '    1.0389       1.0000          .0000       .10000E+07
     6 'Prefactor '    12.885       1.0000          .0000       .10000E+07
     7 'Prefactor '    182.87       1.0000          .0000       .10000E+07
     8 'norm      '    .28089E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .19395E-04   1.0000          .0000       .10000E+07
    10 'norm      '    1.6770       1.0000          .0000       .10000E+07
    11 'Prefactor '    16.613       1.0000          .0000       .10000E+07
    12 'norm      '    .13195E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .29976E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .12410E-02   1.0000          .0000       .10000E+07
    15 'norm      '    4.8768       1.0000          .0000       .10000E+07
    16 'norm      '    .62596       1.0000          .0000       .10000E+07
    17 'Prefactor '    .31475E-07   1.0000          .0000       .10000E+07
    18 'Normalizat'    .97069       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .98621       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9869.749     FROM MIGRAD    STATUS=CONVERGED    469 CALLS     1253 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        15.546        .61910E-06** at limit **
   2  norm          .33307E-09    12.963       -.90648E-07** at limit **
   3  Prefactor     .61519        5.9481       -.40053E-06    .43183E-02
   4  Prefactor     54.484        85.257       -.68116E-06    .14266E-03
   5  norm          1.0226        2.4563       -.16794E-06   -.17552E-01
   6  Prefactor     12.892        8.9580       -.84402E-07   -.50617E-03
   7  Prefactor     184.24        46.464       -.23064E-07    .27650E-02
   8  norm           .0000        .34725        .43666E-08** at limit **
   9  Prefactor      .0000        16.913       -.27585E-06** at limit **
  10  norm          1.6759        .97647       -.14719E-07    .12742E-02
  11  Prefactor     16.571        20.508       -.36470E-05    .25412E-03
  12  norm           .0000        3.6138       -.40858E-07** at limit **
  13  Prefactor      .0000        5.1421       -.79032E-08** at limit **
  14  Prefactor     .14988E-08    30.640       -.26480E-06** at limit **
  15  norm          4.8800        1.6081        .16701E-08    .16819E-02
  16  norm          .62611        .78487       -.32030E-08    .14296E-02
  17  Prefactor      .0000        5.8426        .38432E-07** at limit **
  18  Normalizat    .96892        .23857        .11718E-04    .25843E-03
  19  Prefactor     .98650        .10013       -.62211E-06    .11617E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 3.33067e-10
  Prefactor  = 0.615187
  Prefactor  = 54.4843
  norm       = 1.02256
  Prefactor  = 12.8916
  Prefactor  = 184.243
  norm       = 0
  Prefactor  = 0
  norm       = 1.67592
  Prefactor  = 16.5714
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.4988e-09
  norm       = 4.88001
  norm       = 0.626114
  Prefactor  = 0
  Normalizat = 0.968919
  Prefactor  = 0.986496
 **********
 **   18 **HESSE 
 **********

 FCN=   9869.749     FROM HESSE     STATUS=OK           266 CALLS     1519 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        15.545        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .33307E-09    13.573        .16847E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .61519        33.064        .45742E-03   -1.5692    
   4  Prefactor     54.484        85.271        .53183E-05   -1.5560    
   5  norm          1.0226        2.4051        .21975E-04   -1.5688    
   6  Prefactor     12.892        8.9818        .11152E-04   -1.5636    
   7  Prefactor     184.24        45.824        .29582E-05   -1.5436    
   8  norm           .0000        .35020        .57142E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        16.914        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.6759        .97210        .71745E-05   -1.5682    
  11  Prefactor     16.571        20.506        .98184E-05   -1.5627    
  12  norm           .0000        3.6294        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        5.1463        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .14988E-08    30.817        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.8800        1.6084        .69372E-05   -1.5664    
  16  norm          .62611        .77834        .96176E-05   -1.5692    
  17  Prefactor      .0000        5.8459        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .96892        .27634        .42529E-03   -.94079    
  19  Prefactor     .98650        .11771        .18385E-03   -.93181    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.37418e-09
Minuit parameter uncertainties:
  1  1.98318e-05
  2  0.000132935
  3  9.02015
  4  85.2734
  5  2.40513
  6  8.98181
  7  45.8236
  8  1.87045e-06
  9  1.32167e-05
  10  0.972098
  11  20.506
  12  5.98085e-06
  13  7.11851e-06
  14  0.000428447
  15  1.60843
  16  0.778336
  17  6.2679e-06
  18  0.276748
  19  0.117743
Done.

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

Extracting fit parameters...

4FGL J2200.1+2138
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  1.322e-05  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:  9.865e-01  1.177e-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:  9.689e-01  2.767e-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.27e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.97e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/866590/likelihoodResults_689040001_689299201_4FGL_J2200.1+2138_daily_bin1735.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) = 9869.77714063
delta logL = -0.0282536791146

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9869.7488871
delta logL = -1.51030690176e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34505E-05   1.0000          .0000       .10000E+07
     2 'Index     '    .97088       1.0000          .0000       10.000    
     3 'Normalizat'    .96901       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98646       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=   9869.749     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      228 TOTAL
                     EDM=   .81E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44409E-09    .13897        .42118E-03** at limit **
   2  Index         2.2131        6.7929        .45902        .10898E-09
   3  Normalizat    .96892        .58575E-03    .96003E-01   -.14921E-03
   4  Prefactor     .98649        .25659E-03    .46098E-01   -.53119E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.44089e-10
  Index      = 2.21307
  Normalizat = 0.968924
  Prefactor  = 0.986492
 **********
 **   18 **HESSE 
 **********

 FCN=   9869.749     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      255 TOTAL
                     EDM=   .30E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44409E-09    1.3445        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2131        8.8563        .50000       -.59123    
   3  Normalizat    .96892        .18164E-02    .42528E-03   -.94079    
   4  Prefactor     .98649        .79772E-03    .18385E-03   -.93181    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.95538e-13
Minuit parameter uncertainties:
  1  4.84394e-05
  2  49131
  3  0.00181639
  4  0.000797716
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/866590': 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): 102
logL (Free Index) = 9869.74888695
delta logL = 3.05590219796e-10

Extracting fit parameters...

4FGL J2200.1+2138
   Spectrum: PowerLaw
268    Prefactor:  4.441e-10  4.844e-05  0.000e+00  1.000e+06 ( 1.000e-14)
269        Index:  2.213e+00  4.913e+04  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:  9.865e-01  7.977e-04  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:  9.689e-01  1.816e-03  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/866590/cmap_HighResolution_689040001_689299201_4FGL_J2200.1+2138_daily_bin1735.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.97e-03', job_status='DONE', photon_flux_upper_limit='5.27e-08', time_completed='2022-11-05 00:48:33.279685', job_id='866590', GAL2='0.99', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1667634513.28', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='3.06e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.04' WHERE bin_id='1735' AND source_name='4FGL J2200.1+2138' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Nov  5 00:48:33 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0196>
Subject: Job 866590: <4FGL_J2200.1+2138_daily_bin1735> in cluster <slac> Done

Job <4FGL_J2200.1+2138_daily_bin1735> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Nov  5 00:35:19 2022
Job was executed on host(s) <bullet0196>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Nov  5 00:35:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Nov  5 00:35:20 2022
Terminated at Sat Nov  5 00:48:34 2022
Results reported at Sat Nov  5 00:48:34 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2200.1+2138_daily_bin1735 330.031 21.6382 689040001 689299201 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 :                                   692.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             354.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   793 sec.
    Turnaround time :                            795 sec.

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

