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


Performing analysis on: 4FGL_J2212.9-2526_daily_bin462
RA = 333.226, Dec = -25.4335
tmin = 359078401, tmax = 359337601
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='221361', job_status='RUN', time_executed='2021-09-28 07:03:24.059109', time_epoch_executed='1632837804.06' WHERE source_name='4FGL J2212.9-2526' and cadence='daily' and bin_id='462'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/221361

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/221361/ft1_4FGL_J2212.9-2526_daily_bin462.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/221361/ft2_4FGL_J2212.9-2526_daily_bin462.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/221361/ft1_4FGL_J2212.9-2526_daily_bin462.fits outfile=/scratch/kocevski/221361/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin462.fits ra=333.226 dec=-25.4335 rad=12.0 tmin=359078401.0 tmax=359337601.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.72
user 3.49
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/221361/ft2_4FGL_J2212.9-2526_daily_bin462.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/221361/ft2_4FGL_J2212.9-2526_daily_bin462.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/221361/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin462.fits evtable="EVENTS" outfile="/scratch/kocevski/221361/ft1_filtered_4FGL_J2212.9-2526_daily_bin462.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.48
user 0.34
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/221361/ft1_filtered_4FGL_J2212.9-2526_daily_bin462.fits" evtable="EVENTS" scfile=/scratch/kocevski/221361/ft2_4FGL_J2212.9-2526_daily_bin462.fits sctable="SC_DATA" outfile=/scratch/kocevski/221361/ltcube_359078401_359337601_4FGL_J2212.9-2526_daily_bin462.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/221361/ft2_4FGL_J2212.9-2526_daily_bin462.fits
.....................!
real 11.58
user 11.22
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/221361/ft1_filtered_4FGL_J2212.9-2526_daily_bin462.fits evtable="EVENTS" scfile=/scratch/kocevski/221361/ft2_4FGL_J2212.9-2526_daily_bin462.fits sctable="SC_DATA" expcube=/scratch/kocevski/221361/ltcube_359078401_359337601_4FGL_J2212.9-2526_daily_bin462.fits outfile=/scratch/kocevski/221361/expmap_359078401_359337601_4FGL_J2212.9-2526_daily_bin462.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/221361/ltcube_359078401_359337601_4FGL_J2212.9-2526_daily_bin462.fits
.....................!
real 190.94
user 185.02
sys 5.52

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

