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


Performing analysis on: 4FGL_J2200.1+2138_daily_bin1776
RA = 330.031, Dec = 21.6382
tmin = 699667201, tmax = 699926401
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='843402', job_status='RUN', time_executed='2023-03-08 01:16:09.814931', time_epoch_executed='1678266969.81' WHERE source_name='4FGL J2200.1+2138' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/843402

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/843402/ft1_4FGL_J2200.1+2138_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/843402/ft2_4FGL_J2200.1+2138_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/843402/ft1_4FGL_J2200.1+2138_daily_bin1776.fits outfile=/scratch/kocevski/843402/ft1_filteredMKT_4FGL_J2200.1+2138_daily_bin1776.fits ra=330.031 dec=21.6382 rad=12.0 tmin=699667201.0 tmax=699926401.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.94
user 3.70
sys 0.21

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

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

Number of photons that the gtmktime cut: 888

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/843402/ft1_filtered_4FGL_J2200.1+2138_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/843402/ft2_4FGL_J2200.1+2138_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/843402/ltcube_699667201_699926401_4FGL_J2200.1+2138_daily_bin1776.fits outfile=/scratch/kocevski/843402/expmap_699667201_699926401_4FGL_J2200.1+2138_daily_bin1776.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/843402/ltcube_699667201_699926401_4FGL_J2200.1+2138_daily_bin1776.fits
.....................!
real 189.97
user 184.80
sys 4.84

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/843402/ft1_filtered_4FGL_J2200.1+2138_daily_bin1776.fits scfile=/scratch/kocevski/843402/ft2_4FGL_J2200.1+2138_daily_bin1776.fits outfile=/scratch/kocevski/843402/cmap_699667201_699926401_4FGL_J2200.1+2138_daily_bin1776.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.57
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/843402/ft1_filtered_4FGL_J2200.1+2138_daily_bin1776.fits scfile=/scratch/kocevski/843402/ft2_4FGL_J2200.1+2138_daily_bin1776.fits outfile=/scratch/kocevski/843402/cmap_HighResolution_699667201_699926401_4FGL_J2200.1+2138_daily_bin1776.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15502E-04   1.0000          .0000       .10000E+07
     2 'norm      '    .36797E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .19795       1.0000          .0000       .10000E+07
     4 'Prefactor '    .72261E-03   1.0000          .0000       .10000E+07
     5 'norm      '    1.2890       1.0000          .0000       .10000E+07
     6 'Prefactor '    5.7813       1.0000          .0000       .10000E+07
     7 'Prefactor '    .12744E-01   1.0000          .0000       .10000E+07
     8 'norm      '    .17059E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    47.754       1.0000          .0000       .10000E+07
    10 'norm      '    2.2100       1.0000          .0000       .10000E+07
    11 'Prefactor '    45.363       1.0000          .0000       .10000E+07
    12 'norm      '    3.0560       1.0000          .0000       .10000E+07
    13 'Prefactor '    .77698       1.0000          .0000       .10000E+07
    14 'Prefactor '    11.050       1.0000          .0000       .10000E+07
    15 'norm      '    1.7232       1.0000          .0000       .10000E+07
    16 'norm      '    .17875E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    .35031E-03   1.0000          .0000       .10000E+07
    18 'Normalizat'    .83076       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0338       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=   9751.751     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     1436 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .47184E-08    21.996        .76615E-08** at limit **
   2  norm          .55511E-10    1.5322       -.47831E-07** at limit **
   3  Prefactor     .45094        31.360        .60771E-06    .15878E-02
   4  Prefactor     .19300E-05    30.742       -.11859E-06** at limit **
   5  norm          1.2976        2.0091        .44045E-08    .12708E-03
   6  Prefactor     5.8423        8.2379        .25249E-06    .59711E-02
   7  Prefactor     .19107E-04    76.391       -.36873E-06** at limit **
   8  norm           .0000        .28221       -.69744E-08** at limit **
   9  Prefactor     48.666        14.501        .24169E-07   -.28559    
  10  norm          2.2130        1.1568        .86388E-09   -.15091E-02
  11  Prefactor     46.491        15.650        .19766E-07    .51764E-02
  12  norm          3.1040        5.4240       -.35285E-08   -.83917E-03
  13  Prefactor     1.6457        20.363       -.11496E-06    .30268E-01
  14  Prefactor     11.423        12.796       -.48870E-07    .15463E-02
  15  norm          1.7292        1.2951        .13229E-07    .28645E-02
  16  norm           .0000        .48504        .13556E-07** at limit **
  17  Prefactor      .0000        2.3067       -.20650E-07** at limit **
  18  Normalizat    .82350        .26797        .59170E-06   -.50841E-04
  19  Prefactor     1.0347        .11387       -.90186E-06   -.21348E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.71845e-09
  norm       = 5.55112e-11
  Prefactor  = 0.450944
  Prefactor  = 1.93001e-06
  norm       = 1.29763
  Prefactor  = 5.84233
  Prefactor  = 1.91068e-05
  norm       = 0
  Prefactor  = 48.6655
  norm       = 2.21297
  Prefactor  = 46.4909
  norm       = 3.10402
  Prefactor  = 1.64574
  Prefactor  = 11.4231
  norm       = 1.72917
  norm       = 0
  Prefactor  = 0
  Normalizat = 0.823496
  Prefactor  = 1.03471
 **********
 **   18 **HESSE 
 **********

 FCN=   9751.751     FROM HESSE     STATUS=OK           310 CALLS     1746 TOTAL
                     EDM=   .46E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .47184E-08    25.840        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .55511E-10    1.5378        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .45094        5.5432        .77882E-02   -1.5695    
   4  Prefactor     .19300E-05    31.168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.2976        2.0353        .97534E-03   -1.5685    
   6  Prefactor     5.8423        8.2264        .41748E-03   -1.5660    
   7  Prefactor     .19107E-04    79.892        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        .28020        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     48.666        48.776        .14472E-03   -1.5568    
  10  norm          2.2130        1.1630        .69165E-03   -1.5678    
  11  Prefactor     46.491        22.535        .14849E-03   -1.5572    
  12  norm          3.1040        5.4631        .58008E-03   -1.5673    
  13  Prefactor     1.6457        32.052        .54667E-03   -1.5682    
  14  Prefactor     11.423        12.790        .30114E-03   -1.5640    
  15  norm          1.7292        1.3134        .79980E-03   -1.5682    
  16  norm           .0000        .48865        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        2.3042        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .82350        .24209        .97887E-01   -.99203    
  19  Prefactor     1.0347        .98964E-01    .40966E-01   -.91581    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.56035e-06
