/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 36 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 = 7535
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2200.1+2138_daily_bin1239
RA = 330.031, Dec = 21.6382
tmin = 560476801, tmax = 560736001
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='83068', job_status='RUN', time_executed='2021-09-27 23:26:55.356397', time_epoch_executed='1632810415.36' WHERE source_name='4FGL J2200.1+2138' and cadence='daily' and bin_id='1239'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/83068

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/83068/ft1_4FGL_J2200.1+2138_daily_bin1239.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/83068/ft2_4FGL_J2200.1+2138_daily_bin1239.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/83068/ft1_4FGL_J2200.1+2138_daily_bin1239.fits outfile=/scratch/kocevski/83068/ft1_filteredMKT_4FGL_J2200.1+2138_daily_bin1239.fits ra=330.031 dec=21.6382 rad=12.0 tmin=560476801.0 tmax=560736001.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.76
user 3.55
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/83068/ft1_filtered_4FGL_J2200.1+2138_daily_bin1239.fits" evtable="EVENTS" scfile=/scratch/kocevski/83068/ft2_4FGL_J2200.1+2138_daily_bin1239.fits sctable="SC_DATA" outfile=/scratch/kocevski/83068/ltcube_560476801_560736001_4FGL_J2200.1+2138_daily_bin1239.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/83068/ft2_4FGL_J2200.1+2138_daily_bin1239.fits
.....................!
real 12.84
user 12.48
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/83068/ft1_filtered_4FGL_J2200.1+2138_daily_bin1239.fits evtable="EVENTS" scfile=/scratch/kocevski/83068/ft2_4FGL_J2200.1+2138_daily_bin1239.fits sctable="SC_DATA" expcube=/scratch/kocevski/83068/ltcube_560476801_560736001_4FGL_J2200.1+2138_daily_bin1239.fits outfile=/scratch/kocevski/83068/expmap_560476801_560736001_4FGL_J2200.1+2138_daily_bin1239.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/83068/ltcube_560476801_560736001_4FGL_J2200.1+2138_daily_bin1239.fits
.....................!
real 191.31
user 185.48
sys 4.57

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_archive_v18/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/83068/ft1_filtered_4FGL_J2200.1+2138_daily_bin1239.fits scfile=/scratch/kocevski/83068/ft2_4FGL_J2200.1+2138_daily_bin1239.fits outfile=/scratch/kocevski/83068/cmap_560476801_560736001_4FGL_J2200.1+2138_daily_bin1239.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.56
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/83068/ft1_filtered_4FGL_J2200.1+2138_daily_bin1239.fits scfile=/scratch/kocevski/83068/ft2_4FGL_J2200.1+2138_daily_bin1239.fits outfile=/scratch/kocevski/83068/cmap_HighResolution_560476801_560736001_4FGL_J2200.1+2138_daily_bin1239.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.54
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/83068/ft1_filtered_4FGL_J2200.1+2138_daily_bin1239.fits', '/scratch/kocevski/83068/ft2_4FGL_J2200.1+2138_daily_bin1239.fits', expMap='/scratch/kocevski/83068/expmap_560476801_560736001_4FGL_J2200.1+2138_daily_bin1239.fits', expCube='/scratch/kocevski/83068/ltcube_560476801_560736001_4FGL_J2200.1+2138_daily_bin1239.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/83068/Model_4FGL_J2200.1+2138_daily_bin1239.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  1.000e-04  1.000e+04 ( 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/83068/ft1_filtered_4FGL_J2200.1+2138_daily_bin1239.fits
Spacecraft file(s): /scratch/kocevski/83068/ft2_4FGL_J2200.1+2138_daily_bin1239.fits
Exposure map: /scratch/kocevski/83068/expmap_560476801_560736001_4FGL_J2200.1+2138_daily_bin1239.fits
Exposure cube: /scratch/kocevski/83068/ltcube_560476801_560736001_4FGL_J2200.1+2138_daily_bin1239.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/83068/Model_4FGL_J2200.1+2138_daily_bin1239.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) = 4484.65899744

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.9598       1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.448       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    95.635       1.0000         .10000E-03   10000.    
     6 'norm      '    4.1298       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.8023       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.8706       1.0000         .10000E-03   10000.    
    11 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    19.254       1.0000         .10000E-03   10000.    
    13 'norm      '    1.3126       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.0271       1.0000         .10000E-03   10000.    
    15 'Prefactor '    69.002       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.8347       1.0000         .10000E-03   10000.    
    18 'norm      '    6.2647       1.0000         .10000E-03   10000.    
    19 'Prefactor '    10.399       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .65661       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .91008       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4484.513     FROM MIGRAD    STATUS=CONVERGED    459 CALLS     2662 TOTAL
                     EDM=   .61E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.133        .40810E-06** at limit **
   2  norm          2.9598        5.4559        .20997E-05    .10370E-04
   3  Prefactor     16.449        15.661        .18665E-06    .11618E-04
   4  Prefactor     .10000E-03    16.807       -.53474E-07** at limit **
   5  Prefactor     95.588        238.23        .48283E-05    .14174E-05
   6  norm          4.1303        3.3916       -.39899E-07    .56105E-04
   7  Prefactor     3.8021        6.1036       -.29558E-06   -.22556E-04
   8  Prefactor     .10000E-03    52.458       -.84532E-06** at limit **
   9  norm          .10000E-03    .50140        .18755E-06** at limit **
  10  Prefactor     3.8267        240.82        .19583E-04   -.11083E-06
  11  norm          .10000E-03    .63480       -.26948E-06** at limit **
  12  Prefactor     19.252        17.911        .64475E-08   -.65886E-05
  13  norm          1.3126        3.2920        .11900E-06    .15343E-04
  14  Prefactor     8.0271        8.2802        .15246E-07    .58439E-05
  15  Prefactor     69.008        151.37       -.44679E-06   -.21750E-05
  16  Prefactor     .10000E-03    33.514       -.95876E-07** at limit **
  17  norm          1.8346        1.7434        .64754E-07    .52593E-05
  18  norm          6.2648        3.4313       -.92527E-08    .19162E-05
  19  Prefactor     10.396        22.034        .47098E-06    .14080E-05
  20  Normalizat    .65680        .29516       -.13231E-05    .16406E-04
  21  Prefactor     .91001        .12671       -.77105E-07    .59075E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 2.95976
  Prefactor  = 16.449
  Prefactor  = 0.0001
  Prefactor  = 95.588
  norm       = 4.13034
  Prefactor  = 3.80213
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.82665
  norm       = 0.0001
  Prefactor  = 19.2519
  norm       = 1.31265
  Prefactor  = 8.02709
  Prefactor  = 69.0085
  Prefactor  = 0.0001
  norm       = 1.83455
  norm       = 6.26476
  Prefactor  = 10.3964
  Normalizat = 0.6568
  Prefactor  = 0.910014
 **********
 **   18 **HESSE 
 **********

 FCN=   4484.513     FROM HESSE     STATUS=OK           325 CALLS     2987 TOTAL
                     EDM=   .12E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    18.157        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.9598        5.4782        .10235E-02   -1.5364    
   3  Prefactor     16.449        15.589        .98754E-04   -1.4897    
   4  Prefactor     .10000E-03    17.012        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     95.588        238.81        .20550E-03   -1.3749    
   6  norm          4.1303        3.3776        .10412E-03   -1.5301    
   7  Prefactor     3.8021        6.0992        .20317E-03   -1.5318    
   8  Prefactor     .10000E-03    52.711        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    .85887        .91124E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.8267        241.60        .20510E-03   -1.5317    
  11  norm          .10000E-03    1.0058        .10201E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     19.252        17.907        .91278E-04   -1.4830    
  13  norm          1.3126        3.2283        .18721E-03   -1.5479    
  14  Prefactor     8.0271        8.2825        .14152E-03   -1.5141    
  15  Prefactor     69.008        151.12        .48322E-04   -1.4045    
  16  Prefactor     .10000E-03    34.291        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.8346        1.7255        .80627E-04   -1.5437    
  18  norm          6.2648        3.4308        .86266E-04   -1.5207    
  19  Prefactor     10.396        22.040        .12425E-03   -1.5063    
  20  Normalizat    .65680        .33012        .40945E-03   -1.0562    
  21  Prefactor     .91001        .14572        .16128E-03   -.95792    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2235e-11
