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


Performing analysis on: 4FGL_J2207.6+0053_daily_bin719
RA = 331.914, Dec = 0.8907
tmin = 425692801, tmax = 425952001
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='200232', job_status='RUN', time_executed='2021-09-28 05:57:45.768497', time_epoch_executed='1632833865.77' WHERE source_name='4FGL J2207.6+0053' and cadence='daily' and bin_id='719'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/200232

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/200232/ft1_4FGL_J2207.6+0053_daily_bin719.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/200232/ft2_4FGL_J2207.6+0053_daily_bin719.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/200232/ft1_4FGL_J2207.6+0053_daily_bin719.fits outfile=/scratch/kocevski/200232/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin719.fits ra=331.914 dec=0.8907 rad=12.0 tmin=425692801.0 tmax=425952001.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.59
user 3.35
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/200232/ft2_4FGL_J2207.6+0053_daily_bin719.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/200232/ft2_4FGL_J2207.6+0053_daily_bin719.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/200232/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin719.fits evtable="EVENTS" outfile="/scratch/kocevski/200232/ft1_filtered_4FGL_J2207.6+0053_daily_bin719.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/200232/ft1_filtered_4FGL_J2207.6+0053_daily_bin719.fits" evtable="EVENTS" scfile=/scratch/kocevski/200232/ft2_4FGL_J2207.6+0053_daily_bin719.fits sctable="SC_DATA" outfile=/scratch/kocevski/200232/ltcube_425692801_425952001_4FGL_J2207.6+0053_daily_bin719.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/200232/ft2_4FGL_J2207.6+0053_daily_bin719.fits
.....................!
real 12.32
user 11.94
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/200232/ft1_filtered_4FGL_J2207.6+0053_daily_bin719.fits evtable="EVENTS" scfile=/scratch/kocevski/200232/ft2_4FGL_J2207.6+0053_daily_bin719.fits sctable="SC_DATA" expcube=/scratch/kocevski/200232/ltcube_425692801_425952001_4FGL_J2207.6+0053_daily_bin719.fits outfile=/scratch/kocevski/200232/expmap_425692801_425952001_4FGL_J2207.6+0053_daily_bin719.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/200232/ltcube_425692801_425952001_4FGL_J2207.6+0053_daily_bin719.fits
.....................!
real 189.96
user 184.45
sys 4.64

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

