/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 8 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 = 7439
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2212.9-2526_daily_bin57
RA = 333.226, Dec = -25.4335
tmin = 254102401, tmax = 254361601
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='219681', job_status='RUN', time_executed='2021-09-28 06:55:47.304752', time_epoch_executed='1632837347.3' WHERE source_name='4FGL J2212.9-2526' and cadence='daily' and bin_id='57'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/219681

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/219681/ft1_4FGL_J2212.9-2526_daily_bin57.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/219681/ft2_4FGL_J2212.9-2526_daily_bin57.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/219681/ft1_4FGL_J2212.9-2526_daily_bin57.fits outfile=/scratch/kocevski/219681/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin57.fits ra=333.226 dec=-25.4335 rad=12.0 tmin=254102401.0 tmax=254361601.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 2.02
user 1.83
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/219681/ft2_4FGL_J2212.9-2526_daily_bin57.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/219681/ft1_filteredMKT_4FGL_J2212.9-2526_daily_bin57.fits evtable="EVENTS" outfile="/scratch/kocevski/219681/ft1_filtered_4FGL_J2212.9-2526_daily_bin57.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.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/219681/ft1_filtered_4FGL_J2212.9-2526_daily_bin57.fits" evtable="EVENTS" scfile=/scratch/kocevski/219681/ft2_4FGL_J2212.9-2526_daily_bin57.fits sctable="SC_DATA" outfile=/scratch/kocevski/219681/ltcube_254102401_254361601_4FGL_J2212.9-2526_daily_bin57.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/219681/ft2_4FGL_J2212.9-2526_daily_bin57.fits
.....................!
real 14.05
user 13.65
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/219681/ft1_filtered_4FGL_J2212.9-2526_daily_bin57.fits evtable="EVENTS" scfile=/scratch/kocevski/219681/ft2_4FGL_J2212.9-2526_daily_bin57.fits sctable="SC_DATA" expcube=/scratch/kocevski/219681/ltcube_254102401_254361601_4FGL_J2212.9-2526_daily_bin57.fits outfile=/scratch/kocevski/219681/expmap_254102401_254361601_4FGL_J2212.9-2526_daily_bin57.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/219681/ltcube_254102401_254361601_4FGL_J2212.9-2526_daily_bin57.fits
.....................!
real 190.61
user 185.55
sys 4.71

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/219681/ft1_filtered_4FGL_J2212.9-2526_daily_bin57.fits scfile=/scratch/kocevski/219681/ft2_4FGL_J2212.9-2526_daily_bin57.fits outfile=/scratch/kocevski/219681/cmap_254102401_254361601_4FGL_J2212.9-2526_daily_bin57.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/219681/ft1_filtered_4FGL_J2212.9-2526_daily_bin57.fits scfile=/scratch/kocevski/219681/ft2_4FGL_J2212.9-2526_daily_bin57.fits outfile=/scratch/kocevski/219681/cmap_HighResolution_254102401_254361601_4FGL_J2212.9-2526_daily_bin57.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/219681/ft1_filtered_4FGL_J2212.9-2526_daily_bin57.fits evtable="EVENTS" scfile=/scratch/kocevski/219681/ft2_4FGL_J2212.9-2526_daily_bin57.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/219681/Model_4FGL_J2212.9-2526_daily_bin57.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/219681/ft1_filtered_4FGL_J2212.9-2526_daily_bin57.fits.....................!
real 61.44
user 60.04
sys 1.28

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    4.9612       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    5.9020       1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.2007       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .15523E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    146.38       1.0000         .10000E-03   10000.    
     8 'norm      '    2.5124       1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.818       1.0000         .10000E-03   10000.    
    10 'norm      '    2.3556       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    32.250       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.6719       1.0000         .10000E-03   10000.    
    14 'Prefactor '    22.441       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.5890       1.0000         .10000E-03   10000.    
    17 'norm      '    2.6498       1.0000         .10000E-03   10000.    
    18 'Prefactor '    24.754       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.5530       1.0000         .10000E-03   10000.    
    20 'norm      '    11.100       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .55835E-01   1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.0990       1.0000         .10000E-03   10000.    
    23 'norm      '    .45392E-01   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.1503       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .72026       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=   7843.352     FROM MIGRAD    STATUS=CONVERGED    608 CALLS     3976 TOTAL
                     EDM=   .61E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.8174        .25016E-08** at limit **
   2  Prefactor     4.9613        4.3158        .40120E-08    .95059E-05
   3  Prefactor     .10000E-03    3.5472       -.96183E-07** at limit **
   4  norm          5.9014        7.0062        .86348E-07   -.11240E-03
   5  Prefactor     4.2020        12.888        .12720E-06   -.83908E-04
   6  Prefactor     .10000E-03    15.636       -.13298E-05** at limit **
   7  Prefactor     146.33        53.473       -.47751E-06   -.23888E-03
   8  norm          2.5147        4.5240        .32417E-06   -.28694E-03
   9  Prefactor     18.818        14.122       -.44346E-07   -.17246E-04
  10  norm          2.3555        .46626       -.79027E-08    .22175E-03
  11  Prefactor     .10000E-03    3.0746       -.58641E-07** at limit **
  12  Prefactor     32.253        17.129       -.93166E-07   -.74516E-04
  13  Prefactor     7.6724        6.4417        .39371E-08   -.37981E-04
  14  Prefactor     22.446        41.366        .10130E-06    .22155E-04
  15  norm          .10000E-03    8.4284       -.40085E-07** at limit **
  16  Prefactor     7.5915        11.265        .16307E-06    .11640E-04
  17  norm          2.6504        2.4255        .24328E-06   -.82419E-04
  18  Prefactor     24.719        55.656       -.37453E-05   -.43623E-04
  19  Prefactor     7.5523        9.9464       -.20516E-06    .36234E-04
  20  norm          11.100        5.6747       -.21283E-06    .51389E-03
  21  Prefactor     .10002E-03    10.746       -.20193E-05** at limit **
  22  Prefactor     1.1235        15.632        .74169E-05    .10074E-04
  23  norm          .45676E-01    .46166       -.54238E-06   -.57121E-03
  24  Prefactor     .10000E-03    4.9439       -.41824E-06** at limit **
  25  Normalizat    1.1501        .18799        .49417E-06   -.12875E-03
  26  Prefactor     .72038        .14008       -.65885E-06    .29912E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 4.96131
  Prefactor  = 0.0001
  norm       = 5.90141
  Prefactor  = 4.20202
  Prefactor  = 0.000100003
  Prefactor  = 146.335
  norm       = 2.51472
  Prefactor  = 18.8182
  norm       = 2.35551
  Prefactor  = 0.0001
  Prefactor  = 32.2533
  Prefactor  = 7.67244
  Prefactor  = 22.4458
  norm       = 0.0001
  Prefactor  = 7.59149
  norm       = 2.65035
  Prefactor  = 24.7191
  Prefactor  = 7.55233
  norm       = 11.0999
  Prefactor  = 0.000100019
  Prefactor  = 1.12351
  norm       = 0.0456755
  Prefactor  = 0.0001
  Normalizat = 1.15008
  Prefactor  = 0.720383
 **********
 **   18 **HESSE 
 **********

 FCN=   7843.352     FROM HESSE     STATUS=OK           478 CALLS     4454 TOTAL
                     EDM=   .57E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.8194        .11660E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.9613        4.3178        .16629E-03   -1.5262    
   3  Prefactor     .10000E-03    3.5509        .16286E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.9014        7.0008        .16530E-03   -1.5222    
   5  Prefactor     4.2020        12.894        .19663E-03   -1.5298    
   6  Prefactor     .10000E-03    15.509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     146.33        53.465        .16653E-03   -1.3283    
   8  norm          2.5147        4.4811        .22001E-03   -1.5391    
   9  Prefactor     18.818        14.107        .92329E-04   -1.4840    
  10  norm          2.3555        .46660        .24747E-04   -1.5401    
  11  Prefactor     .10000E-03    3.0889        .15162E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     32.253        17.163        .70558E-04   -1.4572    
  13  Prefactor     7.6724        6.4516        .14478E-03   -1.5154    
  14  Prefactor     22.446        41.418        .84554E-04   -1.4760    
  15  norm          .10000E-03    8.4436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.5915        11.277        .14557E-03   -1.5157    
  17  norm          2.6504        2.4250        .10800E-03   -1.5382    
  18  Prefactor     24.719        55.693        .80513E-04   -1.4713    
  19  Prefactor     7.5523        9.9783        .14592E-03   -1.5158    
  20  norm          11.100        5.5653        .12025E-03   -1.5042    
  21  Prefactor     .10002E-03    13.873        .78704E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.1235        18.534        .45371E-03   -1.5496    
  23  norm          .45676E-01    .95865        .90540E-03   -1.5665    
  24  Prefactor     .10000E-03    4.9957        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1501        .22847        .25290E-03   -.88160    
  26  Prefactor     .72038        .16915        .24799E-03   -1.0273    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.74596e-08
