/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 190 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 = 7417
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1941.3-6210_daily_bin275
RA = 295.347, Dec = -62.1753
tmin = 310608001, tmax = 310867201
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='92683', job_status='RUN', time_executed='2021-09-23 08:30:36.606971', time_epoch_executed='1632411036.61' WHERE source_name='4FGL J1941.3-6210' and cadence='daily' and bin_id='275'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/92683

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/92683/ft1_4FGL_J1941.3-6210_daily_bin275.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/92683/ft2_4FGL_J1941.3-6210_daily_bin275.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/92683/ft1_4FGL_J1941.3-6210_daily_bin275.fits outfile=/scratch/kocevski/92683/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin275.fits ra=295.347 dec=-62.1753 rad=12.0 tmin=310608001.0 tmax=310867201.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.63
user 3.38
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/92683/ft2_4FGL_J1941.3-6210_daily_bin275.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/92683/ft2_4FGL_J1941.3-6210_daily_bin275.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/92683/ft1_filteredMKT_4FGL_J1941.3-6210_daily_bin275.fits evtable="EVENTS" outfile="/scratch/kocevski/92683/ft1_filtered_4FGL_J1941.3-6210_daily_bin275.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.52
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/92683/ft1_filtered_4FGL_J1941.3-6210_daily_bin275.fits" evtable="EVENTS" scfile=/scratch/kocevski/92683/ft2_4FGL_J1941.3-6210_daily_bin275.fits sctable="SC_DATA" outfile=/scratch/kocevski/92683/ltcube_310608001_310867201_4FGL_J1941.3-6210_daily_bin275.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/92683/ft2_4FGL_J1941.3-6210_daily_bin275.fits
.....................!
real 17.00
user 16.60
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/92683/ft1_filtered_4FGL_J1941.3-6210_daily_bin275.fits evtable="EVENTS" scfile=/scratch/kocevski/92683/ft2_4FGL_J1941.3-6210_daily_bin275.fits sctable="SC_DATA" expcube=/scratch/kocevski/92683/ltcube_310608001_310867201_4FGL_J1941.3-6210_daily_bin275.fits outfile=/scratch/kocevski/92683/expmap_310608001_310867201_4FGL_J1941.3-6210_daily_bin275.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/92683/ltcube_310608001_310867201_4FGL_J1941.3-6210_daily_bin275.fits
.....................!
real 192.86
user 186.85
sys 5.41

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

