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


Performing analysis on: 4FGL_J2207.6+0053_daily_bin947
RA = 331.914, Dec = 0.8907
tmin = 484790401, tmax = 485049601
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='202143', job_status='RUN', time_executed='2021-09-28 06:00:40.341356', time_epoch_executed='1632834040.34' WHERE source_name='4FGL J2207.6+0053' and cadence='daily' and bin_id='947'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/202143

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/202143/ft1_4FGL_J2207.6+0053_daily_bin947.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/202143/ft2_4FGL_J2207.6+0053_daily_bin947.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/202143/ft1_4FGL_J2207.6+0053_daily_bin947.fits outfile=/scratch/kocevski/202143/ft1_filteredMKT_4FGL_J2207.6+0053_daily_bin947.fits ra=331.914 dec=0.8907 rad=12.0 tmin=484790401.0 tmax=485049601.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.51
user 3.30
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/202143/ft1_filtered_4FGL_J2207.6+0053_daily_bin947.fits" evtable="EVENTS" scfile=/scratch/kocevski/202143/ft2_4FGL_J2207.6+0053_daily_bin947.fits sctable="SC_DATA" outfile=/scratch/kocevski/202143/ltcube_484790401_485049601_4FGL_J2207.6+0053_daily_bin947.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/202143/ft2_4FGL_J2207.6+0053_daily_bin947.fits
.....................!
real 11.60
user 11.26
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/202143/ft1_filtered_4FGL_J2207.6+0053_daily_bin947.fits evtable="EVENTS" scfile=/scratch/kocevski/202143/ft2_4FGL_J2207.6+0053_daily_bin947.fits sctable="SC_DATA" expcube=/scratch/kocevski/202143/ltcube_484790401_485049601_4FGL_J2207.6+0053_daily_bin947.fits outfile=/scratch/kocevski/202143/expmap_484790401_485049601_4FGL_J2207.6+0053_daily_bin947.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/202143/ltcube_484790401_485049601_4FGL_J2207.6+0053_daily_bin947.fits
.....................!
real 191.97
user 186.72
sys 4.86

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/202143/ft1_filtered_4FGL_J2207.6+0053_daily_bin947.fits scfile=/scratch/kocevski/202143/ft2_4FGL_J2207.6+0053_daily_bin947.fits outfile=/scratch/kocevski/202143/cmap_484790401_485049601_4FGL_J2207.6+0053_daily_bin947.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/202143/ft1_filtered_4FGL_J2207.6+0053_daily_bin947.fits scfile=/scratch/kocevski/202143/ft2_4FGL_J2207.6+0053_daily_bin947.fits outfile=/scratch/kocevski/202143/cmap_HighResolution_484790401_485049601_4FGL_J2207.6+0053_daily_bin947.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.53
user 0.39
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/202143/ft1_filtered_4FGL_J2207.6+0053_daily_bin947.fits', '/scratch/kocevski/202143/ft2_4FGL_J2207.6+0053_daily_bin947.fits', expMap='/scratch/kocevski/202143/expmap_484790401_485049601_4FGL_J2207.6+0053_daily_bin947.fits', expCube='/scratch/kocevski/202143/ltcube_484790401_485049601_4FGL_J2207.6+0053_daily_bin947.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/202143/Model_4FGL_J2207.6+0053_daily_bin947.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/202143/ft1_filtered_4FGL_J2207.6+0053_daily_bin947.fits
Spacecraft file(s): /scratch/kocevski/202143/ft2_4FGL_J2207.6+0053_daily_bin947.fits
Exposure map: /scratch/kocevski/202143/expmap_484790401_485049601_4FGL_J2207.6+0053_daily_bin947.fits
Exposure cube: /scratch/kocevski/202143/ltcube_484790401_485049601_4FGL_J2207.6+0053_daily_bin947.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/202143/Model_4FGL_J2207.6+0053_daily_bin947.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) = 8975.52561383

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .70350       1.0000         .10000E-03   10000.    
     2 'Prefactor '    19.381       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .91010       1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.3562       1.0000         .10000E-03   10000.    
     5 'Prefactor '    75.037       1.0000         .10000E-03   10000.    
     6 'Prefactor '    124.86       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .89721       1.0000         .10000E-03   10000.    
     8 'norm      '    .97931       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.3652       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10215E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.1203       1.0000         .10000E-03   10000.    
    13 'Prefactor '    27.595       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    28.412       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.3654       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.1907       1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.500       1.0000         .10000E-03   10000.    
    19 'norm      '    25.809       1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.4420       1.0000         .10000E-03   10000.    
    21 'Prefactor '    30.008       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .71514       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .95887       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8975.513     FROM MIGRAD    STATUS=CONVERGED     77 CALLS     2180 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .29529        565.57        .13311E-04    .74742E-04
   2  Prefactor     19.398        1.8816       -.13992E-06    .88453E-03
   3  Prefactor     .90699        2.0293        .17026E-06    .26549E-03
   4  Prefactor     9.3541        4.4729        .41713E-06   -.31220E-02
   5  Prefactor     75.046        2.4781       -.96556E-07    .55111E-02
   6  Prefactor     124.86        1.1522        .59952E-08   -.19576E-02
   7  Prefactor     .85330        4.7615        .15382E-05   -.76924E-04
   8  norm          .97662        2.5695       -.66012E-06   -.31749E-03
   9  norm          .10001E-03    15.053        .38686E-05** at limit **
  10  Prefactor     3.3696        2.3265       -.24963E-07    .45561E-02
  11  Prefactor     .10000E-03    12.103        .24176E-05** at limit **
  12  Prefactor     4.1178        1.1284        .65139E-07    .45637E-03
  13  Prefactor     27.576        13.084        .70117E-06   -.54410E-03
  14  Prefactor     .10000E-03    4.1247       -.13880E-05** at limit **
  15  Prefactor     28.396        1.6706        .80411E-07   -.52558E-03
  16  Prefactor     9.3603        1.5353        .11305E-06    .15704E-02
  17  Prefactor     7.1879        1.0763        .48757E-07    .36337E-03
  18  Prefactor     12.495        4.8249        .28443E-06    .17434E-02
  19  norm          25.807        5.2737       -.70636E-07    .41309E-03
  20  Prefactor     5.4401        2.2648        .20553E-06   -.74055E-02
  21  Prefactor     30.016        1.3667       -.74253E-09   -.11785E-02
  22  Normalizat    .71570        .22906        .73949E-06    .23140E-03
  23  Prefactor     .95885        .12460       -.15581E-06    .36986E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.295292
  Prefactor  = 19.3979
  Prefactor  = 0.906989
  Prefactor  = 9.35405
  Prefactor  = 75.0459
  Prefactor  = 124.865
  Prefactor  = 0.853302
  norm       = 0.976622
  norm       = 0.000100009
  Prefactor  = 3.36959
  Prefactor  = 0.000100002
  Prefactor  = 4.11776
  Prefactor  = 27.5761
  Prefactor  = 0.000100001
  Prefactor  = 28.3957
  Prefactor  = 9.3603
  Prefactor  = 7.1879
  Prefactor  = 12.4949
  norm       = 25.8073
  Prefactor  = 5.44014
  Prefactor  = 30.0159
  Normalizat = 0.715705
  Prefactor  = 0.958851
 **********
 **   18 **HESSE 
 **********

 FCN=   8975.513     FROM HESSE     STATUS=OK           440 CALLS     2620 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .29529        19.724        .14431       -1.5599    
   2  Prefactor     19.398        37.619        .22745E-02   -1.4827    
   3  Prefactor     .90699        2.7539        .12844E-01   -1.5517    
   4  Prefactor     9.3541        25.535        .32755E-02   -1.5096    
   5  Prefactor     75.046        45.203        .11588E-02   -1.3973    
   6  Prefactor     124.86        114.75        .90057E-03   -1.3468    
   7  Prefactor     .85330        40.069        .15534       -1.5523    
   8  norm          .97662        3.4675        .13092E-01   -1.5510    
   9  norm          .10001E-03    15.145        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.3696        7.7186        .55148E-02   -1.5341    
  11  Prefactor     .10000E-03    11.926        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.1178        10.191        .49648E-02   -1.5302    
  13  Prefactor     27.576        14.318        .19066E-02   -1.4657    
  14  Prefactor     .10000E-03    4.1216        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     28.396        20.652        .18791E-02   -1.4642    
  16  Prefactor     9.3603        9.6368        .32739E-02   -1.5096    
  17  Prefactor     7.1879        8.5001        .37397E-02   -1.5172    
  18  Prefactor     12.495        5.3869        .28325E-02   -1.5001    
  19  norm          25.807        5.6416        .19713E-02   -1.4692    
  20  Prefactor     5.4401        5.2861        .43062E-02   -1.5241    
  21  Prefactor     30.016        67.111        .18285E-02   -1.4612    
  22  Normalizat    .71570        .20538        .84294E-01   -1.0328    
  23  Prefactor     .95885        .10662        .45751E-01   -.94114    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.07974e-07
