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


Performing analysis on: 4FGL_J2127.7+3612_daily_bin1206
RA = 321.931, Dec = 36.2125
tmin = 551923201, tmax = 552182401
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='499647', job_status='RUN', time_executed='2021-09-26 14:15:17.174230', time_epoch_executed='1632690917.17' WHERE source_name='4FGL J2127.7+3612' and cadence='daily' and bin_id='1206'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/499647

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/499647/ft1_4FGL_J2127.7+3612_daily_bin1206.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/499647/ft2_4FGL_J2127.7+3612_daily_bin1206.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/499647/ft1_4FGL_J2127.7+3612_daily_bin1206.fits outfile=/scratch/kocevski/499647/ft1_filteredMKT_4FGL_J2127.7+3612_daily_bin1206.fits ra=321.931 dec=36.2125 rad=12.0 tmin=551923201.0 tmax=552182401.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.79
user 3.48
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/499647/ft2_4FGL_J2127.7+3612_daily_bin1206.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/499647/ft2_4FGL_J2127.7+3612_daily_bin1206.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/499647/ft1_filteredMKT_4FGL_J2127.7+3612_daily_bin1206.fits evtable="EVENTS" outfile="/scratch/kocevski/499647/ft1_filtered_4FGL_J2127.7+3612_daily_bin1206.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.54
user 0.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/499647/ft1_filtered_4FGL_J2127.7+3612_daily_bin1206.fits" evtable="EVENTS" scfile=/scratch/kocevski/499647/ft2_4FGL_J2127.7+3612_daily_bin1206.fits sctable="SC_DATA" outfile=/scratch/kocevski/499647/ltcube_551923201_552182401_4FGL_J2127.7+3612_daily_bin1206.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/499647/ft2_4FGL_J2127.7+3612_daily_bin1206.fits
.....................!
real 13.71
user 13.17
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/499647/ft1_filtered_4FGL_J2127.7+3612_daily_bin1206.fits evtable="EVENTS" scfile=/scratch/kocevski/499647/ft2_4FGL_J2127.7+3612_daily_bin1206.fits sctable="SC_DATA" expcube=/scratch/kocevski/499647/ltcube_551923201_552182401_4FGL_J2127.7+3612_daily_bin1206.fits outfile=/scratch/kocevski/499647/expmap_551923201_552182401_4FGL_J2127.7+3612_daily_bin1206.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/499647/ltcube_551923201_552182401_4FGL_J2127.7+3612_daily_bin1206.fits
.....................!
real 194.61
user 188.01
sys 4.87

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 Cocoon in ROI with RadialGaussian spatial model.
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.
Extended source gamma Cygni in ROI with RadialDisk spatial model.
Extended source HB 21 in ROI with RadialDisk spatial model.
Added 190 point sources and 4 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 J2127.7+3612 @ 321.931 36.2125

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/499647/ft1_filtered_4FGL_J2127.7+3612_daily_bin1206.fits scfile=/scratch/kocevski/499647/ft2_4FGL_J2127.7+3612_daily_bin1206.fits outfile=/scratch/kocevski/499647/cmap_551923201_552182401_4FGL_J2127.7+3612_daily_bin1206.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=321.931 yref=36.2125 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/499647/ft1_filtered_4FGL_J2127.7+3612_daily_bin1206.fits scfile=/scratch/kocevski/499647/ft2_4FGL_J2127.7+3612_daily_bin1206.fits outfile=/scratch/kocevski/499647/cmap_HighResolution_551923201_552182401_4FGL_J2127.7+3612_daily_bin1206.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=321.931 yref=36.2125 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/499647/ft1_filtered_4FGL_J2127.7+3612_daily_bin1206.fits evtable="EVENTS" scfile=/scratch/kocevski/499647/ft2_4FGL_J2127.7+3612_daily_bin1206.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/499647/Model_4FGL_J2127.7+3612_daily_bin1206.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 Cocoon
adding source Cygnus Loop
adding source EG_v02
adding source GAL_V02
adding source HB 21
adding source gamma Cygni
Working on...
/scratch/kocevski/499647/ft1_filtered_4FGL_J2127.7+3612_daily_bin1206.fits.........................!
real 22.50
user 20.89
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/499647/ft1_filtered_4FGL_J2127.7+3612_daily_bin1206.fits', '/scratch/kocevski/499647/ft2_4FGL_J2127.7+3612_daily_bin1206.fits', expMap='/scratch/kocevski/499647/expmap_551923201_552182401_4FGL_J2127.7+3612_daily_bin1206.fits', expCube='/scratch/kocevski/499647/ltcube_551923201_552182401_4FGL_J2127.7+3612_daily_bin1206.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/499647/Model_4FGL_J2127.7+3612_daily_bin1206.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2127.7+3612'