Setting source of interest to:
4FGL J2212.9-2526 @ 333.226 -25.4335

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/221361/ft1_filtered_4FGL_J2212.9-2526_daily_bin462.fits scfile=/scratch/kocevski/221361/ft2_4FGL_J2212.9-2526_daily_bin462.fits outfile=/scratch/kocevski/221361/cmap_359078401_359337601_4FGL_J2212.9-2526_daily_bin462.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=333.226 yref=-25.4335 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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/221361/ft1_filtered_4FGL_J2212.9-2526_daily_bin462.fits scfile=/scratch/kocevski/221361/ft2_4FGL_J2212.9-2526_daily_bin462.fits outfile=/scratch/kocevski/221361/cmap_HighResolution_359078401_359337601_4FGL_J2212.9-2526_daily_bin462.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=333.226 yref=-25.4335 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/221361/ft1_filtered_4FGL_J2212.9-2526_daily_bin462.fits evtable="EVENTS" scfile=/scratch/kocevski/221361/ft2_4FGL_J2212.9-2526_daily_bin462.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/221361/Model_4FGL_J2212.9-2526_daily_bin462.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/221361/ft1_filtered_4FGL_J2212.9-2526_daily_bin462.fits.....................!
real 56.18
user 54.76
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/221361/ft1_filtered_4FGL_J2212.9-2526_daily_bin462.fits', '/scratch/kocevski/221361/ft2_4FGL_J2212.9-2526_daily_bin462.fits', expMap='/scratch/kocevski/221361/expmap_359078401_359337601_4FGL_J2212.9-2526_daily_bin462.fits', expCube='/scratch/kocevski/221361/ltcube_359078401_359337601_4FGL_J2212.9-2526_daily_bin462.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/221361/Model_4FGL_J2212.9-2526_daily_bin462.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2212.9-2526'

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  5.247e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  2.255e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
243        Scale:  1.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/221361/ft1_filtered_4FGL_J2212.9-2526_daily_bin462.fits
Spacecraft file(s): /scratch/kocevski/221361/ft2_4FGL_J2212.9-2526_daily_bin462.fits
Exposure map: /scratch/kocevski/221361/expmap_359078401_359337601_4FGL_J2212.9-2526_daily_bin462.fits
Exposure cube: /scratch/kocevski/221361/ltcube_359078401_359337601_4FGL_J2212.9-2526_daily_bin462.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/221361/Model_4FGL_J2212.9-2526_daily_bin462.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) = 6930.93965113

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.5560       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .47373       1.0000         .10000E-03   10000.    
     5 'Prefactor '    22.952       1.0000         .10000E-03   10000.    
     6 'Prefactor '    25.611       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .98444E-01   1.0000         .10000E-03   10000.    
     8 'norm      '    4.1096       1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.869       1.0000         .10000E-03   10000.    
    10 'norm      '    .69807       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.4266       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.6710       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.8447       1.0000         .10000E-03   10000.    
    14 'Prefactor '    62.312       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.6785       1.0000         .10000E-03   10000.    
    17 'norm      '    .31871E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    18.205       1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.631       1.0000         .10000E-03   10000.    
    20 'norm      '    8.1925       1.0000         .10000E-03   10000.    
    21 'Prefactor '    13.302       1.0000         .10000E-03   10000.    
    22 'Prefactor '    26.629       1.0000         .10000E-03   10000.    
    23 'norm      '    5.5069       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .53601       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.2180       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6930.938     FROM MIGRAD    STATUS=CONVERGED    102 CALLS     2678 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.4181       -.11240E-05** at limit **
   2  Prefactor     6.5562        1.3663        .77007E-07    .30671E-02
   3  Prefactor     .10000E-03    4.3928        .79181E-06** at limit **
   4  norm          .50625        17.121        .12143E-05   -.17502E-03
   5  Prefactor     22.955        6.9927       -.12747E-05    .11719E-02
   6  Prefactor     25.630        16.348        .24721E-05    .47718E-02
   7  Prefactor     .11017E-03    850.05        .43963E-04** at limit **
   8  norm          4.1105        3.7465        .33644E-06    .13764E-03
   9  Prefactor     12.869        3.7873        .40896E-06    .22261E-02
  10  norm          .69807        .30515       -.78089E-07   -.13443E-03
  11  Prefactor     3.4233        2.5254       -.55628E-06   -.18118E-02
  12  Prefactor     4.6696        2.1260        .54548E-06    .32108E-04
  13  Prefactor     5.8448        1.5177        .81827E-07    .39232E-02
  14  Prefactor     62.286        3.0747        .10717E-06    .23607E-02
  15  norm          .10000E-03    9.3477       -.16947E-05** at limit **
  16  Prefactor     5.6799        2.1303       -.27184E-06    .63472E-03
  17  norm          .10000E-03    7.0772        .17080E-05** at limit **
  18  Prefactor     18.161        14.927        .28257E-05   -.79729E-02
  19  Prefactor     12.626        6.7529       -.18018E-06   -.61151E-02
  20  norm          8.1927        4.6451       -.35007E-06   -.67450E-03
  21  Prefactor     13.305        6.6343       -.71323E-07    .34641E-02
  22  Prefactor     26.631        3.0015        .12817E-06    .30774E-02
  23  norm          5.5068        1.1599        .12589E-06    .49015E-03
  24  Prefactor     .10000E-03    11.003        .97717E-06** at limit **
  25  Normalizat    .53610        .21500        .48260E-06    .94613E-04
  26  Prefactor     1.2180        .17924        .81497E-06    .16231E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 6.55619
  Prefactor  = 0.0001
  norm       = 0.50625
  Prefactor  = 22.9552
  Prefactor  = 25.6302
  Prefactor  = 0.00011017
  norm       = 4.11046
  Prefactor  = 12.8689
  norm       = 0.698068
  Prefactor  = 3.42327
  Prefactor  = 4.66955
  Prefactor  = 5.84479
  Prefactor  = 62.2857
  norm       = 0.0001
  Prefactor  = 5.67992
  norm       = 0.0001
  Prefactor  = 18.1613
  Prefactor  = 12.6264
  norm       = 8.19269
  Prefactor  = 13.3048
  Prefactor  = 26.6306
  norm       = 5.50683
  Prefactor  = 0.0001
  Normalizat = 0.536096
  Prefactor  = 1.21798
 **********
 **   18 **HESSE 
 **********

 FCN=   6930.938     FROM HESSE     STATUS=OK           540 CALLS     3218 TOTAL
                     EDM=   .64E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.4047        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     6.5562        6.6495        .39183E-02   -1.5196    
   3  Prefactor     .10000E-03    4.3864        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .50625        5.3352        .60650E-01   -1.5566    
   5  Prefactor     22.955        21.249        .20902E-02   -1.4749    
   6  Prefactor     25.630        21.956        .19789E-02   -1.4695    
   7  Prefactor     .11017E-03    86.972        .13979       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.1105        3.8234        .49715E-02   -1.5302    
   9  Prefactor     12.869        12.594        .27915E-02   -1.4990    
  10  norm          .69807        .30579        .65487E-02   -1.5541    
  11  Prefactor     3.4233        10.277        .54630E-02   -1.5338    
  12  Prefactor     4.6696        17.288        .46552E-02   -1.5276    
  13  Prefactor     5.8448        6.3135        .41530E-02   -1.5224    
  14  Prefactor     62.286        79.077        .12708E-02   -1.4128    
  15  norm          .10000E-03    9.3683        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     5.6799        12.289        .42142E-02   -1.5231    
  17  norm          .10000E-03    1.1930        .46078E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     18.161        35.063        .23468E-02   -1.4855    
  19  Prefactor     12.626        11.458        .28178E-02   -1.4997    
  20  norm          8.1927        4.7199        .35017E-02   -1.5135    
  21  Prefactor     13.305        14.173        .27456E-02   -1.4978    
  22  Prefactor     26.631        16.959        .19408E-02   -1.4675    
  23  norm          5.5068        1.4357        .42804E-02   -1.5239    
  24  Prefactor     .10000E-03    10.868        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .53610        .21586        .82279E-01   -1.1077    
  26  Prefactor     1.2180        .16469        .34218E-01   -.85780    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.35343e-07
