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


Performing analysis on: 4FGL_J2203.4+1725_daily_bin1341
RA = 330.872, Dec = 17.4318
tmin = 586915201, tmax = 587174401
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='158167', job_status='RUN', time_executed='2021-09-28 03:35:46.457259', time_epoch_executed='1632825346.46' WHERE source_name='4FGL J2203.4+1725' and cadence='daily' and bin_id='1341'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/158167

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/158167/ft1_4FGL_J2203.4+1725_daily_bin1341.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/158167/ft2_4FGL_J2203.4+1725_daily_bin1341.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/158167/ft1_4FGL_J2203.4+1725_daily_bin1341.fits outfile=/scratch/kocevski/158167/ft1_filteredMKT_4FGL_J2203.4+1725_daily_bin1341.fits ra=330.872 dec=17.4318 rad=12.0 tmin=586915201.0 tmax=587174401.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.61
user 3.41
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/158167/ft2_4FGL_J2203.4+1725_daily_bin1341.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/158167/ft2_4FGL_J2203.4+1725_daily_bin1341.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/158167/ft1_filteredMKT_4FGL_J2203.4+1725_daily_bin1341.fits evtable="EVENTS" outfile="/scratch/kocevski/158167/ft1_filtered_4FGL_J2203.4+1725_daily_bin1341.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/158167/ft1_filtered_4FGL_J2203.4+1725_daily_bin1341.fits" evtable="EVENTS" scfile=/scratch/kocevski/158167/ft2_4FGL_J2203.4+1725_daily_bin1341.fits sctable="SC_DATA" outfile=/scratch/kocevski/158167/ltcube_586915201_587174401_4FGL_J2203.4+1725_daily_bin1341.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/158167/ft2_4FGL_J2203.4+1725_daily_bin1341.fits
.....................!
real 12.09
user 11.67
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/158167/ft1_filtered_4FGL_J2203.4+1725_daily_bin1341.fits evtable="EVENTS" scfile=/scratch/kocevski/158167/ft2_4FGL_J2203.4+1725_daily_bin1341.fits sctable="SC_DATA" expcube=/scratch/kocevski/158167/ltcube_586915201_587174401_4FGL_J2203.4+1725_daily_bin1341.fits outfile=/scratch/kocevski/158167/expmap_586915201_587174401_4FGL_J2203.4+1725_daily_bin1341.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/158167/ltcube_586915201_587174401_4FGL_J2203.4+1725_daily_bin1341.fits
.....................!
real 191.02
user 185.37
sys 5.29

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
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 162 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 J2203.4+1725 @ 330.872 17.4318

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/158167/ft1_filtered_4FGL_J2203.4+1725_daily_bin1341.fits scfile=/scratch/kocevski/158167/ft2_4FGL_J2203.4+1725_daily_bin1341.fits outfile=/scratch/kocevski/158167/cmap_586915201_587174401_4FGL_J2203.4+1725_daily_bin1341.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.872 yref=17.4318 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/158167/ft1_filtered_4FGL_J2203.4+1725_daily_bin1341.fits scfile=/scratch/kocevski/158167/ft2_4FGL_J2203.4+1725_daily_bin1341.fits outfile=/scratch/kocevski/158167/cmap_HighResolution_586915201_587174401_4FGL_J2203.4+1725_daily_bin1341.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.872 yref=17.4318 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/158167/ft1_filtered_4FGL_J2203.4+1725_daily_bin1341.fits evtable="EVENTS" scfile=/scratch/kocevski/158167/ft2_4FGL_J2203.4+1725_daily_bin1341.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/158167/Model_4FGL_J2203.4+1725_daily_bin1341.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/158167/ft1_filtered_4FGL_J2203.4+1725_daily_bin1341.fits.....................!
real 128.66
user 126.93
sys 1.48

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/158167/ft1_filtered_4FGL_J2203.4+1725_daily_bin1341.fits', '/scratch/kocevski/158167/ft2_4FGL_J2203.4+1725_daily_bin1341.fits', expMap='/scratch/kocevski/158167/expmap_586915201_587174401_4FGL_J2203.4+1725_daily_bin1341.fits', expCube='/scratch/kocevski/158167/ltcube_586915201_587174401_4FGL_J2203.4+1725_daily_bin1341.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/158167/Model_4FGL_J2203.4+1725_daily_bin1341.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2203.4+1725'

4FGL J2203.4+1725
   Spectrum: LogParabola
