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


Performing analysis on: 4FGL_J2212.9-2526_daily_bin830
RA = 333.226, Dec = -25.4335
tmin = 454464001, tmax = 454723201
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='222940', job_status='RUN', time_executed='2021-09-28 07:08:21.461387', time_epoch_executed='1632838101.46' WHERE source_name='4FGL J2212.9-2526' and cadence='daily' and bin_id='830'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/222940

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/222940/ft1_4FGL_J2212.9-2526_daily_bin830.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/222940/ft2_4FGL_J2212.9-2526_daily_bin830.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/222940/ft1_4FGL_J2212.9-2526_daily_bin830.fits outfile=/scratch/kocevski/222940/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin830.fits ra=333.226 dec=-25.4335 rad=12.0 tmin=454464001.0 tmax=454723201.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.59
user 3.36
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/222940/ft2_4FGL_J2212.9-2526_daily_bin830.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/222940/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin830.fits evtable="EVENTS" outfile="/scratch/kocevski/222940/ft1_filtered_4FGL_J2212.9-2526_daily_bin830.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/222940/ft1_filtered_4FGL_J2212.9-2526_daily_bin830.fits" evtable="EVENTS" scfile=/scratch/kocevski/222940/ft2_4FGL_J2212.9-2526_daily_bin830.fits sctable="SC_DATA" outfile=/scratch/kocevski/222940/ltcube_454464001_454723201_4FGL_J2212.9-2526_daily_bin830.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/222940/ft2_4FGL_J2212.9-2526_daily_bin830.fits
.....................!
real 12.49
user 12.13
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/222940/ft1_filtered_4FGL_J2212.9-2526_daily_bin830.fits evtable="EVENTS" scfile=/scratch/kocevski/222940/ft2_4FGL_J2212.9-2526_daily_bin830.fits sctable="SC_DATA" expcube=/scratch/kocevski/222940/ltcube_454464001_454723201_4FGL_J2212.9-2526_daily_bin830.fits outfile=/scratch/kocevski/222940/expmap_454464001_454723201_4FGL_J2212.9-2526_daily_bin830.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/222940/ltcube_454464001_454723201_4FGL_J2212.9-2526_daily_bin830.fits
.....................!
real 190.80
user 185.95
sys 4.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/222940/ft1_filtered_4FGL_J2212.9-2526_daily_bin830.fits scfile=/scratch/kocevski/222940/ft2_4FGL_J2212.9-2526_daily_bin830.fits outfile=/scratch/kocevski/222940/cmap_454464001_454723201_4FGL_J2212.9-2526_daily_bin830.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.56
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/222940/ft1_filtered_4FGL_J2212.9-2526_daily_bin830.fits scfile=/scratch/kocevski/222940/ft2_4FGL_J2212.9-2526_daily_bin830.fits outfile=/scratch/kocevski/222940/cmap_HighResolution_454464001_454723201_4FGL_J2212.9-2526_daily_bin830.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/222940/ft1_filtered_4FGL_J2212.9-2526_daily_bin830.fits evtable="EVENTS" scfile=/scratch/kocevski/222940/ft2_4FGL_J2212.9-2526_daily_bin830.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/222940/Model_4FGL_J2212.9-2526_daily_bin830.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/222940/ft1_filtered_4FGL_J2212.9-2526_daily_bin830.fits.....................!
real 42.69
user 41.36
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/222940/ft1_filtered_4FGL_J2212.9-2526_daily_bin830.fits', '/scratch/kocevski/222940/ft2_4FGL_J2212.9-2526_daily_bin830.fits', expMap='/scratch/kocevski/222940/expmap_454464001_454723201_4FGL_J2212.9-2526_daily_bin830.fits', expCube='/scratch/kocevski/222940/ltcube_454464001_454723201_4FGL_J2212.9-2526_daily_bin830.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/222940/Model_4FGL_J2212.9-2526_daily_bin830.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/222940/ft1_filtered_4FGL_J2212.9-2526_daily_bin830.fits
Spacecraft file(s): /scratch/kocevski/222940/ft2_4FGL_J2212.9-2526_daily_bin830.fits
Exposure map: /scratch/kocevski/222940/expmap_454464001_454723201_4FGL_J2212.9-2526_daily_bin830.fits
Exposure cube: /scratch/kocevski/222940/ltcube_454464001_454723201_4FGL_J2212.9-2526_daily_bin830.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/222940/Model_4FGL_J2212.9-2526_daily_bin830.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) = 4706.21656321

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.6339       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    24.244       1.0000         .10000E-03   10000.    
     5 'Prefactor '    39.775       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    12.199       1.0000         .10000E-03   10000.    
     9 'Prefactor '    37.549       1.0000         .10000E-03   10000.    
    10 'norm      '    1.4032       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.2940       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.1441       1.0000         .10000E-03   10000.    
    14 'Prefactor '    33.048       1.0000         .10000E-03   10000.    
    15 'norm      '    .10096E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .14093E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.0331       1.0000         .10000E-03   10000.    
    18 'Prefactor '    6.7608       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10328E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    6.4065       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .63430       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0701       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.

 FCN=   4706.201     FROM MIGRAD    STATUS=CONVERGED    637 CALLS     3115 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.2621        .10113E-07** at limit **
   2  Prefactor     3.6350        7.4547        .85334E-06   -.28239E-03
   3  Prefactor     .10000E-03    6.8410       -.59070E-06** at limit **
   4  norm          24.243        13.178        .84756E-06   -.17179E-04
   5  Prefactor     39.764        28.803        .31963E-05   -.84095E-05
   6  Prefactor     .10000E-03    7.5738        .15015E-06** at limit **
   7  Prefactor     .10000E-03    32.667        .14939E-06** at limit **
   8  norm          12.194        6.5756       -.10613E-05   -.12222E-03
   9  Prefactor     37.547        23.827        .41511E-05   -.57798E-05
  10  norm          1.4033        .50574        .78152E-07   -.30997E-04
  11  Prefactor     .10000E-03    4.8561       -.23719E-07** at limit **
  12  Prefactor     5.2609        28.014        .32458E-05   -.29187E-04
  13  Prefactor     2.1317        10.847       -.14563E-05   -.28902E-03
  14  Prefactor     33.033        55.174       -.48377E-05   -.27886E-05
  15  norm          .10000E-03    11.757        .43401E-07** at limit **
  16  Prefactor     .10000E-03    13.811        .79346E-07** at limit **
  17  norm          3.0391        2.9486        .73452E-07   -.71735E-04
  18  Prefactor     6.3769        140.40       -.23405E-05   -.64943E-05
  19  Prefactor     .10000E-03    4.6848        .83672E-08** at limit **
  20  norm          .10000E-03    1.5879       -.15238E-07** at limit **
  21  Prefactor     .10000E-03    6.7782        .46472E-06** at limit **
  22  Prefactor     .10000E-03    4.7650       -.10556E-06** at limit **
  23  norm          .10000E-03    .23443       -.11662E-06** at limit **
  24  Prefactor     6.4049        10.619        .23934E-05   -.27871E-04
  25  Normalizat    .63565        .23155       -.55149E-06   -.22171E-04
  26  Prefactor     1.0692        .17549       -.64528E-06    .38388E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 3.63496
  Prefactor  = 0.0001
  norm       = 24.2434
  Prefactor  = 39.7643
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 12.1937
  Prefactor  = 37.5472
  norm       = 1.40327
  Prefactor  = 0.0001
  Prefactor  = 5.26093
  Prefactor  = 2.13173
  Prefactor  = 33.0335
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.03906
  Prefactor  = 6.37694
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.40494
  Normalizat = 0.635655
  Prefactor  = 1.06925
 **********
 **   18 **HESSE 
 **********

 FCN=   4706.201     FROM HESSE     STATUS=OK           458 CALLS     3573 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.2660        .12101E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.6350        7.4054        .21193E-03   -1.5327    
   3  Prefactor     .10000E-03    6.8563        .17520E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          24.243        13.154        .81354E-04   -1.4723    
   5  Prefactor     39.764        28.637        .63556E-04   -1.4446    
   6  Prefactor     .10000E-03    7.5805        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    32.711        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          12.194        6.6135        .11469E-03   -1.5009    
   9  Prefactor     37.547        23.607        .65406E-04   -1.4482    
  10  norm          1.4033        .50646        .27241E-04   -1.5471    
  11  Prefactor     .10000E-03    4.8773        .14761E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.2609        27.669        .17468E-03   -1.5249    
  13  Prefactor     2.1317        11.344        .28145E-03   -1.5416    
  14  Prefactor     33.033        55.326        .69704E-04   -1.4558    
  15  norm          .10000E-03    11.768        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    13.942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.0391        2.9327        .98078E-04   -1.5359    
  18  Prefactor     6.3769        141.87        .15432E-03   -1.5203    
  19  Prefactor     .10000E-03    4.6944        .14501E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.6074        .84364E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    6.8058        .17429E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    4.7980        .14584E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    .27232        .63126E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     6.4049        10.291        .15857E-03   -1.5202    
  25  Normalizat    .63565        .27249        .31189E-03   -1.0649    
  26  Prefactor     1.0692        .20852        .20160E-03   -.90456    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.84805e-10
