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


Performing analysis on: 4FGL_J2200.1+2138_daily_bin1748
RA = 330.031, Dec = 21.6382
tmin = 692409601, tmax = 692668801
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='898136', job_status='RUN', time_executed='2022-12-14 01:21:23.116412', time_epoch_executed='1671009683.12' WHERE source_name='4FGL J2200.1+2138' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/898136

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/898136/ft1_4FGL_J2200.1+2138_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/898136/ft2_4FGL_J2200.1+2138_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/898136/ft1_4FGL_J2200.1+2138_daily_bin1748.fits outfile=/scratch/kocevski/898136/ft1_filteredMKT_4FGL_J2200.1+2138_daily_bin1748.fits ra=330.031 dec=21.6382 rad=12.0 tmin=692409601.0 tmax=692668801.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.59
user 3.36
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/898136/ft2_4FGL_J2200.1+2138_daily_bin1748.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/898136/ft1_filteredMKT_4FGL_J2200.1+2138_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/898136/ft1_filtered_4FGL_J2200.1+2138_daily_bin1748.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.50
user 0.35
sys 0.14

Number of photons that the gtmktime cut: 855

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/898136/ft1_filtered_4FGL_J2200.1+2138_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/898136/ft2_4FGL_J2200.1+2138_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/898136/ltcube_692409601_692668801_4FGL_J2200.1+2138_daily_bin1748.fits outfile=/scratch/kocevski/898136/expmap_692409601_692668801_4FGL_J2200.1+2138_daily_bin1748.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/898136/ltcube_692409601_692668801_4FGL_J2200.1+2138_daily_bin1748.fits
.....................!
real 191.25
user 186.21
sys 4.40

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/898136/ft1_filtered_4FGL_J2200.1+2138_daily_bin1748.fits scfile=/scratch/kocevski/898136/ft2_4FGL_J2200.1+2138_daily_bin1748.fits outfile=/scratch/kocevski/898136/cmap_692409601_692668801_4FGL_J2200.1+2138_daily_bin1748.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/898136/ft1_filtered_4FGL_J2200.1+2138_daily_bin1748.fits scfile=/scratch/kocevski/898136/ft2_4FGL_J2200.1+2138_daily_bin1748.fits outfile=/scratch/kocevski/898136/cmap_HighResolution_692409601_692668801_4FGL_J2200.1+2138_daily_bin1748.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.55
user 0.40
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.033       1.0000          .0000       .10000E+07
     2 'norm      '    .23869E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .53357E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .17451E-02   1.0000          .0000       .10000E+07
     5 'norm      '    2.1986       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.3243       1.0000          .0000       .10000E+07
     7 'Prefactor '    .13294E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .14655E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .32777       1.0000          .0000       .10000E+07
    10 'norm      '    .27399       1.0000          .0000       .10000E+07
    11 'Prefactor '    .23830E-02   1.0000          .0000       .10000E+07
    12 'norm      '    .21622E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .22108E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    4.1488       1.0000          .0000       .10000E+07
    15 'norm      '    1.6855       1.0000          .0000       .10000E+07
    16 'norm      '    2.7150       1.0000          .0000       .10000E+07
    17 'Prefactor '    .17359E-03   1.0000          .0000       .10000E+07
    18 'Normalizat'    .89385       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0084       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=   8935.552     FROM MIGRAD    STATUS=CONVERGED    130 CALLS     1420 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.127        4.7880       -.39602E-07    .25555    
   2  norm           .0000        4.0686       -.17704E-07** at limit **
   3  Prefactor      .0000        1.6025       -.80800E-08** at limit **
   4  Prefactor     .12099E-05    136.59       -.13425E-06** at limit **
   5  norm          2.1981        1.9687        .24835E-07    .64581E-03
   6  Prefactor     5.2699        7.2074        .92049E-07    .27101E-02
   7  Prefactor     .10159E-07    12.919        .12575E-06** at limit **
   8  norm           .0000        .26595       -.59887E-08** at limit **
   9  Prefactor     .11841E-05    47.695        .11165E-05** at limit **
  10  norm          .27497        .69547        .59631E-07    .13948E-02
  11  Prefactor     .16653E-09    5.8364       -.42591E-07** at limit **
  12  norm          .20205E-01    63.124       -.21358E-05** at limit **
  13  Prefactor     .44631E-07    10.011       -.10921E-06** at limit **
  14  Prefactor     4.1829        1.5975        .64983E-07    .29852E-01
  15  norm          1.6841        1.0930       -.17880E-09   -.17688E-04
  16  norm          2.7149        1.4433       -.27604E-10    .34777E-03
  17  Prefactor      .0000        2.8033        .22046E-07** at limit **
  18  Normalizat    .89401        .24798       -.74267E-06   -.18861E-04
  19  Prefactor     1.0086        .11458        .51912E-07   -.36513E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.1273
  norm       = 0
  Prefactor  = 0
  Prefactor  = 1.20992e-06
  norm       = 2.19805
  Prefactor  = 5.26985
  Prefactor  = 1.01585e-08
  norm       = 0
  Prefactor  = 1.18405e-06
  norm       = 0.274971
  Prefactor  = 1.66533e-10
  norm       = 0.0202055
  Prefactor  = 4.4631e-08
  Prefactor  = 4.18293
  norm       = 1.68407
  norm       = 2.71492
  Prefactor  = 0
  Normalizat = 0.894015
  Prefactor  = 1.00855
 **********
 **   18 **HESSE 
 **********

 FCN=   8935.552     FROM HESSE     STATUS=OK           308 CALLS     1728 TOTAL
                     EDM=   .31E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.127        36.411        .18562E-03   -1.5600    
   2  norm           .0000        4.0449        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.6125        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .12099E-05    137.49        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.1981        1.9752        .69365E-03   -1.5678    
   6  Prefactor     5.2699        7.2353        .43532E-03   -1.5662    
   7  Prefactor     .10159E-07    12.937        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        .26317        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .11841E-05    47.026        .98382E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .27497        .70658        .10584E-02   -1.5697    
  11  Prefactor     .16653E-09    5.8459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .20205E-01    1.6521        .62514E-02   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .44631E-07    10.034        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.1829        10.817        .49461E-03   -1.5667    
  15  norm          1.6841        1.0950        .81081E-04   -1.5682    
  16  norm          2.7149        1.4431        .61786E-03   -1.5675    
  17  Prefactor      .0000        2.8079        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .89401        .21949        .85970E-01   -.96671    
  19  Prefactor     1.0086        .97565E-01    .43568E-01   -.92445    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.08124e-06
