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


Performing analysis on: 4FGL_J2200.1+2138_daily_bin1731
RA = 330.031, Dec = 21.6382
tmin = 688003201, tmax = 688262401
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='551127', job_status='RUN', time_executed='2022-10-24 00:42:35.360863', time_epoch_executed='1666597355.36' WHERE source_name='4FGL J2200.1+2138' and cadence='daily' and bin_id='1731'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/551127

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/551127/ft1_4FGL_J2200.1+2138_daily_bin1731.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/551127/ft2_4FGL_J2200.1+2138_daily_bin1731.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/551127/ft1_4FGL_J2200.1+2138_daily_bin1731.fits outfile=/scratch/kocevski/551127/ft1_filteredMKT_4FGL_J2200.1+2138_daily_bin1731.fits ra=330.031 dec=21.6382 rad=12.0 tmin=688003201.0 tmax=688262401.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.52
user 3.30
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/551127/ft1_filtered_4FGL_J2200.1+2138_daily_bin1731.fits" evtable="EVENTS" scfile=/scratch/kocevski/551127/ft2_4FGL_J2200.1+2138_daily_bin1731.fits sctable="SC_DATA" outfile=/scratch/kocevski/551127/ltcube_688003201_688262401_4FGL_J2200.1+2138_daily_bin1731.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/551127/ft2_4FGL_J2200.1+2138_daily_bin1731.fits
.....................!
real 12.02
user 11.66
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/551127/ft1_filtered_4FGL_J2200.1+2138_daily_bin1731.fits evtable="EVENTS" scfile=/scratch/kocevski/551127/ft2_4FGL_J2200.1+2138_daily_bin1731.fits sctable="SC_DATA" expcube=/scratch/kocevski/551127/ltcube_688003201_688262401_4FGL_J2200.1+2138_daily_bin1731.fits outfile=/scratch/kocevski/551127/expmap_688003201_688262401_4FGL_J2200.1+2138_daily_bin1731.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/551127/ltcube_688003201_688262401_4FGL_J2200.1+2138_daily_bin1731.fits
.....................!
real 190.92
user 185.47
sys 5.10

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/551127/ft1_filtered_4FGL_J2200.1+2138_daily_bin1731.fits scfile=/scratch/kocevski/551127/ft2_4FGL_J2200.1+2138_daily_bin1731.fits outfile=/scratch/kocevski/551127/cmap_688003201_688262401_4FGL_J2200.1+2138_daily_bin1731.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/551127/ft1_filtered_4FGL_J2200.1+2138_daily_bin1731.fits scfile=/scratch/kocevski/551127/ft2_4FGL_J2200.1+2138_daily_bin1731.fits outfile=/scratch/kocevski/551127/cmap_HighResolution_688003201_688262401_4FGL_J2200.1+2138_daily_bin1731.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.39
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/551127/ft1_filtered_4FGL_J2200.1+2138_daily_bin1731.fits', '/scratch/kocevski/551127/ft2_4FGL_J2200.1+2138_daily_bin1731.fits', expMap='/scratch/kocevski/551127/expmap_688003201_688262401_4FGL_J2200.1+2138_daily_bin1731.fits', expCube='/scratch/kocevski/551127/ltcube_688003201_688262401_4FGL_J2200.1+2138_daily_bin1731.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/551127/Model_4FGL_J2200.1+2138_daily_bin1731.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/551127/ft1_filtered_4FGL_J2200.1+2138_daily_bin1731.fits
Spacecraft file(s): /scratch/kocevski/551127/ft2_4FGL_J2200.1+2138_daily_bin1731.fits
Exposure map: /scratch/kocevski/551127/expmap_688003201_688262401_4FGL_J2200.1+2138_daily_bin1731.fits
Exposure cube: /scratch/kocevski/551127/ltcube_688003201_688262401_4FGL_J2200.1+2138_daily_bin1731.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/551127/Model_4FGL_J2200.1+2138_daily_bin1731.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) = 8912.09801573

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.486       1.0000          .0000       .10000E+07
     2 'norm      '    1.2648       1.0000          .0000       .10000E+07
     3 'Prefactor '    6.0077       1.0000          .0000       .10000E+07
     4 'Prefactor '    198.70       1.0000          .0000       .10000E+07
     5 'norm      '    .15654E-07   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.5977       1.0000          .0000       .10000E+07
     7 'Prefactor '    .48039E-06   1.0000          .0000       .10000E+07
     8 'norm      '    .45533       1.0000          .0000       .10000E+07
     9 'Prefactor '    5.7103       1.0000          .0000       .10000E+07
    10 'norm      '     .0000       1.0000          .0000       .10000E+07
    11 'Prefactor '    33.201       1.0000          .0000       .10000E+07
    12 'norm      '    .62614       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.0056       1.0000          .0000       .10000E+07
    14 'Prefactor '    .87132       1.0000          .0000       .10000E+07
    15 'norm      '    1.8778       1.0000          .0000       .10000E+07
    16 'norm      '    .12274E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    13.211       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0934       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .89523       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=   8912.028     FROM MIGRAD    STATUS=CONVERGED     99 CALLS     1670 TOTAL
                     EDM=   .47E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.493        2.5839       -.14419E-06    .13544E-01
   2  norm          1.2640        6.1594        .16109E-05   -.25711E-03
   3  Prefactor     6.0077        2.6525       -.30262E-06   -.39197E-02
   4  Prefactor     198.69        1.7175        .29037E-07   -.41150E-01
   5  norm           .0000        1.7891       -.99783E-07** at limit **
   6  Prefactor     3.5977        5.7023       -.85605E-07   -.53213E-04
   7  Prefactor      .0000        13.209       -.11229E-06** at limit **
   8  norm          .45500        .64316       -.25698E-06    .18469E-02
   9  Prefactor     5.6267        17.912       -.21225E-05    .45129E-01
  10  norm           .0000        .15973       -.16817E-07** at limit **
  11  Prefactor     33.182        12.844       -.56443E-06   -.98414E-01
  12  norm          .62389        6.1633        .62318E-06    .25615E-02
  13  Prefactor     2.0050        6.3101       -.23108E-05   -.42357E-02
  14  Prefactor     .86530        5.9908       -.12430E-05   -.27024E-01
  15  norm          1.8779        .90373        .64675E-07    .77276E-03
  16  norm           .0000        .76904        .40036E-08** at limit **
  17  Prefactor     13.209        11.134       -.31536E-06    .30883E-02
  18  Normalizat    1.0933        .26049        .97657E-06   -.33709E-05
  19  Prefactor     .89533        .11515        .17139E-05   -.23713E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.4932
  norm       = 1.26399
  Prefactor  = 6.00773
  Prefactor  = 198.685
  norm       = 0
  Prefactor  = 3.59774
  Prefactor  = 0
  norm       = 0.454997
  Prefactor  = 5.62674
  norm       = 0
  Prefactor  = 33.1819
  norm       = 0.62389
  Prefactor  = 2.00502
  Prefactor  = 0.865303
  norm       = 1.87786
  norm       = 0
  Prefactor  = 13.2095
  Normalizat = 1.09326
  Prefactor  = 0.895328
 **********
 **   18 **HESSE 
 **********

 FCN=   8912.028     FROM HESSE     STATUS=OK           314 CALLS     1984 TOTAL
                     EDM=   .44E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.493        31.829        .24641E-03   -1.5627    
   2  norm          1.2640        7.0044        .99031E-03   -1.5685    
   3  Prefactor     6.0077        6.1120        .40942E-03   -1.5659    
   4  Prefactor     198.69        123.63        .70948E-04   -1.5426    
   5  norm           .0000        1.7670        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.5977        6.1217        .53249E-03   -1.5670    
   7  Prefactor      .0000        13.209        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .45500        .72773        .20070E-02   -1.5694    
   9  Prefactor     5.6267        48.168        .42010E-03   -1.5661    
  10  norm           .0000        .15964        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     33.182        20.395        .17357E-03   -1.5593    
  12  norm          .62389        6.1790        .66919E-03   -1.5692    
  13  Prefactor     2.0050        6.4909        .73088E-03   -1.5680    
  14  Prefactor     .86530        24.810        .47763E-03   -1.5689    
  15  norm          1.8779        .90570        .75949E-03   -1.5681    
  16  norm           .0000        .76775        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     13.209        11.169        .27533E-03   -1.5635    
  18  Normalizat    1.0933        .22157        .79826E-01   -.89969    
  19  Prefactor     .89533        .96453E-01    .44944E-01   -.96305    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.41589e-06
