/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 151 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2200.7-2414_daily_bin1030
RA = 330.181, Dec = -24.2421
tmin = 506304001, tmax = 506563201
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='92339', job_status='RUN', time_executed='2021-09-27 23:58:41.487822', time_epoch_executed='1632812321.49' WHERE source_name='4FGL J2200.7-2414' and cadence='daily' and bin_id='1030'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/92339

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/92339/ft1_4FGL_J2200.7-2414_daily_bin1030.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/92339/ft2_4FGL_J2200.7-2414_daily_bin1030.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/92339/ft1_4FGL_J2200.7-2414_daily_bin1030.fits outfile=/scratch/kocevski/92339/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin1030.fits ra=330.181 dec=-24.2421 rad=12.0 tmin=506304001.0 tmax=506563201.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.49
user 3.26
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/92339/ft2_4FGL_J2200.7-2414_daily_bin1030.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/92339/ft2_4FGL_J2200.7-2414_daily_bin1030.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/92339/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin1030.fits evtable="EVENTS" outfile="/scratch/kocevski/92339/ft1_filtered_4FGL_J2200.7-2414_daily_bin1030.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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/92339/ft1_filtered_4FGL_J2200.7-2414_daily_bin1030.fits" evtable="EVENTS" scfile=/scratch/kocevski/92339/ft2_4FGL_J2200.7-2414_daily_bin1030.fits sctable="SC_DATA" outfile=/scratch/kocevski/92339/ltcube_506304001_506563201_4FGL_J2200.7-2414_daily_bin1030.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/92339/ft2_4FGL_J2200.7-2414_daily_bin1030.fits
.....................!
real 14.16
user 13.77
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/92339/ft1_filtered_4FGL_J2200.7-2414_daily_bin1030.fits evtable="EVENTS" scfile=/scratch/kocevski/92339/ft2_4FGL_J2200.7-2414_daily_bin1030.fits sctable="SC_DATA" expcube=/scratch/kocevski/92339/ltcube_506304001_506563201_4FGL_J2200.7-2414_daily_bin1030.fits outfile=/scratch/kocevski/92339/expmap_506304001_506563201_4FGL_J2200.7-2414_daily_bin1030.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/92339/ltcube_506304001_506563201_4FGL_J2200.7-2414_daily_bin1030.fits
.....................!
real 192.54
user 187.57
sys 4.62

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
Added 161 point sources and 0 extended sources