Minuit parameter uncertainties:
  1  4.82756
  2  37.6645
  3  2.75429
  4  25.5651
  5  45.224
  6  114.953
  7  11.7023
  8  3.46817
  9  0.000738282
  10  7.72088
  11  0.000284688
  12  10.1957
  13  14.3198
  14  0.000115969
  15  20.6574
  16  9.6384
  17  8.50151
  18  5.38707
  19  5.64169
  20  5.28653
  21  67.2806
  22  0.205598
  23  0.106644
Done.

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

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  1.000e-04  1.160e-04  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:  9.589e-01  1.066e-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:  7.157e-01  2.056e-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: 4.96e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.85e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/202143/likelihoodResults_484790401_485049601_4FGL_J2207.6+0053_daily_bin947.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) = 8975.51400723
delta logL = -0.0011536762413

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8975.51285344
delta logL = 1.15285729407e-07

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8975.513     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      256 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.514        .18142E-01** at limit **
   2  Index         1.8597        6.9247        .50000        .28658E-06
   3  Normalizat    .71570        .72896E-02    .37331E-03    .26860E-04
   4  Prefactor     .95885        .41525E-02    .18445E-03    .74233E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.85966
  Normalizat = 0.715704
  Prefactor  = 0.958851
 **********
 **   18 **HESSE 
 **********

 FCN=   8975.513     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      285 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    163.10        .21533E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.8597        8.2976        .50000       -.67907    
   3  Normalizat    .71570        .26152E-01    .14932E-04   -1.0328    
   4  Prefactor     .95885        .14898E-01    .36890E-04   -.94114    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.2275e-09