4FGL J2127.7+3612
   Spectrum: LogParabola
429         norm:  3.781e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
430        alpha:  1.812e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
431         beta:  1.274e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
432           Eb:  1.863e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/499647/ft1_filtered_4FGL_J2127.7+3612_daily_bin1206.fits
Spacecraft file(s): /scratch/kocevski/499647/ft2_4FGL_J2127.7+3612_daily_bin1206.fits
Exposure map: /scratch/kocevski/499647/expmap_551923201_552182401_4FGL_J2127.7+3612_daily_bin1206.fits
Exposure cube: /scratch/kocevski/499647/ltcube_551923201_552182401_4FGL_J2127.7+3612_daily_bin1206.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/499647/Model_4FGL_J2127.7+3612_daily_bin1206.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 645.936969286

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 643.773294849

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0196       1.0000         .10000E-03   10000.    
     2 'norm      '    .73370E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .21874       1.0000         .10000E-03   10000.    
     4 'Prefactor '    26.223       1.0000         .10000E-03   10000.    
     5 'norm      '    .10069E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    18.156       1.0000         .10000E-03   10000.    
     7 'norm      '    3.3249       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.0643       1.0000         .10000E-03   10000.    
     9 'Prefactor '    25.882       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10029E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11815       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .28822       1.0000         .10000E-03   10000.    
    14 'Normalizat'    1.5443       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .38210       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   643.7720     FROM MIGRAD    STATUS=CONVERGED    108 CALLS      250 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0196        1.0144         .0000         .0000    
   2  norm          .10000E-03    .22012        .47033E-05** at limit **
   3  Prefactor     .10003E-03    .25315       -.57030E-05** at limit **
   4  Prefactor     26.225        1.0002       -.39871E-06    .14092E-01
   5  norm          .10000E-03    .20571        .41683E-06** at limit **
   6  norm          18.193        1.0014       -.47914E-05    .36989E-03
   7  norm          1.0347        .56447       -.42137E-04    .23710E-02
   8  Prefactor     .60964E-01    .35009       -.71157E-04   -.14951E-02
   9  Prefactor     25.872        .99999        .64391E-09   -.10891E-02
  10  norm          .10000E-03    .20571       -.61244E-06** at limit **
  11  norm          .10000E-03    .20571        .26310E-05** at limit **
  12  Prefactor     .10002E-03    .23028       -.13322E-04** at limit **
  13  Prefactor     .10002E-03    .26901        .13204E-04** at limit **
  14  Normalizat    1.5433        1.0451       -.24100E-04   -.28896E-04
  15  Prefactor     .38276        .71154        .11032E-04   -.20204E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.01957
  norm       = 0.000100002
  Prefactor  = 0.000100031
  Prefactor  = 26.2249
  norm       = 0.0001
  norm       = 18.1933
  norm       = 1.03473
  Prefactor  = 0.0609637
  Prefactor  = 25.872
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100021
  Prefactor  = 0.000100018
  Normalizat = 1.54328
  Prefactor  = 0.38276
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   643.7720     FROM HESSE     STATUS=FAILED         9 CALLS      259 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          554.10        550.99         .0000       -1.5360    
   2  norm          .10000E-03    .22012        .47033E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10003E-03    .25315       -.57030E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     26.225        1.0002       -.39871E-06   -1.4683    
   5  norm          .10000E-03    .20571        .41683E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          18.193        1.0014       -.47914E-05   -1.4855    
   7  norm          1.0347        .56447       -.42137E-04   -1.5505    
   8  Prefactor     .60964E-01    .35009       -.71157E-04   -1.5757    
   9  Prefactor     25.872        .99999        .64391E-09   -1.4690    
  10  norm          .10000E-03    .20571       -.61244E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .20571        .26310E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10002E-03    .23028       -.13322E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10002E-03    .26901        .13204E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    1.5433        1.0451       -.24100E-04   -.76569    
  15  Prefactor     .38276        .71154        .11032E-04   -1.1770    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.31099e-10