Minuit parameter uncertainties:
  1  1.68825e-06
  2  7.4073
  3  7.10373e-06
  4  13.1553
  5  28.647
  6  1.21179e-05
  7  5.60094e-05
  8  6.61391
  9  23.6132
  10  0.506461
  11  1.30005e-06
  12  24.1475
  13  9.8377
  14  55.4126
  15  5.26523e-06
  16  2.57136e-05
  17  2.9328
  18  60.3177
  19  3.30169e-06
  20  1.80253e-06
  21  1.51952e-05
  22  2.83518e-05
  23  6.04249e-06
  24  10.2937
  25  0.273067
  26  0.20868
Done.

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

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  5.261e+00  2.415e+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.069e+00  2.087e-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:  6.357e-01  2.731e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.05
Ra Dec: 333.226 -25.433
Photon Flux Upper Limit: 1.13e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.65e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/222940/likelihoodResults_454464001_454723201_4FGL_J2212.9-2526_daily_bin830.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) = 4706.02434443
delta logL = 0.176274871447

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4705.94168057
delta logL = 0.258938728299

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.793       1.0000         .10000E-03   10000.    
     2 'Index     '    1.4161       1.0000          .0000       10.000    
     3 'Normalizat'    .63806       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0628       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=   4705.942     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      253 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.803        28.511        .10078E-03   -.30360E-03
   2  Index         1.4162        .76171        .10557E-01    .35991E-04
   3  Normalizat    .63806        .23941        .31117E-03   -.41058E-03
   4  Prefactor     1.0628        .19863        .20208E-03   -.52088E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.8028
  Index      = 1.41624
  Normalizat = 0.638056
  Prefactor  = 1.0628
 **********
 **   18 **HESSE 
 **********

 FCN=   4705.942     FROM HESSE     STATUS=OK            25 CALLS      278 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.803        29.855        .20156E-04   -1.4913    
   2  Index         1.4162        .79748        .42227E-03   -.79913    
   3  Normalizat    .63806        .23961        .12447E-04   -1.0639    
   4  Prefactor     1.0628        .19884        .40416E-04   -.90664    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.40246e-10
