/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 218 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 = 7375
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2200.7-2414_daily_bin180
RA = 330.181, Dec = -24.2421
tmin = 285984001, tmax = 286243201
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='87403', job_status='RUN', time_executed='2021-09-27 23:44:23.344924', time_epoch_executed='1632811463.34' WHERE source_name='4FGL J2200.7-2414' and cadence='daily' and bin_id='180'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/87403

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/87403/ft1_4FGL_J2200.7-2414_daily_bin180.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/87403/ft2_4FGL_J2200.7-2414_daily_bin180.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/87403/ft1_4FGL_J2200.7-2414_daily_bin180.fits outfile=/scratch/kocevski/87403/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin180.fits ra=330.181 dec=-24.2421 rad=12.0 tmin=285984001.0 tmax=286243201.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.41
user 3.17
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/87403/ft1_filtered_4FGL_J2200.7-2414_daily_bin180.fits" evtable="EVENTS" scfile=/scratch/kocevski/87403/ft2_4FGL_J2200.7-2414_daily_bin180.fits sctable="SC_DATA" outfile=/scratch/kocevski/87403/ltcube_285984001_286243201_4FGL_J2200.7-2414_daily_bin180.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/87403/ft2_4FGL_J2200.7-2414_daily_bin180.fits
.....................!
real 14.85
user 14.49
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/87403/ft1_filtered_4FGL_J2200.7-2414_daily_bin180.fits evtable="EVENTS" scfile=/scratch/kocevski/87403/ft2_4FGL_J2200.7-2414_daily_bin180.fits sctable="SC_DATA" expcube=/scratch/kocevski/87403/ltcube_285984001_286243201_4FGL_J2200.7-2414_daily_bin180.fits outfile=/scratch/kocevski/87403/expmap_285984001_286243201_4FGL_J2200.7-2414_daily_bin180.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/87403/ltcube_285984001_286243201_4FGL_J2200.7-2414_daily_bin180.fits
.....................!
real 192.12
user 187.35
sys 4.29

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/87403/ft1_filtered_4FGL_J2200.7-2414_daily_bin180.fits scfile=/scratch/kocevski/87403/ft2_4FGL_J2200.7-2414_daily_bin180.fits outfile=/scratch/kocevski/87403/cmap_285984001_286243201_4FGL_J2200.7-2414_daily_bin180.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/87403/ft1_filtered_4FGL_J2200.7-2414_daily_bin180.fits scfile=/scratch/kocevski/87403/ft2_4FGL_J2200.7-2414_daily_bin180.fits outfile=/scratch/kocevski/87403/cmap_HighResolution_285984001_286243201_4FGL_J2200.7-2414_daily_bin180.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/87403/ft1_filtered_4FGL_J2200.7-2414_daily_bin180.fits evtable="EVENTS" scfile=/scratch/kocevski/87403/ft2_4FGL_J2200.7-2414_daily_bin180.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/87403/Model_4FGL_J2200.7-2414_daily_bin180.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/87403/ft1_filtered_4FGL_J2200.7-2414_daily_bin180.fits.....................!
real 64.93
user 63.48
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/87403/ft1_filtered_4FGL_J2200.7-2414_daily_bin180.fits', '/scratch/kocevski/87403/ft2_4FGL_J2200.7-2414_daily_bin180.fits', expMap='/scratch/kocevski/87403/expmap_285984001_286243201_4FGL_J2200.7-2414_daily_bin180.fits', expCube='/scratch/kocevski/87403/ltcube_285984001_286243201_4FGL_J2200.7-2414_daily_bin180.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/87403/Model_4FGL_J2200.7-2414_daily_bin180.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/87403/ft1_filtered_4FGL_J2200.7-2414_daily_bin180.fits
Spacecraft file(s): /scratch/kocevski/87403/ft2_4FGL_J2200.7-2414_daily_bin180.fits
Exposure map: /scratch/kocevski/87403/expmap_285984001_286243201_4FGL_J2200.7-2414_daily_bin180.fits
Exposure cube: /scratch/kocevski/87403/ltcube_285984001_286243201_4FGL_J2200.7-2414_daily_bin180.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/87403/Model_4FGL_J2200.7-2414_daily_bin180.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) = 7806.87722858

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29914E-02   1.0000         .10000E-03   10000.    
     2 'norm      '    3.9964       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.3154       1.0000         .10000E-03   10000.    
     5 'norm      '    3.0813       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    5.2634       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.9672       1.0000         .10000E-03   10000.    
    10 'norm      '    .27967E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    26.588       1.0000         .10000E-03   10000.    
    12 'norm      '    .89186       1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.3996       1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.863       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .93569       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .31298E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    18.605       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.0410       1.0000         .10000E-03   10000.    
    20 'norm      '    1.1881       1.0000         .10000E-03   10000.    
    21 'Prefactor '    15.408       1.0000         .10000E-03   10000.    
    22 'norm      '    7.7144       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1251       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0080       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=   7806.819     FROM MIGRAD    STATUS=CONVERGED    561 CALLS     2444 TOTAL
                     EDM=   .48E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.1958       -.66129E-06** at limit **
   2  norm          3.9964        4.0839       -.32172E-06    .12444E-04
   3  Prefactor     .10000E-03    2.5486       -.31983E-07** at limit **
   4  Prefactor     1.3165        12.172       -.28836E-05    .26843E-04
   5  norm          3.0823        6.8862       -.58972E-06   -.13359E-03
   6  Prefactor     .10000E-03    4.7267        .86333E-08** at limit **
   7  norm          5.2637        4.7345        .37997E-06    .68106E-05
   8  Prefactor     .10000E-03    7.2790        .89870E-06** at limit **
   9  Prefactor     4.9755        45.179       -.41108E-04   -.76984E-04
  10  norm          .10000E-03    1.4309        .11334E-05** at limit **
  11  Prefactor     26.587        19.510        .19584E-05    .29815E-04
  12  norm          .89194        .31075        .39958E-07   -.21590E-02
  13  Prefactor     9.4006        8.8397       -.42763E-06    .12830E-04
  14  Prefactor     16.866        14.646       -.68104E-05    .76402E-05
  15  Prefactor     .10000E-03    8.2488       -.14080E-06** at limit **
  16  Prefactor     .93369        11.784       -.20961E-05   -.76593E-04
  17  Prefactor     .10039E-03    25.498       -.91997E-06** at limit **
  18  norm          18.606        17.934       -.21433E-05    .71067E-05
  19  Prefactor     1.0444        1.8553        .56208E-06   -.94726E-03
  20  norm          1.1888        1.8438       -.34725E-06   -.12919E-03
  21  Prefactor     15.400        42.746        .27041E-05    .74913E-05
  22  norm          7.7150        5.0872        .22818E-06    .15403E-04
  23  Normalizat    1.1249        .18166        .23171E-05   -.13997E-03
  24  Prefactor     1.0081        .13253        .64376E-06    .60096E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 3.99636
  Prefactor  = 0.0001
  Prefactor  = 1.31652
  norm       = 3.08234
  Prefactor  = 0.0001
  norm       = 5.26366
  Prefactor  = 0.000100002
  Prefactor  = 4.97555
  norm       = 0.0001
  Prefactor  = 26.5874
  norm       = 0.891938
  Prefactor  = 9.40061
  Prefactor  = 16.8664
  Prefactor  = 0.0001
  Prefactor  = 0.933691
  Prefactor  = 0.000100391
  norm       = 18.6061
  Prefactor  = 1.04441
  norm       = 1.18877
  Prefactor  = 15.3999
  norm       = 7.71502
  Normalizat = 1.12494
  Prefactor  = 1.00806
 **********
 **   18 **HESSE 
 **********

 FCN=   7806.819     FROM HESSE     STATUS=OK           421 CALLS     2865 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    33.325        .38468E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.9964        4.0885        .17614E-03   -1.5308    
   3  Prefactor     .10000E-03    2.5637        .13773E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.3165        12.219        .38405E-03   -1.5478    
   5  norm          3.0823        6.8600        .23106E-03   -1.5357    
   6  Prefactor     .10000E-03    4.7358        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          5.2637        4.7382        .17520E-03   -1.5249    
   8  Prefactor     .10000E-03    7.3234        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.9755        45.231        .18045E-03   -1.5262    
  10  norm          .10000E-03    23.191        .19489E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     26.587        19.494        .77691E-04   -1.4676    
  12  norm          .89194        .30530        .27579E-04   -1.5519    
  13  Prefactor     9.4006        8.8361        .13072E-03   -1.5095    
  14  Prefactor     16.866        14.585        .97534E-04   -1.4886    
  15  Prefactor     .10000E-03    8.2727        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .93369        12.312        .51746E-03   -1.5515    
  17  Prefactor     .10039E-03    25.880        .14931       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          18.606        17.911        .92855E-04   -1.4845    
  19  Prefactor     1.0444        15.432        .24528E-02   -1.5504    
  20  norm          1.1888        1.7858        .12838E-03   -1.5490    
  21  Prefactor     15.400        43.577        .10204E-03   -1.4923    
  22  norm          7.7150        5.0835        .14438E-03   -1.5152    
  23  Normalizat    1.1249        .21652        .26765E-03   -.88955    
  24  Prefactor     1.0081        .15849        .21466E-03   -.92461    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.67152e-09
