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


Performing analysis on: 4FGL_J2212.9-2526_daily_bin941
RA = 333.226, Dec = -25.4335
tmin = 483235201, tmax = 483494401
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='224166', job_status='RUN', time_executed='2021-09-28 07:14:13.152325', time_epoch_executed='1632838453.15' WHERE source_name='4FGL J2212.9-2526' and cadence='daily' and bin_id='941'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/224166

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/224166/ft1_4FGL_J2212.9-2526_daily_bin941.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/224166/ft2_4FGL_J2212.9-2526_daily_bin941.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/224166/ft1_4FGL_J2212.9-2526_daily_bin941.fits outfile=/scratch/kocevski/224166/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin941.fits ra=333.226 dec=-25.4335 rad=12.0 tmin=483235201.0 tmax=483494401.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.43
user 3.22
sys 0.20

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/224166/ft1_filtered_4FGL_J2212.9-2526_daily_bin941.fits" evtable="EVENTS" scfile=/scratch/kocevski/224166/ft2_4FGL_J2212.9-2526_daily_bin941.fits sctable="SC_DATA" outfile=/scratch/kocevski/224166/ltcube_483235201_483494401_4FGL_J2212.9-2526_daily_bin941.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/224166/ft2_4FGL_J2212.9-2526_daily_bin941.fits
.....................!
real 12.10
user 11.69
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/224166/ft1_filtered_4FGL_J2212.9-2526_daily_bin941.fits evtable="EVENTS" scfile=/scratch/kocevski/224166/ft2_4FGL_J2212.9-2526_daily_bin941.fits sctable="SC_DATA" expcube=/scratch/kocevski/224166/ltcube_483235201_483494401_4FGL_J2212.9-2526_daily_bin941.fits outfile=/scratch/kocevski/224166/expmap_483235201_483494401_4FGL_J2212.9-2526_daily_bin941.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/224166/ltcube_483235201_483494401_4FGL_J2212.9-2526_daily_bin941.fits
.....................!
real 189.85
user 185.31
sys 4.23

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/224166/ft1_filtered_4FGL_J2212.9-2526_daily_bin941.fits scfile=/scratch/kocevski/224166/ft2_4FGL_J2212.9-2526_daily_bin941.fits outfile=/scratch/kocevski/224166/cmap_483235201_483494401_4FGL_J2212.9-2526_daily_bin941.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/224166/ft1_filtered_4FGL_J2212.9-2526_daily_bin941.fits scfile=/scratch/kocevski/224166/ft2_4FGL_J2212.9-2526_daily_bin941.fits outfile=/scratch/kocevski/224166/cmap_HighResolution_483235201_483494401_4FGL_J2212.9-2526_daily_bin941.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.53
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7773       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .28777E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10801E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.7956       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.9315       1.0000         .10000E-03   10000.    
     8 'norm      '    3.9299       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.1717       1.0000         .10000E-03   10000.    
    10 'norm      '    1.5504       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.3135       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.5679       1.0000         .10000E-03   10000.    
    14 'Prefactor '    76.444       1.0000         .10000E-03   10000.    
    15 'norm      '    50.907       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    54.414       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    3.0341       1.0000         .10000E-03   10000.    
    21 'Prefactor '    30.124       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .71654       1.0000         .10000E-03   10000.    
    24 'Prefactor '    4.4151       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.0661       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .72526       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=   6681.027     FROM MIGRAD    STATUS=CONVERGED    595 CALLS     3103 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7772        5.8991        .12945E-05   -.50836E-05
   2  Prefactor     .10002E-03    5.5294        .11569E-05** at limit **
   3  Prefactor     .10000E-03    27.204       -.23763E-05** at limit **
   4  norm          .10000E-03    1.8179        .56684E-07** at limit **
   5  Prefactor     .10000E-03    4.5795        .74902E-07** at limit **
   6  Prefactor     5.7891        20.776       -.80909E-05   -.48509E-04
   7  Prefactor     2.8582        279.61        .44717E-05   -.29140E-04
   8  norm          3.9309        4.1329       -.13994E-06    .65464E-04
   9  Prefactor     6.1719        10.532        .16417E-06   -.82493E-05
  10  norm          1.5504        .40368       -.17671E-07    .16116E-03
  11  Prefactor     .10000E-03    3.6111       -.21311E-06** at limit **
  12  Prefactor     6.3138        11.407       -.96221E-07    .13841E-05
  13  Prefactor     6.5684        6.4503        .19127E-07    .52902E-06
  14  Prefactor     76.410        43.321       -.42569E-05   -.22982E-03
  15  norm          50.924        23.904        .16143E-05    .19537E-03
  16  Prefactor     .10000E-03    5.5821        .58352E-07** at limit **
  17  norm          .10000E-03    .91035        .65995E-07** at limit **
  18  Prefactor     54.411        39.370       -.68110E-06   -.46118E-05
  19  Prefactor     .10000E-03    12.156       -.32663E-06** at limit **
  20  norm          3.0348        3.7074        .29403E-06   -.15937E-04
  21  Prefactor     30.120        16.395       -.66926E-06   -.74530E-04
  22  Prefactor     .10000E-03    9.5813        .20003E-06** at limit **
  23  norm          .71645        .57580       -.12054E-06   -.59416E-03
  24  Prefactor     4.4155        6.7678        .38549E-05   -.10305E-03
  25  Normalizat    1.0660        .18081        .11984E-05   -.18555E-03
  26  Prefactor     .72531        .14130       -.14631E-05   -.84365E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.7772
  Prefactor  = 0.000100024
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.78906
  Prefactor  = 2.85816
  norm       = 3.93091
  Prefactor  = 6.17189
  norm       = 1.55043
  Prefactor  = 0.0001
  Prefactor  = 6.31384
  Prefactor  = 6.56843
  Prefactor  = 76.4097
  norm       = 50.9242
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 54.4114
  Prefactor  = 0.0001
  norm       = 3.03476
  Prefactor  = 30.1198
  Prefactor  = 0.0001
  norm       = 0.716449
  Prefactor  = 4.41548
  Normalizat = 1.066
  Prefactor  = 0.725312
 **********
 **   18 **HESSE 
 **********

 FCN=   6681.027     FROM HESSE     STATUS=OK           460 CALLS     3563 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7772        5.8866        .31399E-03   -1.5441    
   2  Prefactor     .10002E-03    24.493        .36493E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    27.778        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.8204        .10762E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.5833        .17083E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.7891        20.274        .16683E-03   -1.5227    
   7  Prefactor     2.8582        278.02        .23724E-03   -1.5370    
   8  norm          3.9309        4.1199        .15116E-03   -1.5311    
   9  Prefactor     6.1719        10.525        .16160E-03   -1.5211    
  10  norm          1.5504        .40476        .24718E-04   -1.5459    
  11  Prefactor     .10000E-03    3.6303        .15165E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     6.3138        11.400        .15975E-03   -1.5205    
  13  Prefactor     6.5684        6.4618        .15659E-03   -1.5195    
  14  Prefactor     76.410        43.806        .22963E-03   -1.3957    
  15  norm          50.924        24.000        .28104E-03   -1.4280    
  16  Prefactor     .10000E-03    5.6095        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .91471        .75783E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     54.411        39.337        .54376E-04   -1.4231    
  19  Prefactor     .10000E-03    12.647        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.0348        3.6768        .15593E-03   -1.5360    
  21  Prefactor     30.120        16.457        .72999E-04   -1.4610    
  22  Prefactor     .10000E-03    9.7195        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .71645        .56350        .48042E-04   -1.5539    
  24  Prefactor     4.4155        6.7759        .95830E-03   -1.5288    
  25  Normalizat    1.0660        .21362        .24080E-03   -.90851    
  26  Prefactor     .72531        .16514        .23010E-03   -1.0254    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.40541e-09