Minuit parameter uncertainties:
  1  0.00012829
  2  801.127
  3  0.0261526
  4  0.0148977
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/202143': 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) = 8975.51285066
delta logL = 2.89466152026e-06

Extracting fit parameters...

4FGL J2207.6+0053
   Spectrum: PowerLaw
286    Prefactor:  1.000e-04  1.283e-04  1.000e-04  1.000e+04 ( 1.000e-13)
287        Index:  1.860e+00  8.011e+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:  9.589e-01  1.490e-02  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:  7.157e-01  2.615e-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/202143/cmap_HighResolution_484790401_485049601_4FGL_J2207.6+0053_daily_bin947.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.85e-03', job_status='DONE', photon_flux_upper_limit='4.96e-08', time_completed='2021-09-28 06:13:45.333877', job_id='202143', GAL2='0.96', fit_tolerance='1e-08', EG2='0.72', EG='0.72', time_epoch_completed='1632834825.33', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='2.89e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.48' WHERE bin_id='947' AND source_name='4FGL J2207.6+0053' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 06:13:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0121>
Subject: Job 202143: <4FGL_J2207.6+0053_daily_bin947> in cluster <slac> Done

Job <4FGL_J2207.6+0053_daily_bin947> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Sep 28 06:00:22 2021
Job was executed on host(s) <bullet0121>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:00:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 06:00:25 2021
Terminated at Tue Sep 28 06:13:46 2021
Results reported at Tue Sep 28 06:13:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2207.6+0053_daily_bin947 331.914 0.8907 484790401 485049601 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 :                                   779.40 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             358.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   800 sec.
    Turnaround time :                            804 sec.

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