Minuit parameter uncertainties:
  1  1.79689e-05
  2  4.08878
  3  5.13024e-06
  4  8.02345
  5  6.86177
  6  8.08473e-06
  7  4.73856
  8  0.000228731
  9  30.033
  10  0.000137844
  11  19.4987
  12  0.305301
  13  8.83737
  14  14.5878
  15  3.37719e-06
  16  6.78243
  17  0.00636228
  18  17.9162
  19  8.0314
  20  1.78586
  21  43.6676
  22  5.08376
  23  0.216695
  24  0.158562
Done.

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

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  9.401e+00  8.837e+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:  1.008e+00  1.586e-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.125e+00  2.167e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.69
Ra Dec: 330.181 -24.242
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 3.25e-08 +/- 3.05e-08
Energy Flux (Fixed Index): 1.39e-05 +/- 1.31e-05

TS (Fixed Index): 1.69
Ra Dec: 330.181 -24.242
Photon Flux Upper Limit: 1.00e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.63e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/87403/likelihoodResults_285984001_286243201_4FGL_J2200.7-2414_daily_bin180.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) = 7806.81710296
delta logL = 0.00158293546974

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7806.81600906
delta logL = 0.00267683627408

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.9035       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2710       1.0000          .0000       10.000    
     3 'Normalizat'    1.1233       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0089       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7806.816     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      239 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.9020        11.827        .13433E-03    .10367E-02
   2  Index         2.2712        .68474        .79570E-02    .27141E-03
   3  Normalizat    1.1233        .20383        .26783E-03   -.42230E-03
   4  Prefactor     1.0089        .15554        .21458E-03   -.65863E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.90198
  Index      = 2.27122
  Normalizat = 1.12327
  Prefactor  = 1.00892
 **********
 **   18 **HESSE 
 **********

 FCN=   7806.816     FROM HESSE     STATUS=OK            25 CALLS      264 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.9020        10.913        .53731E-05   -1.5111    
   2  Index         2.2712        .63181        .31828E-03   -.57729    
   3  Normalizat    1.1233        .20377        .53566E-04   -.89008    
   4  Prefactor     1.0089        .15552        .42916E-04   -.92433    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46694e-09