Setting source of interest to:
4FGL J2207.6+0053 @ 331.914 0.8907

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/200232/ft1_filtered_4FGL_J2207.6+0053_daily_bin719.fits scfile=/scratch/kocevski/200232/ft2_4FGL_J2207.6+0053_daily_bin719.fits outfile=/scratch/kocevski/200232/cmap_425692801_425952001_4FGL_J2207.6+0053_daily_bin719.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=331.914 yref=0.8907 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/200232/ft1_filtered_4FGL_J2207.6+0053_daily_bin719.fits scfile=/scratch/kocevski/200232/ft2_4FGL_J2207.6+0053_daily_bin719.fits outfile=/scratch/kocevski/200232/cmap_HighResolution_425692801_425952001_4FGL_J2207.6+0053_daily_bin719.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=331.914 yref=0.8907 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.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/200232/ft1_filtered_4FGL_J2207.6+0053_daily_bin719.fits evtable="EVENTS" scfile=/scratch/kocevski/200232/ft2_4FGL_J2207.6+0053_daily_bin719.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/200232/Model_4FGL_J2207.6+0053_daily_bin719.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/200232/ft1_filtered_4FGL_J2207.6+0053_daily_bin719.fits.....................!
real 69.81
user 68.25
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/200232/ft1_filtered_4FGL_J2207.6+0053_daily_bin719.fits', '/scratch/kocevski/200232/ft2_4FGL_J2207.6+0053_daily_bin719.fits', expMap='/scratch/kocevski/200232/expmap_425692801_425952001_4FGL_J2207.6+0053_daily_bin719.fits', expCube='/scratch/kocevski/200232/ltcube_425692801_425952001_4FGL_J2207.6+0053_daily_bin719.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/200232/Model_4FGL_J2207.6+0053_daily_bin719.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2207.6+0053'

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  2.216e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  2.484e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.070e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/200232/ft1_filtered_4FGL_J2207.6+0053_daily_bin719.fits
Spacecraft file(s): /scratch/kocevski/200232/ft2_4FGL_J2207.6+0053_daily_bin719.fits
Exposure map: /scratch/kocevski/200232/expmap_425692801_425952001_4FGL_J2207.6+0053_daily_bin719.fits
Exposure cube: /scratch/kocevski/200232/ltcube_425692801_425952001_4FGL_J2207.6+0053_daily_bin719.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/200232/Model_4FGL_J2207.6+0053_daily_bin719.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) = 7419.55457811

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    51.928       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.0851       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    26.297       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.4654       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    150.47       1.0000         .10000E-03   10000.    
     8 'norm      '    .46744E-02   1.0000         .10000E-03   10000.    
     9 'norm      '    .12111E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10080E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    10.170       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.100       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    4.2175       1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.4251       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10502E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .97018       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .89939       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7419.537     FROM MIGRAD    STATUS=CONVERGED    522 CALLS     2607 TOTAL
                     EDM=   .87E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     51.922        41.676        .43397E-07   -.90991E-07
   2  Prefactor     2.0928        81.115        .15929E-05   -.36907E-05
   3  Prefactor     .10000E-03    .81493        .17323E-06** at limit **
   4  Prefactor     26.321        30.766       -.41707E-06    .30045E-04
   5  Prefactor     9.4680        15.000       -.55524E-07   -.64567E-05
   6  Prefactor     .10000E-03    49.091       -.31690E-07** at limit **
   7  Prefactor     150.36        69.391        .24441E-06   -.23612E-04
   8  norm          .38594E-01    1.0190        .37061E-07   -.15640E-03
   9  norm          .10000E-03    44.813       -.84616E-05** at limit **
  10  Prefactor     .10000E-03    3.4712       -.16532E-05** at limit **
  11  Prefactor     10.178        11.279        .15920E-05   -.76221E-05
  12  Prefactor     .10000E-03    9.3691       -.61100E-06** at limit **
  13  Prefactor     .10000E-03    20.915       -.46549E-06** at limit **
  14  Prefactor     .10000E-03    23.691       -.33103E-06** at limit **
  15  Prefactor     .10000E-03    18.377       -.31414E-07** at limit **
  16  Prefactor     13.111        10.751       -.27308E-06    .94626E-05
  17  Prefactor     .10000E-03    4.7425        .36031E-07** at limit **
  18  Prefactor     .10000E-03    1.4721        .11478E-06** at limit **
  19  norm          4.2184        3.1631       -.29478E-07   -.19123E-05
  20  Prefactor     9.4257        6.9658        .11912E-08   -.17703E-04
  21  Prefactor     .10000E-03    91.087        .40013E-06** at limit **
  22  Normalizat    .96952        .22009        .25800E-05   -.17084E-04
  23  Prefactor     .89948        .11732       -.11490E-05    .27647E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 51.9222
  Prefactor  = 2.09282
  Prefactor  = 0.0001
  Prefactor  = 26.3211
  Prefactor  = 9.46796
  Prefactor  = 0.0001
  Prefactor  = 150.365
  norm       = 0.0385943
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.1776
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.1106
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.21839
  Prefactor  = 9.42572
  Prefactor  = 0.0001
  Normalizat = 0.969515
  Prefactor  = 0.899484
 **********
 **   18 **HESSE 
 **********

 FCN=   7419.537     FROM HESSE     STATUS=OK           368 CALLS     2975 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     51.922        41.680        .55656E-04   -1.4266    
   2  Prefactor     2.0928        80.977        .28594E-03   -1.5419    
   3  Prefactor     .10000E-03    .84247        .15134E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     26.321        30.775        .78119E-04   -1.4681    
   5  Prefactor     9.4680        14.995        .13026E-03   -1.5092    
   6  Prefactor     .10000E-03    49.119        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     150.36        69.523        .16429E-03   -1.3249    
   8  norm          .38594E-01    38.515        .16417E-02   -1.5669    
   9  norm          .10000E-03    45.644        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.5093        .15731E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     10.178        11.277        .62822E-03   -1.5070    
  12  Prefactor     .10000E-03    9.4020        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    21.320        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    23.986        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    18.427        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     13.111        10.786        .11067E-03   -1.4984    
  17  Prefactor     .10000E-03    4.7449        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    1.4775        .10196E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          4.2184        3.1639        .12811E-03   -1.5297    
  20  Prefactor     9.4257        6.9688        .13054E-03   -1.5094    
  21  Prefactor     .10000E-03    91.352        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .96952        .25591        .32754E-03   -.94059    
  23  Prefactor     .89948        .13676        .18739E-03   -.96159    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.52098e-10
