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


Performing analysis on: 4FGL_J2200.1+2138_daily_bin1716
RA = 330.031, Dec = 21.6382
tmin = 684115201, tmax = 684374401
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='238649', job_status='RUN', time_executed='2022-09-16 23:37:22.714129', time_epoch_executed='1663396642.71' WHERE source_name='4FGL J2200.1+2138' and cadence='daily' and bin_id='1716'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/238649

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/238649/ft1_4FGL_J2200.1+2138_daily_bin1716.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/238649/ft2_4FGL_J2200.1+2138_daily_bin1716.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/238649/ft1_4FGL_J2200.1+2138_daily_bin1716.fits outfile=/scratch/kocevski/238649/ft1_filteredMKT_4FGL_J2200.1+2138_daily_bin1716.fits ra=330.031 dec=21.6382 rad=12.0 tmin=684115201.0 tmax=684374401.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.12
user 3.85
sys 0.24

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

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

Number of photons that the gtmktime cut: 753

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/238649/ft1_filtered_4FGL_J2200.1+2138_daily_bin1716.fits" evtable="EVENTS" scfile=/scratch/kocevski/238649/ft2_4FGL_J2200.1+2138_daily_bin1716.fits sctable="SC_DATA" outfile=/scratch/kocevski/238649/ltcube_684115201_684374401_4FGL_J2200.1+2138_daily_bin1716.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/238649/ft2_4FGL_J2200.1+2138_daily_bin1716.fits
.....................!
real 14.95
user 14.50
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/238649/ft1_filtered_4FGL_J2200.1+2138_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/238649/ft2_4FGL_J2200.1+2138_daily_bin1716.fits sctable="SC_DATA" expcube=/scratch/kocevski/238649/ltcube_684115201_684374401_4FGL_J2200.1+2138_daily_bin1716.fits outfile=/scratch/kocevski/238649/expmap_684115201_684374401_4FGL_J2200.1+2138_daily_bin1716.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/238649/ltcube_684115201_684374401_4FGL_J2200.1+2138_daily_bin1716.fits
.....................!
real 191.34
user 186.27
sys 4.65

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/238649/ft1_filtered_4FGL_J2200.1+2138_daily_bin1716.fits scfile=/scratch/kocevski/238649/ft2_4FGL_J2200.1+2138_daily_bin1716.fits outfile=/scratch/kocevski/238649/cmap_684115201_684374401_4FGL_J2200.1+2138_daily_bin1716.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.61
user 0.38
sys 0.19

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/238649/ft1_filtered_4FGL_J2200.1+2138_daily_bin1716.fits scfile=/scratch/kocevski/238649/ft2_4FGL_J2200.1+2138_daily_bin1716.fits outfile=/scratch/kocevski/238649/cmap_HighResolution_684115201_684374401_4FGL_J2200.1+2138_daily_bin1716.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.57
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .93781E-06   1.0000          .0000       .10000E+07
     2 'norm      '    8.6463       1.0000          .0000       .10000E+07
     3 'Prefactor '    .31497E-01   1.0000          .0000       .10000E+07
     4 'Prefactor '    85.365       1.0000          .0000       .10000E+07
     5 'norm      '    .28311E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    3.0519       1.0000          .0000       .10000E+07
     7 'Prefactor '    .10879E-04   1.0000          .0000       .10000E+07
     8 'norm      '    .23020       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.9969       1.0000          .0000       .10000E+07
    10 'norm      '    .21925       1.0000          .0000       .10000E+07
    11 'Prefactor '    37.067       1.0000          .0000       .10000E+07
    12 'norm      '    .22204E-08   1.0000          .0000       .10000E+07
    13 'Prefactor '    .61617E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .96034E-08   1.0000          .0000       .10000E+07
    15 'norm      '    1.7664       1.0000          .0000       .10000E+07
    16 'norm      '    1.2411       1.0000          .0000       .10000E+07
    17 'Prefactor '    11.270       1.0000          .0000       .10000E+07
    18 'Normalizat'    .54367       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.1261       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=   8247.645     FROM MIGRAD    STATUS=CONVERGED    118 CALLS     1681 TOTAL
                     EDM=   .87E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19984E-08    47.047        .57845E-05** at limit **
   2  norm          8.6460        5.2815       -.27501E-06   -.17927E-02
   3  Prefactor     .28977E-06    323.08       -.70400E-05** at limit **
   4  Prefactor     85.314        1.5302        .88274E-07   -.45725E-01
   5  norm           .0000        1.0003       -.28056E-07** at limit **
   6  Prefactor     3.0496        5.7931       -.61770E-06   -.11884E-02
   7  Prefactor     .37192E-08    58.507       -.93979E-05** at limit **
   8  norm          .23127        .60073        .64197E-06** at limit **
   9  Prefactor     2.9692        2.5400        .10125E-05   -.88975E-02
  10  norm          .21938        .55159       -.24409E-06** at limit **
  11  Prefactor     37.079        8.5490        .31354E-06    .26081E-01
  12  norm           .0000        1.6188       -.14885E-05** at limit **
  13  Prefactor      .0000        4.4379       -.12439E-05** at limit **
  14  Prefactor      .0000        2.5575       -.44709E-06** at limit **
  15  norm          1.7667        1.1873       -.48044E-06    .33969E-02
  16  norm          1.2411        1.3022       -.77258E-06    .86126E-04
  17  Prefactor     11.273        11.569        .89535E-06    .23376E-04
  18  Normalizat    .54342        .26409        .17874E-04   -.18944E-04
  19  Prefactor     1.1261        .12117       -.70569E-05   -.17076E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.9984e-09
  norm       = 8.64603
  Prefactor  = 2.89768e-07
  Prefactor  = 85.3141
  norm       = 0
  Prefactor  = 3.04956
  Prefactor  = 3.71925e-09
  norm       = 0.231267
  Prefactor  = 2.96916
  norm       = 0.219381
  Prefactor  = 37.0786
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.76668
  norm       = 1.24112
  Prefactor  = 11.2732
  Normalizat = 0.543419
  Prefactor  = 1.12609
 **********
 **   18 **HESSE 
 **********

 FCN=   8247.645     FROM HESSE     STATUS=OK           312 CALLS     1993 TOTAL
                     EDM=   .50E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19984E-08    47.169        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          8.6460        5.2818        .34066E-03   -1.5649    
   3  Prefactor     .28977E-06    5.2927        .12785E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     85.314        105.53        .10824E-03   -1.5523    
   5  norm           .0000        .99948        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.0496        5.7934        .58049E-03   -1.5673    
   7  Prefactor     .37192E-08    58.628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .23127        .61847        .11261E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.9692        196.50        .58611E-03   -1.5674    
  10  norm          .21938        .55362        .11443E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     37.079        23.138        .16427E-03   -1.5586    
  12  norm           .0000        1.6191        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        4.4445        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        2.5625        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.7667        1.1974        .78782E-03   -1.5681    
  16  norm          1.2411        1.3322        .10060E-02   -1.5686    
  17  Prefactor     11.273        11.612        .29817E-03   -1.5641    
  18  Normalizat    .54342        .25973        .11140       -1.1044    
  19  Prefactor     1.1261        .11302        .36670E-01   -.88637    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.9917e-07
