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


Performing analysis on: 4FGL_J2200.7-2414_daily_bin1153
RA = 330.181, Dec = -24.2421
tmin = 538185601, tmax = 538444801
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='92545', job_status='RUN', time_executed='2021-09-28 00:00:53.005385', time_epoch_executed='1632812453.01' WHERE source_name='4FGL J2200.7-2414' and cadence='daily' and bin_id='1153'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/92545

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/92545/ft1_4FGL_J2200.7-2414_daily_bin1153.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/92545/ft2_4FGL_J2200.7-2414_daily_bin1153.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/92545/ft1_4FGL_J2200.7-2414_daily_bin1153.fits outfile=/scratch/kocevski/92545/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin1153.fits ra=330.181 dec=-24.2421 rad=12.0 tmin=538185601.0 tmax=538444801.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 5.31
user 5.05
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/92545/ft2_4FGL_J2200.7-2414_daily_bin1153.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/92545/ft1_filteredMKT_4FGL_J2200.7-2414_daily_bin1153.fits evtable="EVENTS" outfile="/scratch/kocevski/92545/ft1_filtered_4FGL_J2200.7-2414_daily_bin1153.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/92545/ft1_filtered_4FGL_J2200.7-2414_daily_bin1153.fits" evtable="EVENTS" scfile=/scratch/kocevski/92545/ft2_4FGL_J2200.7-2414_daily_bin1153.fits sctable="SC_DATA" outfile=/scratch/kocevski/92545/ltcube_538185601_538444801_4FGL_J2200.7-2414_daily_bin1153.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/92545/ft2_4FGL_J2200.7-2414_daily_bin1153.fits
.....................!
real 12.53
user 12.17
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/92545/ft1_filtered_4FGL_J2200.7-2414_daily_bin1153.fits evtable="EVENTS" scfile=/scratch/kocevski/92545/ft2_4FGL_J2200.7-2414_daily_bin1153.fits sctable="SC_DATA" expcube=/scratch/kocevski/92545/ltcube_538185601_538444801_4FGL_J2200.7-2414_daily_bin1153.fits outfile=/scratch/kocevski/92545/expmap_538185601_538444801_4FGL_J2200.7-2414_daily_bin1153.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/92545/ltcube_538185601_538444801_4FGL_J2200.7-2414_daily_bin1153.fits
.....................!
real 192.72
user 187.26
sys 5.13

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/92545/ft1_filtered_4FGL_J2200.7-2414_daily_bin1153.fits scfile=/scratch/kocevski/92545/ft2_4FGL_J2200.7-2414_daily_bin1153.fits outfile=/scratch/kocevski/92545/cmap_538185601_538444801_4FGL_J2200.7-2414_daily_bin1153.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.57
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/92545/ft1_filtered_4FGL_J2200.7-2414_daily_bin1153.fits scfile=/scratch/kocevski/92545/ft2_4FGL_J2200.7-2414_daily_bin1153.fits outfile=/scratch/kocevski/92545/cmap_HighResolution_538185601_538444801_4FGL_J2200.7-2414_daily_bin1153.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.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/92545/ft1_filtered_4FGL_J2200.7-2414_daily_bin1153.fits evtable="EVENTS" scfile=/scratch/kocevski/92545/ft2_4FGL_J2200.7-2414_daily_bin1153.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/92545/Model_4FGL_J2200.7-2414_daily_bin1153.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/92545/ft1_filtered_4FGL_J2200.7-2414_daily_bin1153.fits.....................!
real 52.35
user 51.06
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.254       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.540       1.0000         .10000E-03   10000.    
     5 'norm      '    5.9874       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    6.5224       1.0000         .10000E-03   10000.    
     8 'Prefactor '    26.207       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .18725E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.0636       1.0000         .10000E-03   10000.    
    12 'norm      '    1.7141       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.927       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .53536E-01   1.0000         .10000E-03   10000.    
    17 'Prefactor '    20.993       1.0000         .10000E-03   10000.    
    18 'norm      '    36.600       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    2.6220       1.0000         .10000E-03   10000.    
    21 'Prefactor '    34.025       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .98250       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0652       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6048.723     FROM MIGRAD    STATUS=CONVERGED    106 CALLS     2327 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.252        1.7406        .81359E-06   -.24108E-03
   2  norm          .10000E-03    2.6472        .14296E-05** at limit **
   3  Prefactor     .10000E-03    2.7668        .12402E-06** at limit **
   4  Prefactor     16.529        13.845       -.68033E-05    .60879E-03
   5  norm          5.9871        1.5134        .19670E-05   -.96270E-03
   6  Prefactor     .10000E-03    15.681        .18023E-05** at limit **
   7  norm          6.5217        4.5853       -.91408E-05   -.36399E-02
   8  Prefactor     26.113        7.3585        .12366E-05   -.21710E-02
   9  Prefactor     .10005E-03    89.759        .17880E-04** at limit **
  10  norm          .10000E-03    2.5328        .18747E-06** at limit **
  11  Prefactor     1.0633        8.3005        .25200E-04   -.10319E-02
  12  norm          1.7139        .49352        .20721E-06    .12823E-02
  13  Prefactor     .10000E-03    3.5951       -.33204E-06** at limit **
  14  Prefactor     14.923        3.7407        .18963E-05    .57131E-03
  15  Prefactor     .10000E-03    9.6504       -.21564E-06** at limit **
  16  Prefactor     .10010E-03    247.67       -.25671E-04** at limit **
  17  Prefactor     20.993        1.0649       -.17859E-06    .41773E-03
  18  norm          36.599        1.4831        .83380E-07   -.10164E-02
  19  Prefactor     .10000E-03    7.5042       -.25567E-06** at limit **
  20  norm          2.6221        2.0420        .12169E-06    .13124E-04
  21  Prefactor     34.031        1.1427       -.20408E-06    .74409E-03
  22  norm          .10000E-03    2.7921       -.12003E-05** at limit **
  23  Normalizat    .98265        .22603       -.42501E-05    .30497E-05
  24  Prefactor     1.0651        .17456        .23432E-06   -.17362E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.2516
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.5288
  norm       = 5.98709
  Prefactor  = 0.0001
  norm       = 6.52167
  Prefactor  = 26.1127
  Prefactor  = 0.000100054
  norm       = 0.0001
  Prefactor  = 1.06326
  norm       = 1.71392
  Prefactor  = 0.0001
  Prefactor  = 14.9234
  Prefactor  = 0.0001
  Prefactor  = 0.000100096
  Prefactor  = 20.9935
  norm       = 36.5988
  Prefactor  = 0.0001
  norm       = 2.62207
  Prefactor  = 34.0312
  norm       = 0.0001
  Normalizat = 0.982647
  Prefactor  = 1.06511
 **********
 **   18 **HESSE 
 **********

 FCN=   6048.723     FROM HESSE     STATUS=OK           449 CALLS     2776 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.252        13.673        .29856E-02   -1.5037    
   2  norm          .10000E-03    2.6488        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.7535        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     16.529        14.689        .24620E-02   -1.4895    
   5  norm          5.9871        7.5523        .41025E-02   -1.5219    
   6  Prefactor     .10000E-03    15.491        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          6.5217        6.0010        .39285E-02   -1.5197    
   8  Prefactor     26.113        22.915        .19563E-02   -1.4686    
   9  Prefactor     .10005E-03    99.528        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.5005        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     1.0633        18.430        .11845E-01   -1.5502    
  12  norm          1.7139        .49765        .63846E-02   -1.5446    
  13  Prefactor     .10000E-03    3.5839        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.923        14.710        .25917E-02   -1.4935    
  15  Prefactor     .10000E-03    9.6327        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10010E-03    6.4943        .92873E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     20.993        39.772        .21855E-02   -1.4791    
  18  norm          36.599        21.901        .16561E-02   -1.4497    
  19  Prefactor     .10000E-03    7.4766        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.6221        2.2355        .62968E-02   -1.5384    
  21  Prefactor     34.031        44.185        .17175E-02   -1.4541    
  22  norm          .10000E-03    2.7649        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .98265        .20966        .45947E-01   -.93614    
  24  Prefactor     1.0651        .15546        .39092E-01   -.90589    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62457e-06