Minuit parameter uncertainties:
  1  5.88854
  2  0.00154721
  3  0.000314924
  4  1.11872e-06
  5  1.1274e-06
  6  20.2976
  7  56.6495
  8  4.12015
  9  10.5285
  10  0.404764
  11  4.93317e-06
  12  11.4038
  13  6.46244
  14  43.8242
  15  24.0049
  16  3.69383e-06
  17  4.52062e-07
  18  39.3555
  19  4.29281e-05
  20  3.6771
  21  16.4595
  22  6.16222e-05
  23  0.563506
  24  6.7771
  25  0.213794
  26  0.165256
Done.

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

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  6.314e+00  1.140e+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:  7.253e-01  1.653e-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:  1.066e+00  2.138e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/224166/likelihoodResults_483235201_483494401_4FGL_J2212.9-2526_daily_bin941.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) = 6680.98088366
delta logL = 0.0457924293469

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6680.97011206
delta logL = 0.0565640315626

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.7395       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6772       1.0000          .0000       10.000    
     3 'Normalizat'    1.0568       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72974       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.

 FCN=   6680.970     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      212 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.7299        217.72        .46206E-02   -.34655E-03
   2  Index         2.6773        6.3365        .22958       -.59451E-04
   3  Normalizat    1.0569        .43292E-01    .40123E-01   -.31266E-03
   4  Prefactor     .72970        .32402E-01    .42796E-01   -.44988E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.72987
  Index      = 2.67728
  Normalizat = 1.05688
  Prefactor  = 0.729703
 **********
 **   18 **HESSE 
 **********

 FCN=   6680.970     FROM HESSE     STATUS=OK            29 CALLS      241 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.7299        11.857        .18482E-03   -1.5273    
   2  Index         2.6773        1.4636        .95572E-02   -.48312    
   3  Normalizat    1.0569        .20235        .24173E-03   -.91149    
   4  Prefactor     .72970        .16117        .22947E-03   -1.0237    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.91457e-10
Minuit parameter uncertainties:
  1  11.8626
  2  1.49168
  3  0.202499
  4  0.161272
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/224166': 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) = 6680.97011127
delta logL = 0.0565648269094

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  4.730e+00  1.186e+01  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  2.677e+00  1.492e+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:  7.297e-01  1.613e-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:  1.057e+00  2.025e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/224166/cmap_HighResolution_483235201_483494401_4FGL_J2212.9-2526_daily_bin941.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.60e-03', job_status='DONE', photon_flux_upper_limit='7.32e-08', time_completed='2021-09-28 07:25:47.272196', job_id='224166', GAL2='0.73', fit_tolerance='1e-08', EG2='1.06', EG='1.07', time_epoch_completed='1632839147.27', return_code2='0', ts='0.46', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='5.66e-02', ts2='0.59', photon_index_error='0.00', photon_index='2.26' WHERE bin_id='941' AND source_name='4FGL J2212.9-2526' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:25:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 224166: <4FGL_J2212.9-2526_daily_bin941> in cluster <slac> Done

Job <4FGL_J2212.9-2526_daily_bin941> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 07:10:25 2021
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 07:10:28 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:10:28 2021
Terminated at Tue Sep 28 07:25:48 2021
Results reported at Tue Sep 28 07:25:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2212.9-2526_daily_bin941 333.226 -25.4335 483235201 483494401 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 :                                   688.04 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             282.34 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   919 sec.
    Turnaround time :                            923 sec.

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