Minuit parameter uncertainties:
  1  1.59542e-05
  2  6.65027
  3  1.2993e-05
  4  3.28695
  5  21.2564
  6  21.9626
  7  0.0595688
  8  3.82364
  9  12.5966
  10  0.305793
  11  10.2818
  12  17.3067
  13  6.31423
  14  79.2105
  15  6.68531e-05
  16  12.294
  17  1.13563e-05
  18  35.1026
  19  11.4598
  20  4.72013
  21  14.1768
  22  16.9617
  23  1.43572
  24  1.3761e-05
  25  0.216201
  26  0.164764
Done.

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

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  4.670e+00  1.731e+01  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  2.255e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
243        Scale:  1.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  1.218e+00  1.648e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  5.361e-01  2.162e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.09
Ra Dec: 333.226 -25.433
Photon Flux Upper Limit: 8.72e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.67e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/221361/likelihoodResults_359078401_359337601_4FGL_J2212.9-2526_daily_bin462.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) = 6930.9073937
delta logL = 0.0302439358848

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6930.90424558
delta logL = 0.0333920537942

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.6654       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7608       1.0000          .0000       10.000    
     3 'Normalizat'    .52485       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2232       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4960E+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=   6930.904     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      259 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6593        35.958        .21098E-03   -.22362E-04
   2  Index         2.7620        3.1280        .12756E-01    .17583E-04
   3  Normalizat    .52484        .22215        .36826E-03    .38135E-03
   4  Prefactor     1.2232        .18263        .20826E-03    .33767E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.65931
  Index      = 2.762
  Normalizat = 0.524839
  Prefactor  = 1.22323
 **********
 **   18 **HESSE 
 **********

 FCN=   6930.904     FROM HESSE     STATUS=OK            25 CALLS      284 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6593        15.155        .84392E-05   -1.5325    
   2  Index         2.7620        2.1473        .51023E-03   -.46408    
   3  Normalizat    .52484        .21959        .14731E-04   -1.1128    
   4  Prefactor     1.2232        .18036        .41652E-04   -.85620    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.51551e-10
Minuit parameter uncertainties:
  1  14.9002
  2  2.23983
  3  0.219949
  4  0.180446
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/221361': 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) = 6930.90424543
delta logL = 0.0333922071004

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  3.659e+00  1.490e+01  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  2.762e+00  2.240e+00  0.000e+00  1.000e+01 (-1.000e+00)
243        Scale:  1.123e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
493    Prefactor:  1.223e+00  1.804e-01  0.000e+00  1.000e+01 ( 1.000e+00)
494        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
495        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
492   Normalization:  5.248e-01  2.199e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.09
Ra Dec: 333.226 -25.433

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/221361/cmap_HighResolution_359078401_359337601_4FGL_J2212.9-2526_daily_bin462.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.67e-03', job_status='DONE', photon_flux_upper_limit='8.72e-08', time_completed='2021-09-28 07:14:49.910662', job_id='221361', GAL2='1.22', fit_tolerance='1e-08', EG2='0.52', EG='0.54', time_epoch_completed='1632838489.91', return_code2='0', ts='0.09', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='3.34e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='462' AND source_name='4FGL J2212.9-2526' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:14:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0131>
Subject: Job 221361: <4FGL_J2212.9-2526_daily_bin462> in cluster <slac> Done

Job <4FGL_J2212.9-2526_daily_bin462> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Sep 28 07:00:39 2021
Job was executed on host(s) <bullet0131>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 07:00:41 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 07:00:41 2021
Terminated at Tue Sep 28 07:14:50 2021
Results reported at Tue Sep 28 07:14:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2212.9-2526_daily_bin462 333.226 -25.4335 359078401 359337601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2212.9-2526 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   682.14 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             296.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   849 sec.
    Turnaround time :                            851 sec.

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