Minuit parameter uncertainties:
  1  13.6771
  2  7.12458e-06
  3  5.79187e-06
  4  14.6924
  5  7.55348
  6  1.63255e-05
  7  6.00151
  8  22.9225
  9  0.00465633
  10  3.54581e-06
  11  8.85614
  12  0.497647
  13  8.99469e-06
  14  14.7134
  15  6.4387e-05
  16  0.00158256
  17  39.8226
  18  21.9055
  19  4.56936e-05
  20  2.23553
  21  44.2273
  22  1.44507e-05
  23  0.209836
  24  0.155526
Done.

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

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  1.000e-04  8.995e-06  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.065e+00  1.555e-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:  9.826e-01  2.098e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/92545/likelihoodResults_538185601_538444801_4FGL_J2200.7-2414_daily_bin1153.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) = 6048.72438685
delta logL = -0.00132051657965

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6048.72306666
delta logL = -3.24940629071e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10773E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1832       1.0000          .0000       10.000    
     3 'Normalizat'    .98247       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0653       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=   6048.620     FROM MIGRAD    STATUS=CONVERGED    212 CALLS      360 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1869        8.1456        .15540E-01    .59745E-03
   2  Index         .88679        .96820        .42572       -.74399E-04
   3  Normalizat    .97723        .22485        .28735E-03    .22156E-05
   4  Prefactor     1.0664        .17423        .21390E-03    .12756E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.1869
  Index      = 0.886793
  Normalizat = 0.977229
  Prefactor  = 1.06642
 **********
 **   18 **HESSE 
 **********

 FCN=   6048.620     FROM HESSE     STATUS=OK            29 CALLS      389 TOTAL
                     EDM=   .80E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1869        6.0921        .28400E-03   -1.5412    
   2  Index         .88679        .82679        .17944E-01   -.96604    
   3  Normalizat    .97723        .22490        .11494E-04   -.93797    
   4  Prefactor     1.0664        .17438        .85560E-05   -.90547    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.97658e-09