Minuit parameter uncertainties:
  1  3.39745e-06
  2  5.47914
  3  15.5928
  4  6.11011e-06
  5  241.278
  6  3.37774
  7  6.10019
  8  0.000237981
  9  5.25312e-07
  10  61.0705
  11  3.17705e-06
  12  17.9115
  13  3.22873
  14  8.28371
  15  151.968
  16  1.08864e-05
  17  1.72554
  18  3.43092
  19  22.0569
  20  0.331119
  21  0.145786
Done.

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

Extracting fit parameters...

4FGL J2200.1+2138
   Spectrum: PowerLaw
268    Prefactor:  3.827e+00  6.107e+01  1.000e-04  1.000e+04 ( 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:  9.100e-01  1.458e-01  0.000e+00  1.000e+01 ( 1.000e+00)
560        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
561        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
558   Normalization:  6.568e-01  3.311e-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: 1.11e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.35e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/83068/likelihoodResults_560476801_560736001_4FGL_J2200.1+2138_daily_bin1239.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) = 4484.1463518
delta logL = 0.367015085087

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4484.11651752
delta logL = 0.396849366296

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .67449       1.0000         .10000E-03   10000.    
     2 'Index     '    3.9234       1.0000          .0000       10.000    
     3 'Normalizat'    .57401       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93054       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=   4484.117     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      256 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .65923        16.292        .11964E-01    .98409E-03
   2  Index         3.9317        2.6398        .83404E-01    .16623E-03
   3  Normalizat    .57392        .61883E-01    .98547E-01    .34918E-04
   4  Prefactor     .93068        .28346E-01    .45393E-01    .17746E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.659231
  Index      = 3.93167
  Normalizat = 0.573924
  Prefactor  = 0.930682
 **********
 **   18 **HESSE 
 **********

 FCN=   4484.117     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      291 TOTAL
                     EDM=   .34E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .65923        44.982        .64343E-03   -1.5546    
   2  Index         3.9317        6.9409        .45481E-02   -.21533    
   3  Normalizat    .57392        .22880        .43672E-03   -1.0910    
   4  Prefactor     .93068        .10305        .15964E-03   -.95077    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.43991e-11