Minuit parameter uncertainties:
  1  9.17586e-09
  2  4.31811
  3  1.65573e-05
  4  7.00174
  5  12.9023
  6  0.00043542
  7  53.4824
  8  4.48174
  9  14.11
  10  0.466605
  11  9.83051e-06
  12  17.1652
  13  6.45219
  14  41.4715
  15  1.0479e-05
  16  11.2804
  17  2.42506
  18  55.8104
  19  9.98052
  20  5.56555
  21  0.00103491
  22  9.12933
  23  0.418056
  24  2.36978e-05
  25  0.228669
  26  0.169269
Done.

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

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  3.225e+01  1.717e+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.204e-01  1.693e-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.150e+00  2.287e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.00
Ra Dec: 333.226 -25.433
Photon Index (Fixed Index): 2.26 +/- 0.00
Photon Flux (Fixed Index): 6.01e-08 +/- 3.20e-08
Energy Flux (Fixed Index): 2.45e-05 +/- 1.30e-05

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) = 7843.35082215
delta logL = 0.00094231411822

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7843.3502616
delta logL = 0.00150286654116

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.897       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2285       1.0000          .0000       10.000    
     3 'Normalizat'    1.1522       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71917       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=   7843.350     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      274 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.903        21.706        .69864E-04    .43285E-04
   2  Index         2.2284        .50193        .68013E-02    .44309E-03
   3  Normalizat    1.1522        .20659        .25269E-03   -.38107E-04
   4  Prefactor     .71918        .16234        .24818E-03   -.37288E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.9034
  Index      = 2.22844
  Normalizat = 1.15225
  Prefactor  = 0.719181
 **********
 **   18 **HESSE 
 **********

 FCN=   7843.350     FROM HESSE     STATUS=OK            25 CALLS      299 TOTAL
                     EDM=   .90E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.903        21.083        .27945E-05   -1.4560    
   2  Index         2.2284        .48715        .13603E-02   -.58754    
   3  Normalizat    1.1522        .20655        .10108E-04   -.88092    
   4  Prefactor     .71918        .16239        .99271E-05   -1.0278    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.9534e-12