Minuit parameter uncertainties:
  1  29.883
  2  0.804598
  3  0.240002
  4  0.198982
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/222940': 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) = 4705.94168051
delta logL = 0.258938782918

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  1.580e+01  2.988e+01  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  1.416e+00  8.046e-01  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.063e+00  1.990e-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:  6.381e-01  2.400e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/222940/cmap_HighResolution_454464001_454723201_4FGL_J2212.9-2526_daily_bin830.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.65e-03', job_status='DONE', photon_flux_upper_limit='1.13e-07', time_completed='2021-09-28 07:17:58.078944', job_id='222940', GAL2='1.06', fit_tolerance='1e-08', EG2='0.64', EG='0.64', time_epoch_completed='1632838678.08', return_code2='0', ts='0.05', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='2.59e-01', ts2='0.57', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='830' AND source_name='4FGL J2212.9-2526' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:17:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0300>
Subject: Job 222940: <4FGL_J2212.9-2526_daily_bin830> in cluster <slac> Done

Job <4FGL_J2212.9-2526_daily_bin830> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Sep 28 07:05:44 2021
Job was executed on host(s) <bullet0300>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 07:05:45 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:05:45 2021
Terminated at Tue Sep 28 07:17:58 2021
Results reported at Tue Sep 28 07:17:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2212.9-2526_daily_bin830 333.226 -25.4335 454464001 454723201 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 :                                   574.17 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             272.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   733 sec.
    Turnaround time :                            734 sec.

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