270         norm:  1.262e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
271        alpha:  2.231e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
272         beta:  7.474e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  5.997e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/158167/ft1_filtered_4FGL_J2203.4+1725_daily_bin1341.fits
Spacecraft file(s): /scratch/kocevski/158167/ft2_4FGL_J2203.4+1725_daily_bin1341.fits
Exposure map: /scratch/kocevski/158167/expmap_586915201_587174401_4FGL_J2203.4+1725_daily_bin1341.fits
Exposure cube: /scratch/kocevski/158167/ltcube_586915201_587174401_4FGL_J2203.4+1725_daily_bin1341.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/158167/Model_4FGL_J2203.4+1725_daily_bin1341.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) = 8112.75951239

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5687       1.0000         .10000E-03   10000.    
     2 'norm      '    5.8368       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .57170E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.2259       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    4.2589       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.2758       1.0000         .10000E-03   10000.    
     9 'norm      '    .20304E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    33.400       1.0000         .10000E-03   10000.    
    12 'norm      '    .30562       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .29567E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.3957       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.1158       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.4406       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.7530       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.3934       1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.8085       1.0000         .10000E-03   10000.    
    21 'norm      '    .81483       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    122.84       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .53358       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0053       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8112.685     FROM MIGRAD    STATUS=CONVERGED    595 CALLS     2569 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 11.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5661        101.47        .61306E-05    .21366E-04
   2  norm          5.8366        3.8137        .64963E-07   -.12446E-03
   3  Prefactor     .10000E-03    2.7107       -.63383E-06** at limit **
   4  Prefactor     2.2320        7.2079        .19491E-05    .15591E-03
   5  Prefactor     .10000E-03    45.068        .47828E-06** at limit **
   6  norm          4.2598        2.7154        .23167E-06    .93000E-04
   7  Prefactor     .10000E-03    29.315        .52806E-05** at limit **
   8  norm          2.2740        2.0420        .28658E-06    .57958E-03
   9  norm          .10000E-03    36.605       -.46711E-05** at limit **
  10  Prefactor     .10000E-03    18.859       -.53436E-06** at limit **
  11  Prefactor     33.398        34.944        .15015E-05    .22320E-04
  12  norm          .30548        .55320        .89037E-08   -.24585E-03
  13  Prefactor     .10058E-03    162.35       -.64906E-04** at limit **
  14  Prefactor     .10000E-03    6.7130        .15544E-06** at limit **
  15  norm          1.3996        3.6660        .10334E-05    .45694E-03
  16  Prefactor     3.1104        10.105        .10200E-04    .88697E-03
  17  Prefactor     5.4311        164.11        .23685E-04    .15715E-04
  18  Prefactor     8.7460        11.312        .85985E-06    .17690E-04
  19  Prefactor     2.3934        .34208       -.63435E-07   -.80885E-03
  20  Prefactor     7.8083        7.0248        .16301E-06    .10804E-03
  21  norm          .81460        1.9453        .44167E-06    .51220E-03
  22  Prefactor     .10000E-03    6.8757       -.33926E-06** at limit **
  23  Prefactor     122.84        24.644        .17304E-06    .62831E-04
  24  Normalizat    .53367        .25495       -.74704E-05   -.23331E-03
  25  Prefactor     1.0053        .11734        .58170E-06   -.46183E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.56613
  norm       = 5.83665
  Prefactor  = 0.0001
  Prefactor  = 2.232
  Prefactor  = 0.0001
  norm       = 4.25977
  Prefactor  = 0.0001
  norm       = 2.27399
  norm       = 0.000100005
  Prefactor  = 0.0001
  Prefactor  = 33.3982
  norm       = 0.305478
  Prefactor  = 0.000100576
  Prefactor  = 0.0001
  norm       = 1.39958
  Prefactor  = 3.11036
  Prefactor  = 5.43109
  Prefactor  = 8.746
  Prefactor  = 2.39338
  Prefactor  = 7.80828
  norm       = 0.814601
  Prefactor  = 0.0001
  Prefactor  = 122.836
  Normalizat = 0.533675
  Prefactor  = 1.0053
 **********
 **   18 **HESSE 
 **********

 FCN=   8112.685     FROM HESSE     STATUS=OK           439 CALLS     3008 TOTAL
                     EDM=   .97E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5661        103.40        .33947E-03   -1.5458    
   2  norm          5.8366        3.8065        .13657E-03   -1.5225    
   3  Prefactor     .10000E-03    11.562        .27690E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.2320        7.0541        .27559E-03   -1.5409    
   5  Prefactor     .10000E-03    45.076        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.2598        2.6930        .10889E-03   -1.5295    
   7  Prefactor     .10000E-03    29.341        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.2740        2.0327        .11635E-03   -1.5406    
   9  norm          .10000E-03    37.061        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    18.946        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     33.398        34.964        .69337E-04   -1.4551    
  12  norm          .30548        .42076        .86897E-03   -1.5597    
  13  Prefactor     .10058E-03    196.11        .83107E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.7674        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.3996        3.6554        .27022E-03   -1.5471    
  16  Prefactor     3.1104        14.800        .11485E-02   -1.5355    
  17  Prefactor     5.4311        165.20        .17227E-03   -1.5242    
  18  Prefactor     8.7460        11.275        .13548E-03   -1.5116    
  19  Prefactor     2.3934        .34627        .18648E-04   -1.5399    
  20  Prefactor     7.8083        7.0296        .71749E-03   -1.5149    
  21  norm          .81460        1.9038        .18236E-03   -1.5527    
  22  Prefactor     .10000E-03    6.8760        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     122.84        24.371        .36315E-04   -1.3487    
  24  Normalizat    .53367        .27612        .47355E-03   -1.1088    
  25  Prefactor     1.0053        .13218        .17498E-03   -.92553    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.67499e-09