Setting source of interest to:
4FGL J2200.7-2414 @ 330.181 -24.2421

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/92339/ft1_filtered_4FGL_J2200.7-2414_daily_bin1030.fits scfile=/scratch/kocevski/92339/ft2_4FGL_J2200.7-2414_daily_bin1030.fits outfile=/scratch/kocevski/92339/cmap_506304001_506563201_4FGL_J2200.7-2414_daily_bin1030.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.181 yref=-24.2421 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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/92339/ft1_filtered_4FGL_J2200.7-2414_daily_bin1030.fits scfile=/scratch/kocevski/92339/ft2_4FGL_J2200.7-2414_daily_bin1030.fits outfile=/scratch/kocevski/92339/cmap_HighResolution_506304001_506563201_4FGL_J2200.7-2414_daily_bin1030.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.181 yref=-24.2421 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.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/92339/ft1_filtered_4FGL_J2200.7-2414_daily_bin1030.fits evtable="EVENTS" scfile=/scratch/kocevski/92339/ft2_4FGL_J2200.7-2414_daily_bin1030.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/92339/Model_4FGL_J2200.7-2414_daily_bin1030.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 EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/92339/ft1_filtered_4FGL_J2200.7-2414_daily_bin1030.fits.....................!
real 58.05
user 56.77
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/92339/ft1_filtered_4FGL_J2200.7-2414_daily_bin1030.fits', '/scratch/kocevski/92339/ft2_4FGL_J2200.7-2414_daily_bin1030.fits', expMap='/scratch/kocevski/92339/expmap_506304001_506563201_4FGL_J2200.7-2414_daily_bin1030.fits', expCube='/scratch/kocevski/92339/ltcube_506304001_506563201_4FGL_J2200.7-2414_daily_bin1030.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/92339/Model_4FGL_J2200.7-2414_daily_bin1030.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2200.7-2414'

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  1.200e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.225e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.514e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/92339/ft1_filtered_4FGL_J2200.7-2414_daily_bin1030.fits
Spacecraft file(s): /scratch/kocevski/92339/ft2_4FGL_J2200.7-2414_daily_bin1030.fits
Exposure map: /scratch/kocevski/92339/expmap_506304001_506563201_4FGL_J2200.7-2414_daily_bin1030.fits
Exposure cube: /scratch/kocevski/92339/ltcube_506304001_506563201_4FGL_J2200.7-2414_daily_bin1030.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/92339/Model_4FGL_J2200.7-2414_daily_bin1030.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) = 6669.54256509

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.9541       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10210E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    35.247       1.0000         .10000E-03   10000.    
    10 'norm      '    5.1709       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.7323       1.0000         .10000E-03   10000.    
    12 'norm      '    1.7847       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.5472       1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.077       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.2601       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.8980       1.0000         .10000E-03   10000.    
    20 'norm      '    1.5013       1.0000         .10000E-03   10000.    
    21 'Prefactor '    20.533       1.0000         .10000E-03   10000.    
    22 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1710       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .81219       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6669.531     FROM MIGRAD    STATUS=CONVERGED    513 CALLS     2663 TOTAL
                     EDM=   .92E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.0833        .16845E-06** at limit **
   2  norm          .10000E-03    6.1867        .22531E-06** at limit **
   3  Prefactor     .10000E-03    4.7674        .42653E-06** at limit **
   4  Prefactor     .10000E-03    5.4063       -.34845E-06** at limit **
   5  norm          4.9537        5.5147        .31661E-05   -.30301E-03
   6  Prefactor     .10000E-03    18.430        .18601E-06** at limit **
   7  norm          .10000E-03    1.6373        .74522E-08** at limit **
   8  Prefactor     .10000E-03    28.585       -.44758E-05** at limit **
   9  Prefactor     35.215        50.486       -.58615E-06   -.12278E-03
  10  norm          5.1716        4.8011        .33988E-08    .68935E-04
  11  Prefactor     7.7345        14.052        .14395E-06    .17552E-05
  12  norm          1.7847        .43240       -.13267E-07    .17325E-03
  13  Prefactor     2.5475        7.5656        .78270E-06   -.15472E-04
  14  Prefactor     13.079        12.142       -.53561E-07   -.28618E-05
  15  Prefactor     .10000E-03    4.5330       -.67104E-07** at limit **
  16  Prefactor     4.2629        10.698        .17075E-06   -.55971E-05
  17  Prefactor     .10000E-03    20.820        .37907E-06** at limit **
  18  norm          .10000E-03    7.7076       -.17090E-06** at limit **
  19  Prefactor     3.9019        7.1071        .67513E-05   -.26933E-03
  20  norm          1.5026        2.0759        .70384E-06   -.14172E-03
  21  Prefactor     20.465        37.959       -.72176E-05   -.45354E-03
  22  norm          .10000E-03    1.2050       -.12708E-06** at limit **
  23  Normalizat    1.1705        .18591        .24765E-05   -.21483E-03
  24  Prefactor     .81251        .13297       -.29019E-05    .17194E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.95367
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 35.2148
  norm       = 5.17157
  Prefactor  = 7.73452
  norm       = 1.7847
  Prefactor  = 2.5475
  Prefactor  = 13.0794
  Prefactor  = 0.0001
  Prefactor  = 4.26293
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.9019
  norm       = 1.50258
  Prefactor  = 20.4652
  norm       = 0.0001
  Normalizat = 1.17051
  Prefactor  = 0.812515
 **********
 **   18 **HESSE 
 **********

 FCN=   6669.531     FROM HESSE     STATUS=OK           393 CALLS     3056 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.1141        .17981E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    6.2516        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.8331        .17413E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.4248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.9537        5.5202        .90345E-03   -1.5263    
   6  Prefactor     .10000E-03    18.743        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.6375        .10206E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    28.719        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     35.215        50.376        .67501E-04   -1.4520    
  10  norm          5.1716        4.7963        .14930E-03   -1.5253    
  11  Prefactor     7.7345        14.040        .14421E-03   -1.5152    
  12  norm          1.7847        .43393        .24649E-04   -1.5441    
  13  Prefactor     2.5475        7.5549        .25585E-03   -1.5389    
  14  Prefactor     13.079        12.154        .11077E-03   -1.4984    
  15  Prefactor     .10000E-03    4.5378        .16981E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.2629        10.740        .19521E-03   -1.5295    
  17  Prefactor     .10000E-03    20.844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    7.7163        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.9019        7.1852        .10218E-02   -1.5313    
  20  norm          1.5026        2.0761        .11236E-03   -1.5463    
  21  Prefactor     20.465        38.983        .88392E-04   -1.4803    
  22  norm          .10000E-03    1.2066        .87544E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.1705        .22134        .24844E-03   -.87519    
  24  Prefactor     .81251        .15695        .10899E-02   -.99269    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.95448e-09
