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


Performing analysis on: 4FGL_J2200.1+2138_daily_bin1747
RA = 330.031, Dec = 21.6382
tmin = 692150401, tmax = 692409601
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='816055', job_status='RUN', time_executed='2022-12-11 01:53:08.217971', time_epoch_executed='1670752388.22' WHERE source_name='4FGL J2200.1+2138' and cadence='daily' and bin_id='1747'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/816055

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/816055/ft1_4FGL_J2200.1+2138_daily_bin1747.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/816055/ft2_4FGL_J2200.1+2138_daily_bin1747.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/816055/ft1_4FGL_J2200.1+2138_daily_bin1747.fits outfile=/scratch/kocevski/816055/ft1_filteredMKT_4FGL_J2200.1+2138_daily_bin1747.fits ra=330.031 dec=21.6382 rad=12.0 tmin=692150401.0 tmax=692409601.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.98
user 3.73
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/816055/ft1_filtered_4FGL_J2200.1+2138_daily_bin1747.fits" evtable="EVENTS" scfile=/scratch/kocevski/816055/ft2_4FGL_J2200.1+2138_daily_bin1747.fits sctable="SC_DATA" outfile=/scratch/kocevski/816055/ltcube_692150401_692409601_4FGL_J2200.1+2138_daily_bin1747.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/816055/ft2_4FGL_J2200.1+2138_daily_bin1747.fits
.....................!
real 12.04
user 11.67
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/816055/ft1_filtered_4FGL_J2200.1+2138_daily_bin1747.fits evtable="EVENTS" scfile=/scratch/kocevski/816055/ft2_4FGL_J2200.1+2138_daily_bin1747.fits sctable="SC_DATA" expcube=/scratch/kocevski/816055/ltcube_692150401_692409601_4FGL_J2200.1+2138_daily_bin1747.fits outfile=/scratch/kocevski/816055/expmap_692150401_692409601_4FGL_J2200.1+2138_daily_bin1747.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/816055/ltcube_692150401_692409601_4FGL_J2200.1+2138_daily_bin1747.fits
.....................!
real 192.58
user 186.74
sys 5.51

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/816055/ft1_filtered_4FGL_J2200.1+2138_daily_bin1747.fits scfile=/scratch/kocevski/816055/ft2_4FGL_J2200.1+2138_daily_bin1747.fits outfile=/scratch/kocevski/816055/cmap_692150401_692409601_4FGL_J2200.1+2138_daily_bin1747.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/816055/ft1_filtered_4FGL_J2200.1+2138_daily_bin1747.fits scfile=/scratch/kocevski/816055/ft2_4FGL_J2200.1+2138_daily_bin1747.fits outfile=/scratch/kocevski/816055/cmap_HighResolution_692150401_692409601_4FGL_J2200.1+2138_daily_bin1747.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.56
user 0.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38880E-02   1.0000          .0000       .10000E+07
     2 'norm      '    7.4952       1.0000          .0000       .10000E+07
     3 'Prefactor '    4.7126       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.0403       1.0000          .0000       .10000E+07
     5 'norm      '    1.2121       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.7830       1.0000          .0000       .10000E+07
     7 'Prefactor '    31.832       1.0000          .0000       .10000E+07
     8 'norm      '    .77716E-09   1.0000          .0000       .10000E+07
     9 'Prefactor '    .58604E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .77716E-09   1.0000          .0000       .10000E+07
    11 'Prefactor '    1.7481       1.0000          .0000       .10000E+07
    12 'norm      '    .45430E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .35162E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    2.4854       1.0000          .0000       .10000E+07
    15 'norm      '    .38047       1.0000          .0000       .10000E+07
    16 'norm      '    3.8145       1.0000          .0000       .10000E+07
    17 'Prefactor '    6.4098       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.2325       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .72133       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=   8095.410     FROM MIGRAD    STATUS=CONVERGED    153 CALLS     1176 TOTAL
                     EDM=   .12E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        18.530       -.11040E-06** at limit **
   2  norm          7.5076        4.4423       -.27059E-07    .62123E-04
   3  Prefactor     4.6963        7.1873        .28084E-06   -.32114E-06
   4  Prefactor     .55511E-10    580.63        .10824E-06** at limit **
   5  norm          1.1908        2.3074       -.11594E-06    .88133E-04
   6  Prefactor     5.8107        5.5746        .32551E-07   -.19143E-04
   7  Prefactor     32.994        29.209       -.52066E-07    .88775E-05
   8  norm           .0000        .47609        .23836E-07** at limit **
   9  Prefactor      .0000        13.657       -.28294E-06** at limit **
  10  norm           .0000        .40840       -.17599E-07** at limit **
  11  Prefactor     1.8916        20.198        .38579E-06    .26515E-04
  12  norm           .0000        2.2275        .26917E-07** at limit **
  13  Prefactor      .0000        4.3540        .24536E-07** at limit **
  14  Prefactor     2.4858        8.7198       -.34875E-07   -.72109E-05
  15  norm          .38216        1.0017       -.43282E-07    .61009E-04
  16  norm          3.8159        1.7468       -.94882E-08    .95890E-04
  17  Prefactor     6.4089        6.5960        .27939E-07    .19438E-04
  18  Normalizat    1.2310        .24305       -.11230E-06    .21507E-05
  19  Prefactor     .72150        .10560       -.16426E-06    .58377E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  norm       = 7.5076
  Prefactor  = 4.69629
  Prefactor  = 5.55112e-11
  norm       = 1.19075
  Prefactor  = 5.81071
  Prefactor  = 32.9943
  norm       = 0
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.89162
  norm       = 0
  Prefactor  = 0
  Prefactor  = 2.48576
  norm       = 0.382159
  norm       = 3.81594
  Prefactor  = 6.40894
  Normalizat = 1.23097
  Prefactor  = 0.721495
 **********
 **   18 **HESSE 
 **********

 FCN=   8095.410     FROM HESSE     STATUS=OK           308 CALLS     1484 TOTAL
                     EDM=   .18E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        18.555        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          7.5076        4.4447        .36609E-03   -1.5653    
   3  Prefactor     4.6963        7.1870        .46329E-03   -1.5665    
   4  Prefactor     .55511E-10    573.59        .12276E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.1908        2.3800        .10267E-02   -1.5686    
   6  Prefactor     5.8107        5.5882        .41742E-03   -1.5660    
   7  Prefactor     32.994        29.655        .17727E-03   -1.5593    
   8  norm           .0000        .46626        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        13.642        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        .40057        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.8916        20.171        .79281E-03   -1.5680    
  12  norm           .0000        2.2226        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        4.3565        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.4858        8.7114        .64815E-03   -1.5676    
  15  norm          .38216        1.0049        .91785E-03   -1.5696    
  16  norm          3.8159        1.7453        .51655E-03   -1.5669    
  17  Prefactor     6.4089        6.5951        .39620E-03   -1.5657    
  18  Normalizat    1.2310        .20616        .69967E-01   -.85651    
  19  Prefactor     .72150        .89018E-01    .42684E-01   -1.0269    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8028e-07