Minuit parameter uncertainties:
  1  1.01441
  2  4.39378e-05
  3  0.000177401
  4  1.00022
  5  7.67483e-07
  6  1.00141
  7  0.564473
  8  0.291945
  9  0.999987
  10  1.48342e-06
  11  6.16419e-06
  12  0.000137916
  13  0.000137571
  14  1.06033
  15  0.728947
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 643.771973602

Extracting fit parameters...

4FGL J2127.7+3612
   Spectrum: LogParabola
429         norm:  1.035e+00  5.645e-01  1.000e-04  1.000e+04 ( 1.000e-13)
430        alpha:  1.812e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
431         beta:  1.274e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
432           Eb:  1.863e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
690    Prefactor:  3.828e-01  7.289e-01  0.000e+00  1.000e+01 ( 1.000e+00)
691        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
692        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
689   Normalization:  1.543e+00  1.060e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 321.931 36.212
Photon Flux Upper Limit: 9.94e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.12e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/499647/likelihoodResults_551923201_552182401_4FGL_J2127.7+3612_daily_bin1206.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) = 643.726924671
delta logL = 0.0450489306129

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 643.725927394
delta logL = 0.0460462080067

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    19.549       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6083       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5633       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .36815       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7010E+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=   643.7259     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      300 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          19.604        127.73        .90586E-04   -.47141E-03
   2  alpha         2.6095        1.9516        .12187E-01   -.15385E-03
   3  Normalizat    1.5644        .84701        .33321E-03    .23909E-03
   4  Prefactor     .36790        .25997        .19332E-03    .78063E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 19.6038
  alpha      = 2.60949
  Normalizat = 1.56438
  Prefactor  = 0.367901
 **********
 **   18 **HESSE 
 **********

 FCN=   643.7259     FROM HESSE     STATUS=OK            23 CALLS      323 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          19.604        110.68        .18117E-04   -1.4822    
   2  alpha         2.6095        1.8511        .48747E-03    .43810E-01
   3  Normalizat    1.5644        .84737        .66642E-04   -.75985    
   4  Prefactor     .36790        .26005        .38663E-04   -1.1848    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6811e-08
Minuit parameter uncertainties:
  1  93.425
  2  2.08494
  3  0.855306
  4  0.260885
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/499647': 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) = 643.72592552
delta logL = 0.0460480819897

Extracting fit parameters...

4FGL J2127.7+3612
   Spectrum: LogParabola
429         norm:  1.960e+01  9.342e+01  1.000e-04  1.000e+04 ( 1.000e-13)
430        alpha:  2.609e+00  2.085e+00  0.000e+00  5.000e+00 ( 1.000e+00)
431         beta:  1.274e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
432           Eb:  1.863e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
690    Prefactor:  3.679e-01  2.609e-01  0.000e+00  1.000e+01 ( 1.000e+00)
691        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
692        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
689   Normalization:  1.564e+00  8.553e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 321.931 36.212

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/499647/cmap_HighResolution_551923201_552182401_4FGL_J2127.7+3612_daily_bin1206.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.12e-03', job_status='DONE', photon_flux_upper_limit='9.94e-07', time_completed='2021-09-26 14:21:05.372472', job_id='499647', GAL2='0.37', fit_tolerance='1e-08', EG2='1.56', EG='1.54', time_epoch_completed='1632691265.37', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.38', dlogl='4.60e-02', ts2='0.10', photon_index_error='0.00', photon_index='1.81' WHERE bin_id='1206' AND source_name='4FGL J2127.7+3612' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 26 14:21:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0191>
Subject: Job 499647: <4FGL_J2127.7+3612_daily_bin1206> in cluster <slac> Done

Job <4FGL_J2127.7+3612_daily_bin1206> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Sep 26 14:10:33 2021
Job was executed on host(s) <bullet0191>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 26 14:11:10 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 26 14:11:10 2021
Terminated at Sun Sep 26 14:21:05 2021
Results reported at Sun Sep 26 14:21:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2127.7+3612_daily_bin1206 321.931 36.2125 551923201 552182401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2127.7+3612 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   343.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             360.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   597 sec.
    Turnaround time :                            632 sec.

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