Minuit parameter uncertainties:
  1  1.44679e-06
  2  3.29587e-05
  3  3.35844e-05
  4  2.62945e-05
  5  5.52074
  6  0.00012688
  7  4.54461e-07
  8  0.000222345
  9  50.4366
  10  4.79671
  11  14.046
  12  0.433932
  13  7.55769
  14  12.1563
  15  1.26214e-05
  16  10.7446
  17  0.000118807
  18  6.06078e-06
  19  7.1868
  20  2.07619
  21  39.0319
  22  5.13945e-07
  23  0.221515
  24  0.157041
Done.

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

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  2.548e+00  7.558e+00  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.225e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.514e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  8.125e-01  1.570e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  1.171e+00  2.215e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.13
Ra Dec: 330.181 -24.242
Photon Flux Upper Limit: 7.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.69e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/92339/likelihoodResults_506304001_506563201_4FGL_J2200.7-2414_daily_bin1030.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) = 6669.53008592
delta logL = 0.00110304996178

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6669.52953682
delta logL = 0.0016521544112

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.2686       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3289       1.0000          .0000       10.000    
     3 'Normalizat'    1.1691       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81327       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6669.530     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      253 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.2636        19.463        .13634E-02   -.46021E-04
   2  Index         2.3339        2.7355        .13270E-01    .16381E-03
   3  Normalizat    1.1691        .21019        .24856E-03   -.12660E-03
   4  Prefactor     .81323        .15673        .21789E-03   -.98298E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.26359
  Index      = 2.33389
  Normalizat = 1.16913
  Prefactor  = 0.813229
 **********
 **   18 **HESSE 
 **********

 FCN=   6669.530     FROM HESSE     STATUS=OK            27 CALLS      280 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.2636        9.0455        .54535E-04   -1.5407    
   2  Index         2.3339        1.9528        .26541E-02   -.56240    
   3  Normalizat    1.1691        .20934        .99425E-05   -.87562    
   4  Prefactor     .81323        .15588        .87158E-05   -.99243    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.09434e-11
Minuit parameter uncertainties:
  1  9.05096
  2  2.02979
  3  0.209491
  4  0.155961
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/92339': 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) = 6669.52953242
delta logL = 0.00165655150249

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  2.264e+00  9.051e+00  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.334e+00  2.030e+00  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  1.514e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
514    Prefactor:  8.132e-01  1.560e-01  0.000e+00  1.000e+01 ( 1.000e+00)
515        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
516        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
513   Normalization:  1.169e+00  2.095e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.13
Ra Dec: 330.181 -24.242

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/92339/cmap_HighResolution_506304001_506563201_4FGL_J2200.7-2414_daily_bin1030.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.69e-03', job_status='DONE', photon_flux_upper_limit='7.45e-08', time_completed='2021-09-28 00:10:13.364999', job_id='92339', GAL2='0.81', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1632813013.37', return_code2='0', ts='0.13', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='1.66e-03', ts2='0.14', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1030' AND source_name='4FGL J2200.7-2414' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 00:10:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0013>
Subject: Job 92339: <4FGL_J2200.7-2414_daily_bin1030> in cluster <slac> Done

Job <4FGL_J2200.7-2414_daily_bin1030> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Sep 27 23:55:12 2021
Job was executed on host(s) <bullet0013>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 23:56:03 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Sep 27 23:56:03 2021
Terminated at Tue Sep 28 00:10:14 2021
Results reported at Tue Sep 28 00:10:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2200.7-2414_daily_bin1030 330.181 -24.2421 506304001 506563201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2200.7-2414 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   677.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             275.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   850 sec.
    Turnaround time :                            902 sec.

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