Minuit parameter uncertainties:
  1  41.7035
  2  26.0736
  3  2.5192e-06
  4  30.7933
  5  15.0007
  6  5.05024e-05
  7  69.5607
  8  2.43681
  9  1.49607e-05
  10  4.2995e-08
  11  11.2792
  12  5.23829e-06
  13  0.000121601
  14  1.14695e-05
  15  9.57352e-08
  16  10.7877
  17  8.1977e-07
  18  1.44587e-06
  19  3.16406
  20  6.96941
  21  6.62155e-05
  22  0.256238
  23  0.136809
Done.

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

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  1.000e-04  1.147e-05  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  2.484e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.070e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
553    Prefactor:  8.995e-01  1.368e-01  0.000e+00  1.000e+01 ( 1.000e+00)
554        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
555        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
552   Normalization:  9.695e-01  2.562e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 331.914 0.891
Photon Flux Upper Limit: 9.59e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.45e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/200232/likelihoodResults_425692801_425952001_4FGL_J2207.6+0053_daily_bin719.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) = 7419.53713114
delta logL = -0.000198654528504

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7419.53693249
delta logL = -4.53383108834e-09

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 'Index     '    2.4771       1.0000          .0000       10.000    
     3 'Normalizat'    .96951       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89949       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7419.537     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      211 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    23.986        .90712E-02** at limit **
   2  Index         2.4706        8.5168        .50000        .22844E-05
   3  Normalizat    .96952        .51493E-02    .74020E-01    .22653E-04
   4  Prefactor     .89948        .28634E-02    .44999E-01    .52588E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.47058
  Normalizat = 0.969518
  Prefactor  = 0.899482
 **********
 **   18 **HESSE 
 **********

 FCN=   7419.537     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      244 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    170.99        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4706        8.5660        .50000       -.53041    
   3  Normalizat    .96952        .13756E-01    .32753E-03   -.94059    
   4  Prefactor     .89948        .76602E-02    .18739E-03   -.96159    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.2821e-08
Minuit parameter uncertainties:
  1  1.41477e-05
  2  341.499
  3  0.0137562
  4  0.00766021
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/200232': 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) = 7419.53693248
delta logL = 7.66794983065e-09

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  1.000e-04  1.415e-05  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  2.471e+00  3.415e+02  0.000e+00  1.000e+01 (-1.000e+00)
288        Scale:  1.070e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
553    Prefactor:  8.995e-01  7.660e-03  0.000e+00  1.000e+01 ( 1.000e+00)
554        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
555        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
552   Normalization:  9.695e-01  1.376e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 331.914 0.891

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/200232/cmap_HighResolution_425692801_425952001_4FGL_J2207.6+0053_daily_bin719.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.45e-03', job_status='DONE', photon_flux_upper_limit='9.59e-08', time_completed='2021-09-28 06:09:46.838023', job_id='200232', GAL2='0.90', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1632834586.84', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='7.67e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='719' AND source_name='4FGL J2207.6+0053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:09:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0101>
Subject: Job 200232: <4FGL_J2207.6+0053_daily_bin719> in cluster <slac> Done

Job <4FGL_J2207.6+0053_daily_bin719> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 05:55:32 2021
Job was executed on host(s) <bullet0101>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 05:55:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 05:55:33 2021
Terminated at Tue Sep 28 06:09:47 2021
Results reported at Tue Sep 28 06:09:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.6+0053_daily_bin719 331.914 0.8907 425692801 425952001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2207.6+0053 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   719.51 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             299.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   854 sec.
    Turnaround time :                            855 sec.

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