Setting source of interest to:
4FGL J1941.3-6210 @ 295.347 -62.1753

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/92683/ft1_filtered_4FGL_J1941.3-6210_daily_bin275.fits scfile=/scratch/kocevski/92683/ft2_4FGL_J1941.3-6210_daily_bin275.fits outfile=/scratch/kocevski/92683/cmap_310608001_310867201_4FGL_J1941.3-6210_daily_bin275.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=295.347 yref=-62.1753 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.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/92683/ft1_filtered_4FGL_J1941.3-6210_daily_bin275.fits scfile=/scratch/kocevski/92683/ft2_4FGL_J1941.3-6210_daily_bin275.fits outfile=/scratch/kocevski/92683/cmap_HighResolution_310608001_310867201_4FGL_J1941.3-6210_daily_bin275.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=295.347 yref=-62.1753 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.40
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/92683/ft1_filtered_4FGL_J1941.3-6210_daily_bin275.fits evtable="EVENTS" scfile=/scratch/kocevski/92683/ft2_4FGL_J1941.3-6210_daily_bin275.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/92683/Model_4FGL_J1941.3-6210_daily_bin275.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/92683/ft1_filtered_4FGL_J1941.3-6210_daily_bin275.fits.....................!
real 82.40
user 81.01
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/92683/ft1_filtered_4FGL_J1941.3-6210_daily_bin275.fits', '/scratch/kocevski/92683/ft2_4FGL_J1941.3-6210_daily_bin275.fits', expMap='/scratch/kocevski/92683/expmap_310608001_310867201_4FGL_J1941.3-6210_daily_bin275.fits', expCube='/scratch/kocevski/92683/ltcube_310608001_310867201_4FGL_J1941.3-6210_daily_bin275.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/92683/Model_4FGL_J1941.3-6210_daily_bin275.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1941.3-6210'

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  2.374e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  2.350e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
389         beta:  6.669e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
390           Eb:  4.993e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/92683/ft1_filtered_4FGL_J1941.3-6210_daily_bin275.fits
Spacecraft file(s): /scratch/kocevski/92683/ft2_4FGL_J1941.3-6210_daily_bin275.fits
Exposure map: /scratch/kocevski/92683/expmap_310608001_310867201_4FGL_J1941.3-6210_daily_bin275.fits
Exposure cube: /scratch/kocevski/92683/ltcube_310608001_310867201_4FGL_J1941.3-6210_daily_bin275.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/92683/Model_4FGL_J1941.3-6210_daily_bin275.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) = 10207.4742543

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    32.279       1.0000         .10000E-03   10000.    
     7 'Prefactor '    25.132       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.1468       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .66401       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.3465       1.0000         .10000E-03   10000.    
    14 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    197.14       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.4398       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .89141       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6670E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10207.45     FROM MIGRAD    STATUS=CONVERGED    330 CALLS     1610 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.5149       -.11513E-05** at limit **
   2  Prefactor     .10000E-03    3.5468        .93819E-08** at limit **
   3  norm          .10000E-03    .24734        .25049E-07** at limit **
   4  Prefactor     .10000E-03    12.337       -.45776E-06** at limit **
   5  Prefactor     .10000E-03    27.855       -.56572E-06** at limit **
   6  norm          32.276        20.961       -.24493E-06   -.79464E-04
   7  Prefactor     25.129        28.281       -.32746E-06   -.50239E-04
   8  Prefactor     .10000E-03    18.011        .10684E-05** at limit **
   9  norm          2.1483        5.0133        .53523E-06   -.10439E-03
  10  Prefactor     .10000E-03    5.3512        .84162E-06** at limit **
  11  norm          .66389        1.3188        .52552E-06   -.32476E-03
  12  Prefactor     .10000E-03    6.6157        .49200E-06** at limit **
  13  Prefactor     7.3457        3.4516        .10291E-05   -.10257E-02
  14  norm          .10000E-03    .60331       -.34242E-07** at limit **
  15  Prefactor     197.10        105.56       -.42754E-05   -.19990E-03
  16  Normalizat    1.4403        .21272        .66972E-07   -.12818E-03
  17  Prefactor     .89119        .86377E-01   -.40596E-06   -.10176E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 32.2764
  Prefactor  = 25.1294
  Prefactor  = 0.0001
  norm       = 2.14835
  Prefactor  = 0.0001
  norm       = 0.663894
  Prefactor  = 0.0001
  Prefactor  = 7.34566
  norm       = 0.0001
  Prefactor  = 197.1
  Normalizat = 1.4403
  Prefactor  = 0.891188
 **********
 **   18 **HESSE 
 **********

 FCN=   10207.45     FROM HESSE     STATUS=OK           221 CALLS     1831 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.6272        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.5535        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    .45432        .97622E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    12.355        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    27.885        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          32.276        20.993        .70526E-04   -1.4571    
   7  Prefactor     25.129        28.325        .79906E-04   -1.4705    
   8  Prefactor     .10000E-03    18.103        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.1483        4.9948        .28125E-03   -1.5415    
  10  Prefactor     .10000E-03    5.4279        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .66389        1.3234        .15446E-03   -1.5545    
  12  Prefactor     .10000E-03    6.6563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.3457        3.5843        .64114E-03   -1.5166    
  14  norm          .10000E-03    .60632        .76623E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     197.10        110.68        .14387E-03   -1.2891    
  16  Normalizat    1.4403        .25773        .33930E-03   -.79470    
  17  Prefactor     .89119        .10478        .17257E-03   -.96450    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83504e-10