Minuit parameter uncertainties:
  1  21.0877
  2  0.488268
  3  0.2067
  4  0.162493
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/219681': 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) = 7843.35026148
delta logL = 0.00150297926302

Extracting fit parameters...

4FGL J2212.9-2526
   Spectrum: PowerLaw
241    Prefactor:  3.290e+01  2.109e+01  1.000e-04  1.000e+04 ( 1.000e-13)
242        Index:  2.228e+00  4.883e-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:  7.192e-01  1.625e-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.152e+00  2.067e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.96
Ra Dec: 333.226 -25.433
Photon Index (Free Index): 2.23 +/- 0.49
Photon Flux (Free Index): 5.88e-08 +/- 4.01e-08
Energy Flux (Free Index): 2.51e-05 +/- 1.73e-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/219681/cmap_HighResolution_254102401_254361601_4FGL_J2212.9-2526_daily_bin57.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.01e-08', energy_flux2='2.51e-05', photon_flux_error='3.20e-08', dlogl='1.50e-03', energy_flux='2.45e-05', photon_flux2='5.88e-08', job_status='DONE', time_completed='2021-09-28 07:08:28.512658', photon_index_error2='0.49', photon_index2='2.23', ts='7.00', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', energy_flux_error2='1.73e-05', EG='1.15', time_epoch_completed='1632838108.51', return_code='0', job_id='219681', GAL2='0.72', EG2='1.15', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='4.01e-08', ts2='6.96', photon_index='2.26' WHERE bin_id='57' AND source_name='4FGL J2212.9-2526' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 28 07:08:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 219681: <4FGL_J2212.9-2526_daily_bin57> in cluster <slac> Done

Job <4FGL_J2212.9-2526_daily_bin57> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Sep 28 06:55:29 2021
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Sep 28 06:55:31 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Sep 28 06:55:31 2021
Terminated at Tue Sep 28 07:08:29 2021
Results reported at Tue Sep 28 07:08:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2212.9-2526_daily_bin57 333.226 -25.4335 254102401 254361601 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 :                                   759.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             288.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   777 sec.
    Turnaround time :                            780 sec.

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