Minuit parameter uncertainties:
  1  31.8293
  2  5.95098
  3  6.11204
  4  123.627
  5  1.11929e-05
  6  6.12175
  7  2.1855e-05
  8  0.72773
  9  32.9262
  10  7.06132e-07
  11  20.3946
  12  3.92684
  13  6.49095
  14  9.26688
  15  0.905702
  16  3.57248e-06
  17  11.1689
  18  0.221756
  19  0.0964712
Done.

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

Extracting fit parameters...

4FGL J2200.1+2138
   Spectrum: PowerLaw
268    Prefactor:  5.627e+00  3.293e+01  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:  8.953e-01  9.647e-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:  1.093e+00  2.218e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/551127/likelihoodResults_688003201_688262401_4FGL_J2200.1+2138_daily_bin1731.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) = 8911.97483517
delta logL = 0.0530196595537

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8911.97392225
delta logL = 0.0539325824393

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.9723       1.0000          .0000       .10000E+07
     2 'Index     '    2.5757       1.0000          .0000       10.000    
     3 'Normalizat'    1.0855       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89633       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=   8911.974     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      246 TOTAL
                     EDM=   .31E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9576        377.69        .45077E-03    .90537E-03
   2  Index         2.5763        2.4679        .23278        .59235E-04
   3  Normalizat    1.0855        .35821E-01    .80082E-01    .49355E-04
   4  Prefactor     .89631        .16030E-01    .44958E-01    .58557E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.95765
  Index      = 2.57629
  Normalizat = 1.08553
  Prefactor  = 0.896306
 **********
 **   18 **HESSE 
 **********

 FCN=   8911.974     FROM HESSE     STATUS=OK            33 CALLS      279 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9576        34.324        .18031E-04   -1.5663    
   2  Index         2.5763        1.9303        .88107E-02   -.50607    
   3  Normalizat    1.0855        .25060        .35451E-03   -.90218    
   4  Prefactor     .89631        .11424        .17599E-03   -.96270    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.91765e-11