Minuit parameter uncertainties:
  1  25.4962
  2  3.80667
  3  3.55547e-05
  4  7.05668
  5  5.07606e-05
  6  2.69312
  7  0.000176808
  8  2.03278
  9  0.000824198
  10  7.55741e-05
  11  34.9854
  12  0.420764
  13  0.0213332
  14  2.1614e-05
  15  3.65601
  16  13.5747
  17  60.089
  18  11.2779
  19  0.346272
  20  7.03038
  21  1.90397
  22  2.66924e-07
  23  24.3725
  24  0.276836
  25  0.13222
Done.

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

Extracting fit parameters...

4FGL J2203.4+1725
   Spectrum: LogParabola
270         norm:  3.055e-01  4.208e-01  1.000e-04  1.000e+04 ( 1.000e-11)
271        alpha:  2.231e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
272         beta:  7.474e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  5.997e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  1.005e+00  1.322e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  5.337e-01  2.768e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.05
Ra Dec: 330.872 17.432
Photon Index (Fixed Index): 2.23 +/- 0.00
Photon Flux (Fixed Index): 1.20e-08 +/- 1.66e-08
Energy Flux (Fixed Index): 4.54e-06 +/- 6.25e-06

TS (Fixed Index): 1.05
Ra Dec: 330.872 17.432
Photon Flux Upper Limit: 6.61e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.49e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/158167/likelihoodResults_586915201_587174401_4FGL_J2203.4+1725_daily_bin1341.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8112.66156151
delta logL = 0.0231831218625

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8112.66112117
delta logL = 0.023623463856

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .31751       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0084       1.0000          .0000       5.0000    
     3 'Normalizat'    .53598       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0046       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8112.661     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      208 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .31754        36.383        .16982E-01    .16810E-02
   2  alpha         2.0084        3.9385        .42205        .24325E-04
   3  Normalizat    .53600        .82434E-01    .10659        .54217E-04
   4  Prefactor     1.0046        .41963E-01    .44271E-01   -.45572E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.317537
  alpha      = 2.00837
  Normalizat = 0.536003
  Prefactor  = 1.00462
 **********
 **   18 **HESSE 
 **********

 FCN=   8112.661     FROM HESSE     STATUS=OK            35 CALLS      243 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .31754        .43386        .89060E-03   -1.5595    
   2  alpha         2.0084        .97689        .31096E-01   -.19794    
   3  Normalizat    .53600        .25787        .47255E-03   -1.1077    
   4  Prefactor     1.0046        .12927        .17503E-03   -.92576    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.24745e-10
Minuit parameter uncertainties:
  1  0.433862
  2  1.0048
  3  0.25845
  4  0.129308
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/158167': 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) = 8112.66112117
delta logL = 0.0236234693748

Extracting fit parameters...

4FGL J2203.4+1725
   Spectrum: LogParabola
270         norm:  3.175e-01  4.339e-01  1.000e-04  1.000e+04 ( 1.000e-11)
271        alpha:  2.008e+00  1.005e+00  0.000e+00  5.000e+00 ( 1.000e+00)
272         beta:  7.474e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  5.997e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  1.005e+00  1.293e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  5.360e-01  2.585e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.10
Ra Dec: 330.872 17.432
Photon Index (Free Index): 2.01 +/- 1.00
Photon Flux (Free Index): 1.03e-08 +/- 1.60e-08
Energy Flux (Free Index): 5.38e-06 +/- 8.90e-06

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/158167/cmap_HighResolution_586915201_587174401_4FGL_J2203.4+1725_daily_bin1341.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.49e-05', comment='SUCCESS', photon_flux='1.20e-08', energy_flux2='5.38e-06', photon_flux_error='1.66e-08', dlogl='2.36e-02', energy_flux='4.54e-06', photon_flux2='1.03e-08', job_status='DONE', time_completed='2021-09-28 03:49:57.905313', photon_index_error2='1.00', photon_index2='2.01', ts='1.05', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', photon_flux_upper_limit='6.61e-08', energy_flux_error2='8.90e-06', EG='0.53', time_epoch_completed='1632826197.91', return_code='0', job_id='158167', GAL2='1.00', EG2='0.54', return_code2='0', energy_flux_error='6.25e-06', photon_flux_error2='1.60e-08', ts2='1.10', photon_index='2.23' WHERE bin_id='1341' AND source_name='4FGL J2203.4+1725' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 03:49:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 158167: <4FGL_J2203.4+1725_daily_bin1341> in cluster <slac> Done

Job <4FGL_J2203.4+1725_daily_bin1341> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 03:35:32 2021
Job was executed on host(s) <bullet0088>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 03:35:34 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 03:35:34 2021
Terminated at Tue Sep 28 03:49:58 2021
Results reported at Tue Sep 28 03:49:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2203.4+1725_daily_bin1341 330.872 17.4318 586915201 587174401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2203.4+1725 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   842.06 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             355.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   864 sec.
    Turnaround time :                            866 sec.

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