Minuit parameter uncertainties:
  1  1.37576e-06
  2  4.4447
  3  7.187
  4  0.000306658
  5  2.37997
  6  5.58818
  7  29.6548
  8  7.8493e-08
  9  2.97482e-06
  10  3.813e-08
  11  12.3543
  12  2.86838e-07
  13  4.94034e-07
  14  8.71144
  15  1.00486
  16  1.74528
  17  6.59508
  18  0.206293
  19  0.0890353
Done.

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

Extracting fit parameters...

4FGL J2200.1+2138
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  2.975e-06  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:  7.215e-01  8.904e-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.231e+00  2.063e-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: 4.42e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.33e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/816055/likelihoodResults_692150401_692409601_4FGL_J2200.1+2138_daily_bin1747.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) = 8095.44473784
delta logL = -0.0350220720138

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8095.40971611
delta logL = -3.35589902534e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .52242E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .26932       1.0000          .0000       10.000    
     3 'Normalizat'    1.2311       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72142       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=   8095.410     FROM MIGRAD    STATUS=CONVERGED     67 CALLS      245 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    544.65        .42118E-03** at limit **
   2  Index         2.3350        6.1546        .51000        .13375E-10
   3  Normalizat    1.2310        .39262E-01    .69967E-01    .16020E-03
   4  Prefactor     .72150        .17751E-01    .42686E-01    .29898E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 2.33504
  Normalizat = 1.23097
  Prefactor  = 0.721496
 **********
 **   18 **HESSE 
 **********

 FCN=   8095.410     FROM HESSE     STATUS=OK            27 CALLS      272 TOTAL
                     EDM=   .41E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    11.634        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3350        6.1653        .51000       -.56213    
   3  Normalizat    1.2310        .23094        .30958E-03   -.85651    
   4  Prefactor     .72150        .10456        .17694E-03   -1.0269    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.1053e-11
Minuit parameter uncertainties:
  1  5.67092e-05
  2  4.4446
  3  0.231131
  4  0.104586
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/816055': 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) = 8095.40971577
delta logL = -2.0008883439e-11

Extracting fit parameters...

4FGL J2200.1+2138
   Spectrum: PowerLaw
268    Prefactor:  5.551e-11  5.671e-05  0.000e+00  1.000e+06 ( 1.000e-14)
269        Index:  2.335e+00  4.445e+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:  7.215e-01  1.046e-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.231e+00  2.311e-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/816055/cmap_HighResolution_692150401_692409601_4FGL_J2200.1+2138_daily_bin1747.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.33e-03', job_status='DONE', photon_flux_upper_limit='4.42e-08', time_completed='2022-12-11 02:03:42.104984', job_id='816055', GAL2='0.72', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1670753022.11', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='-2.00e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.04' WHERE bin_id='1747' AND source_name='4FGL J2200.1+2138' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Dec 11 02:03:42 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 816055: <4FGL_J2200.1+2138_daily_bin1747> in cluster <slac> Done

Job <4FGL_J2200.1+2138_daily_bin1747> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sun Dec 11 01:50:12 2022
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Dec 11 01:50:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Dec 11 01:50:15 2022
Terminated at Sun Dec 11 02:03:42 2022
Results reported at Sun Dec 11 02:03:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2200.1+2138_daily_bin1747 330.031 21.6382 692150401 692409601 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 :                                   636.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   807 sec.
    Turnaround time :                            810 sec.

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