Minuit parameter uncertainties:
  1  26.0898
  2  1.99922
  3  0.25087
  4  0.114275
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/551127': 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) = 8911.97392194
delta logL = 0.053932888668

Extracting fit parameters...

4FGL J2200.1+2138
   Spectrum: PowerLaw
268    Prefactor:  4.958e+00  2.609e+01  0.000e+00  1.000e+06 ( 1.000e-14)
269        Index:  2.576e+00  1.999e+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:  8.963e-01  1.143e-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:  1.086e+00  2.509e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
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/551127/cmap_HighResolution_688003201_688262401_4FGL_J2200.1+2138_daily_bin1731.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.83e-03', job_status='DONE', photon_flux_upper_limit='6.42e-08', time_completed='2022-10-24 00:54:18.498732', job_id='551127', GAL2='0.90', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1666598058.5', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='5.39e-02', ts2='0.14', photon_index_error='0.00', photon_index='2.04' WHERE bin_id='1731' AND source_name='4FGL J2200.1+2138' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Oct 24 00:54:18 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0123>
Subject: Job 551127: <4FGL_J2200.1+2138_daily_bin1731> in cluster <slac> Done

Job <4FGL_J2200.1+2138_daily_bin1731> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Oct 24 00:40:21 2022
Job was executed on host(s) <bullet0123>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Oct 24 00:40:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Oct 24 00:40:22 2022
Terminated at Mon Oct 24 00:54:19 2022
Results reported at Mon Oct 24 00:54:19 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2200.1+2138_daily_bin1731 330.031 21.6382 688003201 688262401 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 :                                   705.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             270.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   836 sec.
    Turnaround time :                            838 sec.

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