Minuit parameter uncertainties:
  1  7.93778e-05
  2  1.24338e-06
  3  1.23113e-06
  4  4.67938e-05
  5  8.73324e-05
  6  20.9976
  7  28.3401
  8  0.000135184
  9  4.99577
  10  5.68852e-05
  11  1.32348
  12  3.67111e-05
  13  3.58441
  14  1.02588e-06
  15  110.796
  16  0.257964
  17  0.104799
Done.

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

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  6.639e-01  1.323e+00  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  2.350e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
389         beta:  6.669e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
390           Eb:  4.993e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  8.912e-01  1.048e-01  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
663   Normalization:  1.440e+00  2.580e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.29
Ra Dec: 295.347 -62.175
Photon Flux Upper Limit: 1.06e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.41e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/92683/likelihoodResults_310608001_310867201_4FGL_J1941.3-6210_daily_bin275.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) = 10206.42343
delta logL = 1.02873990961

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10206.4083183
delta logL = 1.04385160751

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10206.41     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      216 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .50507        4.9882        .10947E-01    .22134E-02
   2  alpha         3.9002        4.4444        .50000        .69739E-04
   3  Normalizat    1.3567        .52531E-01    .78578E-01    .79600E-05
   4  Prefactor     .91080        .21793E-01    .45143E-01   -.16436E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.50507
  alpha      = 3.90015
  Normalizat = 1.35669
  Prefactor  = 0.910797
 **********
 **   18 **HESSE 
 **********

 FCN=   10206.41     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .50507        1.0648        .50020E-03   -1.5566    
   2  alpha         3.9002        1.4351        .25322E-02    .59446    
   3  Normalizat    1.3567        .25902        .34780E-03   -.81890    
   4  Prefactor     .91080        .10513        .17082E-03   -.95765    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84259e-08
Minuit parameter uncertainties:
  1  1.06481
  2  1.58552
  3  0.259269
  4  0.105153
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/92683': 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) = 10206.4083178
delta logL = 1.04385207819

Extracting fit parameters...

4FGL J1941.3-6210
   Spectrum: LogParabola
387         norm:  5.051e-01  1.065e+00  1.000e-04  1.000e+04 ( 1.000e-11)
388        alpha:  3.900e+00  1.586e+00  0.000e+00  5.000e+00 ( 1.000e+00)
389         beta:  6.669e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
390           Eb:  4.993e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
664    Prefactor:  9.108e-01  1.052e-01  0.000e+00  1.000e+01 ( 1.000e+00)
665        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
666        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
663   Normalization:  1.357e+00  2.593e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.49
Ra Dec: 295.347 -62.175
Photon Index (Free Index): 3.90 +/- 1.59
Photon Flux (Free Index): 8.25e-08 +/- 5.97e-08
Energy Flux (Free Index): 1.28e-05 +/- 1.00e-05

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/92683/cmap_HighResolution_310608001_310867201_4FGL_J1941.3-6210_daily_bin275.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.41e-05', comment='SUCCESS', energy_flux2='1.28e-05', dlogl='1.04e+00', photon_flux2='8.25e-08', job_status='DONE', time_completed='2021-09-23 08:43:22.426880', photon_index_error2='1.59', photon_index2='3.90', ts='0.29', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', photon_flux_upper_limit='1.06e-07', energy_flux_error2='1.00e-05', EG='1.44', time_epoch_completed='1632411802.43', return_code='0', job_id='92683', GAL2='0.91', EG2='1.36', return_code2='0', photon_flux_error2='5.97e-08', ts2='2.49', photon_index='2.35' WHERE bin_id='275' AND source_name='4FGL J1941.3-6210' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 23 08:43:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0116>
Subject: Job 92683: <4FGL_J1941.3-6210_daily_bin275> in cluster <slac> Done

Job <4FGL_J1941.3-6210_daily_bin275> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep 23 08:26:52 2021
Job was executed on host(s) <bullet0116>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 23 08:27:16 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 23 08:27:16 2021
Terminated at Thu Sep 23 08:43:23 2021
Results reported at Thu Sep 23 08:43:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1941.3-6210_daily_bin275 295.347 -62.1753 310608001 310867201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1941.3-6210 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   767.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             275.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   966 sec.
    Turnaround time :                            991 sec.

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