Minuit parameter uncertainties:
  1  36.4115
  2  4.7529e-06
  3  1.26088e-06
  4  0.0257963
  5  1.97521
  6  7.2353
  7  0.000725397
  8  2.2522e-07
  9  0.014924
  10  0.706578
  11  5.79463e-05
  12  0.365413
  13  0.00133863
  14  10.8173
  15  1.09501
  16  1.44306
  17  8.0759e-06
  18  0.219709
  19  0.0975824
Done.

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

Extracting fit parameters...

4FGL J2200.1+2138
   Spectrum: PowerLaw
268    Prefactor:  1.184e-06  1.492e-02  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.009e+00  9.758e-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:  8.940e-01  2.197e-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.56e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.19e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/898136/likelihoodResults_692409601_692668801_4FGL_J2200.1+2138_daily_bin1748.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) = 8935.56272384
delta logL = -0.0103885838889

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 1
logL (Free Index) = 8935.39732993
delta logL = 0.155005324996

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27200E-08   1.0000          .0000       .10000E+07
     2 'Index     '    9.9998       1.0000          .0000       10.000    
     3 'Normalizat'    .85510       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0210       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=   8935.552     FROM MIGRAD    STATUS=CONVERGED    131 CALLS      852 TOTAL
                     EDM=   .15E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        23.829        .57278E-06** at limit **
   2  Index         1.3953        .41418E-01   -.39207E-06     .0000    
   3  Normalizat    .89401        .24501        .87594E-05    .59367E-05
   4  Prefactor     1.0086        .11390       -.77552E-05   -.27581E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.39533
  Normalizat = 0.894015
  Prefactor  = 1.00855
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8935.552     FROM HESSE     STATUS=FAILED        11 CALLS      863 TOTAL
                     EDM=   .15E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        23.813        .42118E-03   -1220.5    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .16250        1.4167       -.39207E-06   -90347.    
   3  Normalizat    .89401        1.2168        .87594E-05   -2.1749    
   4  Prefactor     1.0086        1.2290       -.77552E-05   -2.2171    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.46978e-12
Minuit parameter uncertainties:
  1  3.03372e-05
  2  1.11159
  3  1.2576
  4  1.26595
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/898136': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 8935.55233524
delta logL = 1.24819052871e-08

Extracting fit parameters...

4FGL J2200.1+2138
   Spectrum: PowerLaw
268    Prefactor:  0.000e+00  3.034e-05  0.000e+00  1.000e+06 ( 1.000e-14)
269        Index:  1.395e+00  1.112e+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.009e+00  1.266e+00  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:  8.940e-01  1.258e+00  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/898136/cmap_HighResolution_692409601_692668801_4FGL_J2200.1+2138_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.19e-03', job_status='DONE', photon_flux_upper_limit='5.56e-08', time_completed='2022-12-14 01:33:51.683085', job_id='898136', GAL2='1.01', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1671010431.68', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='1.25e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.04' WHERE bin_id='1748' AND source_name='4FGL J2200.1+2138' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:33:51 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 898136: <4FGL_J2200.1+2138_daily_bin1748> in cluster <slac> Done

Job <4FGL_J2200.1+2138_daily_bin1748> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec 14 01:20:21 2022
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 01:20:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 01:20:22 2022
Terminated at Wed Dec 14 01:33:52 2022
Results reported at Wed Dec 14 01:33:52 2022

Your job looked like:

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

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