Minuit parameter uncertainties:
  1  6.09382
  2  0.838916
  3  0.225121
  4  0.174473
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/92545': 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) = 6048.62035846
delta logL = 0.102707869934

Extracting fit parameters...

4FGL J2200.7-2414
   Spectrum: PowerLaw
273    Prefactor:  2.187e+00  6.094e+00  1.000e-04  1.000e+04 ( 1.000e-13)
274        Index:  8.868e-01  8.389e-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.066e+00  1.745e-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:  9.772e-01  2.251e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/92545/cmap_HighResolution_538185601_538444801_4FGL_J2200.7-2414_daily_bin1153.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.23e-03', job_status='DONE', photon_flux_upper_limit='5.54e-08', time_completed='2021-09-28 00:11:49.251155', job_id='92545', GAL2='1.07', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1632813109.25', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.03e-01', ts2='0.21', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='1153' AND source_name='4FGL J2200.7-2414' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 00:11:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0303>
Subject: Job 92545: <4FGL_J2200.7-2414_daily_bin1153> in cluster <slac> Done

Job <4FGL_J2200.7-2414_daily_bin1153> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon Sep 27 23:55:27 2021
Job was executed on host(s) <bullet0303>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 23:58:49 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:58:49 2021
Terminated at Tue Sep 28 00:11:50 2021
Results reported at Tue Sep 28 00:11:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2200.7-2414_daily_bin1153 330.181 -24.2421 538185601 538444801 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 :                                   637.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             325.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   780 sec.
    Turnaround time :                            983 sec.

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