Minuit parameter uncertainties:
  1  10.9159
  2  0.634233
  3  0.203908
  4  0.15559
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/87403': 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) = 7806.81600898
delta logL = 0.0026769145843

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  8.902e+00  1.092e+01  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  2.271e+00  6.342e-01  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:  1.009e+00  1.556e-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.123e+00  2.039e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.69
Ra Dec: 330.181 -24.242
Photon Index (Free Index): 2.27 +/- 0.63
Photon Flux (Free Index): 3.36e-08 +/- 3.44e-08
Energy Flux (Free Index): 1.33e-05 +/- 1.49e-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/87403/cmap_HighResolution_285984001_286243201_4FGL_J2200.7-2414_daily_bin180.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.63e-03', comment='SUCCESS', photon_flux='3.25e-08', energy_flux2='1.33e-05', photon_flux_error='3.05e-08', dlogl='2.68e-03', energy_flux='1.39e-05', photon_flux2='3.36e-08', job_status='DONE', time_completed='2021-09-27 23:56:37.678141', photon_index_error2='0.63', photon_index2='2.27', ts='1.69', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='1.00e-07', energy_flux_error2='1.49e-05', EG='1.12', time_epoch_completed='1632812197.68', return_code='0', job_id='87403', GAL2='1.01', EG2='1.12', return_code2='0', energy_flux_error='1.31e-05', photon_flux_error2='3.44e-08', ts2='1.69', photon_index='2.23' WHERE bin_id='180' AND source_name='4FGL J2200.7-2414' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 23:56:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0138>
Subject: Job 87403: <4FGL_J2200.7-2414_daily_bin180> in cluster <slac> Done

Job <4FGL_J2200.7-2414_daily_bin180> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Sep 27 23:40:25 2021
Job was executed on host(s) <bullet0138>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 23:40:33 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:40:33 2021
Terminated at Mon Sep 27 23:56:38 2021
Results reported at Mon Sep 27 23:56:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2200.7-2414_daily_bin180 330.181 -24.2421 285984001 286243201 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 :                                   733.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             282.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   964 sec.
    Turnaround time :                            973 sec.

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

