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


Performing analysis on: 4FGL_J2200.1+2138_daily_bin1739
RA = 330.031, Dec = 21.6382
tmin = 690076801, tmax = 690336001
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='654672', job_status='RUN', time_executed='2022-11-17 01:15:12.221862', time_epoch_executed='1668676512.22' WHERE source_name='4FGL J2200.1+2138' and cadence='daily' and bin_id='1739'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/654672

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/654672/ft1_4FGL_J2200.1+2138_daily_bin1739.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/654672/ft2_4FGL_J2200.1+2138_daily_bin1739.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/654672/ft1_4FGL_J2200.1+2138_daily_bin1739.fits outfile=/scratch/kocevski/654672/ft1_filteredMKT_4FGL_J2200.1+2138_daily_bin1739.fits ra=330.031 dec=21.6382 rad=12.0 tmin=690076801.0 tmax=690336001.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 4.30
user 4.02
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/654672/ft2_4FGL_J2200.1+2138_daily_bin1739.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/654672/ft1_filteredMKT_4FGL_J2200.1+2138_daily_bin1739.fits evtable="EVENTS" outfile="/scratch/kocevski/654672/ft1_filtered_4FGL_J2200.1+2138_daily_bin1739.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.75
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 833

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/654672/ft1_filtered_4FGL_J2200.1+2138_daily_bin1739.fits evtable="EVENTS" scfile=/scratch/kocevski/654672/ft2_4FGL_J2200.1+2138_daily_bin1739.fits sctable="SC_DATA" expcube=/scratch/kocevski/654672/ltcube_690076801_690336001_4FGL_J2200.1+2138_daily_bin1739.fits outfile=/scratch/kocevski/654672/expmap_690076801_690336001_4FGL_J2200.1+2138_daily_bin1739.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/654672/ltcube_690076801_690336001_4FGL_J2200.1+2138_daily_bin1739.fits
.....................!
real 190.89
user 185.28
sys 5.25

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/654672/ft1_filtered_4FGL_J2200.1+2138_daily_bin1739.fits scfile=/scratch/kocevski/654672/ft2_4FGL_J2200.1+2138_daily_bin1739.fits outfile=/scratch/kocevski/654672/cmap_690076801_690336001_4FGL_J2200.1+2138_daily_bin1739.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.55
user 0.37
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.3686       1.0000          .0000       .10000E+07
     2 'norm      '    .21916E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    .16108E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    .50689       1.0000          .0000       .10000E+07
     5 'norm      '    2.1364       1.0000          .0000       .10000E+07
     6 'Prefactor '    .47740E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    24.886       1.0000          .0000       .10000E+07
     8 'norm      '    .61062E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    20.188       1.0000          .0000       .10000E+07
    10 'norm      '    .64812       1.0000          .0000       .10000E+07
    11 'Prefactor '    17.267       1.0000          .0000       .10000E+07
    12 'norm      '    .83123E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    3.2163       1.0000          .0000       .10000E+07
    14 'Prefactor '    26.067       1.0000          .0000       .10000E+07
    15 'norm      '    3.2680       1.0000          .0000       .10000E+07
    16 'norm      '    3.4375       1.0000          .0000       .10000E+07
    17 'Prefactor '    .43897E-04   1.0000          .0000       .10000E+07
    18 'Normalizat'    .61804       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0763       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=   9240.425     FROM MIGRAD    STATUS=CONVERGED    131 CALLS     1152 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1901        7.7609       -.14518E-05    .11862E-01
   2  norm           .0000        2.6048       -.13647E-07** at limit **
   3  Prefactor     .57621E-07    57.902       -.92453E-05** at limit **
   4  Prefactor     .10700E-04    87.260        .47544E-05** at limit **
   5  norm          2.1728        2.4692       -.29399E-06    .18717E-01
   6  Prefactor     .55511E-10    1.7501       -.65235E-07** at limit **
   7  Prefactor     23.612        18.614        .22430E-06   -.11179    
   8  norm          .16653E-09    1.0177        .14428E-06** at limit **
   9  Prefactor     19.354        28.977       -.36018E-05    .52239E-01
  10  norm          .64920        .85834        .90018E-07   -.12993E-01
  11  Prefactor     16.879        19.510       -.25606E-05   -.34211E-01
  12  norm          .11102E-09    3.2347       -.10337E-06** at limit **
  13  Prefactor     3.2236        9.7660       -.59332E-05   -.87479E-02
  14  Prefactor     26.501        14.503        .14153E-06   -.33655E-02
  15  norm          3.2658        1.4594        .10214E-07   -.95389E-02
  16  norm          3.4355        1.7973        .29760E-09   -.26713E-02
  17  Prefactor     .16653E-09    3.9909        .27362E-06** at limit **
  18  Normalizat    .61838        .25906        .16360E-04    .15208E-03
  19  Prefactor     1.0768        .11274       -.62830E-06    .73192E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.19006
  norm       = 0
  Prefactor  = 5.76206e-08
  Prefactor  = 1.06996e-05
  norm       = 2.1728
  Prefactor  = 5.55112e-11
  Prefactor  = 23.6117
  norm       = 1.66533e-10
  Prefactor  = 19.3543
  norm       = 0.649196
  Prefactor  = 16.8788
  norm       = 1.11022e-10
  Prefactor  = 3.22356
  Prefactor  = 26.5006
  norm       = 3.26583
  norm       = 3.43545
  Prefactor  = 1.66533e-10
  Normalizat = 0.618381
  Prefactor  = 1.07678
 **********
 **   18 **HESSE 
 **********

 FCN=   9240.425     FROM HESSE     STATUS=OK           322 CALLS     1474 TOTAL
                     EDM=   .84E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1901        34.729        .34630E-03   -1.5651    
   2  norm           .0000        2.5945        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .57621E-07    2.9710        .88537E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10700E-04    99.917        .78019E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.1728        2.5511        .70498E-03   -1.5678    
   6  Prefactor     .55511E-10    1.7496        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     23.612        28.905        .20050E-03   -1.5611    
   8  norm          .16653E-09    .47319        .21755E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     19.354        35.732        .22264E-03   -1.5620    
  10  norm          .64920        .87309        .65024E-03   -1.5692    
  11  Prefactor     16.879        20.027        .24076E-03   -1.5626    
  12  norm          .11102E-09    3.2211        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.2236        9.8144        .56464E-03   -1.5672    
  14  Prefactor     26.501        14.549        .19590E-03   -1.5605    
  15  norm          3.2658        1.4644        .55993E-03   -1.5672    
  16  norm          3.4355        1.7992        .54529E-03   -1.5671    
  17  Prefactor     .16653E-09    3.9878        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    .61838        .24280        .10717       -1.0721    
  19  Prefactor     1.0768        .10298        .38565E-01   -.90212    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.41059e-07