Minuit parameter uncertainties:
  1  0.000613908
  2  5.28179
  3  0.00247691
  4  105.535
  5  5.67846e-07
  6  5.79346
  7  0.000931465
  8  0.618469
  9  48.3105
  10  0.553623
  11  23.1385
  12  9.96524e-06
  13  1.66734e-05
  14  9.00312e-06
  15  1.19742
  16  1.33225
  17  11.6116
  18  0.260308
  19  0.113047
Done.

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

Extracting fit parameters...

4FGL J2200.1+2138
   Spectrum: PowerLaw
268    Prefactor:  2.969e+00  4.831e+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.126e+00  1.130e-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:  5.434e-01  2.603e-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: 8.50e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.40e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/238649/likelihoodResults_684115201_684374401_4FGL_J2200.1+2138_daily_bin1716.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) = 8247.25667984
delta logL = 0.387896295755

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8247.15923174
delta logL = 0.485344398645

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .43979       1.0000          .0000       .10000E+07
     2 'Index     '    4.0715       1.0000          .0000       10.000    
     3 'Normalizat'    .45874       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1482       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=   8247.159     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      262 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .43202        6.4218        .85015E-03    .20071E-01
   2  Index         4.0781        1.7241        .12230        .19940E-03
   3  Normalizat    .45845        .42695E-01    .12099        .77645E-04
   4  Prefactor     1.1484        .19391E-01    .35988E-01    .25847E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.432019
  Index      = 4.07807
  Normalizat = 0.458449
  Prefactor  = 1.1484
 **********
 **   18 **HESSE 
 **********

 FCN=   8247.159     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      295 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .43202        23.802        .63001E-05   -1.5695    
   2  Index         4.0781        6.9237        .44546E-02   -.18545    
   3  Normalizat    .45845        .22274        .53619E-03   -1.1438    
   4  Prefactor     1.1484        .98298E-01    .15894E-03   -.87934    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.66077e-10
Minuit parameter uncertainties:
  1  6.41339
  2  5.3092
  3  0.223172
  4  0.0983135
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/238649': 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): 102
logL (Free Index) = 8247.15922834
delta logL = 0.485347794704

Extracting fit parameters...

4FGL J2200.1+2138
   Spectrum: PowerLaw
268    Prefactor:  4.320e-01  6.413e+00  0.000e+00  1.000e+06 ( 1.000e-14)
269        Index:  4.078e+00  5.309e+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.148e+00  9.831e-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:  4.584e-01  2.232e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.13
Ra Dec: 330.031 21.638
Photon Index (Free Index): 4.08 +/- 5.31
Photon Flux (Free Index): 6.29e-08 +/- 7.19e-08
Energy Flux (Free Index): 9.30e-06 +/- 1.07e-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/238649/cmap_HighResolution_684115201_684374401_4FGL_J2200.1+2138_daily_bin1716.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.40e-03', comment='SUCCESS', energy_flux2='9.30e-06', dlogl='4.85e-01', photon_flux2='6.29e-08', job_status='DONE', time_completed='2022-09-16 23:48:44.454317', photon_index_error2='5.31', photon_index2='4.08', ts='0.00', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='8.50e-08', energy_flux_error2='1.07e-05', EG='0.54', time_epoch_completed='1663397324.45', return_code='0', job_id='238649', GAL2='1.15', EG2='0.46', return_code2='102', photon_flux_error2='7.19e-08', ts2='1.13', photon_index='2.04' WHERE bin_id='1716' AND source_name='4FGL J2200.1+2138' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 23:48:44 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0172>
Subject: Job 238649: <4FGL_J2200.1+2138_daily_bin1716> in cluster <slac> Done

Job <4FGL_J2200.1+2138_daily_bin1716> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 16 23:35:24 2022
Job was executed on host(s) <bullet0172>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 23:36:28 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 23:36:28 2022
Terminated at Fri Sep 16 23:48:45 2022
Results reported at Fri Sep 16 23:48:45 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2200.1+2138_daily_bin1716 330.031 21.6382 684115201 684374401 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 :                                   683.34 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             319.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   736 sec.
    Turnaround time :                            801 sec.

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