Minuit parameter uncertainties:
  1  0.000699982
  2  1.74409e-05
  3  3.16208
  4  0.0155118
  5  2.03535
  6  8.22639
  7  0.0781415
  8  1.12763e-06
  9  48.7762
  10  1.16295
  11  22.5349
  12  5.46307
  13  14.5257
  14  12.7901
  15  1.3134
  16  2.947e-06
  17  1.2207e-05
  18  0.242404
  19  0.0989813
Done.

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

Extracting fit parameters...

4FGL J2200.1+2138
   Spectrum: PowerLaw
268    Prefactor:  4.867e+01  4.878e+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:  1.035e+00  9.898e-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.235e-01  2.424e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.62
Ra Dec: 330.031 21.638
Photon Index (Fixed Index): 2.04 +/- 0.00
Photon Flux (Fixed Index): 3.16e-08 +/- 3.17e-08
Energy Flux (Fixed Index): 1.97e-05 +/- 1.97e-05

TS (Fixed Index): 1.62
Ra Dec: 330.031 21.638
Photon Flux Upper Limit: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.90e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/843402/likelihoodResults_699667201_699926401_4FGL_J2200.1+2138_daily_bin1776.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) = 9751.73818037
delta logL = 0.0128029535863

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9751.73105734
delta logL = 0.0199259842411

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    41.986       1.0000          .0000       .10000E+07
     2 'Index     '    2.1593       1.0000          .0000       10.000    
     3 'Normalizat'    .82023       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0353       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9751.731     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      276 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     41.940        59.691        .61737E-05   -.20492E-02
   2  Index         2.1597        .63329        .65704E-02   -.11568E-03
   3  Normalizat    .81936        .25266        .43472E-03    .16387E-03
   4  Prefactor     1.0357        .11181        .17182E-03   -.38870E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 41.9396
  Index      = 2.15974
  Normalizat = 0.819361
  Prefactor  = 1.03569
 **********
 **   18 **HESSE 
 **********

 FCN=   9751.731     FROM HESSE     STATUS=OK            25 CALLS      301 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     41.940        55.607        .12347E-05   -1.5578    
   2  Index         2.1597        .59003        .26282E-03   -.60414    
   3  Normalizat    .81936        .25260        .17389E-04   -.99354    
   4  Prefactor     1.0357        .11181        .34363E-04   -.91549    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07315e-09
Minuit parameter uncertainties:
  1  55.6077
  2  0.59207
  3  0.252965
  4  0.111834
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/843402': 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) = 9751.73105081
delta logL = 0.0199325137055

Extracting fit parameters...

4FGL J2200.1+2138
   Spectrum: PowerLaw
268    Prefactor:  4.194e+01  5.561e+01  0.000e+00  1.000e+06 ( 1.000e-14)
269        Index:  2.160e+00  5.921e-01  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.036e+00  1.118e-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:  8.194e-01  2.530e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.67
Ra Dec: 330.031 21.638
Photon Index (Free Index): 2.16 +/- 0.59
Photon Flux (Free Index): 3.55e-08 +/- 3.91e-08
Energy Flux (Free Index): 1.72e-05 +/- 2.06e-05

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/843402/cmap_HighResolution_699667201_699926401_4FGL_J2200.1+2138_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.90e-03', comment='SUCCESS', photon_flux='3.16e-08', energy_flux2='1.72e-05', photon_flux_error='3.17e-08', dlogl='1.99e-02', energy_flux='1.97e-05', photon_flux2='3.55e-08', job_status='DONE', time_completed='2023-03-08 01:27:59.367459', photon_index_error2='0.59', photon_index2='2.16', ts='1.62', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='1.05e-07', energy_flux_error2='2.06e-05', EG='0.82', time_epoch_completed='1678267679.37', return_code='0', job_id='843402', GAL2='1.04', EG2='0.82', return_code2='0', energy_flux_error='1.97e-05', photon_flux_error2='3.91e-08', ts2='1.67', photon_index='2.04' WHERE bin_id='1776' AND source_name='4FGL J2200.1+2138' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 01:27:59 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0103>
Subject: Job 843402: <4FGL_J2200.1+2138_daily_bin1776> in cluster <slac> Done

Job <4FGL_J2200.1+2138_daily_bin1776> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Mar  8 01:15:18 2023
Job was executed on host(s) <bullet0103>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 01:15:20 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 01:15:20 2023
Terminated at Wed Mar  8 01:28:00 2023
Results reported at Wed Mar  8 01:28:00 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2200.1+2138_daily_bin1776 330.031 21.6382 699667201 699926401 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 :                                   712.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             364.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   759 sec.
    Turnaround time :                            762 sec.

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