Minuit parameter uncertainties:
  1  10.8987
  2  5.93044
  3  0.229182
  4  0.10307
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/83068': 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) = 4484.11651116
delta logL = 0.396855731649

Extracting fit parameters...

4FGL J2200.1+2138
   Spectrum: PowerLaw
268    Prefactor:  6.592e-01  1.090e+01  1.000e-04  1.000e+04 ( 1.000e-14)
269        Index:  3.932e+00  5.930e+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:  9.307e-01  1.031e-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.739e-01  2.292e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 330.031 21.638

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/83068/cmap_HighResolution_560476801_560736001_4FGL_J2200.1+2138_daily_bin1239.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.35e-03', job_status='DONE', photon_flux_upper_limit='1.11e-07', time_completed='2021-09-27 23:37:36.750172', job_id='83068', GAL2='0.93', fit_tolerance='1e-08', EG2='0.57', EG='0.66', time_epoch_completed='1632811056.75', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='3.97e-01', ts2='0.91', photon_index_error='0.00', photon_index='2.04' WHERE bin_id='1239' AND source_name='4FGL J2200.1+2138' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Sep 27 23:37:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 83068: <4FGL_J2200.1+2138_daily_bin1239> in cluster <slac> Done

Job <4FGL_J2200.1+2138_daily_bin1239> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Sep 27 23:26:01 2021
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Sep 27 23:26:02 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:26:02 2021
Terminated at Mon Sep 27 23:37:37 2021
Results reported at Mon Sep 27 23:37:37 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2200.1+2138_daily_bin1239 330.031 21.6382 560476801 560736001 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 :                                   588.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             354.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   695 sec.
    Turnaround time :                            696 sec.

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