Minuit parameter uncertainties:
  1  33.7307
  2  8.8398e-06
  3  0.000827338
  4  0.0653944
  5  2.55114
  6  2.07441e-05
  7  28.9055
  8  1.65514e-05
  9  35.7328
  10  0.873089
  11  20.0272
  12  3.95085e-05
  13  9.81441
  14  14.5489
  15  1.46445
  16  1.79921
  17  5.5109e-05
  18  0.243219
  19  0.103
Done.

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

Extracting fit parameters...

4FGL J2200.1+2138
   Spectrum: PowerLaw
268    Prefactor:  1.935e+01  3.573e+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.077e+00  1.030e-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:  6.184e-01  2.432e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/654672/likelihoodResults_690076801_690336001_4FGL_J2200.1+2138_daily_bin1739.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) = 9240.23041045
delta logL = 0.194941745405

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9240.21278158
delta logL = 0.212570619598

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.638       1.0000          .0000       .10000E+07
     2 'Index     '    1.4170       1.0000          .0000       10.000    
     3 'Normalizat'    .62538       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0755       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=   9240.213     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      266 TOTAL
                     EDM=   .28E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.637        41.077        .77516E-05   -.87410E-04
   2  Index         1.4169        .85675        .17412E-01   -.48904E-05
   3  Normalizat    .62541        .24606        .47254E-03   -.14676E-04
   4  Prefactor     1.0755        .11189        .16571E-03   -.43770E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.6368
  Index      = 1.41692
  Normalizat = 0.625409
  Prefactor  = 1.0755
 **********
 **   18 **HESSE 
 **********

 FCN=   9240.213     FROM HESSE     STATUS=OK            25 CALLS      291 TOTAL
                     EDM=   .11E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.637        41.751        .15503E-05   -1.5605    
   2  Index         1.4169        .87095        .69648E-03   -.79894    
   3  Normalizat    .62541        .24616        .18902E-04   -1.0692    
   4  Prefactor     1.0755        .11194        .66285E-05   -.90253    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.06852e-12
Minuit parameter uncertainties:
  1  41.7517
  2  0.880264
  3  0.246593
  4  0.111963
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/654672': 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) = 9240.21278157
delta logL = 0.212570627953

Extracting fit parameters...

4FGL J2200.1+2138
   Spectrum: PowerLaw
268    Prefactor:  2.664e+01  4.175e+01  0.000e+00  1.000e+06 ( 1.000e-14)
269        Index:  1.417e+00  8.803e-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.075e+00  1.120e-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:  6.254e-01  2.466e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.43
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/654672/cmap_HighResolution_690076801_690336001_4FGL_J2200.1+2138_daily_bin1739.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.10e-03', job_status='DONE', photon_flux_upper_limit='8.10e-08', time_completed='2022-11-17 01:26:13.791575', job_id='654672', GAL2='1.08', fit_tolerance='1e-08', EG2='0.63', EG='0.62', time_epoch_completed='1668677173.79', return_code2='0', ts='0.43', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='2.13e-01', ts2='0.86', photon_index_error='0.00', photon_index='2.04' WHERE bin_id='1739' AND source_name='4FGL J2200.1+2138' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Nov 17 01:26:13 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 654672: <4FGL_J2200.1+2138_daily_bin1739> in cluster <slac> Done

Job <4FGL_J2200.1+2138_daily_bin1739> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Nov 17 01:10:40 2022
Job was executed on host(s) <bullet0267>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Nov 17 01:14:06 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Nov 17 01:14:06 2022
Terminated at Thu Nov 17 01:26:14 2022
Results reported at Thu Nov 17 01:26:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2200.1+2138_daily_bin1739 330.031 21.6382 690076801 690336001 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 :                                   663.10 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             356.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   728 sec.
    Turnaround time :                            934 sec.

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

